feat: update fixing error build

This commit is contained in:
hanif salafi 2024-12-24 23:33:16 +07:00
parent 77d97d63c1
commit 3f194f8528
24 changed files with 298 additions and 299 deletions

View File

@ -10,7 +10,7 @@ WORKDIR /usr/src/app
COPY package*.json /usr/src/app/ COPY package*.json /usr/src/app/
# RUN npm install --force # RUN npm install --force
RUN npm install -g npm@latest # RUN npm install -g npm@latest
RUN npm install next --legacy-peer-deps RUN npm install next --legacy-peer-deps
# Copying source files # Copying source files

View File

@ -1,14 +1,14 @@
'use server' 'use server'
import { redirect } from "next/navigation"; import { redirect } from "next/navigation";
import { revalidatePath } from "next/cache"; import { revalidatePath } from "next/cache";
import {signIn} from "@/lib/auth";
export const loginUser = async (data: any) => { export const loginUser = async (data: any) => {
try { try {
const response = await signIn("credentials", { const response = undefined;
email: data.email, // await signIn("credentials", {
password: data.password, // email: data.email,
redirect: false, // password: data.password,
}); // redirect: false,
// });
return response; return response;
} catch (error) { } catch (error) {
throw new Error(error as string); throw new Error(error as string);

View File

@ -1,6 +1,5 @@
import PageTitle from "@/components/page-title"; import PageTitle from "@/components/page-title";
import { Metadata } from "next"; import { Metadata } from "next";
import { Suspense } from "react";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Media Hub | POLRI", title: "Media Hub | POLRI",

View File

@ -13,165 +13,162 @@ import BlogTable from "../contributor/blog/components/blog-table";
import ContentTable from "./routine-task/components/content-table"; import ContentTable from "./routine-task/components/content-table";
import RecentActivity from "./routine-task/components/recent-activity"; import RecentActivity from "./routine-task/components/recent-activity";
import { Link } from "@/components/navigation"; import { Link } from "@/components/navigation";
import { Suspense } from "react";
const DashboardPage = () => { const DashboardPage = () => {
const t = useTranslations("AnalyticsDashboard"); const t = useTranslations("AnalyticsDashboard");
return ( return (
<Suspense> <div>
<div> <div className="my-3">
<div className="my-3"> <Tabs defaultValue="routine-task" className="w-full">
<Tabs defaultValue="routine-task" className="w-full"> <Card className="py-3 px-2 my-4">
<Card className="py-3 px-2 my-4"> <TabsList className="flex-wrap">
<TabsList className="flex-wrap"> <TabsTrigger
<TabsTrigger value="routine-task"
value="routine-task" className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6"
className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6" >
> Tugas Rutin
Tugas Rutin </TabsTrigger>
</TabsTrigger> <TabsTrigger
<TabsTrigger value="task"
value="task" className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6"
className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6" >
> Penugasan
Penugasan </TabsTrigger>
</TabsTrigger> <TabsTrigger
<TabsTrigger value="schedule"
value="schedule" className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6"
className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6" >
> Jadwal
Jadwal </TabsTrigger>
</TabsTrigger> <TabsTrigger
<TabsTrigger value="indeks"
value="indeks" className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6"
className="data-[state=active]:bg-primary data-[state=active]:text-primary-foreground rounded-md px-6" >
> Indeks
Indeks </TabsTrigger>
</TabsTrigger> </TabsList>
</TabsList> </Card>
</Card> <TabsContent value="routine-task">
<TabsContent value="routine-task"> <div className="grid grid-cols-12 items-center gap-5 mb-5">
<div className="grid grid-cols-12 items-center gap-5 mb-5"> <div className="2xl:col-span-12 lg:col-span-12 col-span-12">
<div className="2xl:col-span-12 lg:col-span-12 col-span-12"> <Card>
<Card> <CardContent className="p-4">
<CardContent className="p-4"> <div className="grid md:grid-cols-3 gap-4">
<div className="grid md:grid-cols-3 gap-4"> <StatisticsBlock
<StatisticsBlock title={"Hasil unggah disetujui hari ini"}
title={"Hasil unggah disetujui hari ini"} total="3,564"
total="3,564" className="bg-info/10 border-none shadow-none"
className="bg-info/10 border-none shadow-none" />
/> <StatisticsBlock
<StatisticsBlock title={"Hasil unggah direvisi hari ini"}
title={"Hasil unggah direvisi hari ini"} total="564"
total="564" className="bg-warning/10 border-none shadow-none"
className="bg-warning/10 border-none shadow-none" chartColor="#FB8F65"
chartColor="#FB8F65" />
/> <StatisticsBlock
<StatisticsBlock title={"Hasil unggah ditolak hari ini"}
title={"Hasil unggah ditolak hari ini"} total="+5.0%"
total="+5.0%" className="bg-primary/10 border-none shadow-none"
className="bg-primary/10 border-none shadow-none" chartColor="#2563eb"
chartColor="#2563eb" />
/> </div>
</CardContent>
</Card>
</div>
</div>
<div className="grid grid-cols-12 gap-5">
<div className="lg:col-span-4 col-span-12">
<Card>
<CardHeader className="flex flex-row items-center">
<CardTitle className="flex-1 text-lg">
{"Total Produksi Konten"}
</CardTitle>
<DashboardDropdown />
</CardHeader>
<CardContent>
<RecentActivity />
</CardContent>
</Card>
</div>
<div className="lg:col-span-8 col-span-12">
<Card>
<CardHeader className="flex flex-row items-center">
<CardTitle className="flex-1">{"Table"}</CardTitle>
<DashboardDropdown />
</CardHeader>
<CardContent className="p-0">
<ContentTable />
</CardContent>
</Card>
</div>
</div>
</TabsContent>
<TabsContent value="task">
<div className="grid grid-cols-12 gap-5">
<div className="lg:col-span-12 col-span-12">
<Card>
<Card className="py-4 px-3">
<div className="flex flex-row justify-between items-center">
<div className="flex-1 text-xl font-medium text-default-900">
Table Penugasan
</div> </div>
</CardContent> <div>
</Card> <Link href={"/contributor/task/create"}>
</div> <Button color="primary" className="text-white">
</div> <UploadIcon />
<div className="grid grid-cols-12 gap-5"> Buat Penugasan
<div className="lg:col-span-4 col-span-12"> </Button>
<Card> </Link>
<CardHeader className="flex flex-row items-center">
<CardTitle className="flex-1 text-lg">
{"Total Produksi Konten"}
</CardTitle>
<DashboardDropdown />
</CardHeader>
<CardContent>
<RecentActivity />
</CardContent>
</Card>
</div>
<div className="lg:col-span-8 col-span-12">
<Card>
<CardHeader className="flex flex-row items-center">
<CardTitle className="flex-1">{"Table"}</CardTitle>
<DashboardDropdown />
</CardHeader>
<CardContent className="p-0">
<ContentTable />
</CardContent>
</Card>
</div>
</div>
</TabsContent>
<TabsContent value="task">
<div className="grid grid-cols-12 gap-5">
<div className="lg:col-span-12 col-span-12">
<Card>
<Card className="py-4 px-3">
<div className="flex flex-row justify-between items-center">
<div className="flex-1 text-xl font-medium text-default-900">
Table Penugasan
</div>
<div>
<Link href={"/contributor/task/create"}>
<Button color="primary" className="text-white">
<UploadIcon />
Buat Penugasan
</Button>
</Link>
</div>
</div> </div>
</Card> </div>
<CardContent className="p-0 mt-3">
<TaskTable />
</CardContent>
</Card> </Card>
</div> <CardContent className="p-0 mt-3">
<TaskTable />
</CardContent>
</Card>
</div> </div>
</TabsContent> </div>
<TabsContent value="schedule"> </TabsContent>
<div className="grid grid-cols-12 gap-5"> <TabsContent value="schedule">
<div className="lg:col-span-12 col-span-12"> <div className="grid grid-cols-12 gap-5">
<Card> <div className="lg:col-span-12 col-span-12">
<CardContent className="p-0 "> <Card>
<PressConferenceTable /> <CardContent className="p-0 ">
</CardContent> <PressConferenceTable />
</Card> </CardContent>
</div> </Card>
</div> </div>
</TabsContent> </div>
<TabsContent value="indeks"> </TabsContent>
<div className="grid grid-cols-12 gap-5"> <TabsContent value="indeks">
<div className="lg:col-span-12 col-span-12"> <div className="grid grid-cols-12 gap-5">
<Card> <div className="lg:col-span-12 col-span-12">
<Card className="py-4 px-3"> <Card>
<div className="flex flex-row justify-between items-center"> <Card className="py-4 px-3">
<div className="flex-1 text-xl font-medium text-default-900"> <div className="flex flex-row justify-between items-center">
Table Indeks <div className="flex-1 text-xl font-medium text-default-900">
</div> Table Indeks
<div>
<Link href={"/contributor/blog/create"}>
<Button color="primary" className="text-white">
<UploadIcon />
Tambah Indeks
</Button>
</Link>
</div>
</div> </div>
</Card> <div>
<CardContent className="p-0 mt-3"> <Link href={"/contributor/blog/create"}>
<BlogTable /> <Button color="primary" className="text-white">
</CardContent> <UploadIcon />
Tambah Indeks
</Button>
</Link>
</div>
</div>
</Card> </Card>
</div> <CardContent className="p-0 mt-3">
<BlogTable />
</CardContent>
</Card>
</div> </div>
</TabsContent> </div>
</Tabs> </TabsContent>
</div> </Tabs>
</div> </div>
</Suspense> </div>
); );
}; };

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";

View File

@ -90,8 +90,8 @@ const DetailInfo = () => {
</Link> </Link>
<div className="flex justify-center flex-wrap gap-2 mb-4"> <div className="flex justify-center flex-wrap gap-2 mb-4">
{detailDataImage?.tags?.split(",").map((tag: string) => ( {detailDataImage?.tags?.split(",").map((tag: string, index: number) => (
<p className="bg-gray-200 text-gray-700 text-xs px-3 py-1 rounded-full cursor-pointer hover:bg-gray-500">{tag}</p> <p key={index} className="bg-gray-200 text-gray-700 text-xs px-3 py-1 rounded-full cursor-pointer hover:bg-gray-500">{tag}</p>
))} ))}
</div> </div>

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

View File

@ -542,7 +542,7 @@ const Schedule = () => {
<AccordionItem value="item-1"> <AccordionItem value="item-1">
<AccordionTrigger>Jadwal Hari ini</AccordionTrigger> <AccordionTrigger>Jadwal Hari ini</AccordionTrigger>
{todayList?.map((list: any) => ( {todayList?.map((list: any) => (
<AccordionContent className="flex flex-row gap-3"> <AccordionContent key={list?.id} className="flex flex-row gap-3">
<div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div> <div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<h3 className="font-bold">{list?.title}</h3> <h3 className="font-bold">{list?.title}</h3>
@ -567,7 +567,7 @@ const Schedule = () => {
<AccordionItem value="item-2"> <AccordionItem value="item-2">
<AccordionTrigger>Jadwal Sebelumnya</AccordionTrigger> <AccordionTrigger>Jadwal Sebelumnya</AccordionTrigger>
{prevdayList?.map((list: any) => ( {prevdayList?.map((list: any) => (
<AccordionContent className="flex flex-row gap-3"> <AccordionContent key={list?.id} className="flex flex-row gap-3">
<div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div> <div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<h3 className="font-bold">{list?.title}</h3> <h3 className="font-bold">{list?.title}</h3>
@ -592,7 +592,7 @@ const Schedule = () => {
<AccordionItem value="item-3"> <AccordionItem value="item-3">
<AccordionTrigger>Jadwal Selanjutnya</AccordionTrigger> <AccordionTrigger>Jadwal Selanjutnya</AccordionTrigger>
{nextdayList?.map((list: any) => ( {nextdayList?.map((list: any) => (
<AccordionContent className="flex flex-row gap-3"> <AccordionContent key={list?.id} className="flex flex-row gap-3">
<div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div> <div className="border-l-4 border-red-700 pl-1 h-fit font-bold text-lg">{new Date(list.startDate).getDate()}</div>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<h3 className="font-bold">{list?.title}</h3> <h3 className="font-bold">{list?.title}</h3>

View File

@ -4,7 +4,7 @@ import DashCodeSidebar from "@/components/partials/sidebar";
import DashCodeFooter from "@/components/partials/footer"; import DashCodeFooter from "@/components/partials/footer";
import ThemeCustomize from "@/components/partials/customizer"; import ThemeCustomize from "@/components/partials/customizer";
import DashCodeHeader from "@/components/partials/header"; import DashCodeHeader from "@/components/partials/header";
import { auth } from "@/lib/auth";
import { redirect } from "@/components/navigation"; import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer"; import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar"; import Navbar from "@/components/landing-page/navbar";

BIN
app/favicon-vercel.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,4 +1,3 @@
import { signIn } from "@/lib/auth";
import Image from "next/image"; import Image from "next/image";
const Social = ({ locale }: { locale: string }) => { const Social = ({ locale }: { locale: string }) => {

262
package-lock.json generated
View File

@ -102,7 +102,7 @@
"react-cssfx-loading": "^2.1.0", "react-cssfx-loading": "^2.1.0",
"react-datepicker": "^7.5.0", "react-datepicker": "^7.5.0",
"react-day-picker": "^8.10.1", "react-day-picker": "^8.10.1",
"react-dom": "^19.0.0", "react-dom": "^18",
"react-dropzone": "^14.2.3", "react-dropzone": "^14.2.3",
"react-geocode": "^0.2.3", "react-geocode": "^0.2.3",
"react-hook-form": "^7.52.1", "react-hook-form": "^7.52.1",
@ -1063,126 +1063,6 @@
"glob": "10.3.10" "glob": "10.3.10"
} }
}, },
"node_modules/@next/swc-darwin-arm64": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.3.tgz",
"integrity": "sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-darwin-x64": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.3.tgz",
"integrity": "sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.3.tgz",
"integrity": "sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-arm64-musl": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.3.tgz",
"integrity": "sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-x64-gnu": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.3.tgz",
"integrity": "sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-x64-musl": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.3.tgz",
"integrity": "sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.3.tgz",
"integrity": "sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-win32-ia32-msvc": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.3.tgz",
"integrity": "sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==",
"cpu": [
"ia32"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-win32-x64-msvc": { "node_modules/@next/swc-win32-x64-msvc": {
"version": "14.2.3", "version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.3.tgz", "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.3.tgz",
@ -10930,14 +10810,15 @@
} }
}, },
"node_modules/react-dom": { "node_modules/react-dom": {
"version": "19.0.0", "version": "18.3.1",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
"integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
"dependencies": { "dependencies": {
"scheduler": "^0.25.0" "loose-envify": "^1.1.0",
"scheduler": "^0.23.2"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^19.0.0" "react": "^18.3.1"
} }
}, },
"node_modules/react-dropzone": { "node_modules/react-dropzone": {
@ -11880,9 +11761,12 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
}, },
"node_modules/scheduler": { "node_modules/scheduler": {
"version": "0.25.0", "version": "0.23.2",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
"integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
"dependencies": {
"loose-envify": "^1.1.0"
}
}, },
"node_modules/scroll-into-view-if-needed": { "node_modules/scroll-into-view-if-needed": {
"version": "3.1.0", "version": "3.1.0",
@ -13965,6 +13849,126 @@
"type": "github", "type": "github",
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
},
"node_modules/@next/swc-darwin-arm64": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.3.tgz",
"integrity": "sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-darwin-x64": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.3.tgz",
"integrity": "sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.3.tgz",
"integrity": "sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-arm64-musl": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.3.tgz",
"integrity": "sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-x64-gnu": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.3.tgz",
"integrity": "sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-linux-x64-musl": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.3.tgz",
"integrity": "sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.3.tgz",
"integrity": "sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/@next/swc-win32-ia32-msvc": {
"version": "14.2.3",
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.3.tgz",
"integrity": "sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==",
"cpu": [
"ia32"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
} }
} }
} }

View File

@ -103,7 +103,7 @@
"react-cssfx-loading": "^2.1.0", "react-cssfx-loading": "^2.1.0",
"react-datepicker": "^7.5.0", "react-datepicker": "^7.5.0",
"react-day-picker": "^8.10.1", "react-day-picker": "^8.10.1",
"react-dom": "^19.0.0", "react-dom": "^18",
"react-dropzone": "^14.2.3", "react-dropzone": "^14.2.3",
"react-geocode": "^0.2.3", "react-geocode": "^0.2.3",
"react-hook-form": "^7.52.1", "react-hook-form": "^7.52.1",