HtmlEditor Added
parent
e887a874a8
commit
cf6305b6b4
|
|
@ -102,3 +102,7 @@
|
|||
}
|
||||
|
||||
|
||||
.ql-container.ql-snow{
|
||||
border: none !important;
|
||||
height: 11em;
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@ import NavbarSm from "@/components/NavbarSm";
|
|||
import Provider from "../utils/Provider";
|
||||
import { Toaster as SonnerToaster } from "@/components/ui/sonner";
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
import { Suspense } from "react";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "عیون",
|
||||
|
|
@ -22,6 +23,7 @@ export default function RootLayout({
|
|||
<html lang="fa" dir="rtl">
|
||||
<body className="font-[yekan] bg-white">
|
||||
<Provider>
|
||||
{/* <Suspense fallback={<Loading />}>{children}</Suspense> */}
|
||||
{children}
|
||||
<Toaster />
|
||||
<SonnerToaster />
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
"use client";
|
||||
import { Triangle } from "react-loader-spinner";
|
||||
|
||||
export default function Loading() {
|
||||
// You can add any UI inside Loading, including a Skeleton.
|
||||
return (
|
||||
<div className="w-full h-full flex justify-center items-center">
|
||||
<Triangle
|
||||
visible={true}
|
||||
height="80"
|
||||
width="80"
|
||||
color="#003778"
|
||||
ariaLabel="triangle-loading"
|
||||
wrapperStyle={{}}
|
||||
wrapperClass=""
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
@ -1,12 +1,236 @@
|
|||
"use client";
|
||||
import React, { useState, useRef, useEffect } from "react";
|
||||
import { useMutation, useQuery } from "@tanstack/react-query";
|
||||
import ReactQuill from "react-quill";
|
||||
import "react-quill/dist/quill.snow.css";
|
||||
import { Button } from "./ui/button";
|
||||
import { SubmitWebContents } from "@/utils/adminApi";
|
||||
import { toast } from "sonner";
|
||||
|
||||
export default function AdminWebContents() {
|
||||
const [contentValueCull, setContentValueCull] = useState("");
|
||||
const [contentValueAbout, setContentValueAbout] = useState("");
|
||||
const [contentValueAfter, setContentValueAfter] = useState("");
|
||||
const [contentValueBefore, setContentValueBefore] = useState("");
|
||||
const [contentTitle, setContentTitle] = useState("");
|
||||
const [contentDesc, setContentDesc] = useState("");
|
||||
// console.log(value);
|
||||
var toolbarOptions = [
|
||||
["bold", "italic", "underline", "strike"], // toggled buttons
|
||||
["blockquote", "code-block"],
|
||||
|
||||
[{ header: 1 }, { header: 2 }], // custom button values
|
||||
[{ list: "ordered" }, { list: "bullet" }],
|
||||
[{ script: "sub" }, { script: "super" }], // superscript/subscript
|
||||
[{ indent: "-1" }, { indent: "+1" }], // outdent/indent
|
||||
[{ direction: "rtl" }], // text direction
|
||||
|
||||
[{ size: ["small", false, "large", "huge"] }], // custom dropdown
|
||||
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
||||
|
||||
[{ color: [] }, { background: [] }], // dropdown with defaults from theme
|
||||
[{ font: [] }],
|
||||
[{ align: [] }],
|
||||
|
||||
["link", "image", "video"],
|
||||
|
||||
["clean"], // remove formatting button
|
||||
];
|
||||
|
||||
const modules = {
|
||||
toolbar: toolbarOptions,
|
||||
// clipboard: {
|
||||
// // toggle to add extra line breaks when pasting HTML:
|
||||
// matchVisual: false,
|
||||
// },
|
||||
};
|
||||
// Define custom styles for the ReactQuill editor
|
||||
const editorStyles: React.CSSProperties = {
|
||||
height: "12em",
|
||||
border: "1px solid #ccc",
|
||||
borderRadius: "5px",
|
||||
direction: "ltr",
|
||||
};
|
||||
|
||||
// Add
|
||||
// ............'Mutation' Change Key Submit
|
||||
const AddWebContents = useMutation({
|
||||
mutationKey: ["AddWebContents"],
|
||||
mutationFn: SubmitWebContents,
|
||||
onSuccess: (res) => {
|
||||
console.log(res);
|
||||
console.log("Success ChangeCat");
|
||||
|
||||
setContentValueCull("");
|
||||
setContentValueAbout("");
|
||||
setContentValueAfter("");
|
||||
setContentValueBefore("");
|
||||
|
||||
toast("عملیات شما با موفقیت انجام شد. ", {
|
||||
className: "!bg-green-500 !text-white",
|
||||
});
|
||||
},
|
||||
onError: (error) => {
|
||||
console.log(error);
|
||||
console.log(error?.message);
|
||||
|
||||
toast(error?.message, {
|
||||
className: "!bg-red-500 !text-black",
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
// function onSubmitAdd(data: typeof contentValue) {
|
||||
function onSubmitAddCallUs() {
|
||||
const formData = new FormData();
|
||||
// formData.append("title", contentTitle);
|
||||
// formData.append("description", contentDesc);
|
||||
|
||||
formData.append("title", "Test2");
|
||||
formData.append("description", "Test2....");
|
||||
formData.append("Content", contentValueCull);
|
||||
|
||||
AddWebContents.mutate(formData);
|
||||
console.log(contentValueCull);
|
||||
// console.log(contentTitle);
|
||||
// console.log(contentDesc);
|
||||
}
|
||||
|
||||
// AboutUs
|
||||
function onSubmitAddAboutUs() {
|
||||
const formData = new FormData();
|
||||
formData.append("title", "AboutUs");
|
||||
formData.append("description", "AboutUs....");
|
||||
formData.append("Content", contentValueAbout);
|
||||
|
||||
AddWebContents.mutate(formData);
|
||||
console.log(contentValueAbout);
|
||||
}
|
||||
|
||||
// AboutUs
|
||||
function onSubmitAddَAfterText() {
|
||||
const formData = new FormData();
|
||||
formData.append("title", "AfterRegistration");
|
||||
formData.append("description", "AfterRegistration....");
|
||||
formData.append("Content", contentValueAfter);
|
||||
|
||||
AddWebContents.mutate(formData);
|
||||
console.log(contentValueAfter);
|
||||
}
|
||||
|
||||
// AboutUs
|
||||
function onSubmitAddBeforeText() {
|
||||
const formData = new FormData();
|
||||
formData.append("title", "BeforeRegistration");
|
||||
formData.append("description", "BeforeRegistration....");
|
||||
formData.append("Content", contentValueBefore);
|
||||
|
||||
AddWebContents.mutate(formData);
|
||||
console.log(contentValueBefore);
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<div className="w-full min-h-[85vh] flex justify-center">
|
||||
<div className="w-[95vw] lg:w-[85vw] 3xl:w-[70vw] mt-8 max-sm:mt-16 pt-9 ">
|
||||
fsfdsffsdf
|
||||
{/* Cull Us */}
|
||||
<div className="w-full flex flex-col">
|
||||
<div className=" text-right text-neutral-600 text-base font-bold my-4">
|
||||
محتوای تماس با ما
|
||||
</div>
|
||||
|
||||
<ReactQuill
|
||||
modules={modules}
|
||||
theme="snow"
|
||||
value={contentValueCull}
|
||||
onChange={setContentValueCull}
|
||||
style={editorStyles}
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
onClick={() => {
|
||||
onSubmitAddCallUs();
|
||||
// setContentTitle("Test");
|
||||
// setContentDesc("Test....");
|
||||
}}
|
||||
className="w-1/6 self-end my-2"
|
||||
>
|
||||
ثبت
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{/* About Us */}
|
||||
<div className="w-full flex flex-col">
|
||||
<div className=" text-right text-neutral-600 text-base font-bold my-4">
|
||||
محتوای درباره ما
|
||||
</div>
|
||||
|
||||
<ReactQuill
|
||||
modules={modules}
|
||||
theme="snow"
|
||||
value={contentValueAbout}
|
||||
onChange={setContentValueAbout}
|
||||
style={editorStyles}
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
onClick={() => {
|
||||
onSubmitAddAboutUs();
|
||||
}}
|
||||
className="w-1/6 self-end my-2"
|
||||
>
|
||||
ثبت
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{/* AfterRegistration */}
|
||||
<div className="w-full flex flex-col">
|
||||
<div className=" text-right text-neutral-600 text-base font-bold my-4">
|
||||
محتوای بعد از ثبت گزارش
|
||||
</div>
|
||||
|
||||
<ReactQuill
|
||||
modules={modules}
|
||||
theme="snow"
|
||||
value={contentValueAfter}
|
||||
onChange={setContentValueAfter}
|
||||
style={editorStyles}
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
onClick={() => {
|
||||
onSubmitAddَAfterText();
|
||||
}}
|
||||
className="w-1/6 self-end my-2"
|
||||
>
|
||||
ثبت
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{/* BeforeRegistration*/}
|
||||
<div className="w-full flex flex-col">
|
||||
<div className=" text-right text-neutral-600 text-base font-bold my-4">
|
||||
محتوای قبل از ثبت گزارش
|
||||
</div>
|
||||
|
||||
<ReactQuill
|
||||
modules={modules}
|
||||
theme="snow"
|
||||
value={contentValueBefore}
|
||||
onChange={setContentValueBefore}
|
||||
style={editorStyles}
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
onClick={() => {
|
||||
onSubmitAddBeforeText();
|
||||
}}
|
||||
className="w-1/6 self-end my-2"
|
||||
>
|
||||
ثبت
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -268,6 +268,7 @@ export default function ComplainsDetails({
|
|||
</button>
|
||||
|
||||
<div className="w-full flex max-lg:flex-col items-start mt-2 gap-2">
|
||||
{/* 1 */}
|
||||
<div className="flex flex-col w-full lg:w-1/3 gap-3 lg:sticky top-28">
|
||||
<div className=" max-lg:hidden bg-[#E9E9E9] rounded-md p-4 px-10 flex flex-col">
|
||||
<p className="text-[#464646] text-base font-bold mb-1">
|
||||
|
|
@ -282,6 +283,7 @@ export default function ComplainsDetails({
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
{/* 2 */}
|
||||
<div className="w-full lg:w-2/3 self-stretch rounded-lg flex flex-col gap-2 ">
|
||||
<div className=" bg-[#E9E9E9] rounded-md py-4 px-10 flex flex-col md:flex-row gap-2 items-center justify-center lg:sticky top-28">
|
||||
{data.user == null ? (
|
||||
|
|
@ -455,6 +457,7 @@ export default function ComplainsDetails({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/* 3 */}
|
||||
<div className=" lg:hidden order-2 w-full bg-[#E9E9E9] rounded-md py-4 px-10 flex flex-col mt-2">
|
||||
<p className="text-[#464646] text-base font-bold mb-1">
|
||||
انجام عملیات
|
||||
|
|
@ -467,51 +470,14 @@ export default function ComplainsDetails({
|
|||
key2={key}
|
||||
/>
|
||||
</div>
|
||||
{/* Left */}
|
||||
{/* <div className="w-full md:w-1/3 bg-white shadow-lg rounded-md pt-3 px-4 flex flex-row md:flex-col max-md:flex-wrap">
|
||||
<p className="text-[#464646] text-base font-bold mb-3">
|
||||
وضعیت درخواست
|
||||
</p>
|
||||
|
||||
{ComplainDetailsItems.map((item, index, array) => {
|
||||
return (
|
||||
<div
|
||||
className="w-full justify-start items-start gap-4 inline-flex "
|
||||
key={item.id}
|
||||
>
|
||||
<div className="grow shrink basis-0 pb-2 flex-col justify-start items-start gap-1 inline-flex">
|
||||
<div className="self-stretch text-right text-lime-800 text-lg font-semibold leading-[30px]">
|
||||
{item.title}
|
||||
</div>
|
||||
<div className="self-stretch text-right text-zinc-700 text-base font-normal uppercase">
|
||||
{item.desc}
|
||||
</div>
|
||||
<div className="self-stretch text-right text-zinc-700 text-base font-normal">
|
||||
{item.date} <br /> {item.time}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="w-6 self-stretch flex-col justify-start items-center gap-1 inline-flex">
|
||||
<div className="py-0.5 justify-start items-start gap-2.5 inline-flex">
|
||||
<Image
|
||||
src={greenIcon}
|
||||
alt="greenIcon"
|
||||
width={100}
|
||||
height={100}
|
||||
/>
|
||||
</div>
|
||||
<div className="w-1 grow shrink basis-0 bg-lime-800 rounded-[1px]"></div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div> */}
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
{getComplaintMutation.isPending && (
|
||||
<div className="w-full h-full flex justify-center mt-20">
|
||||
|
||||
<Triangle
|
||||
visible={true}
|
||||
height="100"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export default function NavbarPanel() {
|
|||
const ref = useRef(null);
|
||||
const router = useRouter();
|
||||
const pathname = usePathname();
|
||||
const [activeLink, setActiveLink] = useState('');
|
||||
const [role, setRole] = useState<string | null>("");
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -21,6 +22,12 @@ export default function NavbarPanel() {
|
|||
setRole(userRole);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
// Set the active link based on the current route
|
||||
setActiveLink(pathname);
|
||||
}, [pathname]);
|
||||
|
||||
|
||||
const { data, isLoading, refetch } = useQuery({
|
||||
queryKey: ["Profile"],
|
||||
queryFn: () => getProfile(),
|
||||
|
|
@ -101,12 +108,14 @@ export default function NavbarPanel() {
|
|||
<>
|
||||
{selectedMenu.map(
|
||||
(item: { id: number; name: string; href: string }) => {
|
||||
const isActive = activeLink === item.href;
|
||||
|
||||
return (
|
||||
<Link key={item.id} href={item.href}>
|
||||
<p
|
||||
className="text-white font-normal text-sm max-md:text-xs
|
||||
className={`text-white font-normal text-sm max-md:text-xs
|
||||
hover:bg-white/50 rounded-sm p-1
|
||||
animate-out duration-300 "
|
||||
animate-out duration-300 ${isActive ? 'bg-white/50 ' : '' }`}
|
||||
>
|
||||
{item.name}
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ export default function TabController() {
|
|||
const [psblState, setPsblState] = useState(0);
|
||||
const [selectedTab, setSelectedTab] = useState("0");
|
||||
|
||||
|
||||
const {
|
||||
data: dataState,
|
||||
isLoading: isLoadingState,
|
||||
|
|
@ -66,6 +67,9 @@ export default function TabController() {
|
|||
refetchOnWindowFocus: false,
|
||||
});
|
||||
|
||||
// const initialSelectedTab = dataState[0]?.value || '';
|
||||
// setSelectedTab(initialSelectedTab);
|
||||
|
||||
// console.log(dataState[0]?.title);
|
||||
|
||||
const { data, isLoading, refetch } = useQuery({
|
||||
|
|
@ -88,7 +92,7 @@ export default function TabController() {
|
|||
لیست شکایت ها
|
||||
</p>
|
||||
<Tabs
|
||||
defaultValue={selectedTab}
|
||||
defaultValue='0'
|
||||
value={selectedTab}
|
||||
// onClick={(value) => {
|
||||
// setPsblState(value);
|
||||
|
|
@ -106,11 +110,13 @@ export default function TabController() {
|
|||
</p>
|
||||
|
||||
{dataState?.map((item: any) => {
|
||||
// const isActive = item.value === selectedTab;
|
||||
return (
|
||||
<TabsTrigger
|
||||
key={item.value}
|
||||
className="hover:border-b-2 border-b-blue max-md:flex-1"
|
||||
value={item.value}
|
||||
// data-state={isActive ? 'active' : 'inactive'}
|
||||
onClick={() => {
|
||||
setPsblState(item.value);
|
||||
setSelectedTab(item.value);
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@
|
|||
"react-leaflet": "^4.2.1",
|
||||
"react-loader-spinner": "^6.1.6",
|
||||
"react-otp-input": "^3.1.1",
|
||||
"react-quill": "^2.0.0",
|
||||
"react-responsive": "^9.0.2",
|
||||
"react-secure-storage": "^1.3.2",
|
||||
"react-spinners": "^0.13.8",
|
||||
|
|
@ -1591,6 +1592,14 @@
|
|||
"integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==",
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/@types/quill": {
|
||||
"version": "1.3.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/quill/-/quill-1.3.10.tgz",
|
||||
"integrity": "sha512-IhW3fPW+bkt9MLNlycw8u8fWb7oO7W5URC9MfZYHBlA24rex9rs23D5DETChu1zvgVdc5ka64ICjJOgQMr6Shw==",
|
||||
"dependencies": {
|
||||
"parchment": "^1.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/react": {
|
||||
"version": "18.2.43",
|
||||
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.43.tgz",
|
||||
|
|
@ -2163,7 +2172,6 @@
|
|||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
|
||||
"integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"function-bind": "^1.1.2",
|
||||
"get-intrinsic": "^1.2.1",
|
||||
|
|
@ -2305,6 +2313,14 @@
|
|||
"resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
|
||||
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
|
||||
},
|
||||
"node_modules/clone": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
|
||||
"engines": {
|
||||
"node": ">=0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/clsx": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz",
|
||||
|
|
@ -2492,6 +2508,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"node_modules/deep-equal": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz",
|
||||
"integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
|
||||
"dependencies": {
|
||||
"is-arguments": "^1.1.1",
|
||||
"is-date-object": "^1.0.5",
|
||||
"is-regex": "^1.1.4",
|
||||
"object-is": "^1.1.5",
|
||||
"object-keys": "^1.1.1",
|
||||
"regexp.prototype.flags": "^1.5.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/deep-is": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
||||
|
|
@ -2502,7 +2537,6 @@
|
|||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
|
||||
"integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"get-intrinsic": "^1.2.1",
|
||||
"gopd": "^1.0.1",
|
||||
|
|
@ -2516,7 +2550,6 @@
|
|||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
|
||||
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.0.1",
|
||||
"has-property-descriptors": "^1.0.0",
|
||||
|
|
@ -3164,11 +3197,26 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eventemitter3": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
|
||||
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
|
||||
},
|
||||
"node_modules/extend": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
||||
},
|
||||
"node_modules/fast-deep-equal": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
||||
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
||||
},
|
||||
"node_modules/fast-diff": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
|
||||
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
|
||||
},
|
||||
"node_modules/fast-glob": {
|
||||
"version": "3.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
||||
|
|
@ -3414,7 +3462,6 @@
|
|||
"version": "1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
||||
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
|
||||
"dev": true,
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
|
|
@ -3423,7 +3470,6 @@
|
|||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
|
||||
"integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"function-bind": "^1.1.2",
|
||||
"has-proto": "^1.0.1",
|
||||
|
|
@ -3560,7 +3606,6 @@
|
|||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
|
||||
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"get-intrinsic": "^1.1.3"
|
||||
},
|
||||
|
|
@ -3609,7 +3654,6 @@
|
|||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
|
||||
"integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"get-intrinsic": "^1.2.2"
|
||||
},
|
||||
|
|
@ -3621,7 +3665,6 @@
|
|||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
|
||||
"integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
|
|
@ -3633,7 +3676,6 @@
|
|||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
|
||||
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
|
|
@ -3645,7 +3687,6 @@
|
|||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
|
||||
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"has-symbols": "^1.0.2"
|
||||
},
|
||||
|
|
@ -3759,6 +3800,21 @@
|
|||
"loose-envify": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/is-arguments": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
|
||||
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.2",
|
||||
"has-tostringtag": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/is-array-buffer": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
|
||||
|
|
@ -3854,7 +3910,6 @@
|
|||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
|
||||
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"has-tostringtag": "^1.0.0"
|
||||
},
|
||||
|
|
@ -3968,7 +4023,6 @@
|
|||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
||||
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.2",
|
||||
"has-tostringtag": "^1.0.0"
|
||||
|
|
@ -4280,6 +4334,11 @@
|
|||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/lodash": {
|
||||
"version": "4.17.21",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
||||
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
||||
},
|
||||
"node_modules/lodash.merge": {
|
||||
"version": "4.6.2",
|
||||
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
||||
|
|
@ -7306,11 +7365,25 @@
|
|||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/object-is": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
|
||||
"integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.2",
|
||||
"define-properties": "^1.1.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/object-keys": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
||||
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
|
|
@ -7461,6 +7534,11 @@
|
|||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/parchment": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
|
||||
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
|
||||
},
|
||||
"node_modules/parent-module": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
||||
|
|
@ -7735,6 +7813,32 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/quill": {
|
||||
"version": "1.3.7",
|
||||
"resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
|
||||
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
|
||||
"dependencies": {
|
||||
"clone": "^2.1.1",
|
||||
"deep-equal": "^1.0.1",
|
||||
"eventemitter3": "^2.0.3",
|
||||
"extend": "^3.0.2",
|
||||
"parchment": "^1.1.4",
|
||||
"quill-delta": "^3.6.2"
|
||||
}
|
||||
},
|
||||
"node_modules/quill-delta": {
|
||||
"version": "3.6.3",
|
||||
"resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
|
||||
"integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
|
||||
"dependencies": {
|
||||
"deep-equal": "^1.0.1",
|
||||
"extend": "^3.0.2",
|
||||
"fast-diff": "1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/react": {
|
||||
"version": "18.2.0",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
|
||||
|
|
@ -7838,6 +7942,20 @@
|
|||
"react-dom": ">=16.8.6 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/react-quill": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react-quill/-/react-quill-2.0.0.tgz",
|
||||
"integrity": "sha512-4qQtv1FtCfLgoD3PXAur5RyxuUbPXQGOHgTlFie3jtxp43mXDtzCKaOgQ3mLyZfi1PUlyjycfivKelFhy13QUg==",
|
||||
"dependencies": {
|
||||
"@types/quill": "^1.3.10",
|
||||
"lodash": "^4.17.4",
|
||||
"quill": "^1.3.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16 || ^17 || ^18",
|
||||
"react-dom": "^16 || ^17 || ^18"
|
||||
}
|
||||
},
|
||||
"node_modules/react-remove-scroll": {
|
||||
"version": "2.5.5",
|
||||
"resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz",
|
||||
|
|
@ -8031,7 +8149,6 @@
|
|||
"version": "1.5.1",
|
||||
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
|
||||
"integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.2",
|
||||
"define-properties": "^1.2.0",
|
||||
|
|
@ -8207,7 +8324,6 @@
|
|||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
|
||||
"integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.1.1",
|
||||
"get-intrinsic": "^1.2.1",
|
||||
|
|
@ -8222,7 +8338,6 @@
|
|||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
|
||||
"integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.0.1",
|
||||
"functions-have-names": "^1.2.3",
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@
|
|||
"react-leaflet": "^4.2.1",
|
||||
"react-loader-spinner": "^6.1.6",
|
||||
"react-otp-input": "^3.1.1",
|
||||
"react-quill": "^2.0.0",
|
||||
"react-responsive": "^9.0.2",
|
||||
"react-secure-storage": "^1.3.2",
|
||||
"react-spinners": "^0.13.8",
|
||||
|
|
|
|||
Loading…
Reference in New Issue