{activeStep === 0 && (
)}
diff --git a/src/pages/register/stepper/step1.tsx b/src/pages/register/stepper/step1.tsx
index fb246519..50acef90 100644
--- a/src/pages/register/stepper/step1.tsx
+++ b/src/pages/register/stepper/step1.tsx
@@ -1,19 +1,19 @@
-import { yupResolver } from "@hookform/resolvers/yup";
-import ReCAPTCHA from "react-google-recaptcha";
-import { useForm } from "react-hook-form";
-import { useRef, useState } from "react";
-import getConfig from "next/config";
-import * as yup from "yup";
-
-import { GridContainer, GridItem } from "@/components/elements/grid";
-import { CitizensBasicInformationResponse } from "@/pages/api/types";
-import LoadingBackdrop from "@/components/elements/loadingBackdrop";
-import { TextBody } from "@/components/elements/typography";
-import { AlertWarning } from "@/components/elements/alert";
-import { ButtonApp } from "@/components/elements/button";
-import { FormControlApp } from "@/components/form/input";
-import { InputApp } from "@/themes/form/input";
-import { labels } from "@/constants/labels";
+import { yupResolver } from '@hookform/resolvers/yup';
+import ReCAPTCHA from 'react-google-recaptcha';
+import { useForm } from 'react-hook-form';
+import { useRef, useState } from 'react';
+import getConfig from 'next/config';
+import * as yup from 'yup';
+
+import { GridContainer, GridItem } from '@/components/elements/grid';
+import { CitizensBasicInformationResponse } from '@/pages/api/types';
+import LoadingBackdrop from '@/components/elements/loadingBackdrop';
+import { TextBody } from '@/components/elements/typography';
+import { AlertWarning } from '@/components/elements/alert';
+import { ButtonApp } from '@/components/elements/button';
+import { FormControlApp } from '@/components/form/input';
+import { InputApp } from '@/themes/form/input';
+import { labels } from '@/constants/labels';
const { publicRuntimeConfig } = getConfig();
@@ -26,7 +26,7 @@ const schema = yup.object({
.string()
.trim()
.required(labels.form.requiredField)
- .min(11, "Debe contener 11 dígitos"),
+ .min(11, 'Debe contener 11 dígitos'),
});
export default function Step1({ setInfoCedula, handleNext }: any) {
@@ -42,15 +42,15 @@ export default function Step1({ setInfoCedula, handleNext }: any) {
const handleChange = (e: any) => {
const cedulaValue = e.target.value
- .replace(/\D/g, "")
+ .replace(/\D/g, '')
.match(/(\d{0,3})(\d{0,7})(\d{0,1})/);
e.target.value = !cedulaValue[2]
? cedulaValue[1]
: `${cedulaValue[1]}-${cedulaValue[2]}${`${
- cedulaValue[3] ? `-${cedulaValue[3]}` : ""
- }`}${`${cedulaValue[4] ? `-${cedulaValue[4]}` : ""}`}`;
- const numbers = e.target.value.replace(/(\D)/g, "");
- setValue("cedula", numbers);
+ cedulaValue[3] ? `-${cedulaValue[3]}` : ''
+ }`}${`${cedulaValue[4] ? `-${cedulaValue[4]}` : ''}`}`;
+ const numbers = e.target.value.replace(/(\D)/g, '');
+ setValue('cedula', numbers);
};
const {
@@ -58,7 +58,7 @@ export default function Step1({ setInfoCedula, handleNext }: any) {
formState: { errors },
setValue,
} = useForm
({
- reValidateMode: "onSubmit",
+ reValidateMode: 'onSubmit',
shouldFocusError: false,
resolver: yupResolver(schema),
});
@@ -68,7 +68,7 @@ export default function Step1({ setInfoCedula, handleNext }: any) {
if (!tokenCaptcha) {
return AlertWarning(
- "Necesitamos verificar que no eres un robot. Por favor complete el control de seguridad"
+ 'Necesitamos verificar que no eres un robot. Por favor complete el control de seguridad'
);
}
@@ -90,7 +90,7 @@ export default function Step1({ setInfoCedula, handleNext }: any) {
handleNext();
})
.catch(() => {
- AlertWarning("Parece que ha introducido una cédula inválida.");
+ AlertWarning('Parece que ha introducido una cédula inválida.');
})
.finally(() => setLoading(false));
};
@@ -133,19 +133,19 @@ export default function Step1({ setInfoCedula, handleNext }: any) {
diff --git a/src/pages/register/stepper/step2.tsx b/src/pages/register/stepper/step2.tsx
index 9a7bf3fb..77d77c87 100644
--- a/src/pages/register/stepper/step2.tsx
+++ b/src/pages/register/stepper/step2.tsx
@@ -1,20 +1,20 @@
-import SentimentSatisfiedOutlinedIcon from "@mui/icons-material/SentimentSatisfiedOutlined";
-import CameraAltOutlinedIcon from "@mui/icons-material/CameraAltOutlined";
-import { yupResolver } from "@hookform/resolvers/yup";
-import { useForm } from "react-hook-form";
-import { useState } from "react";
-import * as yup from "yup";
+import SentimentSatisfiedOutlinedIcon from '@mui/icons-material/SentimentSatisfiedOutlined';
+import CameraAltOutlinedIcon from '@mui/icons-material/CameraAltOutlined';
+import { yupResolver } from '@hookform/resolvers/yup';
+import { useForm } from 'react-hook-form';
+import { useState } from 'react';
+import * as yup from 'yup';
-import { GridContainer, GridItem } from "@/components/elements/grid";
-import FormControlLabel from "@mui/material/FormControlLabel";
-import { TextBody } from "@/components/elements/typography";
-import { AlertWarning } from "@/components/elements/alert";
-import { ButtonApp } from "@/components/elements/button";
-import FormGroup from "@mui/material/FormGroup";
-import Checkbox from "@mui/material/Checkbox";
-import { labels } from "@/constants/labels";
-import { Typography } from "@mui/material";
-import Step2Modal from "./step2Modal";
+import { GridContainer, GridItem } from '@/components/elements/grid';
+import FormControlLabel from '@mui/material/FormControlLabel';
+import { TextBody } from '@/components/elements/typography';
+import { AlertWarning } from '@/components/elements/alert';
+import { ButtonApp } from '@/components/elements/button';
+import FormGroup from '@mui/material/FormGroup';
+import Checkbox from '@mui/material/Checkbox';
+import { labels } from '@/constants/labels';
+import { Typography } from '@mui/material';
+import Step2Modal from './step2Modal';
interface IFormInputs {
acceptTermAndConditions: boolean;
@@ -33,13 +33,11 @@ export default function Step2({ infoCedula, handleNext }: any) {
const handleClick = () => setOpen(!open);
const {
- register,
handleSubmit,
- formState: { errors },
- control,
+ formState: { },
setValue,
} = useForm
({
- reValidateMode: "onSubmit",
+ reValidateMode: 'onSubmit',
shouldFocusError: false,
resolver: yupResolver(schema),
});
@@ -47,7 +45,7 @@ export default function Step2({ infoCedula, handleNext }: any) {
const onSubmit = (data: IFormInputs) => {
if (!data.acceptTermAndConditions) {
return AlertWarning(
- "Para continuar debe aceptar Términos y Políticas de Privacidad"
+ 'Para continuar debe aceptar Términos y Políticas de Privacidad'
);
}
handleClick();
@@ -57,8 +55,8 @@ export default function Step2({ infoCedula, handleNext }: any) {
<>
- ¡Hola {infoCedula?.name}!{" "}
-
+ ¡Hola {infoCedula?.name}!{' '}
+
Ahora vamos a verificar tu identidad mediante autenticación biométrica
y continuar con el proceso de tú registro, asegúrate de disponer de
los siguientes elementos:
@@ -71,21 +69,21 @@ export default function Step2({ infoCedula, handleNext }: any) {
- Tener disponible un teléfono móvil o computadora con{" "}
- cámara integrada.
+ Tener disponible un teléfono móvil o computadora con{' '}
+ cámara integrada.
@@ -93,21 +91,21 @@ export default function Step2({ infoCedula, handleNext }: any) {
- Permitir capturas de{" "}
-
+ Permitir capturas de{' '}
+
fotografías de tu rostro.
@@ -117,7 +115,7 @@ export default function Step2({ infoCedula, handleNext }: any) {
Verificación con pasaporte disponible próximamente
@@ -125,15 +123,15 @@ export default function Step2({ infoCedula, handleNext }: any) {
-
+
{
- setValue("acceptTermAndConditions", e.target.checked);
+ setValue('acceptTermAndConditions', e.target.checked);
}}
control={}
label={
- Aceptar Términos y Políticas de Privacidad{" "}
+ Aceptar Términos y Políticas de Privacidad{' '}
*
}
diff --git a/src/pages/register/stepper/step2Modal.tsx b/src/pages/register/stepper/step2Modal.tsx
index c3d8255f..a3b2cdb8 100644
--- a/src/pages/register/stepper/step2Modal.tsx
+++ b/src/pages/register/stepper/step2Modal.tsx
@@ -1,19 +1,17 @@
-import { TransitionProps } from "@mui/material/transitions";
-import { ThemeProvider } from "@aws-amplify/ui-react";
-import LogoutIcon from "@mui/icons-material/Logout";
-import Toolbar from "@mui/material/Toolbar";
-import AppBar from "@mui/material/AppBar";
-import Dialog from "@mui/material/Dialog";
-import Slide from "@mui/material/Slide";
-import { Box } from "@mui/material";
-import { forwardRef } from "react";
-import Image from "next/image";
+import { TransitionProps } from '@mui/material/transitions';
+import { ThemeProvider } from '@aws-amplify/ui-react';
+import LogoutIcon from '@mui/icons-material/Logout';
+import Toolbar from '@mui/material/Toolbar';
+import AppBar from '@mui/material/AppBar';
+import Dialog from '@mui/material/Dialog';
+import Slide from '@mui/material/Slide';
+import { Box } from '@mui/material';
+import { forwardRef } from 'react';
+import Image from 'next/image';
-import { LivenessQuickStartReact } from "@/components/biometric/face-liveness-detector";
-import { ContainerApp } from "@/components/elements/container";
-import { ButtonApp } from "@/components/elements/button";
-import Logo from "../../../../public/assets/logo.png";
-import { GridContainer, GridItem } from "@/components/elements/grid";
+import { LivenessQuickStartReact } from '@/components/biometric/face-liveness-detector';
+import { ButtonApp } from '@/components/elements/button';
+import Logo from '../../../../public/assets/logo.png';
const Transition = forwardRef(function Transition(
props: TransitionProps & {
@@ -25,7 +23,6 @@ const Transition = forwardRef(function Transition(
});
export default function Step2Modal({
- open,
handleClick,
handleNextForm,
identity,
@@ -38,8 +35,8 @@ export default function Step2Modal({
onClose={handleClick}
TransitionComponent={Transition}
>
-
-
+
+
@@ -58,14 +55,14 @@ export default function Step2Modal({
diff --git a/src/pages/register/stepper/step3.tsx b/src/pages/register/stepper/step3.tsx
index ef4947da..2e7db38f 100644
--- a/src/pages/register/stepper/step3.tsx
+++ b/src/pages/register/stepper/step3.tsx
@@ -1,17 +1,17 @@
-import { yupResolver } from "@hookform/resolvers/yup";
-import { useForm } from "react-hook-form";
-import { useState } from "react";
-import * as yup from "yup";
-import axios from "axios";
+import { yupResolver } from '@hookform/resolvers/yup';
+import { useForm } from 'react-hook-form';
+import { useState } from 'react';
+import * as yup from 'yup';
+import axios from 'axios';
-import { AlertError, AlertWarning } from "@/components/elements/alert";
-import { GridContainer, GridItem } from "@/components/elements/grid";
-import LoadingBackdrop from "@/components/elements/loadingBackdrop";
-import { TextBody } from "@/components/elements/typography";
-import { FormControlApp } from "@/components/form/input";
-import { ButtonApp } from "@/components/elements/button";
-import { InputApp } from "@/themes/form/input";
-import { labels } from "@/constants/labels";
+import { AlertError, AlertWarning } from '@/components/elements/alert';
+import { GridContainer, GridItem } from '@/components/elements/grid';
+import LoadingBackdrop from '@/components/elements/loadingBackdrop';
+import { TextBody } from '@/components/elements/typography';
+import { FormControlApp } from '@/components/form/input';
+import { ButtonApp } from '@/components/elements/button';
+import { InputApp } from '@/themes/form/input';
+import { labels } from '@/constants/labels';
interface IFormInputs {
email: string;
@@ -30,24 +30,24 @@ const schema = yup.object({
.string()
.trim()
.required(labels.form.requiredField)
- .oneOf([yup.ref("email")], "Los correos no coinciden"),
+ .oneOf([yup.ref('email')], 'Los correos no coinciden'),
password: yup
.string()
- .min(8, "Debe contener al menos 8 caracteres")
+ .min(8, 'Debe contener al menos 8 caracteres')
.required(labels.form.requiredField)
.trim()
.matches(
/^.*(?=.{8,})((?=.*[!@#$%^&*()\-_=+{};:,<.>]){1})(?=.*\d)((?=.*[a-z]){1})((?=.*[A-Z]){1}).*$/,
- "La contraseña debe contener una mayúscula, un número y un carácter especial"
+ 'La contraseña debe contener una mayúscula, un número y un carácter especial'
),
passwordConfirm: yup
.string()
.required(labels.form.requiredField)
- .oneOf([yup.ref("password")], "Las contraseñas no coinciden"),
+ .oneOf([yup.ref('password')], 'Las contraseñas no coinciden'),
});
export default function Step3({ handleNext, infoCedula }: any) {
- const [dataItem, setDataItem] = useState({});
+ const [dataItem] = useState({});
const [loading, setLoading] = useState(false);
@@ -56,10 +56,8 @@ export default function Step3({ handleNext, infoCedula }: any) {
handleSubmit,
formState: { errors },
getValues,
- control,
- setValue,
} = useForm({
- mode: "onChange",
+ mode: 'onChange',
resolver: yupResolver(schema),
});
@@ -67,7 +65,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
setLoading(true);
axios
- .post("/api/iam", {
+ .post('/api/iam', {
email: data.email,
username: infoCedula.id,
password: data.password,
@@ -77,7 +75,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
})
.catch((err) => {
if (err?.response?.status === 409) {
- AlertWarning("El correo electrónico ya está registrado.");
+ AlertWarning('El correo electrónico ya está registrado.');
} else {
AlertError();
}
@@ -115,7 +113,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
return false;
}}
autoComplete="off"
- {...register("email")}
+ {...register('email')}
/>
@@ -138,7 +136,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
return false;
}}
autoComplete="off"
- {...register("emailConfirm")}
+ {...register('emailConfirm')}
/>
@@ -176,7 +174,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
return false;
}}
autoComplete="off"
- {...register("password")}
+ {...register('password')}
/>
@@ -200,7 +198,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
return false;
}}
autoComplete="off"
- {...register("passwordConfirm")}
+ {...register('passwordConfirm')}
/>
@@ -211,7 +209,7 @@ export default function Step3({ handleNext, infoCedula }: any) {
disabled={
Object.values(getValues()).every(
(value: any) =>
- value !== null && value !== undefined && value !== ""
+ value !== null && value !== undefined && value !== ''
) === false
? true
: false
diff --git a/src/styles/globals.css b/src/styles/globals.css
index f62090b0..f5dfaf0e 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -1,4 +1,4 @@
-@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');
+@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap");
body {
font-family: Poppins, sans-serif;
@@ -19,62 +19,121 @@ body {
.text-primary {
color: #003670;
}
+
.text-success {
- color: #2ECC71;
+ color: #2ecc71;
}
+
.text-secondary {
- color: #0087FF;
+ color: #0087ff;
}
+
.text-error {
- color: #EE2A24;
+ color: #ee2a24;
}
+
.text-info {
- color: #23C3DF;
+ color: #23c3df;
}
.bg-primary {
background: #003670;
}
+
.bg-success {
- background: #2ECC71;
+ background: #2ecc71;
}
+
.bg-secondary {
- background: #0087FF;
+ background: #0087ff;
}
+
.bg-error {
- background: #EE2A24;
+ background: #ee2a24;
}
+
.bg-info {
- background: #23C3DF;
+ background: #23c3df;
+}
+
+.p-1 {
+ padding: 5px;
+}
+
+.py-1 {
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+
+.px-1 {
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+.p-2 {
+ padding: 10px;
+}
+
+.py-2 {
+ padding-top: 10px;
+ padding-bottom: 10px;
}
-.p-1 { padding: 5px; }
-.py-1 { padding-top: 5px; padding-bottom: 5px; }
-.px-1 { padding-left: 5px; padding-right: 5px; }
+.px-2 {
+ padding-left: 10px;
+ padding-right: 10px;
+}
-.p-2 { padding: 10px; }
-.py-2 { padding-top: 10px; padding-bottom: 10px; }
-.px-2 { padding-left: 10px; padding-right: 10px; }
+.p-3 {
+ padding: 15px;
+}
-.p-3 { padding: 15px; }
-.py-3 { padding-top: 15px; padding-bottom: 15px; }
-.px-3 { padding-left: 15px; padding-right: 15px; }
+.py-3 {
+ padding-top: 15px;
+ padding-bottom: 15px;
+}
-.p-4 { padding: 20px; }
-.py-4 { padding-top: 20px; padding-bottom: 20px; }
-.px-4 { padding-left: 20px; padding-right: 20px; }
+.px-3 {
+ padding-left: 15px;
+ padding-right: 15px;
+}
-.p-5 { padding: 25px; }
-.py-5 { padding-top: 25px; padding-bottom: 25px; }
-.px-5 { padding-left: 25px; padding-right: 25px; }
+.p-4 {
+ padding: 20px;
+}
+
+.py-4 {
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+
+.px-4 {
+ padding-left: 20px;
+ padding-right: 20px;
+}
+
+.p-5 {
+ padding: 25px;
+}
+
+.py-5 {
+ padding-top: 25px;
+ padding-bottom: 25px;
+}
+
+.px-5 {
+ padding-left: 25px;
+ padding-right: 25px;
+}
/* MUI global */
-.MuiStepLabel-iconContainer, .MuiStepConnector-horizontal {
+.muisteplabel-iconcontainer,
+.muistepconnector-horizontal {
display: none !important;
}
-.MuiStepLabel-label {
+.muisteplabel-label {
color: #03397775;
}
@@ -82,4 +141,4 @@ body {
background: red;
z-index: 500 !important;
padding: 450px;
-}
\ No newline at end of file
+}
diff --git a/tsconfig.json b/tsconfig.json
index 61c19abd..325ad8f7 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
+ "lib": [
+ "dom",
+ "dom.iterable",
+ "esnext"
+ ],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -14,10 +18,31 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
+ "baseUrl": ".",
"paths": {
- "@/*": ["./src/*"]
+ "@/*": [
+ "src/*"
+ ],
+ "@components/*": [
+ "components/*"
+ ],
+ "@utils/*": [
+ "utils/*"
+ ],
+ "@lib/*": [
+ "lib/*"
+ ],
+ "@services/*": [
+ "services/*"
+ ]
}
},
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx"
+ ],
+ "exclude": [
+ "node_modules"
+ ]
+}
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 4ea752c5..fb297b2b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4776,7 +4776,19 @@
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz#d0fce5d07b0620caa282b5131c297bb60f9d87e6"
integrity sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==
-"@eslint/eslintrc@^2.0.0":
+"@eslint-community/eslint-utils@^4.2.0":
+ version "4.4.0"
+ resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
+ integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
+ dependencies:
+ eslint-visitor-keys "^3.3.0"
+
+"@eslint-community/regexpp@^4.4.0":
+ version "4.5.1"
+ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884"
+ integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==
+
+"@eslint/eslintrc@^2.0.3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331"
integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==
@@ -4791,10 +4803,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
-"@eslint/js@8.35.0":
- version "8.35.0"
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.35.0.tgz#b7569632b0b788a0ca0e438235154e45d42813a7"
- integrity sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==
+"@eslint/js@8.40.0":
+ version "8.40.0"
+ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.40.0.tgz#3ba73359e11f5a7bd3e407f70b3528abfae69cec"
+ integrity sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==
"@floating-ui/core@^0.7.3":
version "0.7.3"
@@ -6027,13 +6039,6 @@
"@turf/line-intersect" "^6.5.0"
"@turf/meta" "^6.5.0"
-"@types/axios@^0.14.0":
- version "0.14.0"
- resolved "https://registry.yarnpkg.com/@types/axios/-/axios-0.14.0.tgz#ec2300fbe7d7dddd7eb9d3abf87999964cafce46"
- integrity sha512-KqQnQbdYE54D7oa/UmYVMZKq7CO4l8DEENzOKc4aBRwxCXSlJXGz83flFx5L7AWrOQnmuN3kVsRdt+GZPPjiVQ==
- dependencies:
- axios "*"
-
"@types/cookie@^0.3.3":
version "0.3.3"
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.3.3.tgz#85bc74ba782fb7aa3a514d11767832b0e3bc6803"
@@ -6078,6 +6083,11 @@
dependencies:
"@types/istanbul-lib-report" "*"
+"@types/json-schema@^7.0.9":
+ version "7.0.11"
+ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"
+ integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==
+
"@types/json5@^0.0.29":
version "0.0.29"
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
@@ -6200,6 +6210,11 @@
resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.27.tgz#9db563937dd86915f69092bc43259d2f48578e41"
integrity sha512-YvMLqFak/7rt//lPBtEHv3M4sRNA+HGxrhFZ+DQs9K2IkYJbNwVIb8avtJfhDiuaUBX/AW0jnjv48FV8h3u9bQ==
+"@types/semver@^7.3.12":
+ version "7.5.0"
+ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a"
+ integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==
+
"@types/stack-utils@^2.0.0":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
@@ -6236,7 +6251,23 @@
dependencies:
"@types/yargs-parser" "*"
-"@typescript-eslint/parser@^5.42.0":
+"@typescript-eslint/eslint-plugin@^5.59.5":
+ version "5.59.5"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.5.tgz#f156827610a3f8cefc56baeaa93cd4a5f32966b4"
+ integrity sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==
+ dependencies:
+ "@eslint-community/regexpp" "^4.4.0"
+ "@typescript-eslint/scope-manager" "5.59.5"
+ "@typescript-eslint/type-utils" "5.59.5"
+ "@typescript-eslint/utils" "5.59.5"
+ debug "^4.3.4"
+ grapheme-splitter "^1.0.4"
+ ignore "^5.2.0"
+ natural-compare-lite "^1.4.0"
+ semver "^7.3.7"
+ tsutils "^3.21.0"
+
+"@typescript-eslint/parser@^5.42.0", "@typescript-eslint/parser@^5.59.5":
version "5.59.5"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.59.5.tgz#63064f5eafbdbfb5f9dfbf5c4503cdf949852981"
integrity sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==
@@ -6254,6 +6285,16 @@
"@typescript-eslint/types" "5.59.5"
"@typescript-eslint/visitor-keys" "5.59.5"
+"@typescript-eslint/type-utils@5.59.5":
+ version "5.59.5"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.59.5.tgz#485b0e2c5b923460bc2ea6b338c595343f06fc9b"
+ integrity sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==
+ dependencies:
+ "@typescript-eslint/typescript-estree" "5.59.5"
+ "@typescript-eslint/utils" "5.59.5"
+ debug "^4.3.4"
+ tsutils "^3.21.0"
+
"@typescript-eslint/types@5.59.5":
version "5.59.5"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.5.tgz#e63c5952532306d97c6ea432cee0981f6d2258c7"
@@ -6272,6 +6313,20 @@
semver "^7.3.7"
tsutils "^3.21.0"
+"@typescript-eslint/utils@5.59.5":
+ version "5.59.5"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.59.5.tgz#15b3eb619bb223302e60413adb0accd29c32bcae"
+ integrity sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==
+ dependencies:
+ "@eslint-community/eslint-utils" "^4.2.0"
+ "@types/json-schema" "^7.0.9"
+ "@types/semver" "^7.3.12"
+ "@typescript-eslint/scope-manager" "5.59.5"
+ "@typescript-eslint/types" "5.59.5"
+ "@typescript-eslint/typescript-estree" "5.59.5"
+ eslint-scope "^5.1.1"
+ semver "^7.3.7"
+
"@typescript-eslint/visitor-keys@5.59.5":
version "5.59.5"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz#ba5b8d6791a13cf9fea6716af1e7626434b29b9b"
@@ -6580,7 +6635,14 @@ axe-core@^4.6.2:
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf"
integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==
-axios@*, axios@^1.4.0:
+axios@0.26.0:
+ version "0.26.0"
+ resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.0.tgz#9a318f1c69ec108f8cd5f3c3d390366635e13928"
+ integrity sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==
+ dependencies:
+ follow-redirects "^1.14.8"
+
+axios@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f"
integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==
@@ -6589,13 +6651,6 @@ axios@*, axios@^1.4.0:
form-data "^4.0.0"
proxy-from-env "^1.1.0"
-axios@0.26.0:
- version "0.26.0"
- resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.0.tgz#9a318f1c69ec108f8cd5f3c3d390366635e13928"
- integrity sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==
- dependencies:
- follow-redirects "^1.14.8"
-
axobject-query@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.1.1.tgz#3b6e5c6d4e43ca7ba51c5babf99d22a9c68485e1"
@@ -7684,6 +7739,11 @@ eslint-config-next@13.2.3:
eslint-plugin-react "^7.31.7"
eslint-plugin-react-hooks "^4.5.0"
+eslint-config-prettier@^8.8.0:
+ version "8.8.0"
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348"
+ integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==
+
eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.7:
version "0.3.7"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7"
@@ -7693,7 +7753,7 @@ eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.7:
is-core-module "^2.11.0"
resolve "^1.22.1"
-eslint-import-resolver-typescript@^3.5.2:
+eslint-import-resolver-typescript@^3.5.2, eslint-import-resolver-typescript@^3.5.5:
version "3.5.5"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.5.tgz#0a9034ae7ed94b254a360fbea89187b60ea7456d"
integrity sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==
@@ -7757,6 +7817,13 @@ eslint-plugin-jsx-a11y@^6.5.1:
object.fromentries "^2.0.6"
semver "^6.3.0"
+eslint-plugin-prettier@^4.2.1:
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b"
+ integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==
+ dependencies:
+ prettier-linter-helpers "^1.0.0"
+
eslint-plugin-react-hooks@^4.5.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
@@ -7783,7 +7850,15 @@ eslint-plugin-react@^7.31.7:
semver "^6.3.0"
string.prototype.matchall "^4.0.8"
-eslint-scope@^7.1.1:
+eslint-scope@^5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
+ integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
+ dependencies:
+ esrecurse "^4.3.0"
+ estraverse "^4.1.1"
+
+eslint-scope@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.0.tgz#f21ebdafda02352f103634b96dd47d9f81ca117b"
integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==
@@ -7791,30 +7866,20 @@ eslint-scope@^7.1.1:
esrecurse "^4.3.0"
estraverse "^5.2.0"
-eslint-utils@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"
- integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==
- dependencies:
- eslint-visitor-keys "^2.0.0"
-
-eslint-visitor-keys@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
- integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
-
eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1:
version "3.4.1"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994"
integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==
-eslint@8.35.0:
- version "8.35.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.35.0.tgz#fffad7c7e326bae606f0e8f436a6158566d42323"
- integrity sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==
+eslint@^8.40.0:
+ version "8.40.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.40.0.tgz#a564cd0099f38542c4e9a2f630fa45bf33bc42a4"
+ integrity sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==
dependencies:
- "@eslint/eslintrc" "^2.0.0"
- "@eslint/js" "8.35.0"
+ "@eslint-community/eslint-utils" "^4.2.0"
+ "@eslint-community/regexpp" "^4.4.0"
+ "@eslint/eslintrc" "^2.0.3"
+ "@eslint/js" "8.40.0"
"@humanwhocodes/config-array" "^0.11.8"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
@@ -7824,10 +7889,9 @@ eslint@8.35.0:
debug "^4.3.2"
doctrine "^3.0.0"
escape-string-regexp "^4.0.0"
- eslint-scope "^7.1.1"
- eslint-utils "^3.0.0"
- eslint-visitor-keys "^3.3.0"
- espree "^9.4.0"
+ eslint-scope "^7.2.0"
+ eslint-visitor-keys "^3.4.1"
+ espree "^9.5.2"
esquery "^1.4.2"
esutils "^2.0.2"
fast-deep-equal "^3.1.3"
@@ -7849,12 +7913,11 @@ eslint@8.35.0:
minimatch "^3.1.2"
natural-compare "^1.4.0"
optionator "^0.9.1"
- regexpp "^3.2.0"
strip-ansi "^6.0.1"
strip-json-comments "^3.1.0"
text-table "^0.2.0"
-espree@^9.4.0, espree@^9.5.2:
+espree@^9.5.2:
version "9.5.2"
resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b"
integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==
@@ -7882,6 +7945,11 @@ esrecurse@^4.3.0:
dependencies:
estraverse "^5.2.0"
+estraverse@^4.1.1:
+ version "4.3.0"
+ resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
+ integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
+
estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
@@ -8007,6 +8075,11 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
+fast-diff@^1.1.2:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
+ integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
+
fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.9:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
@@ -9996,6 +10069,11 @@ napi-build-utils@^1.0.1:
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806"
integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==
+natural-compare-lite@^1.4.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"
+ integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==
+
natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -10542,6 +10620,18 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
+prettier-linter-helpers@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
+ integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
+ dependencies:
+ fast-diff "^1.1.2"
+
+prettier@>=2.0.0:
+ version "2.8.8"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
+ integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
+
pretty-format@^26.5.2, pretty-format@^26.6.2:
version "26.6.2"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93"
@@ -10951,11 +11041,6 @@ regexp.prototype.flags@^1.4.3, regexp.prototype.flags@^1.5.0:
define-properties "^1.2.0"
functions-have-names "^1.2.3"
-regexpp@^3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
- integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
-
regexpu-core@^5.3.1:
version "5.3.2"
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.2.tgz#11a2b06884f3527aec3e93dbbf4a3b958a95546b"