From 6a0cc58f603e717cdc44603b6b3d8c740ba7013b Mon Sep 17 00:00:00 2001 From: Darren Clarke Date: Wed, 14 Dec 2022 13:24:50 +0100 Subject: [PATCH] UI updates continued --- .gitignore | 1 + components/Layout.tsx | 2 +- components/Sidebar.tsx | 553 +++++++++++++----- components/TicketDetail.tsx | 79 +++ components/TicketEdit.tsx | 75 +++ components/ZammadWrapper.tsx | 3 + next.config.js | 10 +- package-lock.json | 443 +++++++++----- package.json | 18 +- pages/admin/label-studio.tsx | 30 + pages/admin/metamigo.tsx | 30 + pages/{settings.tsx => admin/zammad.tsx} | 0 pages/leafcutter/about.tsx | 36 ++ pages/leafcutter/create.tsx | 36 ++ pages/leafcutter/faq.tsx | 36 ++ .../{leafcutter.tsx => leafcutter/index.tsx} | 0 pages/leafcutter/trends.tsx | 36 ++ pages/tickets/[...id].tsx | 54 ++ pages/{ => tickets}/assigned.tsx | 0 pages/{ => tickets}/pending.tsx | 0 pages/{ => tickets}/unassigned.tsx | 0 pages/{ => tickets}/urgent.tsx | 0 public/link-logo-small.png | Bin 0 -> 4668 bytes styles/global.css | 73 +++ 24 files changed, 1209 insertions(+), 306 deletions(-) create mode 100644 components/TicketDetail.tsx create mode 100644 components/TicketEdit.tsx create mode 100644 pages/admin/label-studio.tsx create mode 100644 pages/admin/metamigo.tsx rename pages/{settings.tsx => admin/zammad.tsx} (100%) create mode 100644 pages/leafcutter/about.tsx create mode 100644 pages/leafcutter/create.tsx create mode 100644 pages/leafcutter/faq.tsx rename pages/{leafcutter.tsx => leafcutter/index.tsx} (100%) create mode 100644 pages/leafcutter/trends.tsx create mode 100644 pages/tickets/[...id].tsx rename pages/{ => tickets}/assigned.tsx (100%) rename pages/{ => tickets}/pending.tsx (100%) rename pages/{ => tickets}/unassigned.tsx (100%) rename pages/{ => tickets}/urgent.tsx (100%) create mode 100644 public/link-logo-small.png diff --git a/.gitignore b/.gitignore index 0ccc6d5..dfb5312 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env +.env.local .next node_modules diff --git a/components/Layout.tsx b/components/Layout.tsx index 2118178..111227f 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -4,7 +4,7 @@ import { Sidebar } from "./Sidebar"; export const Layout = ({ children }) => ( - + {children} diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index cdaa9bd..8654f80 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -1,16 +1,15 @@ -import { FC } from "react"; +import { FC, useState } from "react"; import { Box, Grid, Typography, List, - ListItem, + ListItemButton, ListItemIcon, ListItemText, + ListItemSecondaryAction, Drawer, - Accordion, - AccordionSummary, - AccordionDetails, + Collapse, } from "@mui/material"; import { FeaturedPlayList as FeaturedPlayListIcon, @@ -20,53 +19,119 @@ import { Cottage as CottageIcon, Settings as SettingsIcon, } from "@mui/icons-material"; +import { useRouter } from "next/router"; import Link from "next/link"; +import Image from "next/image"; +import LinkLogo from "public/link-logo-small.png"; -const MenuItem = ({ name, href, Icon, iconSize, indent = 0 }: any) => ( - - - - ( + + + {iconSize > 0 ? ( + - {iconSize > 0 && } + + + + + ) : ( + + + - - a": { - textDecoration: "none !important", - }, - "a:visited": { - textDecoration: "none !important", - }, - border: 0, - }} - > - {name} - - } - /> - - + )} + + {name} + + } + /> + {badge && ( + + + {badge} + + + )} + ); @@ -74,115 +139,299 @@ interface SidebarProps { open: boolean; } -export const Sidebar: FC = ({ open }) => ( - - = ({ open }) => { + const { pathname } = useRouter(); + console.log({ pathname }); + return ( + - - - Hello - - - - - Agent/User - - - - - - - - - + + + + Link logo + + . + + + + CDR Link + + + + + + + + + Hello + + + + + Nicholas + + + + + + + - - - - - - - - - - + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - -); + + ); +}; diff --git a/components/TicketDetail.tsx b/components/TicketDetail.tsx new file mode 100644 index 0000000..db8f2fd --- /dev/null +++ b/components/TicketDetail.tsx @@ -0,0 +1,79 @@ +import { FC, useEffect } from "react"; +import { Grid, Box, Typography } from "@mui/material"; +import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css"; +import { + MainContainer, + ChatContainer, + MessageList, + Message, + MessageInput, + Conversation, + ConversationHeader, +} from "@chatscope/chat-ui-kit-react"; + +interface TicketDetailProps { + ticket: any; + articles: any[]; +} + +export const TicketDetail: FC = ({ ticket, articles }) => { + console.log({ here: "here", ticket }); + return ( + + + + + + + {ticket.title} + + {`Ticket #${ticket.number} (created ${new Date( + ticket.created_at + ).toLocaleDateString()})`} + + + + + {articles.map((article: any) => ( + *
*
/g, ""), + sentTime: article.updated_at, + sender: article.from, + direction: article.sender === "Agent" ? "outgoing" : "incoming", + position: "last", + type: "html", + }} + /> + ))} + + {/* */} + + + ); +}; diff --git a/components/TicketEdit.tsx b/components/TicketEdit.tsx new file mode 100644 index 0000000..a59d19d --- /dev/null +++ b/components/TicketEdit.tsx @@ -0,0 +1,75 @@ +import { FC, useEffect } from "react"; +import { Grid, Box, Typography, TextField } from "@mui/material"; +import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css"; +import { + MainContainer, + ChatContainer, + MessageList, + Message, + MessageInput, + Conversation, + ConversationHeader, +} from "@chatscope/chat-ui-kit-react"; + +interface TicketEditProps { + ticket: any; +} + +export const TicketEdit: FC = ({ ticket }) => { + return ( + + + + + + + + + + + + + + + + + + + + ); +}; diff --git a/components/ZammadWrapper.tsx b/components/ZammadWrapper.tsx index edaec8d..db5c08e 100644 --- a/components/ZammadWrapper.tsx +++ b/components/ZammadWrapper.tsx @@ -29,6 +29,9 @@ export const ZammadWrapper: FC = ({ // @ts-ignore linkElement.contentDocument.querySelector("#navigation").style = "display: none"; + // @ts-ignore + linkElement.contentDocument.querySelector("body").style = + "font-family: Arial"; if (hideSidebar) { // @ts-ignore diff --git a/next.config.js b/next.config.js index c160bd0..0187de3 100644 --- a/next.config.js +++ b/next.config.js @@ -3,7 +3,15 @@ module.exports = { locales: ["en", "fr"], defaultLocale: "en", }, - + async redirects() { + return [ + { + source: "/zammad#ticket/zoom/:path*", + destination: "/ticket/:path*", + permanent: true, + }, + ]; + }, rewrites: async () => ({ fallback: [ { diff --git a/package-lock.json b/package-lock.json index 78e93a3..baad371 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,8 @@ "name": "link-shell", "version": "0.0.1", "dependencies": { + "@chatscope/chat-ui-kit-react": "^1.9.8", + "@chatscope/chat-ui-kit-styles": "^1.4.0", "@emotion/cache": "^11.10.5", "@emotion/react": "^11.10.5", "@emotion/server": "^11.10.0", @@ -16,28 +18,28 @@ "@fontsource/poppins": "^4.5.10", "@fontsource/roboto": "^4.5.8", "@mui/icons-material": "^5", - "@mui/lab": "^5.0.0-alpha.110", + "@mui/lab": "^5.0.0-alpha.112", "@mui/material": "^5", - "@mui/x-data-grid-pro": "^5.17.14", - "@mui/x-date-pickers-pro": "^5.0.9", + "@mui/x-data-grid-pro": "^5.17.15", + "@mui/x-date-pickers-pro": "^5.0.10", "date-fns": "^2.29.3", "http-proxy-middleware": "^2.0.6", - "material-ui-popup-state": "^4.1.0", + "material-ui-popup-state": "^5.0.3", "next": "^13.0", - "next-auth": "^4.17.0", + "next-auth": "^4.18.6", "next-http-proxy-middleware": "^1.2.5", "react": "^18", "react-dom": "^18", "react-iframe": "^1.8.5", "react-polyglot": "^0.7.2", - "swr": "^1.3.0" + "swr": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.20.5", "@types/react": "^18", "@types/uuid": "^9.0.0", "babel-loader": "^9.1.0", - "eslint": "^8.28.0", + "eslint": "^8.29.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-next": "^13.0.6", "eslint-config-prettier": "^8.5.0", @@ -45,7 +47,7 @@ "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", - "typescript": "^4.9.3" + "typescript": "^4.9.4" } }, "node_modules/@ampproject/remapping": { @@ -317,9 +319,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.5.tgz", - "integrity": "sha512-+4k537wJj1TFJnGfT3gHR5gz5os0XUVYebg4Utdq0KtIxJqiWHtHSSivHBIMFR5Bt0uojHXJKExtKbOywqDtFg==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz", + "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==", "dependencies": { "regenerator-runtime": "^0.13.11" }, @@ -386,6 +388,30 @@ "node": ">=6.9.0" } }, + "node_modules/@chatscope/chat-ui-kit-react": { + "version": "1.9.8", + "resolved": "https://registry.npmjs.org/@chatscope/chat-ui-kit-react/-/chat-ui-kit-react-1.9.8.tgz", + "integrity": "sha512-CLcZfSLORUATQEB4IeM75bp7e8v5dpJbggIHG0WrUEWHbQ/E6eI77kFZXqQT4bI00gMOevifqavScutaLZqcxQ==", + "dependencies": { + "@chatscope/chat-ui-kit-styles": "^1.2.0", + "@fortawesome/fontawesome-free": "^5.12.1", + "@fortawesome/fontawesome-svg-core": "^1.2.26", + "@fortawesome/free-solid-svg-icons": "^5.12.0", + "@fortawesome/react-fontawesome": "^0.1.8", + "classnames": "^2.2.6", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "prop-types": "^15.7.2", + "react": "^16.12.0 || ^17.0.0 || ^18.2.0", + "react-dom": "^16.12.0 || ^17.0.0 || ^18.2.0" + } + }, + "node_modules/@chatscope/chat-ui-kit-styles": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@chatscope/chat-ui-kit-styles/-/chat-ui-kit-styles-1.4.0.tgz", + "integrity": "sha512-016mBJD3DESw7Nh+lkKcPd22xG92ghA0VpIXIbjQtmXhC7Ve6wRazTy8z1Ahut+Tbv179+JxrftuMngsj/yV8Q==" + }, "node_modules/@date-io/core": { "version": "2.16.0", "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.16.0.tgz", @@ -672,6 +698,60 @@ "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-4.5.8.tgz", "integrity": "sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==" }, + "node_modules/@fortawesome/fontawesome-common-types": { + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz", + "integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-free": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz", + "integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-svg-core": { + "version": "1.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.36.tgz", + "integrity": "sha512-YUcsLQKYb6DmaJjIHdDWpBIGCcyE/W+p/LMGvjQem55Mm2XWVAP5kWTMKWLv9lwpCVjpLxPyOMOyUocP1GxrtA==", + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/free-solid-svg-icons": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.4.tgz", + "integrity": "sha512-JLmQfz6tdtwxoihXLg6lT78BorrFyCf59SAwBM6qV/0zXyVeDygJVb3fk+j5Qat+Yvcxp1buLTY5iDh1ZSAQ8w==", + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/react-fontawesome": { + "version": "0.1.19", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.19.tgz", + "integrity": "sha512-Hyb+lB8T18cvLNX0S3llz7PcSOAJMLwiVKBuuzwM/nI5uoBw+gQjnf9il0fR1C3DKOI5Kc79pkJ4/xB0Uw9aFQ==", + "dependencies": { + "prop-types": "^15.8.1" + }, + "peerDependencies": { + "@fortawesome/fontawesome-svg-core": "~1 || ~6", + "react": ">=16.x" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.7", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", @@ -840,15 +920,15 @@ } }, "node_modules/@mui/lab": { - "version": "5.0.0-alpha.110", - "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.110.tgz", - "integrity": "sha512-SkX5QNbaWouO7BXvb8zpFzDizLt7UzgaebqKSvFJLF28OXiNDfPVCle6IIB4g7hAyb/o19Kbhxs9V+LwK5gQzA==", + "version": "5.0.0-alpha.112", + "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.112.tgz", + "integrity": "sha512-XKxxUevHup9l9THXWhPcWxm8LZj+E8KDOz6cWqXOnXfSZwFYsvK/nB2R4PCiy/wobURk/+qxIAzryBA9pnSk2g==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@mui/base": "5.0.0-alpha.108", - "@mui/system": "^5.10.16", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/base": "5.0.0-alpha.110", + "@mui/system": "^5.11.0", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "clsx": "^1.2.1", "prop-types": "^15.8.1", "react-is": "^18.2.0" @@ -881,14 +961,14 @@ } }, "node_modules/@mui/lab/node_modules/@mui/base": { - "version": "5.0.0-alpha.108", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.108.tgz", - "integrity": "sha512-KjzRUts2i/ODlMfywhFTqTzQl+Cr9nlDSZxJcnYjrbOV/iRyQNBTDoiFJt+XEdRi0fZBHnk74AFbnP56ehybsA==", + "version": "5.0.0-alpha.110", + "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.110.tgz", + "integrity": "sha512-q4TH9T3sTBknTXXTEf2zO8F3nbHg5iGgiaRx9XErTbXvHrmLrQXbQ4hmrLERocSTBFCFWkKyne/qZj0diWlPtA==", "dependencies": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@emotion/is-prop-valid": "^1.2.0", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "@popperjs/core": "^2.11.6", "clsx": "^1.2.1", "prop-types": "^15.8.1", @@ -957,12 +1037,12 @@ } }, "node_modules/@mui/private-theming": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.10.16.tgz", - "integrity": "sha512-0MArkJaOHRCKqL/GWjngGZmyOeRz+uxffhx82bKcewr8swqV7xx7EFP02pk0L/gLdfcvYdqwH4YTVjG/+TaKrg==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.11.0.tgz", + "integrity": "sha512-UFQLb9x5Sj4pg2GhhCGw3Ls/y1Hw/tz9RsBrULvUF0Vgps1z19o7XTq2xqUvp7pN7fJTW7eVIT2gwVg2xlk8PQ==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/utils": "^5.11.0", "prop-types": "^15.8.1" }, "engines": { @@ -983,11 +1063,11 @@ } }, "node_modules/@mui/styled-engine": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.10.16.tgz", - "integrity": "sha512-ZMSjXvtiGwGDKqrSlXhpxK2voUaF2/lpC/pSTfFmZvKH9j9a9h1/iwo3ybgjFVYGgbfNeW4h0xEchiRohu9xsw==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.11.0.tgz", + "integrity": "sha512-AF06K60Zc58qf0f7X+Y/QjaHaZq16znliLnGc9iVrV/+s8Ln/FCoeNuFvhlCbZZQ5WQcJvcy59zp0nXrklGGPQ==", "dependencies": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@emotion/cache": "^11.10.5", "csstype": "^3.1.1", "prop-types": "^15.8.1" @@ -1014,15 +1094,15 @@ } }, "node_modules/@mui/system": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.10.16.tgz", - "integrity": "sha512-OqI9B1jZ9zQ/dmoqseku4CzdEs9DbLiiMOaWxC3WeAJxM1UavlCgXz0encqm93LIlmSL7TjuHN1/rW8BJCnU8A==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.11.0.tgz", + "integrity": "sha512-HFUT7Dlmyq6Wfuxsw8QBXZxXDYIQQaJ4YHaZd7s+nDMcjerLnILxjh2g3a6umtOUM+jEcRaFJAtvLZvlGfa5fw==", "dependencies": { - "@babel/runtime": "^7.20.1", - "@mui/private-theming": "^5.10.16", - "@mui/styled-engine": "^5.10.16", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/private-theming": "^5.11.0", + "@mui/styled-engine": "^5.11.0", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "clsx": "^1.2.1", "csstype": "^3.1.1", "prop-types": "^15.8.1" @@ -1053,9 +1133,9 @@ } }, "node_modules/@mui/types": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.2.tgz", - "integrity": "sha512-siex8cZDtWeC916cXOoUOnEQQejuMYmHtc4hM6VkKVYaBICz3VIiqyiAomRboTQHt2jchxQ5Q5ATlbcDekTxDA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.3.tgz", + "integrity": "sha512-tZ+CQggbe9Ol7e/Fs5RcKwg/woU+o8DCtOnccX6KmbBc7YrfqMYEYuaIcXHuhpT880QwNkZZ3wQwvtlDFA2yOw==", "peerDependencies": { "@types/react": "*" }, @@ -1066,11 +1146,11 @@ } }, "node_modules/@mui/utils": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.10.16.tgz", - "integrity": "sha512-3MB/SGsgiiu9Z55CFmAfiONUoR7AAue/H4F6w3mc2LnhFQCsoVvXhioDPcsiRpUMIQr34jDPzGXdCuqWooPCXQ==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.11.0.tgz", + "integrity": "sha512-DP/YDaVVCVzJpZ5FFPLKNmaJkeaYRviTyIZkL/D5/FmPXQiA6ecd6z0/+VwoNQtp7aXAQWaRhvz4FM25yqFlHA==", "dependencies": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@types/prop-types": "^15.7.5", "@types/react-is": "^16.7.1 || ^17.0.0", "prop-types": "^15.8.1", @@ -1113,9 +1193,9 @@ } }, "node_modules/@mui/x-data-grid-pro": { - "version": "5.17.14", - "resolved": "https://registry.npmjs.org/@mui/x-data-grid-pro/-/x-data-grid-pro-5.17.14.tgz", - "integrity": "sha512-POIj/FUurNVv18QePgZ7sUoUQyjdtL0MR3aonXKYIfrTBvSAJ08Vv5GspMX0QcKWjS2eN19MhrYV79ayuvFDUA==", + "version": "5.17.15", + "resolved": "https://registry.npmjs.org/@mui/x-data-grid-pro/-/x-data-grid-pro-5.17.15.tgz", + "integrity": "sha512-pNa+C5y+fHZW/7fxoVmYhOun1KN5j8ahCrpwlt3Sl4P/GHOb7EpleufQTZvr2kwmBDn0G0JjSYCH9BhZC1Ohew==", "dependencies": { "@babel/runtime": "^7.18.9", "@mui/utils": "^5.10.3", @@ -1137,9 +1217,9 @@ } }, "node_modules/@mui/x-date-pickers": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-5.0.9.tgz", - "integrity": "sha512-PM3RU8MiwDVi+dSDGJ7ylI0hCe79wSCDfrjghS8ApGGFn/n87S8pUZxsZ5czw3mVRN6VfS2C19peo4nM1Tx+nA==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-5.0.10.tgz", + "integrity": "sha512-k+SKBqlpYsY49JVs7PORDvnfoXw9nJELfImR/3jTgHqP8hQQ6loFjB9ZFvc5NjV4Jf2NIJFmdcp6g8cO31Wmbg==", "dependencies": { "@babel/runtime": "^7.18.9", "@date-io/core": "^2.15.0", @@ -1195,9 +1275,9 @@ } }, "node_modules/@mui/x-date-pickers-pro": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/@mui/x-date-pickers-pro/-/x-date-pickers-pro-5.0.9.tgz", - "integrity": "sha512-7Sn3vb8OmCIYpNSSplH8qRoRgyYUEJBM9VWqpxRuZNQIjMAAZa571quLDMf+8DPVNB5RW+wf6Xl8tY3Vwnq3dA==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/@mui/x-date-pickers-pro/-/x-date-pickers-pro-5.0.10.tgz", + "integrity": "sha512-104x0+P8RrtI7/cL+3Z6V7uo4KouuzlLKM2e24fxiOf1/BFxQ0QgA6hkBlQnSeOZhZdHKzHXjbjrmYoMAyIkxw==", "dependencies": { "@babel/runtime": "^7.18.9", "@date-io/date-fns": "^2.15.0", @@ -1205,7 +1285,7 @@ "@date-io/luxon": "^2.15.0", "@date-io/moment": "^2.15.0", "@mui/utils": "^5.10.3", - "@mui/x-date-pickers": "5.0.9", + "@mui/x-date-pickers": "5.0.10", "@mui/x-license-pro": "5.17.12", "clsx": "^1.2.1", "prop-types": "^15.7.2", @@ -2739,9 +2819,9 @@ } }, "node_modules/eslint": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", - "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", + "version": "8.29.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.29.0.tgz", + "integrity": "sha512-isQ4EEiyUjZFbEKvEGJKKGBwXtvXX+zJbkVKCgTuB9t/+jUBcy8avhkEwWJecI15BkRkOYmvIM5ynbhRjEkoeg==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.3", @@ -4353,17 +4433,17 @@ } }, "node_modules/material-ui-popup-state": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/material-ui-popup-state/-/material-ui-popup-state-4.1.0.tgz", - "integrity": "sha512-YAxLT10XALsUuuo46sc81NKD6oKJzlkcKP3e+IqC0pKwzAhOAZIQ+RUHXT6Mz3bXHKoHCsM+NdIQxR4mOH/KEQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/material-ui-popup-state/-/material-ui-popup-state-5.0.3.tgz", + "integrity": "sha512-AdlAEDmOAQ3BZMnNfyKD5CL+aNMb8zd5tDZWG5Ykx3vcuPbaL6SPjJ5kWuWXrJvapL9I8wwxaYhV4gt3tZmyOA==", "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.20.6", "@mui/material": "^5.0.0", "classnames": "^2.2.6", "prop-types": "^15.7.2" }, "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/merge-stream": { @@ -4527,9 +4607,9 @@ } }, "node_modules/next-auth": { - "version": "4.17.0", - "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.17.0.tgz", - "integrity": "sha512-aN2tdnjS0MDeUpB2tBDOaWnegkgeMWrsccujbXRGMJ607b+EwRcy63MFGSr0OAboDJEe0902piXQkt94GqF8Qw==", + "version": "4.18.6", + "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.18.6.tgz", + "integrity": "sha512-0TQwbq5X9Jyd1wUVYUoyvHJh4JWXeW9UOcMEl245Er/Y5vsSbyGJHt8M7xjRMzk9mORVMYehoMdERgyiq/jCgA==", "dependencies": { "@babel/runtime": "^7.16.3", "@panva/hkdf": "^1.0.1", @@ -5656,9 +5736,15 @@ } }, "node_modules/swr": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", - "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.0.tgz", + "integrity": "sha512-IhUx5yPkX+Fut3h0SqZycnaNLXLXsb2ECFq0Y29cxnK7d8r7auY2JWNbCW3IX+EqXUg3rwNJFlhrw5Ye/b6k7w==", + "dependencies": { + "use-sync-external-store": "^1.2.0" + }, + "engines": { + "pnpm": "7" + }, "peerDependencies": { "react": "^16.11.0 || ^17.0.0 || ^18.0.0" } @@ -5885,9 +5971,9 @@ } }, "node_modules/typescript": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", - "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", + "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -5945,6 +6031,14 @@ "punycode": "^2.1.0" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -6362,9 +6456,9 @@ } }, "@babel/runtime": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.5.tgz", - "integrity": "sha512-+4k537wJj1TFJnGfT3gHR5gz5os0XUVYebg4Utdq0KtIxJqiWHtHSSivHBIMFR5Bt0uojHXJKExtKbOywqDtFg==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz", + "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==", "requires": { "regenerator-runtime": "^0.13.11" } @@ -6416,6 +6510,25 @@ "to-fast-properties": "^2.0.0" } }, + "@chatscope/chat-ui-kit-react": { + "version": "1.9.8", + "resolved": "https://registry.npmjs.org/@chatscope/chat-ui-kit-react/-/chat-ui-kit-react-1.9.8.tgz", + "integrity": "sha512-CLcZfSLORUATQEB4IeM75bp7e8v5dpJbggIHG0WrUEWHbQ/E6eI77kFZXqQT4bI00gMOevifqavScutaLZqcxQ==", + "requires": { + "@chatscope/chat-ui-kit-styles": "^1.2.0", + "@fortawesome/fontawesome-free": "^5.12.1", + "@fortawesome/fontawesome-svg-core": "^1.2.26", + "@fortawesome/free-solid-svg-icons": "^5.12.0", + "@fortawesome/react-fontawesome": "^0.1.8", + "classnames": "^2.2.6", + "prop-types": "^15.7.2" + } + }, + "@chatscope/chat-ui-kit-styles": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@chatscope/chat-ui-kit-styles/-/chat-ui-kit-styles-1.4.0.tgz", + "integrity": "sha512-016mBJD3DESw7Nh+lkKcPd22xG92ghA0VpIXIbjQtmXhC7Ve6wRazTy8z1Ahut+Tbv179+JxrftuMngsj/yV8Q==" + }, "@date-io/core": { "version": "2.16.0", "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.16.0.tgz", @@ -6622,6 +6735,40 @@ "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-4.5.8.tgz", "integrity": "sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==" }, + "@fortawesome/fontawesome-common-types": { + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz", + "integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==" + }, + "@fortawesome/fontawesome-free": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz", + "integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg==" + }, + "@fortawesome/fontawesome-svg-core": { + "version": "1.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.36.tgz", + "integrity": "sha512-YUcsLQKYb6DmaJjIHdDWpBIGCcyE/W+p/LMGvjQem55Mm2XWVAP5kWTMKWLv9lwpCVjpLxPyOMOyUocP1GxrtA==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + } + }, + "@fortawesome/free-solid-svg-icons": { + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.4.tgz", + "integrity": "sha512-JLmQfz6tdtwxoihXLg6lT78BorrFyCf59SAwBM6qV/0zXyVeDygJVb3fk+j5Qat+Yvcxp1buLTY5iDh1ZSAQ8w==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + } + }, + "@fortawesome/react-fontawesome": { + "version": "0.1.19", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.19.tgz", + "integrity": "sha512-Hyb+lB8T18cvLNX0S3llz7PcSOAJMLwiVKBuuzwM/nI5uoBw+gQjnf9il0fR1C3DKOI5Kc79pkJ4/xB0Uw9aFQ==", + "requires": { + "prop-types": "^15.8.1" + } + }, "@humanwhocodes/config-array": { "version": "0.11.7", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", @@ -6732,29 +6879,29 @@ } }, "@mui/lab": { - "version": "5.0.0-alpha.110", - "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.110.tgz", - "integrity": "sha512-SkX5QNbaWouO7BXvb8zpFzDizLt7UzgaebqKSvFJLF28OXiNDfPVCle6IIB4g7hAyb/o19Kbhxs9V+LwK5gQzA==", + "version": "5.0.0-alpha.112", + "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.112.tgz", + "integrity": "sha512-XKxxUevHup9l9THXWhPcWxm8LZj+E8KDOz6cWqXOnXfSZwFYsvK/nB2R4PCiy/wobURk/+qxIAzryBA9pnSk2g==", "requires": { - "@babel/runtime": "^7.20.1", - "@mui/base": "5.0.0-alpha.108", - "@mui/system": "^5.10.16", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/base": "5.0.0-alpha.110", + "@mui/system": "^5.11.0", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "clsx": "^1.2.1", "prop-types": "^15.8.1", "react-is": "^18.2.0" }, "dependencies": { "@mui/base": { - "version": "5.0.0-alpha.108", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.108.tgz", - "integrity": "sha512-KjzRUts2i/ODlMfywhFTqTzQl+Cr9nlDSZxJcnYjrbOV/iRyQNBTDoiFJt+XEdRi0fZBHnk74AFbnP56ehybsA==", + "version": "5.0.0-alpha.110", + "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.110.tgz", + "integrity": "sha512-q4TH9T3sTBknTXXTEf2zO8F3nbHg5iGgiaRx9XErTbXvHrmLrQXbQ4hmrLERocSTBFCFWkKyne/qZj0diWlPtA==", "requires": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@emotion/is-prop-valid": "^1.2.0", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "@popperjs/core": "^2.11.6", "clsx": "^1.2.1", "prop-types": "^15.8.1", @@ -6783,53 +6930,53 @@ } }, "@mui/private-theming": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.10.16.tgz", - "integrity": "sha512-0MArkJaOHRCKqL/GWjngGZmyOeRz+uxffhx82bKcewr8swqV7xx7EFP02pk0L/gLdfcvYdqwH4YTVjG/+TaKrg==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.11.0.tgz", + "integrity": "sha512-UFQLb9x5Sj4pg2GhhCGw3Ls/y1Hw/tz9RsBrULvUF0Vgps1z19o7XTq2xqUvp7pN7fJTW7eVIT2gwVg2xlk8PQ==", "requires": { - "@babel/runtime": "^7.20.1", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/utils": "^5.11.0", "prop-types": "^15.8.1" } }, "@mui/styled-engine": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.10.16.tgz", - "integrity": "sha512-ZMSjXvtiGwGDKqrSlXhpxK2voUaF2/lpC/pSTfFmZvKH9j9a9h1/iwo3ybgjFVYGgbfNeW4h0xEchiRohu9xsw==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.11.0.tgz", + "integrity": "sha512-AF06K60Zc58qf0f7X+Y/QjaHaZq16znliLnGc9iVrV/+s8Ln/FCoeNuFvhlCbZZQ5WQcJvcy59zp0nXrklGGPQ==", "requires": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@emotion/cache": "^11.10.5", "csstype": "^3.1.1", "prop-types": "^15.8.1" } }, "@mui/system": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.10.16.tgz", - "integrity": "sha512-OqI9B1jZ9zQ/dmoqseku4CzdEs9DbLiiMOaWxC3WeAJxM1UavlCgXz0encqm93LIlmSL7TjuHN1/rW8BJCnU8A==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.11.0.tgz", + "integrity": "sha512-HFUT7Dlmyq6Wfuxsw8QBXZxXDYIQQaJ4YHaZd7s+nDMcjerLnILxjh2g3a6umtOUM+jEcRaFJAtvLZvlGfa5fw==", "requires": { - "@babel/runtime": "^7.20.1", - "@mui/private-theming": "^5.10.16", - "@mui/styled-engine": "^5.10.16", - "@mui/types": "^7.2.2", - "@mui/utils": "^5.10.16", + "@babel/runtime": "^7.20.6", + "@mui/private-theming": "^5.11.0", + "@mui/styled-engine": "^5.11.0", + "@mui/types": "^7.2.3", + "@mui/utils": "^5.11.0", "clsx": "^1.2.1", "csstype": "^3.1.1", "prop-types": "^15.8.1" } }, "@mui/types": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.2.tgz", - "integrity": "sha512-siex8cZDtWeC916cXOoUOnEQQejuMYmHtc4hM6VkKVYaBICz3VIiqyiAomRboTQHt2jchxQ5Q5ATlbcDekTxDA==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.3.tgz", + "integrity": "sha512-tZ+CQggbe9Ol7e/Fs5RcKwg/woU+o8DCtOnccX6KmbBc7YrfqMYEYuaIcXHuhpT880QwNkZZ3wQwvtlDFA2yOw==", "requires": {} }, "@mui/utils": { - "version": "5.10.16", - "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.10.16.tgz", - "integrity": "sha512-3MB/SGsgiiu9Z55CFmAfiONUoR7AAue/H4F6w3mc2LnhFQCsoVvXhioDPcsiRpUMIQr34jDPzGXdCuqWooPCXQ==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.11.0.tgz", + "integrity": "sha512-DP/YDaVVCVzJpZ5FFPLKNmaJkeaYRviTyIZkL/D5/FmPXQiA6ecd6z0/+VwoNQtp7aXAQWaRhvz4FM25yqFlHA==", "requires": { - "@babel/runtime": "^7.20.1", + "@babel/runtime": "^7.20.6", "@types/prop-types": "^15.7.5", "@types/react-is": "^16.7.1 || ^17.0.0", "prop-types": "^15.8.1", @@ -6849,9 +6996,9 @@ } }, "@mui/x-data-grid-pro": { - "version": "5.17.14", - "resolved": "https://registry.npmjs.org/@mui/x-data-grid-pro/-/x-data-grid-pro-5.17.14.tgz", - "integrity": "sha512-POIj/FUurNVv18QePgZ7sUoUQyjdtL0MR3aonXKYIfrTBvSAJ08Vv5GspMX0QcKWjS2eN19MhrYV79ayuvFDUA==", + "version": "5.17.15", + "resolved": "https://registry.npmjs.org/@mui/x-data-grid-pro/-/x-data-grid-pro-5.17.15.tgz", + "integrity": "sha512-pNa+C5y+fHZW/7fxoVmYhOun1KN5j8ahCrpwlt3Sl4P/GHOb7EpleufQTZvr2kwmBDn0G0JjSYCH9BhZC1Ohew==", "requires": { "@babel/runtime": "^7.18.9", "@mui/utils": "^5.10.3", @@ -6864,9 +7011,9 @@ } }, "@mui/x-date-pickers": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-5.0.9.tgz", - "integrity": "sha512-PM3RU8MiwDVi+dSDGJ7ylI0hCe79wSCDfrjghS8ApGGFn/n87S8pUZxsZ5czw3mVRN6VfS2C19peo4nM1Tx+nA==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-5.0.10.tgz", + "integrity": "sha512-k+SKBqlpYsY49JVs7PORDvnfoXw9nJELfImR/3jTgHqP8hQQ6loFjB9ZFvc5NjV4Jf2NIJFmdcp6g8cO31Wmbg==", "requires": { "@babel/runtime": "^7.18.9", "@date-io/core": "^2.15.0", @@ -6883,9 +7030,9 @@ } }, "@mui/x-date-pickers-pro": { - "version": "5.0.9", - "resolved": "https://registry.npmjs.org/@mui/x-date-pickers-pro/-/x-date-pickers-pro-5.0.9.tgz", - "integrity": "sha512-7Sn3vb8OmCIYpNSSplH8qRoRgyYUEJBM9VWqpxRuZNQIjMAAZa571quLDMf+8DPVNB5RW+wf6Xl8tY3Vwnq3dA==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/@mui/x-date-pickers-pro/-/x-date-pickers-pro-5.0.10.tgz", + "integrity": "sha512-104x0+P8RrtI7/cL+3Z6V7uo4KouuzlLKM2e24fxiOf1/BFxQ0QgA6hkBlQnSeOZhZdHKzHXjbjrmYoMAyIkxw==", "requires": { "@babel/runtime": "^7.18.9", "@date-io/date-fns": "^2.15.0", @@ -6893,7 +7040,7 @@ "@date-io/luxon": "^2.15.0", "@date-io/moment": "^2.15.0", "@mui/utils": "^5.10.3", - "@mui/x-date-pickers": "5.0.9", + "@mui/x-date-pickers": "5.0.10", "@mui/x-license-pro": "5.17.12", "clsx": "^1.2.1", "prop-types": "^15.7.2", @@ -8016,9 +8163,9 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", - "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", + "version": "8.29.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.29.0.tgz", + "integrity": "sha512-isQ4EEiyUjZFbEKvEGJKKGBwXtvXX+zJbkVKCgTuB9t/+jUBcy8avhkEwWJecI15BkRkOYmvIM5ynbhRjEkoeg==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.3", @@ -9179,11 +9326,11 @@ } }, "material-ui-popup-state": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/material-ui-popup-state/-/material-ui-popup-state-4.1.0.tgz", - "integrity": "sha512-YAxLT10XALsUuuo46sc81NKD6oKJzlkcKP3e+IqC0pKwzAhOAZIQ+RUHXT6Mz3bXHKoHCsM+NdIQxR4mOH/KEQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/material-ui-popup-state/-/material-ui-popup-state-5.0.3.tgz", + "integrity": "sha512-AdlAEDmOAQ3BZMnNfyKD5CL+aNMb8zd5tDZWG5Ykx3vcuPbaL6SPjJ5kWuWXrJvapL9I8wwxaYhV4gt3tZmyOA==", "requires": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.20.6", "@mui/material": "^5.0.0", "classnames": "^2.2.6", "prop-types": "^15.7.2" @@ -9300,9 +9447,9 @@ } }, "next-auth": { - "version": "4.17.0", - "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.17.0.tgz", - "integrity": "sha512-aN2tdnjS0MDeUpB2tBDOaWnegkgeMWrsccujbXRGMJ607b+EwRcy63MFGSr0OAboDJEe0902piXQkt94GqF8Qw==", + "version": "4.18.6", + "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.18.6.tgz", + "integrity": "sha512-0TQwbq5X9Jyd1wUVYUoyvHJh4JWXeW9UOcMEl245Er/Y5vsSbyGJHt8M7xjRMzk9mORVMYehoMdERgyiq/jCgA==", "requires": { "@babel/runtime": "^7.16.3", "@panva/hkdf": "^1.0.1", @@ -10085,10 +10232,12 @@ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" }, "swr": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/swr/-/swr-1.3.0.tgz", - "integrity": "sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw==", - "requires": {} + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.0.tgz", + "integrity": "sha512-IhUx5yPkX+Fut3h0SqZycnaNLXLXsb2ECFq0Y29cxnK7d8r7auY2JWNbCW3IX+EqXUg3rwNJFlhrw5Ye/b6k7w==", + "requires": { + "use-sync-external-store": "^1.2.0" + } }, "synckit": { "version": "0.8.4", @@ -10251,9 +10400,9 @@ "dev": true }, "typescript": { - "version": "4.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", - "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", + "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", "dev": true }, "unbox-primitive": { @@ -10285,6 +10434,12 @@ "punycode": "^2.1.0" } }, + "use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "requires": {} + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 9a63b51..02d3439 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,8 @@ "lint": "next lint" }, "dependencies": { + "@chatscope/chat-ui-kit-react": "^1.9.8", + "@chatscope/chat-ui-kit-styles": "^1.4.0", "@emotion/cache": "^11.10.5", "@emotion/react": "^11.10.5", "@emotion/server": "^11.10.0", @@ -17,28 +19,28 @@ "@fontsource/poppins": "^4.5.10", "@fontsource/roboto": "^4.5.8", "@mui/icons-material": "^5", - "@mui/lab": "^5.0.0-alpha.110", + "@mui/lab": "^5.0.0-alpha.112", "@mui/material": "^5", - "@mui/x-data-grid-pro": "^5.17.14", - "@mui/x-date-pickers-pro": "^5.0.9", + "@mui/x-data-grid-pro": "^5.17.15", + "@mui/x-date-pickers-pro": "^5.0.10", "date-fns": "^2.29.3", "http-proxy-middleware": "^2.0.6", - "material-ui-popup-state": "^4.1.0", + "material-ui-popup-state": "^5.0.3", "next": "^13.0", - "next-auth": "^4.17.0", + "next-auth": "^4.18.6", "next-http-proxy-middleware": "^1.2.5", "react": "^18", "react-dom": "^18", "react-iframe": "^1.8.5", "react-polyglot": "^0.7.2", - "swr": "^1.3.0" + "swr": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.20.5", "@types/react": "^18", "@types/uuid": "^9.0.0", "babel-loader": "^9.1.0", - "eslint": "^8.28.0", + "eslint": "^8.29.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-next": "^13.0.6", "eslint-config-prettier": "^8.5.0", @@ -46,6 +48,6 @@ "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", - "typescript": "^4.9.3" + "typescript": "^4.9.4" } } diff --git a/pages/admin/label-studio.tsx b/pages/admin/label-studio.tsx new file mode 100644 index 0000000..af98d2e --- /dev/null +++ b/pages/admin/label-studio.tsx @@ -0,0 +1,30 @@ +import Head from "next/head"; +import { Grid } from "@mui/material"; +import { Layout } from "components/Layout"; +import Iframe from "react-iframe"; + +const Metamigo = () => ( + + + Link Shell + + + +