Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#829][#830][#831] improvement(UI): Refactor web to resolve 3rd-party licenses (#875)

CHEYNEf8e7fb153ba4
diff --git a/web/.eslintrc.js b/web/.eslintrc.js
index dd45167b45..4059caaa2a 100644
--- a/web/.eslintrc.js
+++ b/web/.eslintrc.js
@@ -4,23 +4,7 @@
*/
module.exports = {
- env: {
- node: true,
- es6: true,
- browser: true
- },
- parser: '@babel/eslint-parser',
extends: ['next/core-web-vitals', 'prettier'],
- parserOptions: {
- ecmaVersion: 11,
- sourceType: 'module',
- project: './jsconfig.json',
- ecmaFeatures: {
- jsx: true,
- modules: true,
- experimentalObjectRestSpread: true
- }
- },
rules: {
'react/react-in-jsx-scope': 'off',
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
@@ -28,8 +12,6 @@ module.exports = {
'@next/next/no-img-element': 'off',
'react/no-unescaped-entities': 'off',
'import/no-anonymous-default-export': 'off',
-
- // add new line above comment
'lines-around-comment': [
'error',
{
@@ -41,19 +23,14 @@ module.exports = {
allowArrayStart: true
}
],
-
- // add new line above return
'newline-before-return': 'error',
- // add new line below import
'import/newline-after-import': [
'error',
{
count: 1
}
],
-
- // add new line after each var, const, let declaration
'padding-line-between-statements': [
'error',
{ blankLine: 'always', prev: ['export'], next: ['*'] },
diff --git a/web/.gitignore b/web/.gitignore
index 7ddf507c81..f0becfeab3 100644
--- a/web/.gitignore
+++ b/web/.gitignore
@@ -9,17 +9,17 @@
/node_modules
/.pnp
.pnp.js
-/.node
-
+.yarn/install-state.gz
/.gradle
+/.node
# testing
/coverage
# next.js
-/.next
-/out
-/dist
+/.next/
+/out/
+/dist/
# production
/build
@@ -41,3 +41,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
+next-env.d.ts
diff --git a/web/.npmrc b/web/.npmrc
index 5c41d468d4..147d2c6592 100644
--- a/web/.npmrc
+++ b/web/.npmrc
@@ -3,4 +3,4 @@
# This software is licensed under the Apache License version 2.
#
-legacy-peer-deps = true
+engine-strict=true
diff --git a/web/.nvmrc b/web/.nvmrc
index 8cca15a0b9..7d8e8dc578 100644
--- a/web/.nvmrc
+++ b/web/.nvmrc
@@ -3,4 +3,5 @@
# This software is licensed under the Apache License version 2.
#
-lts/*
+# v18
+lts/hydrogen
diff --git a/web/.prettierignore b/web/.prettierignore
new file mode 100644
index 0000000000..10e984048f
--- /dev/null
+++ b/web/.prettierignore
@@ -0,0 +1,7 @@
+#
+# Copyright 2023 Datastrato.
+# This software is licensed under the Apache License version 2.
+#
+
+.next
+node_modules
diff --git a/web/.prettierrc.js b/web/.prettierrc.js
index 66e27cbba6..b2f868e9e0 100644
--- a/web/.prettierrc.js
+++ b/web/.prettierrc.js
@@ -4,19 +4,21 @@
*/
module.exports = {
- arrowParens: 'avoid',
+ printWidth: 120,
+ tabWidth: 2,
+ useTabs: false,
+ semi: false,
+ singleQuote: true,
+ quoteProps: 'as-needed',
+ jsxSingleQuote: true,
+ trailingComma: 'es5',
bracketSpacing: true,
+ arrowParens: 'avoid',
+ endOfLine: 'lf',
+ requirePragma: false,
htmlWhitespaceSensitivity: 'css',
insertPragma: false,
bracketSameLine: false,
- jsxSingleQuote: true,
- printWidth: 120,
proseWrap: 'preserve',
- quoteProps: 'as-needed',
- requirePragma: false,
- semi: false,
- singleQuote: true,
- tabWidth: 2,
- trailingComma: 'none',
- useTabs: false
+ trailingComma: 'none'
}
diff --git a/web/.vscode/extensions.json b/web/.vscode/extensions.json
index 3f9eeda1c8..c66d9830e4 100644
--- a/web/.vscode/extensions.json
+++ b/web/.vscode/extensions.json
@@ -1,27 +1,15 @@
{
"recommendations": [
- "dsznajder.es7-react-js-snippets",
- "gamunu.vscode-yarn",
- "jasonnutter.search-node-modules",
- "mrmlnc.vscode-scss",
- "syler.sass-indented",
- "christian-kohler.npm-intellisense",
- "xabikos.javascriptsnippets",
- "zignd.html-css-class-completion",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
- "eamodio.gitlens",
+ "jasonnutter.search-node-modules",
"kisstkondoros.vscode-codemetrics",
- "quicktype.quicktype",
"streetsidesoftware.code-spell-checker",
"editorconfig.editorconfig",
"usernamehw.errorlens",
"aaron-bond.better-comments",
- "formulahendry.auto-close-tag",
- "formulahendry.auto-rename-tag",
"yzhang.markdown-all-in-one",
"davidanson.vscode-markdownlint",
- "chakrounanas.turbo-console-log",
- "planbcoding.vscode-react-refactor",
+ "chakrounanas.turbo-console-log"
]
-}
\ No newline at end of file
+}
diff --git a/web/.vscode/settings.json b/web/.vscode/settings.json
index aa950c05b7..1f54f2c5d0 100644
--- a/web/.vscode/settings.json
+++ b/web/.vscode/settings.json
@@ -1,57 +1,33 @@
{
- // ** JS
- "javascript.updateImportsOnFileMove.enabled": "always",
- // ** JSON
- "[json]": {
- "editor.defaultFormatter": "vscode.json-language-features"
- },
- "[jsonc]": {
- "editor.defaultFormatter": "vscode.json-language-features"
- },
- // ** Extension: Git
- "git.rebaseWhenSync": true,
- "git.autofetch": true,
- "git.enableSmartCommit": true,
- // ** Extension: Prettier
"prettier.requireConfig": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
- // ** Extension: ESLint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
- "source.organizeImports": false,
+ "source.organizeImports": false
},
- "eslint.validate": [
- "javascript",
- "typescript",
- "javascriptreact",
- "typescriptreact"
- ],
+ "eslint.validate": ["javascript", "javascriptreact"],
"eslint.format.enable": true,
- // ** Package manager Configs
"npm.packageManager": "yarn",
- // ** Extension: cSpell
"cSpell.words": [
- "Alata",
- "Cheyne",
"clsx",
- "csstype",
- "Customizer",
"Datastrato",
- "deepmerge",
"Gravitino",
+ "headlessui",
+ "heroicons",
"hookform",
"iconify",
- "Metalake",
- "Metalakes",
- "metastore",
+ "metalake",
+ "metalakes",
"Neue",
+ "nextui",
"nprogress",
"reduxjs",
"Roboto",
"Segoe",
- "tabler"
+ "tabler",
+ "tailwindcss"
],
"search-node-modules.path": "node_modules",
- "markdown.extension.toc.updateOnSave": false
-}
\ No newline at end of file
+ "tailwindCSS.experimental.classRegex": [["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]]
+}
diff --git a/web/README.md b/web/README.md
index 864968c765..d3f3d10547 100644
--- a/web/README.md
+++ b/web/README.md
@@ -16,10 +16,11 @@
### Preparation | Framework & Dependencies
- [Node.js](https://nodejs.org)(v20.x+) & [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com/)
-- React
-- Next.js
-- MUI
-- `react-redux`
+- [React](https://react.dev/)
+- [Next.js](https://nextjs.org)
+- [MUI](https://mui.com/)
+- [tailwindcss](https://tailwindcss.com/)
+- [`react-redux`](https://react-redux.js.org/)
> **TIP**
>
diff --git a/web/src/WEB-INF/web.xml b/web/WEB-INF/web.xml
similarity index 100%
rename from web/src/WEB-INF/web.xml
rename to web/WEB-INF/web.xml
diff --git a/web/src/views/home/CreateMetalakeDialog.js b/web/app/(home)/CreateMetalakeDialog.js
similarity index 76%
rename from web/src/views/home/CreateMetalakeDialog.js
rename to web/app/(home)/CreateMetalakeDialog.js
index 50a6ece511..b70df23e9e 100644
--- a/web/src/views/home/CreateMetalakeDialog.js
+++ b/web/app/(home)/CreateMetalakeDialog.js
@@ -5,26 +5,28 @@
import { useState, forwardRef, useEffect } from 'react'
-import Box from '@mui/material/Box'
-import Button from '@mui/material/Button'
-import Dialog from '@mui/material/Dialog'
-import Typography from '@mui/material/Typography'
-import DialogContent from '@mui/material/DialogContent'
-import DialogActions from '@mui/material/DialogActions'
-import IconButton from '@mui/material/IconButton'
-import Fade from '@mui/material/Fade'
-import Grid from '@mui/material/Grid'
-import TextField from '@mui/material/TextField'
-import FormControl from '@mui/material/FormControl'
-import FormHelperText from '@mui/material/FormHelperText'
-
-import Icon from 'src/@core/components/icon'
+import {
+ Box,
+ Button,
+ Dialog,
+ Typography,
+ DialogContent,
+ DialogActions,
+ IconButton,
+ Fade,
+ Grid,
+ TextField,
+ FormControl,
+ FormHelperText
+} from '@mui/material'
+
+import Icon from '@/components/Icon'
import * as yup from 'yup'
import { useForm, Controller } from 'react-hook-form'
import { yupResolver } from '@hookform/resolvers/yup'
-import { genUpdateMetalakeUpdates } from 'src/@core/utils/func'
+import { genUpdateMetalakeUpdates } from '@/lib/utils'
const defaultValues = {
name: '',
@@ -40,14 +42,14 @@ const Transition = forwardRef(function Transition(props, ref) {
})
const CreateMetalakeDialog = props => {
- const { open, setOpen, type = 'create', data = {}, store, dispatch, createMetalake, updateMetalake } = props
-
- const typeText = type === 'create' ? 'Create' : 'Update'
+ const { open, setOpen, data = {}, store, dispatch, createMetalake, updateMetalake, type = 'create' } = props
+ // const [type, setType] = useState('create')
const [innerProps, setInnerProps] = useState([])
-
const [cacheData, setCacheData] = useState()
+ const typeText = type === 'create' ? 'Create' : 'Update'
+
const {
control,
reset,
@@ -79,7 +81,7 @@ const CreateMetalakeDialog = props => {
}
const handleClose = () => {
- reset()
+ reset({ name: '', comment: '' })
setInnerProps([])
setOpen(false)
}
@@ -107,7 +109,6 @@ const CreateMetalakeDialog = props => {
}
handleClose()
- reset()
}
useEffect(() => {
@@ -133,22 +134,21 @@ const CreateMetalakeDialog = props => {
<Dialog fullWidth maxWidth='sm' scroll='body' TransitionComponent={Transition} open={open} onClose={handleClose}>
<form onSubmit={handleSubmit(onSubmit)}>
<DialogContent
+ className={'twc-relative twc-pb-8'}
sx={{
- position: 'relative',
- pb: theme => `${theme.spacing(8)} !important`,
px: theme => [`${theme.spacing(5)} !important`, `${theme.spacing(15)} !important`],
pt: theme => [`${theme.spacing(8)} !important`, `${theme.spacing(12.5)} !important`]
}}
>
<IconButton
+ className={'twc-absolute twc-right-[1rem] twc-top-[1rem]'}
size='small'
onClick={() => setOpen(false)}
- sx={{ position: 'absolute', right: '1rem', top: '1rem' }}
>
<Icon icon='bx:x' />
</IconButton>
- <Box sx={{ mb: 8, textAlign: 'center' }}>
- <Typography variant='h5' sx={{ mb: 3 }}>
+ <Box className={'twc-mb-8 twc-text-center'}>
+ <Typography className={'twc-mb-3'} variant='h5'>
{typeText} Metalake
</Typography>
</Box>
@@ -170,7 +170,9 @@ const CreateMetalakeDialog = props => {
/>
)}
/>
- {errors.name && <FormHelperText sx={{ color: 'error.main' }}>{errors.name.message}</FormHelperText>}
+ {errors.name && (
+ <FormHelperText className={'twc-text-error-main'}>{errors.name.message}</FormHelperText>
+ )}
</FormControl>
</Grid>
@@ -196,14 +198,14 @@ const CreateMetalakeDialog = props => {
</Grid>
<Grid item xs={12}>
- <Typography sx={{ mb: 2 }} variant='body2'>
+ <Typography className={'twc-mb-2'} variant='body2'>
Properties
</Typography>
{innerProps.map((item, index) => {
return (
- <Grid item xs={12} key={index} sx={{ '& + &': { mt: 2 } }}>
+ <Grid item xs={12} key={index} className={'[&+&]:twc-mt-2'}>
<FormControl fullWidth>
- <Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
+ <Box className={'twc-flex twc-items-center twc-justify-between'}>
<TextField
size='small'
name='key'
@@ -218,7 +220,7 @@ const CreateMetalakeDialog = props => {
value={item.value}
onChange={event => handleFormChange(index, event)}
/>
- <Box sx={{ minWidth: 40 }}>
+ <Box className={'twc-min-w-[40px]'}>
<IconButton onClick={() => removeFields(index)}>
<Icon icon='mdi:minus-circle-outline' />
</IconButton>
@@ -242,17 +244,11 @@ const CreateMetalakeDialog = props => {
</Grid>
</Grid>
</DialogContent>
- <DialogActions
- sx={{
- justifyContent: 'center',
- px: theme => [`${theme.spacing(5)} !important`, `${theme.spacing(15)} !important`],
- pb: theme => [`${theme.spacing(5)} !important`, `${theme.spacing(12.5)} !important`]
- }}
- >
- <Button variant='contained' sx={{ mr: 1 }} type='submit'>
+ <DialogActions className={' twc-px-5 md:twc-px-15 twc-pb-5 md:twc-pb-[12.5 0.25 rem]'}>
+ <Button variant='contained' type='submit'>
{typeText}
</Button>
- <Button variant='outlined' onClick={handleClose}>
+ <Button variant='outlined' className={'twc-ml-1'} onClick={handleClose} type='reset'>
Cancel
</Button>
</DialogActions>
diff --git a/web/src/views/home/DetailsDrawer.js b/web/app/(home)/DetailsDrawer.js
similarity index 70%
rename from web/src/views/home/DetailsDrawer.js
rename to web/app/(home)/DetailsDrawer.js
index d663342b66..2e20538589 100644
--- a/web/src/views/home/DetailsDrawer.js
+++ b/web/app/(home)/DetailsDrawer.js
@@ -5,31 +5,23 @@
import { useEffect, useState } from 'react'
-import Drawer from '@mui/material/Drawer'
-import { styled } from '@mui/material/styles'
-import IconButton from '@mui/material/IconButton'
-import Typography from '@mui/material/Typography'
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Table from '@mui/material/Table'
-import TableHead from '@mui/material/TableHead'
-import TableBody from '@mui/material/TableBody'
-import TableRow from '@mui/material/TableRow'
-import TableCell from '@mui/material/TableCell'
-import TableContainer from '@mui/material/TableContainer'
-
-import Icon from 'src/@core/components/icon'
-
-import { formatToDateTime } from 'src/@core/utils/dateUtil'
-
-const Header = styled(Box)(({ theme }) => ({
- display: 'flex',
- alignItems: 'center',
- padding: theme.spacing(3, 4),
- justifyContent: 'space-between',
- borderBottom: `1px solid ${theme.palette.divider}`,
- backgroundColor: theme.palette.background.default
-}))
+import {
+ Box,
+ Grid,
+ Drawer,
+ IconButton,
+ Typography,
+ Table,
+ TableHead,
+ TableBody,
+ TableRow,
+ TableCell,
+ TableContainer
+} from '@mui/material'
+
+import Icon from '@/components/Icon'
+
+import { formatToDateTime } from '@/lib/utils/date'
const DetailsDrawer = props => {
const { openDrawer, setOpenDrawer, drawerData = {} } = props
@@ -62,22 +54,34 @@ const DetailsDrawer = props => {
variant='temporary'
onClose={handleClose}
ModalProps={{ keepMounted: true }}
- sx={{ '& .MuiDrawer-paper': { width: { xs: 300, sm: 400 } } }}
+ PaperProps={{
+ sx: {
+ width: {
+ xs: 300,
+ sm: 400
+ }
+ }
+ }}
>
- <Header>
+ <Box
+ className={'drawer-header twc-flex twc-items-center twc-justify-between'}
+ sx={{
+ p: theme => theme.spacing(3, 4),
+ borderBottom: theme => `1px solid ${theme.palette.divider}`,
+ backgroundColor: theme => theme.palette.background.default
+ }}
+ >
<Typography variant='h6'>Details</Typography>
<IconButton size='small' onClick={handleClose} sx={{ color: 'text.primary' }}>
<Icon icon='bx:x' fontSize={20} />
</IconButton>
- </Header>
+ </Box>
<Box sx={{ p: 4 }}>
<Grid item xs={12} sx={{ mb: [0, 5] }}>
<Typography
variant='subtitle1'
+ className={'twc-py-2 twc-font-semibold twc-text-[1.2rem]'}
sx={{
- py: 2,
- fontWeight: 600,
- fontSize: '1.2rem',
borderBottom: theme => `1px solid ${theme.palette.divider}`
}}
>
@@ -129,8 +133,8 @@ const DetailsDrawer = props => {
{properties.map((item, index) => {
return (
<TableRow key={index}>
- <TableCell sx={{ py: theme => `${theme.spacing(2.75)} !important` }}>{item.key}</TableCell>
- <TableCell sx={{ py: theme => `${theme.spacing(2.75)} !important` }}>{item.value}</TableCell>
+ <TableCell className={'twc-py-[0.7rem]'}>{item.key}</TableCell>
+ <TableCell className={'twc-py-[0.7rem]'}>{item.value}</TableCell>
</TableRow>
)
})}
diff --git a/web/src/views/home/MetalakeList.js b/web/app/(home)/MetalakeList.js
similarity index 80%
rename from web/src/views/home/MetalakeList.js
rename to web/app/(home)/MetalakeList.js
index 389625fbb2..40523e7ec1 100644
--- a/web/src/views/home/MetalakeList.js
+++ b/web/app/(home)/MetalakeList.js
@@ -7,31 +7,19 @@ import { useEffect, useCallback, useState } from 'react'
import Link from 'next/link'
-import Box from '@mui/material/Box'
-import Card from '@mui/material/Card'
-import Grid from '@mui/material/Grid'
-import IconButton from '@mui/material/IconButton'
-import Typography from '@mui/material/Typography'
+import { Box, Grid, Card, IconButton, Typography, Tooltip } from '@mui/material'
import { DataGrid } from '@mui/x-data-grid'
-import Tooltip from '@mui/material/Tooltip'
-import Icon from 'src/@core/components/icon'
-
-import { formatToDateTime } from 'src/@core/utils/dateUtil'
+import Icon from '@/components/Icon'
import { useDispatch, useSelector } from 'react-redux'
-import {
- fetchMetalakes,
- createMetalake,
- setFilteredMetalakes,
- deleteMetalake,
- updateMetalake
-} from 'src/store/metalakes'
+import { fetchMetalakes, setFilteredMetalakes, deleteMetalake, updateMetalake } from '@/lib/store/metalakes'
+import { formatToDateTime } from '@/lib/utils/date'
import TableHeader from './TableHeader'
import DetailsDrawer from './DetailsDrawer'
import CreateMetalakeDialog from './CreateMetalakeDialog'
-import ConfirmDeleteDialog from 'src/@core/components/custom-dialog/ConfirmDeleteDialog'
+import ConfirmDeleteDialog from '@/components/ConfirmDeleteDialog'
const MetalakeList = () => {
const dispatch = useDispatch()
@@ -43,7 +31,7 @@ const MetalakeList = () => {
const [drawerData, setDrawerData] = useState()
const [openDialog, setOpenDialog] = useState(false)
const [dialogData, setDialogData] = useState({})
-
+ const [dialogType, setDialogType] = useState('create')
const [openConfirmDelete, setOpenConfirmDelete] = useState(false)
const [confirmCacheData, setConfirmCacheData] = useState(null)
@@ -65,6 +53,7 @@ const MetalakeList = () => {
}
const handleShowEditDialog = data => {
+ setDialogType('update')
setOpenDialog(true)
setDialogData(data)
}
@@ -179,23 +168,6 @@ const MetalakeList = () => {
<Icon icon='mdi:delete-outline' />
</IconButton>
</Tooltip>
-
- <CreateMetalakeDialog
- open={openDialog}
- setOpen={setOpenDialog}
- dispatch={dispatch}
- updateMetalake={updateMetalake}
- data={dialogData}
- type={'update'}
- />
-
- <ConfirmDeleteDialog
- open={openConfirmDelete}
- setOpen={setOpenConfirmDelete}
- confirmCacheData={confirmCacheData}
- handleClose={handleCloseConfirm}
- handleConfirmDeleteSubmit={handleConfirmDeleteSubmit}
- />
</>
)
}
@@ -205,7 +177,12 @@ const MetalakeList = () => {
<Grid container spacing={6}>
<Grid item xs={12}>
<Card>
- <TableHeader value={value} dispatch={dispatch} handleFilter={handleFilter} createMetalake={createMetalake} />
+ <TableHeader
+ value={value}
+ handleFilter={handleFilter}
+ setOpenDialog={setOpenDialog}
+ setDialogData={setDialogData}
+ />
<DataGrid
autoHeight
getRowId={row => row?.name}
@@ -219,6 +196,21 @@ const MetalakeList = () => {
<DetailsDrawer openDrawer={openDrawer} setOpenDrawer={setOpenDrawer} drawerData={drawerData} />
</Card>
</Grid>
+ <CreateMetalakeDialog
+ open={openDialog}
+ setOpen={setOpenDialog}
+ dispatch={dispatch}
+ updateMetalake={updateMetalake}
+ data={dialogData}
+ type={dialogType}
+ />
+ <ConfirmDeleteDialog
+ open={openConfirmDelete}
+ setOpen={setOpenConfirmDelete}
+ confirmCacheData={confirmCacheData}
+ handleClose={handleCloseConfirm}
+ handleConfirmDeleteSubmit={handleConfirmDeleteSubmit}
+ />
</Grid>
)
}
diff --git a/web/app/(home)/MetalakesView.js b/web/app/(home)/MetalakesView.js
new file mode 100644
index 0000000000..8a66933aee
--- /dev/null
+++ b/web/app/(home)/MetalakesView.js
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import { Grid, Typography } from '@mui/material'
+
+import MetalakeList from './MetalakeList'
+
+const MetalakesView = () => {
+ return (
+ <Grid container spacing={6}>
+ <Grid item xs={12}>
+ <Typography className={'twc-mb-4 twc-text-[1.375rem] twc-font-bold'}>Metalakes</Typography>
+ <Typography sx={{ color: 'text.secondary' }}>
+ A metalake is the top-level container for data in Gravitino. With a metalake, Gravitino provides a 3-level
+ namespace for organizing data: catalog, schemas(also called databases), and tables / view.
+ </Typography>
+ </Grid>
+ <Grid item xs={12}>
+ <MetalakeList />
+ </Grid>
+ </Grid>
+ )
+}
+
+export default MetalakesView
diff --git a/web/app/(home)/TableHeader.js b/web/app/(home)/TableHeader.js
new file mode 100644
index 0000000000..5283bf860f
--- /dev/null
+++ b/web/app/(home)/TableHeader.js
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { Box, Button, TextField } from '@mui/material'
+
+import Icon from '@/components/Icon'
+
+const TableHeader = props => {
+ const { handleFilter, value, setOpenDialog, setDialogData } = props
+
+ const handleCreate = () => {
+ setDialogData({})
+ setOpenDialog(true)
+ }
+
+ return (
+ <Box className={'twc-px-5 twc-pb-4 twc-pt-4 twc-flex twc-flex-wrap twc-items-center twc-justify-end'}>
+ <Box className={'twc-flex twc-items-center twc-h-full'}>
+ <TextField size='small' value={value} placeholder='Filter' onChange={e => handleFilter(e.target.value)} />
+ </Box>
+ <Button
+ className={'twc-ml-2'}
+ variant='contained'
+ color='primary'
+ startIcon={<Icon icon='bx:bxs-plus-square' fontSize={20} />}
+ onClick={handleCreate}
+ >
+ create metalake
+ </Button>
+ </Box>
+ )
+}
+
+export default TableHeader
diff --git a/web/app/(home)/page.js b/web/app/(home)/page.js
new file mode 100644
index 0000000000..6fc3543dcd
--- /dev/null
+++ b/web/app/(home)/page.js
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import MetalakesView from './MetalakesView'
+
+const HomePage = props => {
+ return (
+ <>
+ <MetalakesView />
+ </>
+ )
+}
+
+export default HomePage
diff --git a/web/public/images/favicon.ico b/web/app/favicon.ico
similarity index 100%
rename from web/public/images/favicon.ico
rename to web/app/favicon.ico
diff --git a/web/app/layout.js b/web/app/layout.js
new file mode 100644
index 0000000000..3a793bee55
--- /dev/null
+++ b/web/app/layout.js
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import '@/lib/styles/globals.css'
+import Provider from '@/lib/provider'
+import Layout from '@/lib/layout/Layout'
+
+export const metadata = {
+ title: 'Gravitino',
+ description: 'A high-performance, geo-distributed and federated metadata lake.'
+}
+
+const RootLayout = props => {
+ const { children } = props
+
+ return (
+ <html lang='en' suppressHydrationWarning>
+ <body>
+ <Provider>{<Layout>{children}</Layout>}</Provider>
+ </body>
+ </html>
+ )
+}
+
+export default RootLayout
diff --git a/web/app/template.js b/web/app/template.js
new file mode 100644
index 0000000000..19f3b0e5bf
--- /dev/null
+++ b/web/app/template.js
@@ -0,0 +1,10 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+const Template = ({ children }) => {
+ return <div className={'root-template'}>{children}</div>
+}
+
+export default Template
diff --git a/web/build.gradle.kts b/web/build.gradle.kts
index dc8ba9c530..afab21c8ea 100644
--- a/web/build.gradle.kts
+++ b/web/build.gradle.kts
@@ -21,7 +21,7 @@ node {
tasks {
val buildwar by registering(War::class) {
dependsOn("webpack")
- from("src/WEB-INF") {
+ from("./WEB-INF") {
into("WEB-INF")
}
from("dist") {
diff --git a/web/components/ConfirmDeleteDialog.js b/web/components/ConfirmDeleteDialog.js
new file mode 100644
index 0000000000..ca1deffc7a
--- /dev/null
+++ b/web/components/ConfirmDeleteDialog.js
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { Box, Button, Typography, Dialog, DialogContent, DialogActions } from '@mui/material'
+
+import Icon from '@/components/Icon'
+
+const ConfirmDeleteDialog = props => {
+ const { open, setOpen, handleConfirmDeleteSubmit } = props
+
+ const handleClose = () => setOpen(false)
+
+ return (
+ <Dialog fullWidth open={open} onClose={handleClose} PaperProps={{ sx: { width: '100%', maxWidth: 480 } }}>
+ <DialogContent className={'twc-px-[1.25rem] sm:twc-px-[3.75rem] twc-pt-[2rem] sm:twc-pt-[3.125rem]'}>
+ <Box
+ className={'twc-flex twc-flex-col twc-text-center twc-items-center twc-justify-center'}
+ sx={{ '& svg': { mb: 8, color: 'warning.main' } }}
+ >
+ <Icon icon='tabler:alert-circle' fontSize='6rem' />
+ <Typography variant='h4' className={'twc-mb-5 '} sx={{ color: 'text.secondary' }}>
+ Confirm Delete ?
+ </Typography>
+ <Typography>This action can not reserve!</Typography>
+ </Box>
+ </DialogContent>
+ <DialogActions className={'twc-justify-center twc-px-5 twc-pb-8'}>
+ <Button variant='contained' className={'twc-mr-2'} onClick={() => handleConfirmDeleteSubmit()}>
+ Submit
+ </Button>
+ <Button variant='outlined' color='secondary' onClick={() => handleClose()}>
+ Cancel
+ </Button>
+ </DialogActions>
+ </Dialog>
+ )
+}
+
+export default ConfirmDeleteDialog
diff --git a/web/src/@core/components/icon/index.js b/web/components/Icon.js
similarity index 59%
rename from web/src/@core/components/icon/index.js
rename to web/components/Icon.js
index 2b2543084f..eeca6a6c27 100644
--- a/web/src/@core/components/icon/index.js
+++ b/web/components/Icon.js
@@ -3,10 +3,12 @@
* This software is licensed under the Apache License version 2.
*/
+'use client'
+
import { Icon } from '@iconify/react'
-const IconifyIcon = ({ icon, ...rest }) => {
- return <Icon icon={icon} fontSize='22px' {...rest} />
+const IconifyIcon = ({ icon, ...props }) => {
+ return <Icon icon={icon} fontSize='24px' {...props} />
}
export default IconifyIcon
diff --git a/web/jsconfig.json b/web/jsconfig.json
index 1e4abbcadd..e79749354d 100644
--- a/web/jsconfig.json
+++ b/web/jsconfig.json
@@ -1,8 +1,22 @@
{
"compilerOptions": {
- "baseUrl": "."
+ "paths": {
+ "@/*": ["./*"]
+ }
},
- "include": [
- "src"
+ "exclude": [
+ ".git",
+ ".next",
+ ".app-cache",
+ ".npm",
+ ".npm-tmp",
+ "dist",
+ "dist*",
+ "node_modules",
+ "**/dist/*",
+ "**/node_modules/*",
+ ".gradle",
+ ".node",
+ "build"
]
-}
\ No newline at end of file
+}
diff --git a/web/lib/api/catalogs/index.js b/web/lib/api/catalogs/index.js
new file mode 100644
index 0000000000..7a4ea3343f
--- /dev/null
+++ b/web/lib/api/catalogs/index.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import axios from 'axios'
+
+const Apis = {
+ GET: ({ metalake }) => {
+ return `/api/metalakes/${metalake}/catalogs`
+ }
+}
+
+export const getCatalogsApi = params => {
+ return axios({
+ url: `${Apis.GET(params)}`,
+ method: 'get',
+ headers: {
+ Accept: 'application/vnd.gravitino.v1+json'
+ }
+ })
+}
diff --git a/web/src/@core/api/index.js b/web/lib/api/index.js
similarity index 69%
rename from web/src/@core/api/index.js
rename to web/lib/api/index.js
index b9206ecf61..9054ed5249 100644
--- a/web/src/@core/api/index.js
+++ b/web/lib/api/index.js
@@ -5,15 +5,13 @@
import axios from 'axios'
-import { VersionApiEnum } from 'src/@core/enums/apiEnum'
-
-const ApiEnum = {
- ...VersionApiEnum
+const Apis = {
+ GET: '/api/version'
}
export const getVersionApi = () => {
return axios({
- url: `${ApiEnum.GET}`,
+ url: `${Apis.GET}`,
method: 'get',
headers: {
Accept: 'application/vnd.gravitino.v1+json'
diff --git a/web/src/@core/api/metalakes/index.js b/web/lib/api/metalakes/index.js
similarity index 76%
rename from web/src/@core/api/metalakes/index.js
rename to web/lib/api/metalakes/index.js
index 524c67acc3..ca329748dd 100644
--- a/web/src/@core/api/metalakes/index.js
+++ b/web/lib/api/metalakes/index.js
@@ -5,15 +5,16 @@
import axios from 'axios'
-import { MetalakesApiEnum } from 'src/@core/enums/apiEnum'
-
-const ApiEnum = {
- ...MetalakesApiEnum
+const Apis = {
+ GET: '/api/metalakes',
+ CREATE: '/api/metalakes',
+ DELETE: '/api/metalakes',
+ UPDATE: '/api/metalakes'
}
export const getMetalakesApi = () => {
return axios({
- url: `${ApiEnum.GET}`,
+ url: `${Apis.GET}`,
method: 'get',
headers: {
Accept: 'application/vnd.gravitino.v1+json'
@@ -23,7 +24,7 @@ export const getMetalakesApi = () => {
export const createMetalakeApi = data => {
return axios({
- url: `${ApiEnum.CREATE}`,
+ url: `${Apis.CREATE}`,
method: 'post',
data,
headers: {
@@ -34,7 +35,7 @@ export const createMetalakeApi = data => {
export const deleteMetalakeApi = name => {
return axios({
- url: `${ApiEnum.DELETE}/${name}`,
+ url: `${Apis.DELETE}/${name}`,
method: 'delete',
headers: {
Accept: 'application/vnd.gravitino.v1+json'
@@ -44,7 +45,7 @@ export const deleteMetalakeApi = name => {
export const updateMetalakeApi = ({ name, data }) => {
return axios({
- url: `${ApiEnum.UPDATE}/${name}`,
+ url: `${Apis.UPDATE}/${name}`,
method: 'put',
headers: {
Accept: 'application/vnd.gravitino.v1+json'
diff --git a/web/lib/api/schemas/index.js b/web/lib/api/schemas/index.js
new file mode 100644
index 0000000000..62e59eb82c
--- /dev/null
+++ b/web/lib/api/schemas/index.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import axios from 'axios'
+
+const Apis = {
+ GET: ({ metalake, catalog }) => {
+ return `/api/metalakes/${metalake}/catalogs/${catalog}/schemas`
+ }
+}
+
+export const getSchemasApi = params => {
+ return axios({
+ url: `${Apis.GET(params)}`,
+ method: 'get',
+ headers: {
+ Accept: 'application/vnd.gravitino.v1+json'
+ }
+ })
+}
diff --git a/web/lib/api/tables/index.js b/web/lib/api/tables/index.js
new file mode 100644
index 0000000000..418e446f69
--- /dev/null
+++ b/web/lib/api/tables/index.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import axios from 'axios'
+
+const Apis = {
+ GET: ({ metalake, catalog, schema }) => {
+ return `/api/metalakes/${metalake}/catalogs/${catalog}/schemas/${schema}/tables`
+ }
+}
+
+export const getTablesApi = params => {
+ return axios({
+ url: `${Apis.GET(params)}`,
+ method: 'get',
+ headers: {
+ Accept: 'application/vnd.gravitino.v1+json'
+ }
+ })
+}
diff --git a/web/lib/hooks/useHasMounted.js b/web/lib/hooks/useHasMounted.js
new file mode 100644
index 0000000000..2b55ccd848
--- /dev/null
+++ b/web/lib/hooks/useHasMounted.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { useEffect, useState } from 'react'
+
+const useHasMounted = () => {
+ const [hasMounted, setHasMounted] = useState(false)
+
+ useEffect(() => {
+ setHasMounted(true)
+ }, [])
+
+ return hasMounted
+}
+
+export default useHasMounted
diff --git a/web/lib/hooks/useStore.js b/web/lib/hooks/useStore.js
new file mode 100644
index 0000000000..bd8451960c
--- /dev/null
+++ b/web/lib/hooks/useStore.js
@@ -0,0 +1,12 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { useDispatch, useSelector, useStore } from 'react-redux'
+
+export const useAppDispatch = useDispatch
+
+export const useAppSelector = useSelector
+
+export const useAppStore = useStore
diff --git a/web/lib/layout/AppBar.js b/web/lib/layout/AppBar.js
new file mode 100644
index 0000000000..d816191f72
--- /dev/null
+++ b/web/lib/layout/AppBar.js
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import Link from 'next/link'
+
+import { Box, AppBar as MuiAppBar, Toolbar, Stack, Typography } from '@mui/material'
+
+import VersionView from './VersionView'
+
+const AppBar = props => {
+ return (
+ <MuiAppBar
+ elevation={6}
+ position={'sticky'}
+ className={
+ 'layout-navbar-container twc-px-6 twc-items-center twc-justify-center twc-transition-[border-bottom] twc-ease-in-out twc-duration-200 twc-bg-customs-white'
+ }
+ >
+ <Box className={'layout-navbar twc-w-full'}>
+ <Toolbar className={'navbar-content-container twc-mx-auto [@media(min-width:1440px)]:twc-max-w-[1440px]'}>
+ <Box className={'app-bar-content twc-w-full twc-flex twc-items-center twc-justify-between'}>
+ <Link href='/' className={'twc-flex twc-items-center twc-no-underline twc-mr-8'}>
+ <Typography
+ variant='h5'
+ className={
+ 'logoText twc-ml-2 twc-leading-none twc-font-bold twc-tracking-[-0.45px] twc-normal-case twc-text-[1.75rem]'
+ }
+ >
+ Gravitino
+ </Typography>
+ </Link>
+ <Box className={'app-bar-content-right twc-flex twc-items-center'}>
+ <Stack direction='row' spacing={2} alignItems='center'>
+ <VersionView />
+ </Stack>
+ </Box>
+ </Box>
+ </Toolbar>
+ </Box>
+ </MuiAppBar>
+ )
+}
+
+export default AppBar
diff --git a/web/lib/layout/Footer.js b/web/lib/layout/Footer.js
new file mode 100644
index 0000000000..5c8458a3c8
--- /dev/null
+++ b/web/lib/layout/Footer.js
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import Link from 'next/link'
+
+import { Box, Typography } from '@mui/material'
+
+const Footer = props => {
+ return (
+ <Box component={'footer'} className={'layout-footer twc-z-10 twc-flex twc-items-center twc-justify-center'}>
+ <Box className='footer-content-wrapper twc-px-6 twc-w-full twc-py-[0.75rem] [@media(min-width:1440px)]:twc-max-w-[1440px]'>
+ <Box className={'twc-flex twc-flex-wrap twc-items-center twc-justify-between'}>
+ <Typography className='twc-mr-2'>
+ {`© ${new Date().getFullYear()} `}
+ <Link className={'twc-no-underline twc-text-primary-main'} target='_blank' href='https://datastrato.ai/'>
+ Datastrato
+ </Link>
+ </Typography>
+ <Box className={'twc-flex twc-flex-wrap twc-items-center [&>:not(:last-child)]:twc-mr-4'}>
+ <Link
+ className={'twc-no-underline twc-text-primary-main'}
+ target='_blank'
+ href='https://github.com/datastrato/gravitino/blob/main/LICENSE'
+ >
+ License
+ </Link>
+ <Link
+ className={'twc-no-underline twc-text-primary-main'}
+ target='_blank'
+ href='https://datastrato.ai/docs/'
+ >
+ Documentation
+ </Link>
+ <Link
+ className={'twc-no-underline twc-text-primary-main'}
+ target='_blank'
+ href='https://github.com/datastrato/gravitino/issues'
+ >
+ Support
+ </Link>
+ </Box>
+ </Box>
+ </Box>
+ </Box>
+ )
+}
+
+export default Footer
diff --git a/web/lib/layout/Layout.js b/web/lib/layout/Layout.js
new file mode 100644
index 0000000000..dc1e95cca3
--- /dev/null
+++ b/web/lib/layout/Layout.js
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { Box, Fab } from '@mui/material'
+
+import Icon from '@/components/Icon'
+
+import AppBar from './AppBar'
+import Footer from './Footer'
+import MainContent from './MainContent'
+import ScrollToTop from './ScrollToTop'
+
+const Layout = ({ children, scrollToTop }) => {
+ return (
+ <div className={'layout-wrapper twc-h-full twc-flex twc-overflow-clip'}>
+ <Box className={'layout-content-wrapper twc-flex twc-grow twc-min-h-[100vh] twc-min-w-0 twc-flex-col'}>
+ <Box
+ className={
+ 'app-bar-bg-blur twc-top-0 twc-z-10 twc-w-full twc-fixed twc-backdrop-saturate-200 twc-backdrop-blur-[10px] twc-bg-customs-lightBg twc-h-[0.8125rem]'
+ }
+ />
+ <AppBar />
+ <MainContent>{children}</MainContent>
+ <Footer />
+ {scrollToTop ? (
+ scrollToTop(props)
+ ) : (
+ <ScrollToTop className='mui-fixed'>
+ <Fab color='primary' size='small'>
+ <Icon icon='bx:up-arrow-alt' />
+ </Fab>
+ </ScrollToTop>
+ )}
+ </Box>
+ </div>
+ )
+}
+
+export default Layout
diff --git a/web/lib/layout/MainContent.js b/web/lib/layout/MainContent.js
new file mode 100644
index 0000000000..d06de94e3f
--- /dev/null
+++ b/web/lib/layout/MainContent.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+const MainContent = ({ children }) => {
+ return (
+ <main
+ className={
+ 'layout-main twc-grow twc-w-full twc-px-[1.5rem] sm:twc-px-6 twc-p-8 twc-transition-[padding] twc-duration-300 twc-ease-in-out twc-mx-auto [@media(min-width:1440px)]:twc-max-w-[1440px] [@media(min-width:1200px)]:twc-max-w-full'
+ }
+ >
+ {children}
+ </main>
+ )
+}
+
+export default MainContent
diff --git a/web/src/@core/components/scroll-to-top/index.js b/web/lib/layout/ScrollToTop.js
similarity index 56%
rename from web/src/@core/components/scroll-to-top/index.js
rename to web/lib/layout/ScrollToTop.js
index 5c9c46af40..c90b093a51 100644
--- a/web/src/@core/components/scroll-to-top/index.js
+++ b/web/lib/layout/ScrollToTop.js
@@ -3,16 +3,9 @@
* This software is licensed under the Apache License version 2.
*/
-import Zoom from '@mui/material/Zoom'
-import { styled } from '@mui/material/styles'
-import useScrollTrigger from '@mui/material/useScrollTrigger'
+'use client'
-const ScrollToTopStyled = styled('div')(({ theme }) => ({
- zIndex: 11,
- position: 'fixed',
- right: theme.spacing(6),
- bottom: theme.spacing(10)
-}))
+import { Zoom, useScrollTrigger } from '@mui/material'
const ScrollToTop = props => {
const { children, className } = props
@@ -31,9 +24,13 @@ const ScrollToTop = props => {
return (
<Zoom in={trigger}>
- <ScrollToTopStyled className={className} onClick={handleClick} role='presentation'>
+ <div
+ className={`${className} twc-z-[12] twc-fixed twc-right-6 twc-bottom-10`}
+ onClick={handleClick}
+ role='presentation'
+ >
{children}
- </ScrollToTopStyled>
+ </div>
</Zoom>
)
}
diff --git a/web/lib/layout/VersionView.js b/web/lib/layout/VersionView.js
new file mode 100644
index 0000000000..3a16799c10
--- /dev/null
+++ b/web/lib/layout/VersionView.js
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+'use client'
+
+import { useRef, useEffect } from 'react'
+
+import Typography from '@mui/material/Typography'
+
+import { useAppStore, useAppDispatch } from '../hooks/useStore'
+
+import { useDispatch, useSelector } from 'react-redux'
+import { initialVersion, setVersion } from '@/lib/store/version'
+
+const VersionView = () => {
+ const store = useAppStore()
+ const initialized = useRef(false)
+ if (!initialized.current) {
+ store.dispatch(initialVersion())
+ initialized.current = true
+ }
+
+ const version = useSelector(state => state.version)
+ const dispatch = useAppDispatch()
+
+ useEffect(() => {
+ if (typeof window !== 'undefined') {
+ const version = window.sessionStorage.getItem('version')
+
+ if (!version || version === 'undefined') {
+ dispatch(initialVersion())
+ } else {
+ dispatch(setVersion(version))
+ }
+ }
+ }, [dispatch])
+
+ return <Typography variant='subtitle2'>{version.version}</Typography>
+}
+
+export default VersionView
diff --git a/web/lib/provider/emotion.js b/web/lib/provider/emotion.js
new file mode 100644
index 0000000000..e51c816ca6
--- /dev/null
+++ b/web/lib/provider/emotion.js
@@ -0,0 +1,96 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import { useState, useEffect, Fragment } from 'react'
+
+import { useServerInsertedHTML } from 'next/navigation'
+
+import { CacheProvider as DefaultProvider } from '@emotion/react'
+import createCache from '@emotion/cache'
+
+function EmotionProvider(props) {
+ const { options = { key: 'css', prepend: true }, CacheProvider = DefaultProvider, children } = props
+
+ const [registry] = useState(() => {
+ const cache = createCache(options)
+ cache.compat = true
+ const prevInsert = cache.insert
+ let inserted = []
+ cache.insert = (...args) => {
+ const [selector, serialized] = args
+ if (cache.inserted[serialized.name] === undefined) {
+ inserted.push({ name: serialized.name, isGlobal: !selector })
+ }
+
+ return prevInsert(...args)
+ }
+
+ const flush = () => {
+ const prevInserted = inserted
+ inserted = []
+
+ return prevInserted
+ }
+
+ return { cache, flush }
+ })
+
+ useEffect(() => {
+ const jssStyles = document.querySelector('#jss-server-side')
+ if (jssStyles) {
+ jssStyles.parentElement.removeChild(jssStyles)
+ }
+ }, [])
+
+ useServerInsertedHTML(() => {
+ const inserted = registry.flush()
+ if (inserted.length === 0) {
+ return null
+ }
+ let styles = ''
+ let dataEmotionAttribute = registry.cache.key
+
+ const globals = []
+
+ inserted.forEach(({ name, isGlobal }) => {
+ const style = registry.cache.inserted[name]
+
+ if (typeof style !== 'boolean') {
+ if (isGlobal) {
+ globals.push({ name, style })
+ } else {
+ styles += style
+ dataEmotionAttribute += ` ${name}`
+ }
+ }
+ })
+
+ return (
+ <Fragment>
+ {globals.map(({ name, style }) => (
+ <style
+ key={name}
+ data-emotion={`${registry.cache.key}-global ${name}`}
+ // eslint-disable-next-line react/no-danger
+ dangerouslySetInnerHTML={{ __html: style }}
+ />
+ ))}
+ {styles && (
+ <style
+ data-emotion={dataEmotionAttribute}
+ // eslint-disable-next-line react/no-danger
+ dangerouslySetInnerHTML={{ __html: styles }}
+ />
+ )}
+ </Fragment>
+ )
+ })
+
+ return <CacheProvider value={registry.cache}>{children}</CacheProvider>
+}
+
+export default EmotionProvider
diff --git a/web/lib/provider/index.js b/web/lib/provider/index.js
new file mode 100644
index 0000000000..98a1c537b7
--- /dev/null
+++ b/web/lib/provider/index.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import StoreProvider from './store'
+import EmotionProvider from './emotion'
+import ThemeProvider from './theme'
+
+const Provider = ({ children }) => {
+ return (
+ <StoreProvider>
+ <EmotionProvider>
+ <ThemeProvider>{children}</ThemeProvider>
+ </EmotionProvider>
+ </StoreProvider>
+ )
+}
+
+export default Provider
diff --git a/web/lib/provider/store.js b/web/lib/provider/store.js
new file mode 100644
index 0000000000..c90d1f5734
--- /dev/null
+++ b/web/lib/provider/store.js
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import { useRef } from 'react'
+import { Provider } from 'react-redux'
+
+import { makeStore } from '../store'
+
+const StoreProvider = ({ children }) => {
+ const storeRef = useRef()
+ if (!storeRef.current) {
+ storeRef.current = makeStore()
+ }
+
+ return <Provider store={storeRef.current}>{children}</Provider>
+}
+
+export default StoreProvider
diff --git a/web/lib/provider/theme.js b/web/lib/provider/theme.js
new file mode 100644
index 0000000000..829dd1f61e
--- /dev/null
+++ b/web/lib/provider/theme.js
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+'use client'
+
+import { useEffect, createContext, useContext } from 'react'
+
+import { StyledEngineProvider, ThemeProvider as MuiThemeProvider, CssBaseline } from '@mui/material'
+
+import { useLocalStorage } from 'react-use'
+
+import { settings as settingsConfig } from '@/lib/settings'
+import createMuiTheme from '@/lib/theme/mui'
+
+const ThemeContext = createContext()
+
+export const useTheme = () => {
+ return useContext(ThemeContext)
+}
+
+const MuiProvider = props => {
+ const { children, mode } = props
+
+ return (
+ <StyledEngineProvider injectFirst>
+ <MuiThemeProvider theme={createMuiTheme({ mode })}>
+ <CssBaseline />
+ {children}
+ </MuiThemeProvider>
+ </StyledEngineProvider>
+ )
+}
+
+const ThemeProvider = props => {
+ const { children } = props
+
+ const [mode, setMode] = useLocalStorage('theme', settingsConfig.mode, { raw: true })
+
+ useEffect(() => {
+ if (mode) {
+ setMode(mode)
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [])
+
+ const toggleTheme = () => {
+ const themeMode = mode === 'light' ? 'dark' : 'light'
+ setMode(themeMode)
+ }
+
+ return (
+ <MuiProvider mode={mode}>
+ <ThemeContext.Provider value={{ mode, toggleTheme }}>{children}</ThemeContext.Provider>
+ </MuiProvider>
+ )
+}
+
+export default ThemeProvider
diff --git a/web/src/layouts/components/Translations.js b/web/lib/settings/index.js
similarity index 53%
rename from web/src/layouts/components/Translations.js
rename to web/lib/settings/index.js
index 62a7798584..a2085e5e75 100644
--- a/web/src/layouts/components/Translations.js
+++ b/web/lib/settings/index.js
@@ -3,8 +3,9 @@
* This software is licensed under the Apache License version 2.
*/
-const Translations = ({ text }) => {
- return <>{text}</>
+export const settings = {
+ mode: 'light',
+ primaryColor: '#6478f7'
}
-export default Translations
+export default settings
diff --git a/web/lib/store/index.js b/web/lib/store/index.js
new file mode 100644
index 0000000000..3f2bc62e51
--- /dev/null
+++ b/web/lib/store/index.js
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { configureStore } from '@reduxjs/toolkit'
+
+import { isDevEnv } from '@/lib/utils'
+
+import version from './version'
+import metalakes from './metalakes'
+
+export const makeStore = () => {
+ return configureStore({
+ reducer: {
+ version,
+ metalakes
+ },
+ devTools: true,
+ middleware: getDefaultMiddleware =>
+ getDefaultMiddleware({
+ serializableCheck: isDevEnv
+ })
+ })
+}
diff --git a/web/src/store/metalakes/index.js b/web/lib/store/metalakes/index.js
similarity index 62%
rename from web/src/store/metalakes/index.js
rename to web/lib/store/metalakes/index.js
index e14771836c..53d931ceaf 100644
--- a/web/src/store/metalakes/index.js
+++ b/web/lib/store/metalakes/index.js
@@ -5,40 +5,56 @@
import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'
-import { createMetalakeApi, getMetalakesApi, deleteMetalakeApi, updateMetalakeApi } from 'src/@core/api/metalakes'
+import { createMetalakeApi, getMetalakesApi, deleteMetalakeApi, updateMetalakeApi } from '@/lib/api/metalakes'
export const fetchMetalakes = createAsyncThunk('appMetalakes/fetchMetalakes', async (params, { getState }) => {
- const response = await getMetalakesApi()
+ try {
+ const response = await getMetalakesApi()
- const { metalakes } = response.data
+ const { metalakes } = response.data
- return {
- metalakes
+ return {
+ metalakes
+ }
+ } catch (error) {
+ throw new Error(error)
}
})
export const createMetalake = createAsyncThunk('appMetalakes/createMetalake', async (data, { getState, dispatch }) => {
- const response = await createMetalakeApi(data)
+ try {
+ const response = await createMetalakeApi(data)
- dispatch(fetchMetalakes())
+ dispatch(fetchMetalakes())
- return response.metalake
+ return response.metalake
+ } catch (error) {
+ throw new Error(error)
+ }
})
export const deleteMetalake = createAsyncThunk('appMetalakes/deleteMetalake', async (name, { dispatch }) => {
- const response = await deleteMetalakeApi(name)
+ try {
+ const response = await deleteMetalakeApi(name)
- dispatch(fetchMetalakes())
+ dispatch(fetchMetalakes())
- return response.data
+ return response.data
+ } catch (error) {
+ throw new Error(error)
+ }
})
export const updateMetalake = createAsyncThunk('appMetalakes/updateMetalake', async ({ name, data }, { dispatch }) => {
- const response = await updateMetalakeApi({ name, data })
+ try {
+ const response = await updateMetalakeApi({ name, data })
- dispatch(fetchMetalakes())
+ dispatch(fetchMetalakes())
- return response.data
+ return response.data
+ } catch (error) {
+ throw new Error(error)
+ }
})
export const appMetalakesSlice = createSlice({
diff --git a/web/src/store/version/index.js b/web/lib/store/version/index.js
similarity index 64%
rename from web/src/store/version/index.js
rename to web/lib/store/version/index.js
index 286ba54799..b0a2872d8e 100644
--- a/web/src/store/version/index.js
+++ b/web/lib/store/version/index.js
@@ -5,9 +5,9 @@
import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'
-import { getVersionApi } from 'src/@core/api'
+import { getVersionApi } from '@/lib/api'
-export const fetchVersion = createAsyncThunk('appVersion/fetchVersion', async (params, { getState }) => {
+export const initialVersion = createAsyncThunk('sys/fetchVersion', async (params, { getState }) => {
const response = await getVersionApi()
const { version } = response.data
@@ -22,8 +22,8 @@ export const fetchVersion = createAsyncThunk('appVersion/fetchVersion', async (p
return version
})
-export const appVersionSlice = createSlice({
- name: 'appVersion',
+export const sysSlice = createSlice({
+ name: 'sys',
initialState: {
version: ''
},
@@ -33,12 +33,12 @@ export const appVersionSlice = createSlice({
}
},
extraReducers: builder => {
- builder.addCase(fetchVersion.fulfilled, (state, action) => {
+ builder.addCase(initialVersion.fulfilled, (state, action) => {
state.version = action.payload.version
})
}
})
-export const { setVersion } = appVersionSlice.actions
+export const { setVersion } = sysSlice.actions
-export default appVersionSlice.reducer
+export default sysSlice.reducer
diff --git a/web/lib/styles/globals.css b/web/lib/styles/globals.css
new file mode 100644
index 0000000000..f9bcdc48f0
--- /dev/null
+++ b/web/lib/styles/globals.css
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
+
+html,
+body {
+ min-height: 100%;
+}
+
+.logoText {
+ font-family: 'Alata' !important;
+}
diff --git a/web/lib/theme/colors.js b/web/lib/theme/colors.js
new file mode 100644
index 0000000000..cd1b5bd324
--- /dev/null
+++ b/web/lib/theme/colors.js
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { lighten, darken } from '../utils/color'
+import settings from '../settings'
+
+export const primaryColor = settings.primaryColor || '#6478f7'
+
+const whiteColor = '#fff'
+const blackColor = '#000'
+const lightColor = '#32465a'
+const darkColor = '#dbdbeb'
+const lightBgColor = '#f5f5f8'
+const darkBgColor = '#232323'
+
+export const mainColor = settings.mode === 'light' ? lightColor : darkColor
+
+const colors = {
+ customs: {
+ main: mainColor,
+ white: whiteColor,
+ black: blackColor,
+ light: lightColor,
+ dark: darkColor,
+ lightBg: lightBgColor,
+ darkBg: darkBgColor
+ },
+ primary: {
+ main: primaryColor,
+ light: lighten(primaryColor),
+ dark: darken(primaryColor, 0.3)
+ },
+ secondary: {
+ light: '#97A2B1',
+ main: '#8592A3',
+ dark: '#798594'
+ },
+ success: {
+ light: '#86E255',
+ main: '#71DD37',
+ dark: '#67C932'
+ },
+ error: {
+ light: '#FF5B3F',
+ main: '#FF3E1D',
+ dark: '#E8381A'
+ },
+ warning: {
+ light: '#FFB826',
+ main: '#FFAB00',
+ dark: '#E89C00'
+ },
+ info: {
+ light: '#29CCEF',
+ main: '#03C3EC',
+ dark: '#03B1D7'
+ },
+ grey: {}
+}
+
+export default colors
diff --git a/web/lib/theme/mui.js b/web/lib/theme/mui.js
new file mode 100644
index 0000000000..74afd6c120
--- /dev/null
+++ b/web/lib/theme/mui.js
@@ -0,0 +1,777 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import { createTheme, responsiveFontSizes } from '@mui/material'
+
+import { alpha } from '../utils/color'
+import settings from '../settings'
+import colors from './colors'
+import screens from './screens'
+
+const { customs, primary, secondary, success, error, warning, info, grey } = colors
+
+const createMuiTheme = (config = {}) => {
+ const mode = config.mode ?? settings.mode ?? 'light'
+
+ return responsiveFontSizes(
+ createTheme({
+ palette: {
+ mode,
+ common: {
+ black: customs.black,
+ white: customs.white
+ },
+ primary: {
+ ...primary,
+ contrastText: customs.white
+ },
+ secondary: {
+ ...secondary,
+ contrastText: customs.white
+ },
+ error: {
+ ...error,
+ contrastText: customs.white
+ },
+ warning: {
+ ...warning,
+ contrastText: customs.white
+ },
+ info: {
+ ...info,
+ contrastText: customs.white
+ },
+ success: {
+ ...success,
+ contrastText: customs.white
+ },
+ grey: {
+ ...grey
+ },
+ text: {
+ primary: alpha(customs.main, 0.87),
+ secondary: alpha(customs.main, 0.6),
+ disabled: alpha(customs.main, 0.38)
+ },
+ divider: alpha(customs.main, 0.12),
+ background: {
+ paper: mode === 'light' ? customs.white : customs.darkBg,
+ default: mode === 'light' ? customs.lightBg : customs.darkBg
+ },
+ action: {
+ active: alpha(customs.main, 0.54),
+ hover: alpha(customs.main, 0.04),
+ selected: alpha(customs.main, 0.08),
+ disabled: alpha(customs.main, 0.26),
+ disabledBackground: alpha(customs.main, 0.12),
+ focus: alpha(customs.main, 0.12)
+ }
+ },
+ breakpoints: {
+ values: {
+ ...screens
+ }
+ },
+ spacing: factor => `${0.25 * factor}rem`,
+ shape: {
+ borderRadius: 6
+ },
+ mixins: {
+ toolbar: {
+ minHeight: 64
+ }
+ },
+ shadows: [
+ 'none',
+ `0px 2px 1px -1px ${alpha(customs.main, 0.2)}, 0px 1px 1px 0px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 1px 3px 0px ${alpha(customs.main, 0.12)}`,
+ `0px 3px 1px -2px ${alpha(customs.main, 0.2)}, 0px 2px 2px 0px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 1px 5px 0px ${alpha(customs.main, 0.12)}`,
+ `0px 4px 8px -4px ${alpha(customs.main, 0.42)}`,
+ `0px 6px 18px -8px ${alpha(customs.main, 0.56)}`,
+ `0px 3px 5px -1px ${alpha(customs.main, 0.2)}, 0px 5px 8px 0px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 1px 14px 0px ${alpha(customs.main, 0.12)}`,
+ `0px 2px 10px 0px ${alpha(customs.main, 0.1)}`,
+ `0px 4px 5px -2px ${alpha(customs.main, 0.2)}, 0px 7px 10px 1px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 2px 16px 1px ${alpha(customs.main, 0.12)}`,
+ `0px 5px 5px -3px ${alpha(customs.main, 0.2)}, 0px 8px 10px 1px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 3px 14px 2px ${alpha(customs.main, 0.12)}`,
+ `0px 5px 6px -3px ${alpha(customs.main, 0.2)}, 0px 9px 12px 1px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 3px 16px 2px ${alpha(customs.main, 0.12)}`,
+ `0px 6px 6px -3px ${alpha(customs.main, 0.2)}, 0px 10px 14px 1px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 4px 18px 3px ${alpha(customs.main, 0.12)}`,
+ `0px 6px 7px -4px ${alpha(customs.main, 0.2)}, 0px 11px 15px 1px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 4px 20px 3px ${alpha(customs.main, 0.12)}`,
+ `0px 7px 8px -4px ${alpha(customs.main, 0.2)}, 0px 12px 17px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 5px 22px 4px ${alpha(customs.main, 0.12)}`,
+ `0px 7px 8px -4px ${alpha(customs.main, 0.2)}, 0px 13px 19px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 5px 24px 4px ${alpha(customs.main, 0.12)}`,
+ `0px 7px 9px -4px ${alpha(customs.main, 0.2)}, 0px 14px 21px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 5px 26px 4px ${alpha(customs.main, 0.12)}`,
+ `0px 8px 9px -5px ${alpha(customs.main, 0.2)}, 0px 15px 22px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 6px 28px 5px ${alpha(customs.main, 0.12)}`,
+ `0px 8px 10px -5px ${alpha(customs.main, 0.2)}, 0px 16px 24px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 6px 30px 5px ${alpha(customs.main, 0.12)}`,
+ `0px 8px 11px -5px ${alpha(customs.main, 0.2)}, 0px 17px 26px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 6px 32px 5px ${alpha(customs.main, 0.12)}`,
+ `0px 9px 11px -5px ${alpha(customs.main, 0.2)}, 0px 18px 28px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 7px 34px 6px ${alpha(customs.main, 0.12)}`,
+ `0px 9px 12px -6px ${alpha(customs.main, 0.2)}, 0px 19px 29px 2px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 7px 36px 6px ${alpha(customs.main, 0.12)}`,
+ `0px 10px 13px -6px ${alpha(customs.main, 0.2)}, 0px 20px 31px 3px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 8px 38px 7px ${alpha(customs.main, 0.12)}`,
+ `0px 10px 13px -6px ${alpha(customs.main, 0.2)}, 0px 21px 33px 3px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 8px 40px 7px ${alpha(customs.main, 0.12)}`,
+ `0px 10px 14px -6px ${alpha(customs.main, 0.2)}, 0px 22px 35px 3px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 8px 42px 7px ${alpha(customs.main, 0.12)}`,
+ `0px 11px 14px -7px ${alpha(customs.main, 0.2)}, 0px 23px 36px 3px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 9px 44px 8px ${alpha(customs.main, 0.12)}`,
+ `0px 11px 15px -7px ${alpha(customs.main, 0.2)}, 0px 24px 38px 3px ${alpha(
+ customs.main,
+ 0.14
+ )}, 0px 9px 46px 8px ${alpha(customs.main, 0.12)}`
+ ],
+ typography: {
+ fontFamily: [
+ 'Public Sans',
+ 'sans-serif',
+ '-apple-system',
+ 'BlinkMacSystemFont',
+ '"Segoe UI"',
+ 'Roboto',
+ '"Helvetica Neue"',
+ 'Arial',
+ 'sans-serif',
+ '"Apple Color Emoji"',
+ '"Segoe UI Emoji"',
+ '"Segoe UI Symbol"'
+ ].join(','),
+ h1: {
+ fontWeight: 500
+ },
+ h2: {
+ fontWeight: 500
+ },
+ h3: {
+ fontWeight: 500
+ },
+ h4: {
+ fontWeight: 500
+ },
+ h5: {
+ fontWeight: 500
+ }
+ },
+ components: {
+ MuiButton: {
+ styleOverrides: {
+ root: ({ ownerState, theme }) => ({
+ fontWeight: 500,
+ lineHeight: '24px',
+ letterSpacing: '0.3px',
+ ...(ownerState.size === 'medium' &&
+ ownerState.variant === 'text' && {
+ padding: theme.spacing(1.75, 5)
+ }),
+ '&:not(.MuiButtonGroup-grouped)': {
+ transition: 'all 0.2s ease-in-out',
+ '&:hover': {
+ transform: 'translateY(-1px)'
+ }
+ }
+ }),
+ contained: ({ theme }) => ({
+ boxShadow: theme.shadows[3],
+ padding: theme.spacing(1.75, 5)
+ }),
+ containedPrimary: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ containedSecondary: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ containedSuccess: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ containedError: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ containedWarning: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ containedInfo: ({ theme }) => ({
+ '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ outlined: ({ theme }) => ({
+ padding: theme.spacing(1.5, 4.75)
+ }),
+ sizeSmall: ({ theme, ownerState }) => ({
+ borderRadius: 4,
+ ...(ownerState.variant === 'text' && {
+ padding: theme.spacing(1, 3.5)
+ }),
+ ...(ownerState.variant === 'contained' && {
+ padding: theme.spacing(1, 3.5)
+ }),
+ ...(ownerState.variant === 'outlined' && {
+ padding: theme.spacing(0.75, 3.25)
+ })
+ }),
+ sizeLarge: ({ theme, ownerState }) => ({
+ borderRadius: 8,
+ ...(ownerState.variant === 'text' && {
+ padding: theme.spacing(2, 6.5)
+ }),
+ ...(ownerState.variant === 'contained' && {
+ padding: theme.spacing(2, 6.5)
+ }),
+ ...(ownerState.variant === 'outlined' && {
+ padding: theme.spacing(1.75, 6.25)
+ })
+ })
+ }
+ },
+ MuiButtonBase: {
+ defaultProps: {
+ disableRipple: false
+ }
+ },
+ MuiFab: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ '&.MuiFab-success:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(success.main, 0.4)}`
+ },
+ '&.Mui-error:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(error.main, 0.4)}`
+ },
+ '&.MuiFab-warning:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(warning.main, 0.4)}`
+ },
+ '&.MuiFab-info:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(info.main, 0.4)}`
+ }
+ }),
+ primary: ({ theme }) => ({
+ '&:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ }
+ }),
+ secondary: ({ theme }) => ({
+ '&:not(.Mui-disabled)': {
+ boxShadow: `0 2px 4px 0 ${alpha(secondary.main, 0.4)}`
+ }
+ })
+ }
+ },
+ MuiButtonGroup: {
+ styleOverrides: {
+ contained: ({ theme }) => ({
+ boxShadow: 'none',
+ '& .MuiButton-contained': {
+ paddingLeft: theme.spacing(5),
+ paddingRight: theme.spacing(5),
+ '&.MuiButton-containedPrimary:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(primary.main, 0.4)}`
+ },
+ '&.MuiButton-containedSecondary:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(secondary.main, 0.4)}`
+ },
+ '&.MuiButton-containedSuccess:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(success.main, 0.4)}`
+ },
+ '&.MuiButton-containedError:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(error.main, 0.4)}`
+ },
+ '&.MuiButton-containedWarning:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(warning.main, 0.4)}`
+ },
+ '&.MuiButton-containedInfo:hover': {
+ boxShadow: `0 2px 4px 0 ${alpha(info.main, 0.4)}`
+ }
+ }
+ })
+ }
+ },
+ MuiLink: {
+ styleOverrides: {
+ root: {
+ textDecoration: 'none'
+ }
+ }
+ },
+ MuiTypography: {
+ styleOverrides: {
+ gutterBottom: ({ theme }) => ({
+ marginBottom: theme.spacing(2)
+ })
+ },
+ variants: [
+ {
+ props: { variant: 'h1' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'h2' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'h3' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'h4' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'h5' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'h6' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'subtitle1' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'subtitle2' },
+ style: ({ theme }) => ({ color: theme.palette.text.secondary })
+ },
+ {
+ props: { variant: 'body1' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'body2' },
+ style: ({ theme }) => ({ color: theme.palette.text.secondary })
+ },
+ {
+ props: { variant: 'button' },
+ style: ({ theme }) => ({ color: theme.palette.text.primary })
+ },
+ {
+ props: { variant: 'caption' },
+ style: ({ theme }) => ({ color: theme.palette.text.secondary })
+ },
+ {
+ props: { variant: 'overline' },
+ style: ({ theme }) => ({ color: theme.palette.text.secondary })
+ }
+ ]
+ },
+ MuiPaper: {
+ styleOverrides: {
+ root: {
+ backgroundImage: 'none'
+ }
+ }
+ },
+ MuiBackdrop: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ backgroundColor: `${alpha(customs.main, 0.5)}`
+ }),
+ invisible: {
+ backgroundColor: 'transparent'
+ }
+ }
+ },
+ MuiSelect: {
+ styleOverrides: {
+ select: {
+ minWidth: '6rem !important',
+ '&.MuiTablePagination-select': {
+ minWidth: '1.5rem !important'
+ }
+ }
+ }
+ },
+ MuiDialog: {
+ styleOverrides: {
+ paper: ({ theme }) => ({
+ boxShadow: theme.shadows[6],
+ border: `1px solid ${theme.palette.divider}`,
+ '&:not(.MuiDialog-paperFullScreen)': {
+ borderRadius: 8,
+ [theme.breakpoints.down('sm')]: {
+ margin: theme.spacing(4),
+ width: `calc(100% - ${theme.spacing(8)})`,
+ maxWidth: `calc(100% - ${theme.spacing(8)}) !important`
+ }
+ },
+ '& > .MuiList-root': {
+ paddingLeft: theme.spacing(1),
+ paddingRight: theme.spacing(1)
+ }
+ })
+ }
+ },
+ MuiDialogTitle: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ padding: theme.spacing(6, 6, 1),
+ '& + .MuiDialogContent-root': {
+ paddingTop: `${theme.spacing(6)} !important`
+ }
+ })
+ }
+ },
+ MuiDialogContent: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ padding: theme.spacing(6),
+ '& + .MuiDialogContent-root': {
+ paddingTop: '0 !important'
+ },
+ '& + .MuiDialogActions-root': {
+ paddingTop: '0 !important'
+ }
+ })
+ }
+ },
+ MuiDialogActions: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ justifyContent: 'center',
+ padding: theme.spacing(1, 6, 6),
+ '&.dialog-actions-dense': {
+ padding: theme.spacing(3),
+ paddingTop: theme.spacing(1)
+ }
+ })
+ }
+ },
+
+ MuiCard: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ borderRadius: 8,
+ '& .card-more-options': {
+ marginTop: theme.spacing(-1),
+ marginRight: theme.spacing(-3)
+ },
+ '& .MuiTableContainer-root, & .MuiDataGrid-root, & .MuiDataGrid-columnHeaders': {
+ borderRadius: 0
+ }
+ })
+ },
+ defaultProps: {
+ elevation: 6
+ }
+ },
+ MuiCardHeader: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ padding: theme.spacing(6),
+ '& + .MuiCardContent-root, & + .MuiCardActions-root, & + .MuiCollapse-root .MuiCardContent-root': {
+ paddingTop: 0
+ },
+ '& .MuiCardHeader-subheader': {
+ fontSize: '0.875rem',
+ marginTop: theme.spacing(1.25),
+ color: theme.palette.text.secondary
+ }
+ }),
+ title: {
+ lineHeight: 1.6,
+ fontWeight: 500,
+ fontSize: '1.125rem',
+ letterSpacing: '0.15px',
+ '@media (min-width: 600px)': {
+ fontSize: '1.25rem'
+ }
+ },
+ action: {
+ marginTop: 0,
+ marginRight: 0
+ }
+ }
+ },
+ MuiCardContent: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ padding: theme.spacing(6),
+ '& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root': {
+ paddingTop: 0
+ },
+ '&:last-of-type': {
+ paddingBottom: theme.spacing(6)
+ }
+ })
+ }
+ },
+ MuiCardActions: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ padding: theme.spacing(6),
+ '& .MuiButton-text': {
+ paddingLeft: theme.spacing(3),
+ paddingRight: theme.spacing(3)
+ },
+ '&.card-action-dense': {
+ padding: theme.spacing(0, 3, 3),
+ '.MuiCard-root .MuiCardMedia-root + &': {
+ paddingTop: theme.spacing(3)
+ }
+ },
+ '.MuiCard-root &:first-of-type': {
+ paddingTop: theme.spacing(3),
+ '& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root': {
+ paddingTop: 0
+ }
+ }
+ })
+ }
+ },
+ MuiInputLabel: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ color: theme.palette.text.secondary
+ })
+ }
+ },
+ MuiInput: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ '&:before': {
+ borderBottom: `1px solid ${alpha(customs.main, 0.2)}`
+ },
+ '&:hover:not(.Mui-disabled):before': {
+ borderBottom: `1px solid ${alpha(customs.main, 0.32)}`
+ },
+ '&.Mui-disabled:before': {
+ borderBottomStyle: 'solid'
+ }
+ })
+ }
+ },
+ MuiFilledInput: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ backgroundColor: alpha(customs.main, 0.04),
+ '&:hover:not(.Mui-disabled)': {
+ backgroundColor: alpha(customs.main, 0.08)
+ },
+ '&:before': {
+ borderBottom: `1px solid ${alpha(customs.main, 0.22)}`
+ },
+ '&:hover:not(.Mui-disabled):before': {
+ borderBottom: `1px solid ${alpha(customs.main, 0.32)}`
+ }
+ })
+ }
+ },
+ MuiOutlinedInput: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ '&:hover:not(.Mui-focused):not(.Mui-disabled):not(.Mui-error) .MuiOutlinedInput-notchedOutline': {
+ borderColor: alpha(customs.main, 0.32)
+ },
+ '&:hover.Mui-error .MuiOutlinedInput-notchedOutline': {
+ borderColor: error.main
+ },
+ '&.Mui-error.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(error.main, 0.4)} !important`
+ },
+ '& .MuiOutlinedInput-notchedOutline': {
+ borderColor: alpha(customs.main, 0.22)
+ },
+ '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
+ borderColor: theme.palette.text.disabled
+ },
+ '&.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(primary.main, 0.4)}`
+ },
+ '&.MuiInputBase-colorSuccess.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(success.main, 0.4)}`
+ },
+ '&.MuiInputBase-colorWarning.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(warning.main, 0.4)}`
+ },
+ '&.MuiInputBase-colorError.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(error.main, 0.4)}`
+ },
+ '&.MuiInputBase-colorInfo.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(info.main, 0.4)}`
+ }
+ }),
+ colorSecondary: ({ theme }) => ({
+ '&.Mui-focused': {
+ boxShadow: `0 1px 3px 0 ${alpha(secondary.main, 0.4)}`
+ }
+ })
+ }
+ },
+ MuiDataGrid: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ border: 0,
+ color: theme.palette.text.primary,
+ '& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within': {
+ outline: 'none'
+ }
+ }),
+ toolbarContainer: ({ theme }) => ({
+ paddingRight: `${theme.spacing(5)} !important`,
+ paddingLeft: `${theme.spacing(3.25)} !important`
+ }),
+ columnHeaders: ({ theme }) => ({
+ borderTop: `1px solid ${theme.palette.divider}`
+ }),
+ columnHeader: ({ theme }) => ({
+ '&:not(.MuiDataGrid-columnHeaderCheckbox)': {
+ paddingLeft: theme.spacing(4),
+ paddingRight: theme.spacing(4),
+ '&:first-of-type': {
+ paddingLeft: theme.spacing(5)
+ }
+ },
+ '&:last-of-type': {
+ paddingRight: theme.spacing(5)
+ }
+ }),
+ columnHeaderCheckbox: {
+ maxWidth: '58px !important',
+ minWidth: '58px !important'
+ },
+ columnHeaderTitleContainer: {
+ padding: 0
+ },
+ columnHeaderTitle: {
+ fontWeight: 600,
+ fontSize: '0.75rem',
+ letterSpacing: '0.17px',
+ textTransform: 'uppercase'
+ },
+ columnSeparator: ({ theme }) => ({
+ color: theme.palette.divider
+ }),
+ row: {
+ '&:last-child': {
+ '& .MuiDataGrid-cell': {
+ borderBottom: 0
+ }
+ }
+ },
+ cell: ({ theme }) => ({
+ borderColor: theme.palette.divider,
+ '&:not(.MuiDataGrid-cellCheckbox)': {
+ paddingLeft: theme.spacing(4),
+ paddingRight: theme.spacing(4),
+ '&:first-of-type': {
+ paddingLeft: theme.spacing(5)
+ }
+ },
+ '&:last-of-type': {
+ paddingRight: theme.spacing(5)
+ },
+ '&:focus, &:focus-within': {
+ outline: 'none'
+ }
+ }),
+ cellCheckbox: {
+ maxWidth: '58px !important',
+ minWidth: '58px !important'
+ },
+ editInputCell: ({ theme }) => ({
+ padding: 0,
+ color: theme.palette.text.primary,
+ '& .MuiInputBase-input': {
+ padding: 0
+ }
+ }),
+ footerContainer: ({ theme }) => ({
+ borderTop: `1px solid ${theme.palette.divider}`,
+ '& .MuiTablePagination-toolbar': {
+ paddingLeft: `${theme.spacing(4)} !important`,
+ paddingRight: `${theme.spacing(4)} !important`
+ },
+ '& .MuiTablePagination-displayedRows, & .MuiTablePagination-selectLabel': {
+ color: theme.palette.text.primary
+ }
+ }),
+ selectedRowCount: ({ theme }) => ({
+ margin: 0,
+ paddingLeft: theme.spacing(4),
+ paddingRight: theme.spacing(4)
+ })
+ }
+ },
+ MuiBreadcrumbs: {
+ styleOverrides: {
+ root: ({ theme }) => ({
+ '& a': {
+ textDecoration: 'none',
+ color: primary.main
+ }
+ }),
+ li: ({ theme }) => ({
+ color: theme.palette.text.secondary,
+ '& .MuiTypography-root': {
+ color: 'inherit'
+ }
+ })
+ }
+ }
+ }
+ })
+ )
+}
+
+export default createMuiTheme
diff --git a/web/src/@fake-db/index.js b/web/lib/theme/screens.js
similarity index 51%
rename from web/src/@fake-db/index.js
rename to web/lib/theme/screens.js
index 600f6fdbbd..509062fd85 100644
--- a/web/src/@fake-db/index.js
+++ b/web/lib/theme/screens.js
@@ -3,8 +3,12 @@
* This software is licensed under the Apache License version 2.
*/
-import mock from './mock'
+const screens = {
+ xs: 0,
+ sm: 600,
+ md: 900,
+ lg: 1200,
+ xl: 1536
+}
-import './metalakeList'
-
-mock.onAny().passThrough()
+export default screens
diff --git a/web/lib/theme/tailwind.js b/web/lib/theme/tailwind.js
new file mode 100644
index 0000000000..c7df85aa0d
--- /dev/null
+++ b/web/lib/theme/tailwind.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import colors from './colors'
+import screens from './screens'
+
+const tailwindTheme = {
+ colors,
+ screens,
+ fontFamily: {},
+ fontSize: {},
+ backgroundImage: {},
+ extend: {}
+}
+
+export default tailwindTheme
diff --git a/web/lib/utils/color.js b/web/lib/utils/color.js
new file mode 100644
index 0000000000..90d45db0d4
--- /dev/null
+++ b/web/lib/utils/color.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import chroma from 'chroma-js'
+
+export const lighten = (color, value = null) => {
+ return chroma(color).brighten(value)
+}
+
+export const darken = (color, value = null) => {
+ return chroma(color).darken(value)
+}
+
+export const alpha = (color, value) => {
+ return chroma(color).alpha(value).css()
+}
diff --git a/web/lib/utils/date.js b/web/lib/utils/date.js
new file mode 100644
index 0000000000..6363c48adb
--- /dev/null
+++ b/web/lib/utils/date.js
@@ -0,0 +1,12 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import dayjs from 'dayjs'
+
+const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'
+
+export const formatToDateTime = (date, format = DATE_TIME_FORMAT) => {
+ return dayjs(date).format(format)
+}
diff --git a/web/lib/utils/index.js b/web/lib/utils/index.js
new file mode 100644
index 0000000000..453d2858db
--- /dev/null
+++ b/web/lib/utils/index.js
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+export const isDevEnv = process.env.NODE_ENV === 'development'
+
+export const isProdEnv = process.env.NODE_ENV === 'production'
+
+export const genUpdateMetalakeUpdates = (originalData, newData) => {
+ const updates = []
+
+ if (originalData.name !== newData.name) {
+ updates.push({ '@type': 'rename', newName: newData.name })
+ }
+
+ if (originalData.comment !== newData.comment) {
+ updates.push({ '@type': 'updateComment', newComment: newData.comment })
+ }
+
+ const originalProperties = originalData.properties || {}
+ const newProperties = newData.properties || {}
+
+ for (const key in originalProperties) {
+ if (!(key in newProperties)) {
+ updates.push({ '@type': 'removeProperty', property: key })
+ }
+ }
+
+ for (const key in newProperties) {
+ if (originalProperties[key] !== newProperties[key]) {
+ if (originalProperties[key] === undefined) {
+ updates.push({ '@type': 'setProperty', property: key, value: newProperties[key] })
+ } else {
+ updates.push({ '@type': 'setProperty', property: key, value: newProperties[key] })
+ }
+ }
+ }
+
+ return updates
+}
diff --git a/web/next.config.js b/web/next.config.js
index c22b0e13a4..f8398dc2f3 100644
--- a/web/next.config.js
+++ b/web/next.config.js
@@ -3,39 +3,28 @@
* This software is licensed under the Apache License version 2.
*/
-const path = require('path')
-
-/** @type {import('next').NextConfig} */
-
const isProdEnv = process.env.NODE_ENV === 'production'
-const devConfig = isProdEnv
- ? {}
- : {
- async rewrites() {
- return {
- fallback: [
- {
- source: '/api/:path*',
- destination: 'http://localhost:8090/api/:path*'
- }
- ]
+/** @type {import('next').NextConfig} */
+const nextConfig = {
+ ...(isProdEnv
+ ? {}
+ : {
+ async rewrites() {
+ return {
+ fallback: [
+ {
+ source: '/api/:path*',
+ destination: 'http://localhost:8090/api/:path*'
+ }
+ ]
+ }
}
- }
- }
-
-module.exports = {
- ...devConfig,
- distDir: 'dist',
+ }),
output: process.env.OUTPUT_MODE || 'standalone',
+ distDir: 'dist',
trailingSlash: true,
- reactStrictMode: false,
- webpack: config => {
- config.resolve.alias = {
- ...config.resolve.alias
- }
- config.resolve.alias['src'] = path.join(__dirname, 'src')
-
- return config
- }
+ reactStrictMode: false
}
+
+module.exports = nextConfig
diff --git a/web/package.json b/web/package.json
index 5155ef7961..afb9ef4db5 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,69 +1,57 @@
{
"name": "gravitino-web",
"private": true,
+ "engines": {
+ "node": ">=18.18.2",
+ "npm": ">=9.8.1",
+ "yarn": ">=1.22.19"
+ },
"scripts": {
- "server": "next dev",
- "build": "yarn pre:build && next build",
- "start": "next start",
+ "server": "next dev --turbo",
+ "build": "yarn format && next build",
"dist": "env-cmd -f .env.static yarn build",
- "pre:build": "yarn build:icons && yarn format",
- "lint": "eslint --fix \"src/**/*.{js,jsx}\"",
- "format": "prettier --write \"src/**/*.{js,jsx}\"",
- "prettier:check": "prettier --check \"src/**/*.{js,jsx}\"",
- "build:icons": "node src/iconify-bundle/bundle-icons-react.js",
- "rm:cache": "rm -rf ./out/ && rm -rf ./node_modules/ && rm -rf ./yarn.lock && yarn cache clean"
+ "start": "next start",
+ "lint": "next lint",
+ "format": "prettier --write .",
+ "prettier:check": "prettier --check ."
},
"dependencies": {
- "@emotion/cache": "11.11.0",
- "@emotion/react": "11.11.1",
- "@emotion/server": "11.11.0",
- "@emotion/styled": "11.11.0",
- "@hookform/resolvers": "3.3.2",
- "@iconify/react": "4.1.1",
- "@mui/lab": "5.0.0-alpha.153",
- "@mui/material": "5.14.18",
- "@mui/system": "5.14.18",
- "@mui/x-data-grid": "6.18.1",
+ "@emotion/cache": "^11.11.0",
+ "@emotion/react": "^11.11.1",
+ "@emotion/server": "^11.11.0",
+ "@emotion/styled": "^11.11.0",
+ "@hookform/resolvers": "^3.3.2",
+ "@mui/lab": "^5.0.0-alpha.153",
+ "@mui/material": "^5.14.18",
+ "@mui/styles": "^5.14.18",
+ "@mui/x-data-grid": "^6.18.2",
"@mui/x-tree-view": "^6.17.0",
- "@reduxjs/toolkit": "1.9.7",
- "axios": "1.6.1",
- "axios-mock-adapter": "1.22.0",
- "clsx": "2.0.0",
- "date-fns": "2.30.0",
+ "@reduxjs/toolkit": "^1.9.7",
+ "axios": "^1.6.2",
+ "chroma-js": "^2.4.2",
+ "clsx": "^2.0.0",
"dayjs": "^1.11.10",
- "next": "^14.0.2",
- "nprogress": "0.2.0",
- "react": "18.2.0",
- "react-dom": "18.2.0",
- "react-hook-form": "7.48.2",
- "react-hot-toast": "2.4.1",
- "react-perfect-scrollbar": "1.5.8",
- "react-popper": "2.3.0",
- "react-redux": "8.1.3",
- "react-use": "^17.4.0",
- "yup": "1.3.2"
+ "next": "14.0.3",
+ "next-redux-wrapper": "^8.1.0",
+ "nprogress": "^0.2.0",
+ "react": "^18",
+ "react-dom": "^18",
+ "react-hook-form": "^7.48.2",
+ "react-hot-toast": "^2.4.1",
+ "react-perfect-scrollbar": "^1.5.8",
+ "react-redux": "^8.1.3",
+ "react-use": "^17.4.1",
+ "yup": "^1.3.2"
},
"devDependencies": {
- "@babel/core": "7.23.3",
- "@babel/eslint-parser": "7.23.3",
- "@iconify/iconify": "3.1.1",
- "@iconify/json": "2.2.142",
- "@iconify/tools": "3.0.6",
- "@iconify/types": "2.0.0",
- "@iconify/utils": "2.1.11",
+ "@iconify/react": "^4.1.1",
+ "autoprefixer": "^10.4.16",
"env-cmd": "^10.1.0",
- "eslint": "8.53.0",
- "eslint-config-next": "14.0.2",
- "eslint-config-prettier": "9.0.0",
- "eslint-import-resolver-alias": "1.1.2",
- "eslint-import-resolver-typescript": "3.6.1",
- "eslint-plugin-import": "2.29.0",
- "prettier": "3.1.0"
- },
- "resolutions": {
- "@mui/x-data-grid/@mui/system": "5.4.1",
- "react-hot-toast/goober/csstype": "3.0.10",
- "@emotion/react/@emotion/babel-plugin/@babel/core": "7.0.0",
- "@emotion/react/@emotion/babel-plugin/@babel/plugin-syntax-jsx/@babel/core": "7.0.0"
+ "eslint": "^8",
+ "eslint-config-next": "14.0.3",
+ "eslint-config-prettier": "^9.0.0",
+ "postcss": "^8",
+ "prettier": "^3.1.0",
+ "tailwindcss": "^3.3.5"
}
}
diff --git a/web/src/@core/theme/spacing/index.js b/web/postcss.config.js
similarity index 57%
rename from web/src/@core/theme/spacing/index.js
rename to web/postcss.config.js
index 1dcfbb1cf0..e67e5dc7ca 100644
--- a/web/src/@core/theme/spacing/index.js
+++ b/web/postcss.config.js
@@ -3,6 +3,9 @@
* This software is licensed under the Apache License version 2.
*/
-export default {
- spacing: factor => `${0.25 * factor}rem`
+module.exports = {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {}
+ }
}
diff --git a/web/public/datastrato.svg b/web/public/datastrato.svg
new file mode 100644
index 0000000000..94fc4fd466
--- /dev/null
+++ b/web/public/datastrato.svg
@@ -0,0 +1,48 @@
+<!--
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+-->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="lay1er1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#FFFFFF;}
+ .st1{fill:#231815;}
+ .st2{fill:#0911FD;}
+</style>
+<path class="st2" d="M246.04,190.1l0.33-4.4c0.14-4.24-0.81-7.94-2.67-11.12c-1.95-3.33-4.88-6.07-8.62-8.25
+ c-18.24-10.81-33.15-18.9-51.48-29.56c-3.5-2.04-7.13-3.59-10.84-4.64c-3.75-1.07-7.58-1.64-11.41-1.72
+ c-7.78-0.14-15.63,1.87-22.58,5.58c-6.89,3.67-12.89,9.02-17.03,15.56c-2.03,3.21-3.63,6.67-4.75,10.34
+ c-1.11,3.63-1.76,7.45-1.92,11.42l0.02,100.25l-7.39-4.27c-8.74-5.04-13.74-13.61-13.74-23.72l0.02-0.03l0-90.23h-0.02
+ c0.01-5.03,1.25-9.71,3.59-13.76c2.34-4.06,5.78-7.48,10.15-10.01c11.22-6.48,22.42-12.94,33.63-19.41l-11.59-6.69
+ c-3.71-2.14-7.95-2.14-11.66,0l-19.12,11.04c-7.13,4.11-12.73,9.71-16.55,16.32c-3.82,6.62-5.86,14.27-5.86,22.5l-0.02,0.03v90.23
+ h0.02c0.01,16.27,8.3,30.72,22.41,38.87l15.36,8.87l9.73,5.57c1.82,1.04,3.89,1.07,5.73,0.06c1.84-1.01,2.93-2.78,3.01-4.88
+ c0,0-0.14-80.19-0.02-120.02c0.09-2.42,0.48-4.74,1.14-6.92c0.66-2.2,1.61-4.26,2.8-6.14c2.48-3.92,6.2-7.16,10.45-9.41
+ c4.32-2.29,9.18-3.55,13.87-3.46c2.34,0.04,4.67,0.39,6.97,1.05c2.27,0.65,4.51,1.61,6.66,2.86c18.32,10.66,33.37,18.52,51.59,29.36
+ l0,0c0.76,0.44,1.36,1.02,1.75,1.71c0.37,0.65,0.56,1.42,0.54,2.27l0,0.01l-0.52,12.39l0,0c-0.01,0.32,0.07,0.63,0.21,0.89v0
+ c0.14,0.27,0.36,0.49,0.63,0.66c0.27,0.17,0.57,0.26,0.88,0.27c0.3,0.01,0.61-0.06,0.89-0.22l14.48-7.75l0,0
+ c0.28-0.15,0.5-0.36,0.67-0.62v0C245.94,190.71,246.03,190.42,246.04,190.1L246.04,190.1z M185.97,245.61l3.78,2.37
+ c3.6,2.24,7.28,3.27,10.97,3.25c3.86-0.02,7.7-1.2,11.45-3.35c18.48-10.39,32.95-19.26,51.34-29.8c3.51-2.01,6.67-4.39,9.44-7.06
+ c2.81-2.71,5.22-5.74,7.19-9.03c4.01-6.66,6.19-14.47,6.46-22.34c0.26-7.8-1.37-15.67-4.96-22.53c-1.76-3.37-3.97-6.48-6.58-9.29
+ c-2.59-2.78-5.57-5.25-8.93-7.37l-86.83-50.1l7.39-4.27c8.74-5.04,18.66-5.1,27.41-0.04l0.02,0.03l78.14,45.12l0.01-0.02
+ c4.35,2.52,7.78,5.94,10.12,9.99c2.34,4.06,3.59,8.75,3.59,13.79c0,12.95,0,25.89-0.01,38.83l11.6-6.69
+ c3.71-2.14,5.83-5.82,5.83-10.1l0-22.08c0-8.23-2.04-15.88-5.86-22.5c-3.82-6.62-9.43-12.21-16.55-16.32l-0.02-0.03l-78.14-45.12
+ l-0.01,0.02c-14.1-8.13-30.76-8.17-44.87-0.03l-15.36,8.87l-9.69,5.64c-1.81,1.06-2.87,2.83-2.91,4.93
+ c-0.04,2.1,0.95,3.92,2.72,5.04c0,0,69.51,39.97,103.95,59.99c2.05,1.29,3.86,2.79,5.42,4.44c1.57,1.67,2.89,3.52,3.92,5.5
+ c2.15,4.11,3.1,8.94,2.93,13.75c-0.18,4.88-1.52,9.72-3.94,13.75c-1.2,2-2.68,3.85-4.39,5.5c-1.7,1.64-3.65,3.1-5.81,4.34
+ c-18.39,10.53-32.73,19.64-51.22,30l0,0c-0.77,0.44-1.56,0.66-2.35,0.66c-0.75,0-1.51-0.22-2.23-0.67l0,0l-11.04-6.8v0
+ c-0.27-0.17-0.58-0.26-0.88-0.27v0c-0.3-0.01-0.6,0.06-0.89,0.22c-0.28,0.15-0.51,0.37-0.67,0.62c-0.16,0.26-0.25,0.56-0.26,0.88
+ l-0.09,16.69l0,0c-0.01,0.31,0.06,0.62,0.21,0.89l0,0C185.49,245.22,185.7,245.45,185.97,245.61L185.97,245.61z M169,164.17
+ l-4.74,2.51c-3.74,2-6.47,4.67-8.3,7.87c-1.91,3.35-2.82,7.27-2.83,11.59c-0.25,21.2,0.21,38.16,0.13,59.36
+ c-0.01,4.05,0.46,7.97,1.4,11.71c0.95,3.78,2.36,7.39,4.22,10.74c3.76,6.81,9.44,12.6,16.12,16.76c6.63,4.13,14.25,6.65,21.99,6.97
+ c3.8,0.16,7.59-0.19,11.33-1.06c3.7-0.85,7.33-2.2,10.85-4.05l86.8-50.15v8.53c0,10.09-4.92,18.71-13.67,23.76h-0.04l-78.14,45.12
+ l0.01,0.01c-4.36,2.51-9.04,3.77-13.71,3.77c-4.69,0-9.37-1.26-13.74-3.78c-11.22-6.48-22.42-12.95-33.63-19.42v13.39
+ c0,4.28,2.12,7.96,5.83,10.1l19.12,11.04c7.13,4.11,14.77,6.17,22.42,6.17c7.64,0,15.29-2.06,22.41-6.17h0.03l78.14-45.12
+ l-0.01-0.02c14.09-8.14,22.46-22.55,22.46-38.84v-17.73l-0.04-11.21c-0.01-2.1-1.02-3.9-2.82-4.99c-1.8-1.09-3.87-1.15-5.72-0.17
+ c0,0-69.38,40.22-103.93,60.02c-2.14,1.13-4.34,1.95-6.56,2.47c-2.24,0.52-4.49,0.74-6.72,0.65c-4.64-0.19-9.3-1.79-13.37-4.34
+ c-4.14-2.6-7.66-6.18-9.93-10.29c-1.13-2.05-1.99-4.24-2.57-6.56c-0.57-2.3-0.86-4.71-0.86-7.2c0.07-21.2-0.64-38.16-0.37-59.36v0
+ c0-0.88,0.21-1.69,0.6-2.37c0.38-0.65,0.95-1.2,1.69-1.6l0,0l11.75-6.35v0c0.28-0.15,0.51-0.37,0.67-0.63l0,0
+ c0.16-0.26,0.25-0.56,0.26-0.88c0.01-0.32-0.06-0.63-0.2-0.89c-0.14-0.27-0.36-0.5-0.63-0.66l-13.95-8.66v0
+ c-0.27-0.16-0.57-0.25-0.87-0.26h0C169.58,163.95,169.28,164.02,169,164.17L169,164.17z"/>
+</svg>
diff --git a/web/public/images/apple-touch-icon.png b/web/public/images/apple-touch-icon.png
deleted file mode 100644
index 9f5279c149..0000000000
Binary files a/web/public/images/apple-touch-icon.png and /dev/null differ
diff --git a/web/src/@core/components/custom-checkbox/basic/index.js b/web/src/@core/components/custom-checkbox/basic/index.js
deleted file mode 100644
index a6ab4f6489..0000000000
--- a/web/src/@core/components/custom-checkbox/basic/index.js
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Checkbox from '@mui/material/Checkbox'
-import Typography from '@mui/material/Typography'
-
-const CustomCheckbox = props => {
- const { data, name, selected, gridProps, handleChange, color = 'primary' } = props
- const { meta, title, value, content } = data
-
- const renderData = () => {
- if (meta && title && content) {
- return (
- <Box sx={{ width: '100%', height: '100%', display: 'flex', flexDirection: 'column' }}>
- <Box
- sx={{
- mb: 1,
- width: '100%',
- display: 'flex',
- alignItems: 'flex-start',
- justifyContent: 'space-between'
- }}
- >
- {typeof title === 'string' ? <Typography sx={{ mr: 2, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof meta === 'string' ? <Typography sx={{ color: 'text.secondary' }}>{meta}</Typography> : meta}
- </Box>
- {typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content}
- </Box>
- )
- } else if (meta && title && !content) {
- return (
- <Box sx={{ width: '100%', display: 'flex', alignItems: 'flex-start', justifyContent: 'space-between' }}>
- {typeof title === 'string' ? <Typography sx={{ mr: 2, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof meta === 'string' ? <Typography sx={{ color: 'text.secondary' }}>{meta}</Typography> : meta}
- </Box>
- )
- } else if (!meta && title && content) {
- return (
- <Box sx={{ height: '100%', display: 'flex', flexDirection: 'column' }}>
- {typeof title === 'string' ? <Typography sx={{ mb: 1, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content}
- </Box>
- )
- } else if (!meta && !title && content) {
- return typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content
- } else if (!meta && title && !content) {
- return typeof title === 'string' ? <Typography sx={{ fontWeight: 500 }}>{title}</Typography> : title
- } else {
- return null
- }
- }
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- p: 4,
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- position: 'relative',
- alignItems: 'flex-start',
- border: theme => `1px solid ${theme.palette.divider}`,
- ...(selected.includes(value)
- ? { borderColor: `${color}.main` }
- : { '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` } })
- }}
- >
- <Checkbox
- size='small'
- color={color}
- name={`${name}-${value}`}
- checked={selected.includes(value)}
- onChange={() => handleChange(value)}
- sx={{ mb: -2, mt: -1.75, ml: -1.75 }}
- />
- {renderData()}
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomCheckbox
diff --git a/web/src/@core/components/custom-checkbox/icons/index.js b/web/src/@core/components/custom-checkbox/icons/index.js
deleted file mode 100644
index daccd1214f..0000000000
--- a/web/src/@core/components/custom-checkbox/icons/index.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Checkbox from '@mui/material/Checkbox'
-import Typography from '@mui/material/Typography'
-
-import Icon from 'src/@core/components/icon'
-
-const CustomCheckboxIcons = props => {
- const { data, icon, name, selected, gridProps, iconProps, handleChange, color = 'primary' } = props
- const { title, value, content } = data
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- p: 4,
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- position: 'relative',
- alignItems: 'center',
- flexDirection: 'column',
- border: theme => `1px solid ${theme.palette.divider}`,
- ...(selected.includes(value)
- ? { borderColor: `${color}.main` }
- : { '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` } })
- }}
- >
- {icon ? <Icon icon={icon} {...iconProps} /> : null}
- {title ? (
- typeof title === 'string' ? (
- <Typography sx={{ fontWeight: 500, ...(content ? { mb: 1 } : { my: 'auto' }) }}>{title}</Typography>
- ) : (
- title
- )
- ) : null}
- {content ? (
- typeof content === 'string' ? (
- <Typography variant='body2' sx={{ my: 'auto', textAlign: 'center' }}>
- {content}
- </Typography>
- ) : (
- content
- )
- ) : null}
- <Checkbox
- size='small'
- color={color}
- name={`${name}-${value}`}
- checked={selected.includes(value)}
- onChange={() => handleChange(value)}
- sx={{ mb: -2, ...(!icon && !title && !content && { mt: -2 }) }}
- />
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomCheckboxIcons
diff --git a/web/src/@core/components/custom-checkbox/image/index.js b/web/src/@core/components/custom-checkbox/image/index.js
deleted file mode 100644
index b5720a81b2..0000000000
--- a/web/src/@core/components/custom-checkbox/image/index.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Checkbox from '@mui/material/Checkbox'
-
-const CustomCheckboxImg = props => {
- const { data, name, selected, gridProps, handleChange, color = 'primary' } = props
- const { alt, img, value } = data
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- overflow: 'hidden',
- position: 'relative',
- alignItems: 'center',
- flexDirection: 'column',
- justifyContent: 'center',
- border: theme => `2px solid ${theme.palette.divider}`,
- '& img': {
- width: '100%',
- height: '100%',
- objectFit: 'cover'
- },
- ...(selected.includes(value)
- ? { borderColor: `${color}.main` }
- : {
- '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` },
- '&:not(:hover)': {
- '& .MuiCheckbox-root': { display: 'none' }
- }
- })
- }}
- >
- {typeof img === 'string' ? <img src={img} alt={alt ?? `checkbox-image-${value}`} /> : img}
- <Checkbox
- size='small'
- color={color}
- name={`${name}-${value}`}
- checked={selected.includes(value)}
- onChange={() => handleChange(value)}
- sx={{ top: 0, right: 0, position: 'absolute' }}
- />
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomCheckboxImg
diff --git a/web/src/@core/components/custom-dialog/ConfirmDeleteDialog.js b/web/src/@core/components/custom-dialog/ConfirmDeleteDialog.js
deleted file mode 100644
index 5104d71a4a..0000000000
--- a/web/src/@core/components/custom-dialog/ConfirmDeleteDialog.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Button from '@mui/material/Button'
-import Dialog from '@mui/material/Dialog'
-import Typography from '@mui/material/Typography'
-import DialogContent from '@mui/material/DialogContent'
-import DialogActions from '@mui/material/DialogActions'
-
-import Icon from 'src/@core/components/icon'
-
-const ConfirmDeleteDialog = props => {
- const { open, setOpen, handleConfirmDeleteSubmit } = props
-
- const handleClose = () => setOpen(false)
-
- return (
- <Dialog fullWidth open={open} onClose={handleClose} sx={{ '& .MuiPaper-root': { width: '100%', maxWidth: 512 } }}>
- <DialogContent
- sx={{
- px: theme => [`${theme.spacing(5)} !important`, `${theme.spacing(15)} !important`],
- pt: theme => [`${theme.spacing(8)} !important`, `${theme.spacing(12.5)} !important`]
- }}
- >
- <Box
- sx={{
- display: 'flex',
- textAlign: 'center',
- alignItems: 'center',
- flexDirection: 'column',
- justifyContent: 'center',
- '& svg': { mb: 8, color: 'warning.main' }
- }}
- >
- <Icon icon='tabler:alert-circle' fontSize='5.5rem' />
- <Typography variant='h4' sx={{ mb: 5, color: 'text.secondary' }}>
- Confirm Delete ?
- </Typography>
- <Typography>This action can not reserve!</Typography>
- </Box>
- </DialogContent>
- <DialogActions
- sx={{
- justifyContent: 'center',
- px: theme => [`${theme.spacing(5)} !important`, `${theme.spacing(15)} !important`],
- pb: theme => [`${theme.spacing(8)} !important`, `${theme.spacing(12.5)} !important`]
- }}
- >
- <Button variant='contained' sx={{ mr: 2 }} onClick={() => handleConfirmDeleteSubmit()}>
- Submit
- </Button>
- <Button variant='outlined' color='secondary' onClick={() => handleClose()}>
- Cancel
- </Button>
- </DialogActions>
- </Dialog>
- )
-}
-
-export default ConfirmDeleteDialog
diff --git a/web/src/@core/components/custom-radio/basic/index.js b/web/src/@core/components/custom-radio/basic/index.js
deleted file mode 100644
index 696e2f1b09..0000000000
--- a/web/src/@core/components/custom-radio/basic/index.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Radio from '@mui/material/Radio'
-import Typography from '@mui/material/Typography'
-
-const CustomRadioBasic = props => {
- const { name, data, selected, gridProps, handleChange, color = 'primary' } = props
- const { meta, title, value, content } = data
-
- const renderData = () => {
- if (meta && title && content) {
- return (
- <Box sx={{ width: '100%', height: '100%', display: 'flex', flexDirection: 'column' }}>
- <Box
- sx={{
- mb: 1,
- width: '100%',
- display: 'flex',
- alignItems: 'flex-start',
- justifyContent: 'space-between'
- }}
- >
- {typeof title === 'string' ? <Typography sx={{ mr: 2, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof meta === 'string' ? <Typography sx={{ color: 'text.secondary' }}>{meta}</Typography> : meta}
- </Box>
- {typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content}
- </Box>
- )
- } else if (meta && title && !content) {
- return (
- <Box sx={{ width: '100%', display: 'flex', alignItems: 'flex-start', justifyContent: 'space-between' }}>
- {typeof title === 'string' ? <Typography sx={{ mr: 2, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof meta === 'string' ? <Typography sx={{ color: 'text.secondary' }}>{meta}</Typography> : meta}
- </Box>
- )
- } else if (!meta && title && content) {
- return (
- <Box sx={{ height: '100%', display: 'flex', flexDirection: 'column' }}>
- {typeof title === 'string' ? <Typography sx={{ mb: 1, fontWeight: 500 }}>{title}</Typography> : title}
- {typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content}
- </Box>
- )
- } else if (!meta && !title && content) {
- return typeof content === 'string' ? <Typography variant='body2'>{content}</Typography> : content
- } else if (!meta && title && !content) {
- return typeof title === 'string' ? <Typography sx={{ fontWeight: 500 }}>{title}</Typography> : title
- } else {
- return null
- }
- }
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- p: 4,
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- position: 'relative',
- alignItems: 'flex-start',
- border: theme => `1px solid ${theme.palette.divider}`,
- ...(selected === value
- ? { borderColor: `${color}.main` }
- : { '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` } })
- }}
- >
- <Radio
- name={name}
- size='small'
- color={color}
- value={value}
- onChange={handleChange}
- checked={selected === value}
- sx={{ mb: -2, mt: -1.75, ml: -1.75 }}
- />
- {renderData()}
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomRadioBasic
diff --git a/web/src/@core/components/custom-radio/icons/index.js b/web/src/@core/components/custom-radio/icons/index.js
deleted file mode 100644
index 66373279be..0000000000
--- a/web/src/@core/components/custom-radio/icons/index.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Radio from '@mui/material/Radio'
-import Typography from '@mui/material/Typography'
-
-import Icon from 'src/@core/components/icon'
-
-const CustomRadioIcons = props => {
- const { data, icon, name, selected, gridProps, iconProps, handleChange, color = 'primary' } = props
- const { title, value, content } = data
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- p: 4,
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- position: 'relative',
- alignItems: 'center',
- flexDirection: 'column',
- border: theme => `1px solid ${theme.palette.divider}`,
- ...(selected === value
- ? { borderColor: `${color}.main` }
- : { '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` } })
- }}
- >
- {icon ? <Icon icon={icon} {...iconProps} /> : null}
- {title ? (
- typeof title === 'string' ? (
- <Typography sx={{ fontWeight: 500, ...(content ? { mb: 1 } : { my: 'auto' }) }}>{title}</Typography>
- ) : (
- title
- )
- ) : null}
- {content ? (
- typeof content === 'string' ? (
- <Typography variant='body2' sx={{ my: 'auto', textAlign: 'center' }}>
- {content}
- </Typography>
- ) : (
- content
- )
- ) : null}
- <Radio
- name={name}
- size='small'
- color={color}
- value={value}
- onChange={handleChange}
- checked={selected === value}
- sx={{ mb: -2, ...(!icon && !title && !content && { mt: -2 }) }}
- />
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomRadioIcons
diff --git a/web/src/@core/components/custom-radio/image/index.js b/web/src/@core/components/custom-radio/image/index.js
deleted file mode 100644
index 35fa9c014d..0000000000
--- a/web/src/@core/components/custom-radio/image/index.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import Grid from '@mui/material/Grid'
-import Radio from '@mui/material/Radio'
-
-const CustomRadioImg = props => {
- const { name, data, selected, gridProps, handleChange, color = 'primary' } = props
- const { alt, img, value } = data
-
- const renderComponent = () => {
- return (
- <Grid item {...gridProps}>
- <Box
- onClick={() => handleChange(value)}
- sx={{
- height: '100%',
- display: 'flex',
- borderRadius: 1,
- cursor: 'pointer',
- overflow: 'hidden',
- position: 'relative',
- alignItems: 'center',
- flexDirection: 'column',
- justifyContent: 'center',
- border: theme => `2px solid ${theme.palette.divider}`,
- ...(selected === value
- ? { borderColor: `${color}.main` }
- : { '&:hover': { borderColor: theme => `rgba(${theme.palette.customColors.main}, 0.25)` } }),
- '& img': {
- width: '100%',
- height: '100%',
- objectFit: 'cover'
- }
- }}
- >
- {typeof img === 'string' ? <img src={img} alt={alt ?? `radio-image-${value}`} /> : img}
- <Radio
- name={name}
- size='small'
- value={value}
- onChange={handleChange}
- checked={selected === value}
- sx={{ zIndex: -1, position: 'absolute', visibility: 'hidden' }}
- />
- </Box>
- </Grid>
- )
- }
-
- return data ? renderComponent() : null
-}
-
-export default CustomRadioImg
diff --git a/web/src/@core/components/mui/avatar/index.js b/web/src/@core/components/mui/avatar/index.js
deleted file mode 100644
index ebb81af3be..0000000000
--- a/web/src/@core/components/mui/avatar/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { forwardRef } from 'react'
-
-import MuiAvatar from '@mui/material/Avatar'
-import { lighten, useTheme } from '@mui/material/styles'
-
-import useBgColor from 'src/@core/hooks/useBgColor'
-
-const Avatar = forwardRef((props, ref) => {
- const { sx, src, skin, color } = props
-
- const theme = useTheme()
- const bgColors = useBgColor()
-
- const getAvatarStyles = (skin, skinColor) => {
- let avatarStyles
- if (skin === 'light') {
- avatarStyles = { ...bgColors[`${skinColor}Light`] }
- } else if (skin === 'light-static') {
- avatarStyles = {
- color: bgColors[`${skinColor}Light`].color,
- backgroundColor: lighten(theme.palette[skinColor].main, 0.88)
- }
- } else {
- avatarStyles = { ...bgColors[`${skinColor}Filled`] }
- }
-
- return avatarStyles
- }
-
- const colors = {
- primary: getAvatarStyles(skin, 'primary'),
- secondary: getAvatarStyles(skin, 'secondary'),
- success: getAvatarStyles(skin, 'success'),
- error: getAvatarStyles(skin, 'error'),
- warning: getAvatarStyles(skin, 'warning'),
- info: getAvatarStyles(skin, 'info')
- }
-
- return <MuiAvatar ref={ref} {...props} sx={!src && skin && color ? Object.assign(colors[color], sx) : sx} />
-})
-Avatar.defaultProps = {
- skin: 'filled',
- color: 'primary'
-}
-
-export default Avatar
diff --git a/web/src/@core/components/mui/badge/index.js b/web/src/@core/components/mui/badge/index.js
deleted file mode 100644
index cead04519b..0000000000
--- a/web/src/@core/components/mui/badge/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import MuiBadge from '@mui/material/Badge'
-
-import useBgColor from 'src/@core/hooks/useBgColor'
-
-const Badge = props => {
- const { sx, skin, color } = props
-
- const bgColors = useBgColor()
-
- const colors = {
- primary: { ...bgColors.primaryLight },
- secondary: { ...bgColors.secondaryLight },
- success: { ...bgColors.successLight },
- error: { ...bgColors.errorLight },
- warning: { ...bgColors.warningLight },
- info: { ...bgColors.infoLight }
- }
-
- return (
- <MuiBadge
- {...props}
- sx={skin === 'light' && color ? Object.assign({ '& .MuiBadge-badge': colors[color] }, sx) : sx}
- />
- )
-}
-
-export default Badge
diff --git a/web/src/@core/components/mui/chip/index.js b/web/src/@core/components/mui/chip/index.js
deleted file mode 100644
index e324b8a1c0..0000000000
--- a/web/src/@core/components/mui/chip/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import MuiChip from '@mui/material/Chip'
-
-import clsx from 'clsx'
-
-import useBgColor from 'src/@core/hooks/useBgColor'
-
-const Chip = props => {
- const { sx, skin, color, rounded } = props
-
- const bgColors = useBgColor()
-
- const colors = {
- primary: { ...bgColors.primaryLight },
- secondary: { ...bgColors.secondaryLight },
- success: { ...bgColors.successLight },
- error: { ...bgColors.errorLight },
- warning: { ...bgColors.warningLight },
- info: { ...bgColors.infoLight }
- }
- const propsToPass = { ...props }
- propsToPass.rounded = undefined
-
- return (
- <MuiChip
- {...propsToPass}
- variant='filled'
- className={clsx({
- 'MuiChip-rounded': rounded,
- 'MuiChip-light': skin === 'light'
- })}
- sx={skin === 'light' && color ? Object.assign(colors[color], sx) : sx}
- />
- )
-}
-
-export default Chip
diff --git a/web/src/@core/components/page-header/index.js b/web/src/@core/components/page-header/index.js
deleted file mode 100644
index f1014bca70..0000000000
--- a/web/src/@core/components/page-header/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Grid from '@mui/material/Grid'
-
-const PageHeader = props => {
- const { title, subtitle } = props
-
- return (
- <Grid item xs={12}>
- {title}
- {subtitle || null}
- </Grid>
- )
-}
-
-export default PageHeader
diff --git a/web/src/@core/context/settingsContext.js b/web/src/@core/context/settingsContext.js
deleted file mode 100644
index d70d092ea5..0000000000
--- a/web/src/@core/context/settingsContext.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { createContext, useState, useEffect } from 'react'
-
-import themeConfig from 'src/configs/themeConfig'
-
-const initialSettings = {
- themeColor: 'primary',
- mode: themeConfig.mode,
- skin: 'default',
- footer: 'static',
- layout: themeConfig.layout,
- lastLayout: themeConfig.layout,
- direction: 'ltr',
- navHidden: true,
- navCollapsed: themeConfig.navCollapsed,
- contentWidth: 'boxed',
- toastPosition: 'top-right',
- verticalNavToggleType: 'accordion',
- appBar: 'fixed'
-}
-
-const staticSettings = {
- appBar: initialSettings.appBar,
- footer: initialSettings.footer,
- layout: initialSettings.layout,
- navHidden: initialSettings.navHidden,
- lastLayout: initialSettings.lastLayout,
- toastPosition: initialSettings.toastPosition
-}
-
-const restoreSettings = () => {
- let settings = null
- try {
- const storedData = window.localStorage.getItem('settings')
- if (storedData) {
- settings = { ...JSON.parse(storedData), ...staticSettings }
- } else {
- settings = initialSettings
- }
- } catch (err) {
- console.error(err)
- }
-
- return settings
-}
-
-const storeSettings = settings => {
- const initSettings = Object.assign({}, settings)
- delete initSettings.appBar
- delete initSettings.footer
- delete initSettings.layout
- delete initSettings.navHidden
- delete initSettings.lastLayout
- delete initSettings.toastPosition
- window.localStorage.setItem('settings', JSON.stringify(initSettings))
-}
-
-export const SettingsContext = createContext({
- saveSettings: () => null,
- settings: initialSettings
-})
-
-export const SettingsProvider = ({ children, pageSettings }) => {
- const [settings, setSettings] = useState({ ...initialSettings })
- useEffect(() => {
- const restoredSettings = restoreSettings()
- if (restoredSettings) {
- setSettings({ ...restoredSettings })
- }
- if (pageSettings) {
- setSettings({ ...settings, ...pageSettings })
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [pageSettings])
- useEffect(() => {
- if (settings.layout === 'horizontal' && settings.mode === 'semi-dark') {
- saveSettings({ ...settings, mode: 'light' })
- }
- if (settings.layout === 'horizontal' && settings.appBar === 'hidden') {
- saveSettings({ ...settings, appBar: 'fixed' })
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [settings.layout])
-
- const saveSettings = updatedSettings => {
- storeSettings(updatedSettings)
- setSettings(updatedSettings)
- }
-
- return <SettingsContext.Provider value={{ settings, saveSettings }}>{children}</SettingsContext.Provider>
-}
-
-export const SettingsConsumer = SettingsContext.Consumer
diff --git a/web/src/@core/enums/apiEnum.js b/web/src/@core/enums/apiEnum.js
deleted file mode 100644
index 2cb3b50b4f..0000000000
--- a/web/src/@core/enums/apiEnum.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export const MetalakesApiEnum = {
- GET: '/api/metalakes',
- CREATE: '/api/metalakes',
- DELETE: '/api/metalakes',
- UPDATE: '/api/metalakes'
-}
-
-export const VersionApiEnum = {
- GET: '/api/version'
-}
diff --git a/web/src/@core/enums/httpEnum.js b/web/src/@core/enums/httpEnum.js
deleted file mode 100644
index 2620860f5b..0000000000
--- a/web/src/@core/enums/httpEnum.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-/**
- * @description: Request result set
- */
-export const ResultEnum = {
- SUCCESS: 0,
- ERROR: 1,
- TIMEOUT: 401,
- TYPE: 'success'
-}
-
-/**
- * @description: request method
- */
-export const RequestEnum = {
- GET: 'GET',
- POST: 'POST',
- PUT: 'PUT',
- DELETE: 'DELETE'
-}
-
-/**
- * @description: contentType
- */
-export const ContentTypeEnum = {
- // ** json
- JSON: 'application/json;charset=UTF-8',
-
- // ** form-data qs
- FORM_URLENCODED: 'application/x-www-form-urlencoded;charset=UTF-8',
-
- // ** form-data upload
- FORM_DATA: 'multipart/form-data;charset=UTF-8'
-}
diff --git a/web/src/@core/hooks/useBgColor.js b/web/src/@core/hooks/useBgColor.js
deleted file mode 100644
index c303f937d9..0000000000
--- a/web/src/@core/hooks/useBgColor.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useTheme } from '@mui/material/styles'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const UseBgColor = () => {
- const theme = useTheme()
-
- return {
- primaryFilled: {
- color: theme.palette.primary.contrastText,
- backgroundColor: theme.palette.primary.main
- },
- primaryLight: {
- color: theme.palette.primary.main,
- backgroundColor: hexToRGBA(theme.palette.primary.main, 0.16)
- },
- secondaryFilled: {
- color: theme.palette.secondary.contrastText,
- backgroundColor: theme.palette.secondary.main
- },
- secondaryLight: {
- color: theme.palette.secondary.main,
- backgroundColor: hexToRGBA(theme.palette.secondary.main, 0.16)
- },
- successFilled: {
- color: theme.palette.success.contrastText,
- backgroundColor: theme.palette.success.main
- },
- successLight: {
- color: theme.palette.success.main,
- backgroundColor: hexToRGBA(theme.palette.success.main, 0.16)
- },
- errorFilled: {
- color: theme.palette.error.contrastText,
- backgroundColor: theme.palette.error.main
- },
- errorLight: {
- color: theme.palette.error.main,
- backgroundColor: hexToRGBA(theme.palette.error.main, 0.16)
- },
- warningFilled: {
- color: theme.palette.warning.contrastText,
- backgroundColor: theme.palette.warning.main
- },
- warningLight: {
- color: theme.palette.warning.main,
- backgroundColor: hexToRGBA(theme.palette.warning.main, 0.16)
- },
- infoFilled: {
- color: theme.palette.info.contrastText,
- backgroundColor: theme.palette.info.main
- },
- infoLight: {
- color: theme.palette.info.main,
- backgroundColor: hexToRGBA(theme.palette.info.main, 0.16)
- }
- }
-}
-
-export default UseBgColor
diff --git a/web/src/@core/hooks/useSettings.js b/web/src/@core/hooks/useSettings.js
deleted file mode 100644
index f5de522aaf..0000000000
--- a/web/src/@core/hooks/useSettings.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useContext } from 'react'
-import { SettingsContext } from 'src/@core/context/settingsContext'
-
-export const useSettings = () => useContext(SettingsContext)
diff --git a/web/src/@core/layouts/BlankLayout.js b/web/src/@core/layouts/BlankLayout.js
deleted file mode 100644
index 3a5d97d822..0000000000
--- a/web/src/@core/layouts/BlankLayout.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { styled } from '@mui/material/styles'
-import Box from '@mui/material/Box'
-
-const BlankLayoutWrapper = styled(Box)(({ theme }) => ({
- height: '100vh',
-
- '& .content-center': {
- display: 'flex',
- minHeight: '100vh',
- alignItems: 'center',
- justifyContent: 'center',
- padding: theme.spacing(5)
- },
-
- '& .content-right': {
- display: 'flex',
- overflow: 'hidden',
- minHeight: '100vh',
- position: 'relative'
- }
-}))
-
-const BlankLayout = ({ children }) => {
- return (
- <BlankLayoutWrapper className='layout-wrapper'>
- <Box className='app-content' sx={{ overflow: 'hidden', minHeight: '100vh', position: 'relative' }}>
- {children}
- </Box>
- </BlankLayoutWrapper>
- )
-}
-
-export default BlankLayout
diff --git a/web/src/@core/layouts/HorizontalLayout.js b/web/src/@core/layouts/HorizontalLayout.js
deleted file mode 100644
index ed4d20605a..0000000000
--- a/web/src/@core/layouts/HorizontalLayout.js
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Fab from '@mui/material/Fab'
-import AppBar from '@mui/material/AppBar'
-import { styled } from '@mui/material/styles'
-import Box from '@mui/material/Box'
-import MuiToolbar from '@mui/material/Toolbar'
-
-import Icon from 'src/@core/components/icon'
-
-import Footer from './components/shared-components/footer'
-import Navigation from './components/horizontal/navigation'
-import ScrollToTop from 'src/@core/components/scroll-to-top'
-import AppBarContent from './components/horizontal/app-bar-content'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const HorizontalLayoutWrapper = styled('div')({
- height: '100%',
- display: 'flex',
- overflow: 'clip'
-})
-
-const MainContentWrapper = styled(Box)({
- flexGrow: 1,
- minWidth: 0,
- display: 'flex',
- minHeight: '100vh',
- flexDirection: 'column'
-})
-
-const Toolbar = styled(MuiToolbar)(({ theme }) => ({
- width: '100%',
- padding: `${theme.spacing(0, 6)} !important`,
- [theme.breakpoints.down('sm')]: {
- paddingLeft: theme.spacing(2),
- paddingRight: theme.spacing(4)
- },
- [theme.breakpoints.down('xs')]: {
- paddingLeft: theme.spacing(2),
- paddingRight: theme.spacing(2)
- }
-}))
-
-const ContentWrapper = styled('main')(({ theme }) => ({
- flexGrow: 1,
- width: '100%',
- padding: theme.spacing(6),
- transition: 'padding .25s ease-in-out',
- [theme.breakpoints.down('sm')]: {
- paddingLeft: theme.spacing(4),
- paddingRight: theme.spacing(4)
- }
-}))
-
-const HorizontalLayout = props => {
- const {
- hidden,
- children,
- settings,
- scrollToTop,
- footerProps,
- saveSettings,
- contentHeightFixed,
- horizontalLayoutProps
- } = props
-
- const appBarProps = horizontalLayoutProps?.appBar?.componentProps
- const userNavMenuContent = horizontalLayoutProps?.navMenu?.content
- const { skin, appBar, navHidden, contentWidth } = settings
- let userAppBarStyle = {}
- if (appBarProps && appBarProps.sx) {
- userAppBarStyle = appBarProps.sx
- }
- const userAppBarProps = Object.assign({}, appBarProps)
- delete userAppBarProps.sx
-
- return (
- <HorizontalLayoutWrapper className='layout-wrapper'>
- <MainContentWrapper className='layout-content-wrapper' sx={{ ...(contentHeightFixed && { maxHeight: '100vh' }) }}>
- <AppBar
- color='default'
- elevation={skin === 'bordered' ? 0 : 6}
- className='layout-navbar-and-nav-container'
- position={appBar === 'fixed' ? 'sticky' : 'static'}
- sx={{
- alignItems: 'center',
- color: 'text.primary',
- justifyContent: 'center',
- ...(appBar === 'static' && { zIndex: 13 }),
- transition: 'border-bottom 0.2s ease-in-out',
- ...(appBar === 'fixed' && { backdropFilter: 'saturate(200%) blur(6px)' }),
- backgroundColor: theme => hexToRGBA(theme.palette.background.paper, 0.95),
- ...(skin === 'bordered' && { borderBottom: theme => `1px solid ${theme.palette.divider}` }),
- ...userAppBarStyle
- }}
- {...userAppBarProps}
- >
- <Box
- className='layout-navbar'
- sx={{
- width: '100%',
- ...(navHidden ? {} : { borderBottom: theme => `1px solid ${theme.palette.divider}` })
- }}
- >
- <Toolbar
- className='navbar-content-container'
- sx={{
- mx: 'auto',
- ...(contentWidth === 'boxed' && { '@media (min-width:1440px)': { maxWidth: 1440 } }),
- minHeight: theme => `${theme.mixins.toolbar.minHeight - 1}px !important`
- }}
- >
- <AppBarContent
- {...props}
- hidden={hidden}
- settings={settings}
- saveSettings={saveSettings}
- appBarContent={horizontalLayoutProps?.appBar?.content}
- appBarBranding={horizontalLayoutProps?.appBar?.branding}
- />
- </Toolbar>
- </Box>
-
- {navHidden ? null : (
- <Box className='layout-horizontal-nav' sx={{ width: '100%', ...horizontalLayoutProps?.navMenu?.sx }}>
- <Toolbar
- className='horizontal-nav-content-container'
- sx={{
- mx: 'auto',
- ...(contentWidth === 'boxed' && { '@media (min-width:1440px)': { maxWidth: 1440 } }),
- minHeight: theme =>
- `${theme.mixins.toolbar.minHeight - 4 - (skin === 'bordered' ? 1 : 0)}px !important`
- }}
- >
- {(userNavMenuContent && userNavMenuContent(props)) || (
- <Navigation {...props} horizontalNavItems={horizontalLayoutProps.navMenu?.navItems} />
- )}
- </Toolbar>
- </Box>
- )}
- </AppBar>
-
- <ContentWrapper
- className='layout-page-content'
- sx={{
- ...(contentHeightFixed && { display: 'flex', overflow: 'hidden' }),
- ...(contentWidth === 'boxed' && {
- mx: 'auto',
- '@media (min-width:1440px)': { maxWidth: 1440 },
- '@media (min-width:1200px)': { maxWidth: '100%' }
- })
- }}
- >
- {children}
- </ContentWrapper>
-
- <Footer {...props} footerStyles={footerProps?.sx} footerContent={footerProps?.content} />
-
- {scrollToTop ? (
- scrollToTop(props)
- ) : (
- <ScrollToTop className='mui-fixed'>
- <Fab color='primary' size='small' aria-label='scroll back to top'>
- <Icon icon='bx:up-arrow-alt' />
- </Fab>
- </ScrollToTop>
- )}
- </MainContentWrapper>
- </HorizontalLayoutWrapper>
- )
-}
-
-export default HorizontalLayout
diff --git a/web/src/@core/layouts/Layout.js b/web/src/@core/layouts/Layout.js
deleted file mode 100644
index cd09b989b3..0000000000
--- a/web/src/@core/layouts/Layout.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useEffect, useRef } from 'react'
-
-import HorizontalLayout from './HorizontalLayout'
-
-const Layout = props => {
- const { hidden, children, settings, saveSettings } = props
-
- const isCollapsed = useRef(settings.navCollapsed)
- useEffect(() => {
- if (hidden) {
- if (settings.navCollapsed) {
- saveSettings({ ...settings, navCollapsed: false, layout: 'vertical' })
- isCollapsed.current = true
- }
- } else {
- if (isCollapsed.current) {
- saveSettings({ ...settings, navCollapsed: true, layout: settings.lastLayout })
- isCollapsed.current = false
- } else {
- if (settings.lastLayout !== settings.layout) {
- saveSettings({ ...settings, layout: settings.lastLayout })
- }
- }
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [hidden])
-
- return <HorizontalLayout {...props}>{children}</HorizontalLayout>
-}
-
-export default Layout
diff --git a/web/src/@core/layouts/components/horizontal/app-bar-content/index.js b/web/src/@core/layouts/components/horizontal/app-bar-content/index.js
deleted file mode 100644
index 3f3b61604b..0000000000
--- a/web/src/@core/layouts/components/horizontal/app-bar-content/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Link from 'next/link'
-
-import Box from '@mui/material/Box'
-import Typography from '@mui/material/Typography'
-import { styled } from '@mui/material/styles'
-
-import themeConfig from 'src/configs/themeConfig'
-
-const LinkStyled = styled(Link)(({ theme }) => ({
- display: 'flex',
- alignItems: 'center',
- textDecoration: 'none',
- marginRight: theme.spacing(8)
-}))
-
-const AppBarContent = props => {
- const { appBarContent: userAppBarContent, appBarBranding: userAppBarBranding } = props
-
- return (
- <Box sx={{ width: '100%', display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
- {userAppBarBranding ? (
- userAppBarBranding(props)
- ) : (
- <LinkStyled href='/'>
- <Typography
- variant='h5'
- className='logoText'
- sx={{
- ml: 2,
- lineHeight: 1,
- fontWeight: 700,
- letterSpacing: '-0.45px',
- textTransform: 'none',
- fontSize: '1.75rem !important'
- }}
- >
- {themeConfig.templateName}
- </Typography>
- </LinkStyled>
- )}
- {userAppBarContent ? userAppBarContent(props) : null}
- </Box>
- )
-}
-
-export default AppBarContent
diff --git a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavGroup.js b/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavGroup.js
deleted file mode 100644
index fdf44b203b..0000000000
--- a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavGroup.js
+++ /dev/null
@@ -1,238 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useState, useEffect, Fragment } from 'react'
-
-import { useRouter } from 'next/router'
-
-import Box from '@mui/material/Box'
-import Chip from '@mui/material/Chip'
-import Fade from '@mui/material/Fade'
-import List from '@mui/material/List'
-import Paper from '@mui/material/Paper'
-import Typography from '@mui/material/Typography'
-import ListItemIcon from '@mui/material/ListItemIcon'
-import { styled, useTheme } from '@mui/material/styles'
-import MuiListItem from '@mui/material/ListItem'
-
-import clsx from 'clsx'
-import { usePopper } from 'react-popper'
-
-import Icon from 'src/@core/components/icon'
-
-import themeConfig from 'src/configs/themeConfig'
-
-import HorizontalNavItems from './HorizontalNavItems'
-import UserIcon from 'src/layouts/components/UserIcon'
-import Translations from 'src/layouts/components/Translations'
-
-import useBgColor from 'src/@core/hooks/useBgColor'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-import { hasActiveChild } from 'src/@core/layouts/utils'
-
-const ListItem = styled(MuiListItem)(({ theme }) => ({
- cursor: 'pointer',
- paddingRight: theme.spacing(3),
- '&:hover': {
- background: theme.palette.action.hover
- }
-}))
-
-const NavigationMenu = styled(Paper)(({ theme }) => ({
- overflowY: 'auto',
- padding: theme.spacing(1.25, 0),
- maxHeight: 'calc(100vh - 13rem)',
- backgroundColor: theme.palette.background.paper,
- ...{ width: 250 },
- '&::-webkit-scrollbar': {
- width: 6
- },
- '&::-webkit-scrollbar-thumb': {
- borderRadius: 20,
- background: hexToRGBA(theme.palette.mode === 'light' ? '#B0ACB5' : '#575468', 0.6)
- },
- '&::-webkit-scrollbar-track': {
- borderRadius: 20,
- background: 'transparent'
- },
- '& .MuiList-root': {
- paddingTop: 0,
- paddingBottom: 0
- },
- '& .menu-group.Mui-selected': {
- backgroundColor: theme.palette.action.hover,
- '& .MuiTypography-root, & svg': {
- color: theme.palette.text.primary
- }
- }
-}))
-
-const HorizontalNavGroup = props => {
- const { item, hasParent, settings } = props
-
- const theme = useTheme()
- const router = useRouter()
- const currentURL = router.asPath
- const { mode, skin } = settings
- const bgColors = useBgColor()
- const { navSubItemIcon } = themeConfig
- const popperOffsetHorizontal = -16
- const popperPlacement = 'bottom-start'
- const popperPlacementSubMenu = 'right-start'
-
- const [menuOpen, setMenuOpen] = useState(false)
- const [popperElement, setPopperElement] = useState(null)
- const [anchorEl, setAnchorEl] = useState(null)
- const [referenceElement, setReferenceElement] = useState(null)
-
- const { styles, attributes, update } = usePopper(referenceElement, popperElement, {
- placement: hasParent ? popperPlacementSubMenu : popperPlacement,
- modifiers: [
- {
- enabled: true,
- name: 'offset',
- options: {
- offset: hasParent ? [-8, 6] : [popperOffsetHorizontal, 1]
- }
- },
- {
- enabled: true,
- name: 'flip'
- }
- ]
- })
-
- const handleGroupOpen = event => {
- setAnchorEl(event.currentTarget)
- setMenuOpen(true)
- update ? update() : null
- }
-
- const handleGroupClose = () => {
- setAnchorEl(null)
- setMenuOpen(false)
- }
-
- useEffect(() => {
- handleGroupClose()
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [router.asPath])
- const icon = item.icon ? item.icon : navSubItemIcon
- const toggleIcon = 'bx:chevron-right'
-
- const childMenuGroupStyles = () => {
- if (attributes && attributes.popper) {
- if (attributes.popper['data-popper-placement'] === 'right-start') {
- return 'left'
- }
- if (attributes.popper['data-popper-placement'] === 'left-start') {
- return 'right'
- }
- }
- }
-
- return (
- <div {...{ onMouseLeave: handleGroupClose }}>
- <Fragment>
- <List component='div' sx={{ py: skin === 'bordered' ? 2.375 : 2.5 }}>
- <ListItem
- aria-haspopup='true'
- {...{ onMouseEnter: handleGroupOpen }}
- className={clsx('menu-group', { 'Mui-selected': hasActiveChild(item, currentURL) })}
- sx={{
- ...(menuOpen ? { backgroundColor: 'action.hover' } : {}),
- ...(!hasParent
- ? {
- borderRadius: 1,
- '&.Mui-selected': {
- backgroundColor: mode === 'light' ? bgColors.primaryLight.backgroundColor : 'primary.main',
- '& .MuiTypography-root, & svg': { color: mode === 'light' ? 'primary.main' : 'common.white' }
- }
- }
- : { py: 2.5 })
- }}
- >
- <Box
- sx={{
- gap: 2,
- width: '100%',
- display: 'flex',
- flexDirection: 'row',
- alignItems: 'center',
- justifyContent: 'space-between'
- }}
- ref={setReferenceElement}
- >
- <Box
- sx={{
- display: 'flex',
- alignItems: 'center',
- flexDirection: 'row',
- overflow: 'hidden'
- }}
- >
- <ListItemIcon
- sx={{
- mr: 2,
- ...(icon === navSubItemIcon && { color: 'text.disabled' }),
- ...(menuOpen && { color: icon === navSubItemIcon ? 'text.secondary' : 'text.primary' })
- }}
- >
- <UserIcon icon={icon} fontSize={icon === navSubItemIcon ? '0.4375rem' : '1.375rem'} />
- </ListItemIcon>
- <Typography noWrap sx={{ ...(!menuOpen && { color: 'text.secondary' }) }}>
- <Translations text={item.title} />
- </Typography>
- </Box>
- <Box sx={{ display: 'flex', alignItems: 'center', color: menuOpen ? 'text.primary' : 'text.secondary' }}>
- {item.badgeContent ? (
- <Chip
- label={item.badgeContent}
- color={item.badgeColor || 'primary'}
- sx={{
- mr: 1.5,
- height: 20,
- fontWeight: 500,
- '& .MuiChip-label': { px: 1.5, textTransform: 'capitalize' }
- }}
- />
- ) : null}
- <Icon fontSize='1.25rem' icon={hasParent ? toggleIcon : 'bx:chevron-down'} />
- </Box>
- </Box>
- </ListItem>
- <Fade {...{ in: menuOpen, timeout: { exit: 300, enter: 400 } }}>
- <Box
- style={styles.popper}
- ref={setPopperElement}
- {...attributes.popper}
- sx={{
- zIndex: theme.zIndex.appBar,
- display: menuOpen ? 'block' : 'none',
- pl: childMenuGroupStyles() === 'left' ? (skin === 'bordered' ? 1.5 : 1.25) : 0,
- pr: childMenuGroupStyles() === 'right' ? (skin === 'bordered' ? 1.5 : 1.25) : 0,
- ...(hasParent ? { position: 'fixed !important' } : { pt: skin === 'bordered' ? 5.25 : 5.5 })
- }}
- >
- <NavigationMenu
- sx={{
- ...(hasParent ? { overflowY: 'auto', overflowX: 'visible', maxHeight: 'calc(100vh - 21rem)' } : {}),
- ...(skin === 'bordered'
- ? { boxShadow: 0, border: `1px solid ${theme.palette.divider}` }
- : { boxShadow: 4 })
- }}
- >
- <HorizontalNavItems {...props} hasParent horizontalNavItems={item.children} />
- </NavigationMenu>
- </Box>
- </Fade>
- </List>
- </Fragment>
- </div>
- )
-}
-
-export default HorizontalNavGroup
diff --git a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavItems.js b/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavItems.js
deleted file mode 100644
index 784ea9a4ed..0000000000
--- a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavItems.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import HorizontalNavLink from './HorizontalNavLink'
-
-const resolveComponent = item => {
- return HorizontalNavLink
-}
-
-const HorizontalNavItems = props => {
- const RenderMenuItems = props.horizontalNavItems?.map((item, index) => {
- const TagName = resolveComponent(item)
-
- return <TagName {...props} key={index} item={item} />
- })
-
- return <>{RenderMenuItems}</>
-}
-
-export default HorizontalNavItems
diff --git a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavLink.js b/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavLink.js
deleted file mode 100644
index 7f49e154d3..0000000000
--- a/web/src/@core/layouts/components/horizontal/navigation/HorizontalNavLink.js
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { Fragment } from 'react'
-
-import Link from 'next/link'
-import { useRouter } from 'next/router'
-
-import Box from '@mui/material/Box'
-import Chip from '@mui/material/Chip'
-import List from '@mui/material/List'
-import { styled } from '@mui/material/styles'
-import Typography from '@mui/material/Typography'
-import ListItemIcon from '@mui/material/ListItemIcon'
-import MuiListItem from '@mui/material/ListItem'
-
-import clsx from 'clsx'
-
-import themeConfig from 'src/configs/themeConfig'
-
-import UserIcon from 'src/layouts/components/UserIcon'
-import Translations from 'src/layouts/components/Translations'
-
-import useBgColor from 'src/@core/hooks/useBgColor'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-import { handleURLQueries } from 'src/@core/layouts/utils'
-
-const ListItem = styled(MuiListItem)(({ theme }) => ({
- width: 'auto',
- color: theme.palette.text.primary,
- '&:hover': {
- backgroundColor: theme.palette.action.hover
- },
- '&:focus-visible': {
- outline: 0,
- backgroundColor: theme.palette.action.focus
- }
-}))
-
-const HorizontalNavLink = props => {
- const { item, settings, hasParent } = props
-
- const router = useRouter()
- const { skin, mode } = settings
- const bgColors = useBgColor()
- const { navSubItemIcon } = themeConfig
- const icon = item.icon ? item.icon : navSubItemIcon
- const Wrapper = !hasParent ? List : Fragment
-
- const isNavLinkActive = () => {
- if (router.pathname === item.path || handleURLQueries(router, item.path)) {
- return true
- } else {
- return false
- }
- }
-
- return (
- <Wrapper {...(!hasParent ? { component: 'div', sx: { py: skin === 'bordered' ? 2.375 : 2.5 } } : {})}>
- <ListItem
- component={Link}
- disabled={item.disabled}
- {...(item.disabled && { tabIndex: -1 })}
- className={clsx({ active: isNavLinkActive() })}
- target={item.openInNewTab ? '_blank' : undefined}
- href={item.path === undefined ? '/' : `${item.path}`}
- onClick={e => {
- if (item.path === undefined) {
- e.preventDefault()
- e.stopPropagation()
- }
- }}
- sx={{
- ...(item.disabled ? { pointerEvents: 'none' } : { cursor: 'pointer' }),
- ...(!hasParent
- ? {
- borderRadius: 1,
- '&.active': {
- backgroundColor: mode === 'light' ? bgColors.primaryLight.backgroundColor : 'primary.main',
- '&:focus-visible': {
- backgroundColor: theme =>
- mode === 'light' ? hexToRGBA(theme.palette.primary.main, 0.24) : 'primary.dark'
- },
- '& .MuiTypography-root': {
- color: mode === 'light' ? 'primary.main' : 'common.white'
- }
- }
- }
- : { py: 2.5 })
- }}
- >
- <Box sx={{ gap: 2, width: '100%', display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
- <Box
- sx={{
- display: 'flex',
- alignItems: 'center',
- overflow: 'hidden',
- ...(hasParent && isNavLinkActive() && { pl: 1.5, ml: -1.5 })
- }}
- >
- <ListItemIcon
- sx={{
- mr: icon === navSubItemIcon ? 2.5 : 2,
- '& svg': { transition: 'transform .25s ease-in-out' },
- ...(icon === navSubItemIcon && { color: 'text.disabled' }),
- ...(isNavLinkActive() && {
- color: 'primary.main',
- ...(hasParent &&
- icon === navSubItemIcon && {
- '& svg': {
- transform: 'scale(1.35)',
- filter: theme => `drop-shadow(0 0 2px ${theme.palette.primary.main})`
- }
- })
- })
- }}
- >
- <UserIcon icon={icon} fontSize={icon === navSubItemIcon ? '0.4375rem' : '1.375rem'} />
- </ListItemIcon>
- <Typography
- noWrap
- sx={{ ...(isNavLinkActive() ? hasParent && { fontWeight: 600 } : { color: 'text.secondary' }) }}
- >
- <Translations text={item.title} />
- </Typography>
- </Box>
- {item.badgeContent ? (
- <Chip
- label={item.badgeContent}
- color={item.badgeColor || 'primary'}
- sx={{
- height: 20,
- fontWeight: 500,
- '& .MuiChip-label': { px: 1.5, textTransform: 'capitalize' }
- }}
- />
- ) : null}
- </Box>
- </ListItem>
- </Wrapper>
- )
-}
-
-export default HorizontalNavLink
diff --git a/web/src/@core/layouts/components/horizontal/navigation/index.js b/web/src/@core/layouts/components/horizontal/navigation/index.js
deleted file mode 100644
index b11453ef6e..0000000000
--- a/web/src/@core/layouts/components/horizontal/navigation/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-
-import HorizontalNavItems from './HorizontalNavItems'
-
-const Navigation = props => {
- return (
- <Box
- className='menu-content'
- sx={{
- display: 'flex',
- flexWrap: 'wrap',
- alignItems: 'center',
- '& > *': {
- '&:not(:last-child)': { mr: 0.5 },
- maxWidth: 200
- }
- }}
- >
- <HorizontalNavItems {...props} />
- </Box>
- )
-}
-
-export default Navigation
diff --git a/web/src/@core/layouts/components/shared-components/footer/FooterContent.js b/web/src/@core/layouts/components/shared-components/footer/FooterContent.js
deleted file mode 100644
index 82c837aa71..0000000000
--- a/web/src/@core/layouts/components/shared-components/footer/FooterContent.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Link from 'next/link'
-
-import Box from '@mui/material/Box'
-import { styled } from '@mui/material/styles'
-import Typography from '@mui/material/Typography'
-import useMediaQuery from '@mui/material/useMediaQuery'
-
-const LinkStyled = styled(Link)(({ theme }) => ({
- textDecoration: 'none',
- color: theme.palette.primary.main
-}))
-
-const FooterContent = () => {
- const hidden = useMediaQuery(theme => theme.breakpoints.down('md'))
-
- return (
- <Box sx={{ display: 'flex', flexWrap: 'wrap', alignItems: 'center', justifyContent: 'space-between' }}>
- <Typography sx={{ mr: 2 }}>
- {`© ${new Date().getFullYear()} `}
-
- <LinkStyled target='_blank' href='https://datastrato.ai/'>
- Datastrato
- </LinkStyled>
- </Typography>
- {hidden ? null : (
- <Box sx={{ display: 'flex', flexWrap: 'wrap', alignItems: 'center', '& :not(:last-child)': { mr: 4 } }}>
- <LinkStyled target='_blank' href='https://github.com/datastrato/gravitino/blob/main/LICENSE'>
- License
- </LinkStyled>
- <LinkStyled target='_blank' href='https://datastrato.ai/docs/'>
- Documentation
- </LinkStyled>
- <LinkStyled target='_blank' href='https://github.com/datastrato/gravitino/issues'>
- Support
- </LinkStyled>
- </Box>
- )}
- </Box>
- )
-}
-
-export default FooterContent
diff --git a/web/src/@core/layouts/components/shared-components/footer/index.js b/web/src/@core/layouts/components/shared-components/footer/index.js
deleted file mode 100644
index 9ffe6f8a83..0000000000
--- a/web/src/@core/layouts/components/shared-components/footer/index.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-
-import FooterContent from './FooterContent'
-
-const Footer = props => {
- const { settings, footerStyles, footerContent: userFooterContent } = props
-
- const { skin, layout, footer, contentWidth } = settings
- if (footer === 'hidden') {
- return null
- }
-
- return (
- <Box
- component='footer'
- className='layout-footer'
- sx={{
- zIndex: 10,
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- ...(footer === 'fixed' && {
- bottom: 0,
- position: 'sticky',
- ...(layout === 'vertical'
- ? { px: [4, 6] }
- : {
- backgroundColor: theme => theme.palette.background.paper,
- ...(skin === 'bordered'
- ? { borderTop: theme => `1px solid ${theme.palette.divider}` }
- : { boxShadow: 6 })
- })
- }),
- ...footerStyles
- }}
- >
- <Box
- className='footer-content-container'
- sx={{
- px: 6,
- width: '100%',
- py: theme => theme.spacing(footer === 'fixed' && skin === 'bordered' ? 2.875 : 3),
- ...(contentWidth === 'boxed' && { '@media (min-width:1440px)': { maxWidth: 1440 } }),
- ...(layout === 'vertical' && {
- borderTopLeftRadius: 8,
- borderTopRightRadius: 8,
- ...(footer === 'fixed' && { backgroundColor: theme => theme.palette.background.paper })
- }),
- ...(footer === 'fixed' && {
- ...(contentWidth === 'boxed' &&
- layout === 'vertical' && {
- '@media (min-width:1440px)': { maxWidth: theme => `calc(1440px - ${theme.spacing(6)} * 2)` }
- }),
- ...(layout === 'vertical' && {
- ...(skin === 'bordered'
- ? { border: theme => `1px solid ${theme.palette.divider}`, borderBottomWidth: 0 }
- : { boxShadow: 6 })
- })
- })
- }}
- >
- {userFooterContent ? userFooterContent(props) : <FooterContent />}
- </Box>
- </Box>
- )
-}
-
-export default Footer
diff --git a/web/src/@core/layouts/utils.js b/web/src/@core/layouts/utils.js
deleted file mode 100644
index 93e6f66f84..0000000000
--- a/web/src/@core/layouts/utils.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export const handleURLQueries = (router, path) => {
- if (Object.keys(router.query).length && path) {
- const arr = Object.keys(router.query)
-
- return router.asPath.includes(path) && router.asPath.includes(router.query[arr[0]]) && path !== '/'
- }
-
- return false
-}
-
-export const hasActiveChild = (item, currentURL) => {
- const { children } = item
- if (!children) {
- return false
- }
- for (const child of children) {
- if (child.children) {
- if (hasActiveChild(child, currentURL)) {
- return true
- }
- }
- const childPath = child.path
-
- if (
- child &&
- childPath &&
- currentURL &&
- (childPath === currentURL || (currentURL.includes(childPath) && childPath !== '/'))
- ) {
- return true
- }
- }
-
- return false
-}
-
-export const removeChildren = (children, openGroup, currentActiveGroup) => {
- children.forEach(child => {
- if (!currentActiveGroup.includes(child.title)) {
- const index = openGroup.indexOf(child.title)
- if (index > -1) openGroup.splice(index, 1)
-
- // @ts-ignore
- if (child.children) removeChildren(child.children, openGroup, currentActiveGroup)
- }
- })
-}
diff --git a/web/src/@core/styles/libs/react-hot-toast/index.js b/web/src/@core/styles/libs/react-hot-toast/index.js
deleted file mode 100644
index 54f2b12fdb..0000000000
--- a/web/src/@core/styles/libs/react-hot-toast/index.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { styled } from '@mui/material/styles'
-import Box from '@mui/material/Box'
-import useMediaQuery from '@mui/material/useMediaQuery'
-
-import { useSettings } from 'src/@core/hooks/useSettings'
-
-const ReactHotToast = styled(Box)(({ theme }) => {
- const { settings } = useSettings()
- const { layout, navHidden } = settings
-
- return {
- '& > div': {
- left: `${theme.spacing(6)} !important`,
- right: `${theme.spacing(6)} !important`,
- bottom: `${theme.spacing(6)} !important`,
- top: layout === 'horizontal' && !navHidden ? '139px !important' : '75px !important',
- zIndex: useMediaQuery(theme.breakpoints.down('lg'))
- ? `${theme.zIndex.drawer - 1} !important`
- : `${theme.zIndex.drawer + 1} !important`
- },
- '& .react-hot-toast': {
- fontWeight: 500,
- fontSize: '1rem',
- letterSpacing: '0.14px',
- color: theme.palette.text.primary,
- borderRadius: theme.shape.borderRadius,
- background: theme.palette.background.paper,
- boxShadow:
- theme.palette.mode === 'light'
- ? '0px 4px 10px -4px rgba(50, 71, 92, 0.6)'
- : '0px 8px 16px -4px rgba(31, 31, 45, 0.75)',
- '&>:first-of-type:not([role])>:first-of-type': {
- width: 14,
- height: 14
- }
- }
- }
-})
-
-export default ReactHotToast
diff --git a/web/src/@core/theme/ThemeComponent.js b/web/src/@core/theme/ThemeComponent.js
deleted file mode 100644
index 92e154b329..0000000000
--- a/web/src/@core/theme/ThemeComponent.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import CssBaseline from '@mui/material/CssBaseline'
-import GlobalStyles from '@mui/material/GlobalStyles'
-import { ThemeProvider, createTheme, responsiveFontSizes } from '@mui/material/styles'
-
-import themeOptions from './ThemeOptions'
-
-import GlobalStyling from './globalStyles'
-
-const ThemeComponent = props => {
- const { settings, children } = props
-
- let theme = responsiveFontSizes(createTheme(themeOptions(settings, 'light')))
-
- return (
- <ThemeProvider theme={theme}>
- <CssBaseline />
- <GlobalStyles styles={() => GlobalStyling(theme)} />
- {children}
- </ThemeProvider>
- )
-}
-
-export default ThemeComponent
diff --git a/web/src/@core/theme/ThemeOptions.js b/web/src/@core/theme/ThemeOptions.js
deleted file mode 100644
index 910e366e51..0000000000
--- a/web/src/@core/theme/ThemeOptions.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { deepmerge } from '@mui/utils'
-
-import palette from './palette'
-import spacing from './spacing'
-import shadows from './shadows'
-import overrides from './overrides'
-import typography from './typography'
-import breakpoints from './breakpoints'
-
-const themeOptions = (settings, overrideMode) => {
- const { mode, direction, themeColor } = settings
-
- const mergedThemeConfig = deepmerge({
- breakpoints: breakpoints(),
- direction,
- components: overrides(settings),
- palette: palette(mode === 'semi-dark' ? overrideMode : mode, settings),
- ...spacing,
- shape: {
- borderRadius: 6
- },
- mixins: {
- toolbar: {
- minHeight: 64
- }
- },
- shadows: shadows(mode === 'semi-dark' ? overrideMode : mode),
- typography
- })
-
- return deepmerge(mergedThemeConfig, {
- palette: {
- primary: {
- ...(mergedThemeConfig.palette
- ? mergedThemeConfig.palette[themeColor]
- : palette(mode === 'semi-dark' ? overrideMode : mode, settings).primary)
- }
- }
- })
-}
-
-export default themeOptions
diff --git a/web/src/@core/theme/breakpoints/index.js b/web/src/@core/theme/breakpoints/index.js
deleted file mode 100644
index 8ecf68f14d..0000000000
--- a/web/src/@core/theme/breakpoints/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const breakpoints = () => ({
- values: {
- xs: 0,
- sm: 600,
- md: 900,
- lg: 1200,
- xl: 1536
- }
-})
-
-export default breakpoints
diff --git a/web/src/@core/theme/globalStyles.js b/web/src/@core/theme/globalStyles.js
deleted file mode 100644
index cb8e816bcc..0000000000
--- a/web/src/@core/theme/globalStyles.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useSettings } from 'src/@core/hooks/useSettings'
-
-const GlobalStyles = theme => {
- const { settings } = useSettings()
- const { mode } = settings
-
- const perfectScrollbarThumbBgColor = () => {
- if (mode === 'light') {
- return 'rgba(86, 106, 127, 0.25) !important'
- } else {
- return 'rgba(203, 203, 226, 0.4) !important'
- }
- }
-
- return {
- '.demo-space-x > *': {
- marginTop: '1rem !important',
- marginRight: '1rem !important',
- 'body[dir="rtl"] &': {
- marginRight: '0 !important',
- marginLeft: '1rem !important'
- }
- },
- '.demo-space-y > *:not(:last-of-type)': {
- marginBottom: '1rem'
- },
- '.MuiGrid-container.match-height .MuiCard-root': {
- height: '100%'
- },
- '.ps__rail-y': {
- zIndex: 1,
- width: 12,
- right: '0 !important',
- left: 'auto !important',
- '&:hover, &:focus, &.ps--clicking': {
- backgroundColor:
- theme.palette.mode === 'light'
- ? 'rgba(86, 106, 127, 0.1) !important'
- : 'rgba(203, 203, 226, 0.15) !important',
- '& .ps__thumb-y': {
- width: 8
- }
- },
- '& .ps__thumb-y': {
- left: 'auto !important',
- backgroundColor:
- theme.palette.mode === 'light' ? 'rgba(86, 106, 127, 0.25) !important' : 'rgba(203, 203, 226, 0.4) !important'
- },
- '.layout-vertical-nav &': {
- '& .ps__thumb-y': {
- width: 2,
- right: 4,
- backgroundColor: perfectScrollbarThumbBgColor()
- },
- '&:hover, &:focus, &.ps--clicking': {
- backgroundColor: 'transparent !important',
- '& .ps__thumb-y': {
- width: 6
- }
- }
- }
- },
- '#nprogress': {
- pointerEvents: 'none',
- '& .bar': {
- left: 0,
- top: 0,
- height: 3,
- width: '100%',
- zIndex: 2000,
- position: 'fixed',
- backgroundColor: theme.palette.primary.main
- }
- }
- }
-}
-
-export default GlobalStyles
diff --git a/web/src/@core/theme/overrides/accordion.js b/web/src/@core/theme/overrides/accordion.js
deleted file mode 100644
index fd93862168..0000000000
--- a/web/src/@core/theme/overrides/accordion.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useSettings } from 'src/@core/hooks/useSettings'
-
-const Accordion = () => {
- const { settings } = useSettings()
- const { skin } = settings
-
- return {
- MuiAccordion: {
- styleOverrides: {
- root: ({ ownerState, theme }) => ({
- margin: theme.spacing(2.5, 0),
- '&:before': { display: 'none' },
- borderRadius: theme.shape.borderRadius,
- transition: 'box-shadow .35s ease, margin .35s ease',
- boxShadow: theme.shadows[skin === 'bordered' ? 0 : 3],
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` }),
- ...(ownerState.disabled === true && {
- backgroundColor: `rgba(${theme.palette.customColors.main}, 0.12)`
- }),
- ...(ownerState.expanded === true && {
- margin: theme.spacing(2.5, 0),
- boxShadow: theme.shadows[skin === 'bordered' ? 0 : 4]
- }),
- '& .MuiCollapse-root': {
- minHeight: 'unset !important',
- transition: 'height .35s ease !important',
- '&.MuiCollapse-entered': {
- height: 'auto !important'
- }
- }
- })
- }
- },
- MuiAccordionSummary: {
- styleOverrides: {
- root: ({ theme }) => ({
- fontWeight: 500,
- borderRadius: 'inherit',
- padding: `0 ${theme.spacing(4.5)}`,
- '& + .MuiCollapse-root': {
- '& .MuiAccordionDetails-root:first-of-type': {
- paddingTop: 0
- }
- },
- '&.Mui-expanded': {
- minHeight: 'unset',
- borderBottomLeftRadius: 0,
- borderBottomRightRadius: 0,
- '& .MuiAccordionSummary-content': {
- margin: theme.spacing(3, 0)
- }
- },
- '& .MuiTypography-root': {
- fontWeight: 500
- }
- }),
- content: ({ theme }) => ({
- margin: theme.spacing(3, 0)
- }),
- expandIconWrapper: ({ theme }) => ({
- color: theme.palette.text.primary
- })
- }
- },
- MuiAccordionDetails: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(5),
- '& + .MuiAccordionDetails-root': {
- paddingTop: 0
- }
- })
- }
- }
- }
-}
-
-export default Accordion
diff --git a/web/src/@core/theme/overrides/alerts.js b/web/src/@core/theme/overrides/alerts.js
deleted file mode 100644
index 39aa818c44..0000000000
--- a/web/src/@core/theme/overrides/alerts.js
+++ /dev/null
@@ -1,165 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Alert = () => {
- return {
- MuiAlert: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& .MuiAlertTitle-root': {
- fontWeight: 600,
- marginBottom: theme.spacing(1.6)
- },
- '& a': {
- fontWeight: 500,
- color: 'inherit'
- },
- '& .MuiAlert-icon': {
- marginRight: theme.spacing(3)
- },
- '&.MuiAlert-standard, &.MuiAlert-outlined, &.MuiAlert-filled': {
- '& .MuiAlert-icon': {
- opacity: 1,
- borderRadius: '50%',
- fontSize: '1.125rem',
- height: 'fit-content',
- padding: theme.spacing(1),
- marginTop: theme.spacing(1.25),
- color: theme.palette.common.white
- }
- },
- '& .MuiAlert-message': {
- fontSize: '1rem',
- padding: theme.spacing(1.75, 0)
- }
- }),
- standardSuccess: ({ theme }) => ({
- color: theme.palette.success.main,
- backgroundColor: hexToRGBA(theme.palette.success.main, 0.16),
- '& .MuiAlertTitle-root': {
- color: theme.palette.success.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.success.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.success.main, 0.24)}`
- }
- }),
- standardInfo: ({ theme }) => ({
- color: theme.palette.info.main,
- backgroundColor: hexToRGBA(theme.palette.info.main, 0.16),
- '& .MuiAlertTitle-root': {
- color: theme.palette.info.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.info.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.info.main, 0.24)}`
- }
- }),
- standardWarning: ({ theme }) => ({
- color: theme.palette.warning.main,
- backgroundColor: hexToRGBA(theme.palette.warning.main, 0.16),
- '& .MuiAlertTitle-root': {
- color: theme.palette.warning.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.warning.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.warning.main, 0.24)}`
- }
- }),
- standardError: ({ theme }) => ({
- color: theme.palette.error.main,
- backgroundColor: hexToRGBA(theme.palette.error.main, 0.16),
- '& .MuiAlertTitle-root': {
- color: theme.palette.error.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.error.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.error.main, 0.24)}`
- }
- }),
- outlinedSuccess: ({ theme }) => ({
- color: theme.palette.success.main,
- borderColor: theme.palette.success.main,
- '& .MuiAlertTitle-root': {
- color: theme.palette.success.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.success.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.success.main, 0.24)}`
- }
- }),
- outlinedInfo: ({ theme }) => ({
- color: theme.palette.info.main,
- borderColor: theme.palette.info.main,
- '& .MuiAlertTitle-root': {
- color: theme.palette.info.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.info.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.info.main, 0.24)}`
- }
- }),
- outlinedWarning: ({ theme }) => ({
- color: theme.palette.warning.main,
- borderColor: theme.palette.warning.main,
- '& .MuiAlertTitle-root': {
- color: theme.palette.warning.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.warning.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.warning.main, 0.24)}`
- }
- }),
- outlinedError: ({ theme }) => ({
- color: theme.palette.error.main,
- borderColor: theme.palette.error.main,
- '& .MuiAlertTitle-root': {
- color: theme.palette.error.main
- },
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.error.main,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.error.main, 0.24)}`
- }
- }),
- filledSuccess: ({ theme }) => ({
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.common.white,
- color: `${theme.palette.success.main} !important`,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.common.white, 0.24)}`
- }
- }),
- filledInfo: ({ theme }) => ({
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.common.white,
- color: `${theme.palette.info.main} !important`,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.common.white, 0.24)}`
- }
- }),
- filledWarning: ({ theme }) => ({
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.common.white,
- color: `${theme.palette.warning.main} !important`,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.common.white, 0.24)}`
- }
- }),
- filledError: ({ theme }) => ({
- '& .MuiAlert-icon': {
- backgroundColor: theme.palette.common.white,
- color: `${theme.palette.error.main} !important`,
- boxShadow: `0px 0px 0px 3px ${hexToRGBA(theme.palette.common.white, 0.24)}`
- }
- }),
- filled: ({ theme }) => ({
- fontWeight: 400,
- color: theme.palette.common.white
- })
- }
- }
- }
-}
-
-export default Alert
diff --git a/web/src/@core/theme/overrides/autocomplete.js b/web/src/@core/theme/overrides/autocomplete.js
deleted file mode 100644
index 3a1b9487ba..0000000000
--- a/web/src/@core/theme/overrides/autocomplete.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Autocomplete = skin => {
- const boxShadow = theme => {
- if (skin === 'bordered') {
- return theme.shadows[0]
- } else if (theme.palette.mode === 'light') {
- return theme.shadows[8]
- } else return theme.shadows[9]
- }
-
- return {
- MuiAutocomplete: {
- styleOverrides: {
- paper: ({ theme }) => ({
- boxShadow: boxShadow(theme),
- marginTop: theme.spacing(1),
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` })
- }),
- listbox: ({ theme }) => ({
- padding: theme.spacing(1.25, 0),
- '& .MuiAutocomplete-option': {
- padding: theme.spacing(2, 5),
- '&[aria-selected="true"]': {
- color: theme.palette.primary.main
- }
- }
- })
- }
- }
- }
-}
-
-export default Autocomplete
diff --git a/web/src/@core/theme/overrides/avatars.js b/web/src/@core/theme/overrides/avatars.js
deleted file mode 100644
index 637a7907ec..0000000000
--- a/web/src/@core/theme/overrides/avatars.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Avatar = () => {
- return {
- MuiAvatar: {
- styleOverrides: {
- colorDefault: ({ theme }) => ({
- color: theme.palette.text.secondary,
- backgroundColor: theme.palette.customColors.avatarBg
- }),
- rounded: {
- borderRadius: 5
- }
- }
- },
- MuiAvatarGroup: {
- styleOverrides: {
- root: ({ theme }) => ({
- '&.pull-up': {
- '& .MuiAvatar-root': {
- cursor: 'pointer',
- transition: 'box-shadow 0.2s ease, transform 0.2s ease',
- '&:hover': {
- zIndex: 2,
- boxShadow: theme.shadows[3],
- transform: 'translateY(-4px)'
- }
- }
- },
- justifyContent: 'flex-end',
- '.MuiCard-root & .MuiAvatar-root': {
- borderColor: theme.palette.background.paper
- }
- })
- }
- }
- }
-}
-
-export default Avatar
diff --git a/web/src/@core/theme/overrides/backdrop.js b/web/src/@core/theme/overrides/backdrop.js
deleted file mode 100644
index f0a4ad6cb7..0000000000
--- a/web/src/@core/theme/overrides/backdrop.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Backdrop = () => {
- return {
- MuiBackdrop: {
- styleOverrides: {
- root: ({ theme }) => ({
- backgroundColor:
- theme.palette.mode === 'light' ? `rgba(${theme.palette.customColors.main}, 0.5)` : 'rgba(14, 15, 36, 0.68)'
- }),
- invisible: {
- backgroundColor: 'transparent'
- }
- }
- }
- }
-}
-
-export default Backdrop
diff --git a/web/src/@core/theme/overrides/breadcrumbs.js b/web/src/@core/theme/overrides/breadcrumbs.js
deleted file mode 100644
index f347b0210b..0000000000
--- a/web/src/@core/theme/overrides/breadcrumbs.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Breadcrumbs = () => {
- return {
- MuiBreadcrumbs: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& a': {
- textDecoration: 'none',
- color: theme.palette.primary.main
- }
- }),
- li: ({ theme }) => ({
- color: theme.palette.text.secondary,
- '& .MuiTypography-root': {
- color: 'inherit'
- }
- })
- }
- }
- }
-}
-
-export default Breadcrumbs
diff --git a/web/src/@core/theme/overrides/button.js b/web/src/@core/theme/overrides/button.js
deleted file mode 100644
index 3b8ddc70eb..0000000000
--- a/web/src/@core/theme/overrides/button.js
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Button = () => {
- return {
- MuiButton: {
- styleOverrides: {
- root: ({ ownerState, theme }) => ({
- fontWeight: 500,
- lineHeight: '24px',
- letterSpacing: '0.3px',
- ...(ownerState.size === 'medium' &&
- ownerState.variant === 'text' && {
- padding: theme.spacing(1.75, 5)
- }),
- '&:not(.MuiButtonGroup-grouped)': {
- transition: 'all 0.2s ease-in-out',
- '&:hover': {
- transform: 'translateY(-1px)'
- }
- }
- }),
- contained: ({ theme }) => ({
- boxShadow: theme.shadows[3],
- padding: theme.spacing(1.75, 5)
- }),
- containedPrimary: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- }
- }),
- containedSecondary: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- }
- }),
- containedSuccess: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.success.main, 0.4)}`
- }
- }),
- containedError: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.error.main, 0.4)}`
- }
- }),
- containedWarning: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.warning.main, 0.4)}`
- }
- }),
- containedInfo: ({ theme }) => ({
- '&:not(.Mui-disabled), &.MuiButtonGroup-grouped:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.info.main, 0.4)}`
- }
- }),
- outlined: ({ theme }) => ({
- padding: theme.spacing(1.5, 4.75)
- }),
- sizeSmall: ({ theme, ownerState }) => ({
- borderRadius: 4,
- ...(ownerState.variant === 'text' && {
- padding: theme.spacing(1, 3.5)
- }),
- ...(ownerState.variant === 'contained' && {
- padding: theme.spacing(1, 3.5)
- }),
- ...(ownerState.variant === 'outlined' && {
- padding: theme.spacing(0.75, 3.25)
- })
- }),
- sizeLarge: ({ theme, ownerState }) => ({
- borderRadius: 8,
- ...(ownerState.variant === 'text' && {
- padding: theme.spacing(2, 6.5)
- }),
- ...(ownerState.variant === 'contained' && {
- padding: theme.spacing(2, 6.5)
- }),
- ...(ownerState.variant === 'outlined' && {
- padding: theme.spacing(1.75, 6.25)
- })
- })
- }
- },
- MuiButtonBase: {
- defaultProps: {
- disableRipple: false
- }
- },
- MuiFab: {
- styleOverrides: {
- root: ({ theme }) => ({
- '&.MuiFab-success:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.success.main, 0.4)}`
- },
- '&.Mui-error:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.error.main, 0.4)}`
- },
- '&.MuiFab-warning:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.warning.main, 0.4)}`
- },
- '&.MuiFab-info:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.info.main, 0.4)}`
- }
- }),
- primary: ({ theme }) => ({
- '&:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- }
- }),
- secondary: ({ theme }) => ({
- '&:not(.Mui-disabled)': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- }
- })
- }
- },
- MuiButtonGroup: {
- styleOverrides: {
- contained: ({ theme }) => ({
- boxShadow: 'none',
- '& .MuiButton-contained': {
- paddingLeft: theme.spacing(5),
- paddingRight: theme.spacing(5),
- '&.MuiButton-containedPrimary:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- },
- '&.MuiButton-containedSecondary:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- },
- '&.MuiButton-containedSuccess:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.success.main, 0.4)}`
- },
- '&.MuiButton-containedError:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.error.main, 0.4)}`
- },
- '&.MuiButton-containedWarning:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.warning.main, 0.4)}`
- },
- '&.MuiButton-containedInfo:hover': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.info.main, 0.4)}`
- }
- }
- })
- }
- }
- }
-}
-
-export default Button
diff --git a/web/src/@core/theme/overrides/card.js b/web/src/@core/theme/overrides/card.js
deleted file mode 100644
index d398aea980..0000000000
--- a/web/src/@core/theme/overrides/card.js
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Card = skin => {
- return {
- MuiCard: {
- styleOverrides: {
- root: ({ theme }) => ({
- borderRadius: 8,
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` }),
- '& .card-more-options': {
- marginTop: theme.spacing(-1),
- marginRight: theme.spacing(-3)
- },
- '& .MuiTableContainer-root, & .MuiDataGrid-root, & .MuiDataGrid-columnHeaders': {
- borderRadius: 0
- }
- })
- },
- defaultProps: {
- elevation: skin === 'bordered' ? 0 : 6
- }
- },
- MuiCardHeader: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6),
- '& + .MuiCardContent-root, & + .MuiCardActions-root, & + .MuiCollapse-root .MuiCardContent-root': {
- paddingTop: 0
- },
- '& .MuiCardHeader-subheader': {
- fontSize: '0.875rem',
- marginTop: theme.spacing(1.25),
- color: theme.palette.text.secondary
- }
- }),
- title: {
- lineHeight: 1.6,
- fontWeight: 500,
- fontSize: '1.125rem',
- letterSpacing: '0.15px',
- '@media (min-width: 600px)': {
- fontSize: '1.25rem'
- }
- },
- action: {
- marginTop: 0,
- marginRight: 0
- }
- }
- },
- MuiCardContent: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6),
- '& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root': {
- paddingTop: 0
- },
- '&:last-of-type': {
- paddingBottom: theme.spacing(6)
- }
- })
- }
- },
- MuiCardActions: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6),
- '& .MuiButton-text': {
- paddingLeft: theme.spacing(3),
- paddingRight: theme.spacing(3)
- },
- '&.card-action-dense': {
- padding: theme.spacing(0, 3, 3),
- '.MuiCard-root .MuiCardMedia-root + &': {
- paddingTop: theme.spacing(3)
- }
- },
- '.MuiCard-root &:first-of-type': {
- paddingTop: theme.spacing(3),
- '& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root': {
- paddingTop: 0
- }
- }
- })
- }
- }
- }
-}
-
-export default Card
diff --git a/web/src/@core/theme/overrides/checkbox.js b/web/src/@core/theme/overrides/checkbox.js
deleted file mode 100644
index 4295639dba..0000000000
--- a/web/src/@core/theme/overrides/checkbox.js
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useTheme } from '@mui/material/styles'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const CheckedIcon = () => {
- const theme = useTheme()
-
- return (
- <svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>
- <path
- fill={theme.palette.primary.main}
- d='M17.5514 3H6.75137C4.76314 3 3.15137 4.61177 3.15137 6.6V17.4C3.15137 19.3882 4.76314 21 6.75137 21H17.5514C19.5396 21 21.1514 19.3882 21.1514 17.4V6.6C21.1514 4.61177 19.5396 3 17.5514 3Z'
- />
- <path
- strokeWidth='0.3'
- fill={theme.palette.common.white}
- stroke={theme.palette.common.white}
- d='M8.63616 11.5663L8.53426 11.472L8.43235 11.5663L7.54946 12.3837L7.43057 12.4938L7.54946 12.6039L10.4885 15.3248L10.5904 15.4191L10.6923 15.3248L16.7533 9.71358L16.8722 9.60351L16.7533 9.49344L15.8704 8.67606L15.7685 8.58172L15.6666 8.67606L10.5904 13.3756L8.63616 11.5663Z'
- />
- </svg>
- )
-}
-
-const Icon = () => {
- const theme = useTheme()
-
- return (
- <svg
- width='24'
- height='24'
- fill='none'
- viewBox='0 0 24 24'
- xmlns='http://www.w3.org/2000/svg'
- stroke={theme.palette.text.disabled}
- >
- <path d='M17.2105 3.5H6.78947C4.69661 3.5 3 5.19661 3 7.28947V17.7105C3 19.8034 4.69661 21.5 6.78947 21.5H17.2105C19.3034 21.5 21 19.8034 21 17.7105V7.28947C21 5.19661 19.3034 3.5 17.2105 3.5Z' />
- </svg>
- )
-}
-
-const IndeterminateIcon = () => {
- const theme = useTheme()
-
- return (
- <svg
- width='24'
- height='24'
- viewBox='0 0 24 24'
- fill={theme.palette.primary.main}
- xmlns='http://www.w3.org/2000/svg'
- >
- <path
- fillRule='evenodd'
- clipRule='evenodd'
- d='M6.6 3.5H17.4C19.3882 3.5 21 5.11177 21 7.1V17.9C21 19.8882 19.3882 21.5 17.4 21.5H6.6C4.61177 21.5 3 19.8882 3 17.9V7.1C3 5.11177 4.61177 3.5 6.6 3.5ZM16.5 11.8569H7.5V13.1426H16.5V11.8569Z'
- />
- </svg>
- )
-}
-
-const Checkbox = () => {
- return {
- MuiCheckbox: {
- defaultProps: {
- icon: <Icon />,
- checkedIcon: <CheckedIcon />,
- indeterminateIcon: <IndeterminateIcon />
- },
- styleOverrides: {
- root: ({ theme }) => ({
- '&.Mui-checked': {
- '& svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.primary.main, 0.4)})`
- },
- '&.Mui-disabled': {
- '& svg': {
- filter: 'none',
- '& path:first-of-type': {
- fill: theme.palette.action.disabled
- },
- '& path:last-of-type': {
- fill: theme.palette.background.paper,
- stroke: theme.palette.background.paper
- }
- }
- }
- },
- '&.Mui-disabled:not(.Mui-checked) svg': {
- stroke: theme.palette.action.disabled
- },
- '&.Mui-checked.MuiCheckbox-colorSecondary svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.secondary.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.secondary.main}`
- }
- },
- '&.Mui-checked.MuiCheckbox-colorSuccess svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.success.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.success.main}`
- }
- },
- '&.Mui-checked.MuiCheckbox-colorError svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.error.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.error.main}`
- }
- },
- '&.Mui-checked.MuiCheckbox-colorWarning svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.warning.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.warning.main}`
- }
- },
- '&.Mui-checked.MuiCheckbox-colorInfo svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.info.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.info.main}`
- }
- }
- })
- }
- }
- }
-}
-
-export default Checkbox
diff --git a/web/src/@core/theme/overrides/chip.js b/web/src/@core/theme/overrides/chip.js
deleted file mode 100644
index 5fa188cf31..0000000000
--- a/web/src/@core/theme/overrides/chip.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Chip = () => {
- return {
- MuiChip: {
- styleOverrides: {
- root: {
- height: 28,
- '&.MuiChip-rounded': {
- borderRadius: 4
- }
- },
- sizeSmall: {
- height: 24
- },
- outlined: ({ theme }) => ({
- '&.MuiChip-colorDefault': {
- borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
- }
- }),
- deleteIcon: {
- width: 18,
- height: 18
- },
- avatar: ({ theme }) => ({
- width: 22,
- height: 22,
- color: theme.palette.text.primary
- }),
- label: ({ theme }) => ({
- textTransform: 'uppercase',
- padding: theme.spacing(0, 2.5)
- }),
- deletableColorPrimary: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.primary.main, 0.7),
- '&:hover': {
- color: theme.palette.primary.main
- }
- }
- }),
- deletableColorSecondary: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.secondary.main, 0.7),
- '&:hover': {
- color: theme.palette.secondary.main
- }
- }
- }),
- deletableColorSuccess: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.success.main, 0.7),
- '&:hover': {
- color: theme.palette.success.main
- }
- }
- }),
- deletableColorError: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.error.main, 0.7),
- '&:hover': {
- color: theme.palette.error.main
- }
- }
- }),
- deletableColorWarning: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.warning.main, 0.7),
- '&:hover': {
- color: theme.palette.warning.main
- }
- }
- }),
- deletableColorInfo: ({ theme }) => ({
- '&.MuiChip-light .MuiChip-deleteIcon': {
- color: hexToRGBA(theme.palette.info.main, 0.7),
- '&:hover': {
- color: theme.palette.info.main
- }
- }
- })
- }
- }
- }
-}
-
-export default Chip
diff --git a/web/src/@core/theme/overrides/dataGrid.js b/web/src/@core/theme/overrides/dataGrid.js
deleted file mode 100644
index 9fb7bbddcb..0000000000
--- a/web/src/@core/theme/overrides/dataGrid.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const DataGrid = () => {
- return {
- MuiDataGrid: {
- styleOverrides: {
- root: ({ theme }) => ({
- border: 0,
- color: theme.palette.text.primary,
- '& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within': {
- outline: 'none'
- }
- }),
- toolbarContainer: ({ theme }) => ({
- paddingRight: `${theme.spacing(5)} !important`,
- paddingLeft: `${theme.spacing(3.25)} !important`
- }),
- columnHeaders: ({ theme }) => ({
- borderTop: `1px solid ${theme.palette.divider}`
- }),
- columnHeader: ({ theme }) => ({
- '&:not(.MuiDataGrid-columnHeaderCheckbox)': {
- paddingLeft: theme.spacing(4),
- paddingRight: theme.spacing(4),
- '&:first-of-type': {
- paddingLeft: theme.spacing(5)
- }
- },
- '&:last-of-type': {
- paddingRight: theme.spacing(5)
- }
- }),
- columnHeaderCheckbox: {
- maxWidth: '58px !important',
- minWidth: '58px !important'
- },
- columnHeaderTitleContainer: {
- padding: 0
- },
- columnHeaderTitle: {
- fontWeight: 600,
- fontSize: '0.75rem',
- letterSpacing: '0.17px',
- textTransform: 'uppercase'
- },
- columnSeparator: ({ theme }) => ({
- color: theme.palette.divider
- }),
- row: {
- '&:last-child': {
- '& .MuiDataGrid-cell': {
- borderBottom: 0
- }
- }
- },
- cell: ({ theme }) => ({
- borderColor: theme.palette.divider,
- '&:not(.MuiDataGrid-cellCheckbox)': {
- paddingLeft: theme.spacing(4),
- paddingRight: theme.spacing(4),
- '&:first-of-type': {
- paddingLeft: theme.spacing(5)
- }
- },
- '&:last-of-type': {
- paddingRight: theme.spacing(5)
- },
- '&:focus, &:focus-within': {
- outline: 'none'
- }
- }),
- cellCheckbox: {
- maxWidth: '58px !important',
- minWidth: '58px !important'
- },
- editInputCell: ({ theme }) => ({
- padding: 0,
- color: theme.palette.text.primary,
- '& .MuiInputBase-input': {
- padding: 0
- }
- }),
- footerContainer: ({ theme }) => ({
- borderTop: `1px solid ${theme.palette.divider}`,
- '& .MuiTablePagination-toolbar': {
- paddingLeft: `${theme.spacing(4)} !important`,
- paddingRight: `${theme.spacing(4)} !important`
- },
- '& .MuiTablePagination-displayedRows, & .MuiTablePagination-selectLabel': {
- color: theme.palette.text.primary
- }
- }),
- selectedRowCount: ({ theme }) => ({
- margin: 0,
- paddingLeft: theme.spacing(4),
- paddingRight: theme.spacing(4)
- })
- }
- }
- }
-}
-
-export default DataGrid
diff --git a/web/src/@core/theme/overrides/dialog.js b/web/src/@core/theme/overrides/dialog.js
deleted file mode 100644
index ff363edfb4..0000000000
--- a/web/src/@core/theme/overrides/dialog.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Dialog = skin => {
- return {
- MuiDialog: {
- styleOverrides: {
- paper: ({ theme }) => ({
- boxShadow: theme.shadows[skin === 'bordered' ? 0 : 6],
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` }),
- '&:not(.MuiDialog-paperFullScreen)': {
- borderRadius: 8,
- [theme.breakpoints.down('sm')]: {
- margin: theme.spacing(4),
- width: `calc(100% - ${theme.spacing(8)})`,
- maxWidth: `calc(100% - ${theme.spacing(8)}) !important`
- }
- },
- '& > .MuiList-root': {
- paddingLeft: theme.spacing(1),
- paddingRight: theme.spacing(1)
- }
- })
- }
- },
- MuiDialogTitle: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6, 6, 1),
- '& + .MuiDialogContent-root': {
- paddingTop: `${theme.spacing(6)} !important`
- }
- })
- }
- },
- MuiDialogContent: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6),
- '& + .MuiDialogContent-root': {
- paddingTop: '0 !important'
- },
- '& + .MuiDialogActions-root': {
- paddingTop: '0 !important'
- }
- })
- }
- },
- MuiDialogActions: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(1, 6, 6),
- '&.dialog-actions-dense': {
- padding: theme.spacing(3),
- paddingTop: theme.spacing(1)
- }
- })
- }
- }
- }
-}
-
-export default Dialog
diff --git a/web/src/@core/theme/overrides/divider.js b/web/src/@core/theme/overrides/divider.js
deleted file mode 100644
index 776ec3aa14..0000000000
--- a/web/src/@core/theme/overrides/divider.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Divider = () => {
- return {
- MuiDivider: {
- styleOverrides: {
- root: ({ theme }) => ({
- '.MuiStack-root &:not(.MuiDivider-vertical)': {
- marginTop: theme.spacing(2),
- marginBottom: theme.spacing(2)
- }
- }),
- middle: ({ theme }) => ({
- '&:not(.MuiDivider-vertical)': {
- marginLeft: theme.spacing(5),
- marginRight: theme.spacing(5)
- },
- '&.MuiDivider-vertical': {
- marginTop: theme.spacing(2),
- marginBottom: theme.spacing(2)
- }
- })
- }
- }
- }
-}
-
-export default Divider
diff --git a/web/src/@core/theme/overrides/index.js b/web/src/@core/theme/overrides/index.js
deleted file mode 100644
index bf393c820d..0000000000
--- a/web/src/@core/theme/overrides/index.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import MuiCard from './card'
-import MuiChip from './chip'
-import MuiLink from './link'
-import MuiList from './list'
-import MuiMenu from './menu'
-import MuiTabs from './tabs'
-import MuiInput from './input'
-import MuiPaper from './paper'
-import MuiRadio from './radio'
-import MuiTable from './table'
-import MuiAlerts from './alerts'
-import MuiButton from './button'
-import MuiDialog from './dialog'
-import MuiRating from './rating'
-import MuiSelect from './select'
-import MuiSlider from './slider'
-import MuiAvatar from './avatars'
-import MuiDivider from './divider'
-import MuiPopover from './popover'
-import MuiTooltip from './tooltip'
-import MuiBackdrop from './backdrop'
-import MuiCheckbox from './checkbox'
-import MuiDataGrid from './dataGrid'
-import MuiProgress from './progress'
-import MuiSnackbar from './snackbar'
-import MuiSwitches from './switches'
-import MuiTimeline from './timeline'
-import MuiAccordion from './accordion'
-import MuiPagination from './pagination'
-import MuiTypography from './typography'
-import MuiBreadcrumb from './breadcrumbs'
-import MuiAutocomplete from './autocomplete'
-import MuiToggleButton from './toggleButton'
-
-const Overrides = settings => {
- const { skin } = settings
- const chip = MuiChip()
- const list = MuiList()
- const input = MuiInput()
- const radio = MuiRadio()
- const tables = MuiTable()
- const menu = MuiMenu(skin)
- const tabs = MuiTabs(skin)
- const alerts = MuiAlerts()
- const button = MuiButton()
- const rating = MuiRating()
- const slider = MuiSlider()
- const cards = MuiCard(skin)
- const avatars = MuiAvatar()
- const divider = MuiDivider()
- const tooltip = MuiTooltip()
- const dialog = MuiDialog(skin)
- const backdrop = MuiBackdrop()
- const checkbox = MuiCheckbox()
- const dataGrid = MuiDataGrid()
- const progress = MuiProgress()
- const switches = MuiSwitches()
- const timeline = MuiTimeline()
- const popover = MuiPopover(skin)
- const accordion = MuiAccordion()
- const snackbar = MuiSnackbar(skin)
- const breadcrumb = MuiBreadcrumb()
- const pagination = MuiPagination()
- const autocomplete = MuiAutocomplete(skin)
-
- return Object.assign(
- chip,
- list,
- menu,
- tabs,
- cards,
- input,
- radio,
- alerts,
- button,
- dialog,
- rating,
- slider,
- tables,
- avatars,
- divider,
- MuiLink,
- popover,
- tooltip,
- checkbox,
- backdrop,
- dataGrid,
- MuiPaper,
- progress,
- snackbar,
- switches,
- timeline,
- accordion,
- MuiSelect,
- breadcrumb,
- pagination,
- autocomplete,
- MuiTypography,
- MuiToggleButton
- )
-}
-
-export default Overrides
diff --git a/web/src/@core/theme/overrides/input.js b/web/src/@core/theme/overrides/input.js
deleted file mode 100644
index e9bdfb4e39..0000000000
--- a/web/src/@core/theme/overrides/input.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const input = () => {
- return {
- MuiInputLabel: {
- styleOverrides: {
- root: ({ theme }) => ({
- color: theme.palette.text.secondary
- })
- }
- },
- MuiInput: {
- styleOverrides: {
- root: ({ theme }) => ({
- '&:before': {
- borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
- },
- '&:hover:not(.Mui-disabled):before': {
- borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
- },
- '&.Mui-disabled:before': {
- borderBottomStyle: 'solid'
- }
- })
- }
- },
- MuiFilledInput: {
- styleOverrides: {
- root: ({ theme }) => ({
- backgroundColor: `rgba(${theme.palette.customColors.main}, 0.04)`,
- '&:hover:not(.Mui-disabled)': {
- backgroundColor: `rgba(${theme.palette.customColors.main}, 0.08)`
- },
- '&:before': {
- borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
- },
- '&:hover:not(.Mui-disabled):before': {
- borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
- }
- })
- }
- },
- MuiOutlinedInput: {
- styleOverrides: {
- root: ({ theme }) => ({
- '&:hover:not(.Mui-focused):not(.Mui-disabled):not(.Mui-error) .MuiOutlinedInput-notchedOutline': {
- borderColor: `rgba(${theme.palette.customColors.main}, 0.32)`
- },
- '&:hover.Mui-error .MuiOutlinedInput-notchedOutline': {
- borderColor: theme.palette.error.main
- },
- '&.Mui-error.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.error.main, 0.4)} !important`
- },
- '& .MuiOutlinedInput-notchedOutline': {
- borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
- },
- '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
- borderColor: theme.palette.text.disabled
- },
- '&.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- },
- '&.MuiInputBase-colorSuccess.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.success.main, 0.4)}`
- },
- '&.MuiInputBase-colorWarning.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.warning.main, 0.4)}`
- },
- '&.MuiInputBase-colorError.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.error.main, 0.4)}`
- },
- '&.MuiInputBase-colorInfo.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.info.main, 0.4)}`
- }
- }),
- colorSecondary: ({ theme }) => ({
- '&.Mui-focused': {
- boxShadow: `0 1px 3px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- }
- })
- }
- }
- }
-}
-
-export default input
diff --git a/web/src/@core/theme/overrides/link.js b/web/src/@core/theme/overrides/link.js
deleted file mode 100644
index c12920230a..0000000000
--- a/web/src/@core/theme/overrides/link.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export default {
- MuiLink: {
- styleOverrides: {
- root: {
- textDecoration: 'none'
- }
- }
- }
-}
diff --git a/web/src/@core/theme/overrides/list.js b/web/src/@core/theme/overrides/list.js
deleted file mode 100644
index f4b6635abf..0000000000
--- a/web/src/@core/theme/overrides/list.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const List = () => {
- return {
- MuiListItemIcon: {
- styleOverrides: {
- root: ({ theme }) => ({
- minWidth: '0 !important',
- marginRight: theme.spacing(2.25),
- color: theme.palette.text.secondary
- })
- }
- },
- MuiListItemAvatar: {
- styleOverrides: {
- root: ({ theme }) => ({
- minWidth: 0,
- marginRight: theme.spacing(4)
- })
- }
- },
- MuiListItemText: {
- styleOverrides: {
- dense: ({ theme }) => ({
- '& .MuiListItemText-primary': {
- color: theme.palette.text.primary
- }
- })
- }
- },
- MuiListSubheader: {
- styleOverrides: {
- root: ({ theme }) => ({
- fontWeight: 600,
- textTransform: 'uppercase',
- color: theme.palette.text.primary
- })
- }
- }
- }
-}
-
-export default List
diff --git a/web/src/@core/theme/overrides/menu.js b/web/src/@core/theme/overrides/menu.js
deleted file mode 100644
index 459b5ffd1c..0000000000
--- a/web/src/@core/theme/overrides/menu.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Menu = skin => {
- const boxShadow = theme => {
- if (skin === 'bordered') {
- return theme.shadows[0]
- } else if (theme.palette.mode === 'light') {
- return theme.shadows[8]
- } else return theme.shadows[9]
- }
-
- return {
- MuiMenu: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& .MuiMenu-paper': {
- boxShadow: boxShadow(theme),
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` })
- }
- }),
- list: ({ theme }) => ({
- padding: theme.spacing(1.25, 0)
- }),
- paper: ({ theme }) => ({
- marginTop: theme.spacing(1)
- })
- }
- },
- MuiMenuItem: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(2, 5),
- '&.Mui-selected': {
- color: theme.palette.primary.main
- }
- })
- }
- }
- }
-}
-
-export default Menu
diff --git a/web/src/@core/theme/overrides/pagination.js b/web/src/@core/theme/overrides/pagination.js
deleted file mode 100644
index b021b32669..0000000000
--- a/web/src/@core/theme/overrides/pagination.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Pagination = () => {
- return {
- MuiPaginationItem: {
- styleOverrides: {
- root: ({ theme }) => ({
- height: 35,
- minWidth: 35,
- margin: '0 2px',
- borderRadius: '50%',
- fontSize: '.9375rem',
- padding: theme.spacing(2.5, 2),
- '&.Mui-selected': {
- '&.MuiPaginationItem-textPrimary, &.MuiPaginationItem-outlinedPrimary': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- },
- '&.MuiPaginationItem-textSecondary, &.MuiPaginationItem-outlinedSecondary': {
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- }
- }
- }),
- rounded: {
- borderRadius: 4
- },
- outlined: ({ theme }) => ({
- borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
- }),
- outlinedPrimary: ({ theme }) => ({
- '&.Mui-selected': {
- color: `${theme.palette.primary.contrastText} !important`,
- backgroundColor: `${theme.palette.primary.main} !important`,
- '&:hover': {
- backgroundColor: `${theme.palette.primary.dark} !important`
- }
- }
- }),
- outlinedSecondary: ({ theme }) => ({
- '&.Mui-selected': {
- color: `${theme.palette.secondary.contrastText} !important`,
- backgroundColor: `${theme.palette.secondary.main} !important`,
- '&:hover': {
- backgroundColor: `${theme.palette.secondary.dark} !important`
- }
- }
- }),
- sizeSmall: ({ theme }) => ({
- height: 24,
- minWidth: 24,
- fontSize: '0.75rem',
- padding: theme.spacing(1.5, 1)
- }),
- sizeLarge: ({ theme }) => ({
- height: 46,
- minWidth: 46,
- lineHeight: 1.5,
- fontSize: '1rem',
- borderRadius: '50%',
- padding: theme.spacing(3.75, 2),
- '&.MuiPaginationItem-rounded': {
- borderRadius: 8
- }
- })
- }
- }
- }
-}
-
-export default Pagination
diff --git a/web/src/@core/theme/overrides/paper.js b/web/src/@core/theme/overrides/paper.js
deleted file mode 100644
index 7e1cf9856c..0000000000
--- a/web/src/@core/theme/overrides/paper.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export default {
- MuiPaper: {
- styleOverrides: {
- root: {
- backgroundImage: 'none'
- }
- }
- }
-}
diff --git a/web/src/@core/theme/overrides/popover.js b/web/src/@core/theme/overrides/popover.js
deleted file mode 100644
index e03ff99e81..0000000000
--- a/web/src/@core/theme/overrides/popover.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Popover = skin => {
- return {
- MuiPopover: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& .MuiPopover-paper': {
- boxShadow: theme.shadows[skin === 'bordered' ? 0 : 6],
- ...(skin === 'bordered' && { border: `1px solid ${theme.palette.divider}` })
- }
- })
- }
- }
- }
-}
-
-export default Popover
diff --git a/web/src/@core/theme/overrides/progress.js b/web/src/@core/theme/overrides/progress.js
deleted file mode 100644
index 07f7fe0f90..0000000000
--- a/web/src/@core/theme/overrides/progress.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Progress = () => {
- return {
- MuiLinearProgress: {
- styleOverrides: {
- root: ({ theme }) => ({
- height: 12,
- borderRadius: 10,
- backgroundColor: theme.palette.customColors.trackBg
- }),
- bar: {
- borderRadius: 10
- }
- }
- }
- }
-}
-
-export default Progress
diff --git a/web/src/@core/theme/overrides/radio.js b/web/src/@core/theme/overrides/radio.js
deleted file mode 100644
index 4af2de965d..0000000000
--- a/web/src/@core/theme/overrides/radio.js
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useTheme } from '@mui/material/styles'
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const CheckedIcon = () => {
- const theme = useTheme()
-
- return (
- <svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>
- <path
- fillRule='evenodd'
- clipRule='evenodd'
- fill={theme.palette.primary.main}
- d='M12 3C16.9705 3 21 7.02944 21 12C21 16.9705 16.9705 21 12 21C7.02944 21 3 16.9705 3 12C3 7.02944 7.02944 3 12 3Z'
- />
- <path
- fill={theme.palette.common.white}
- d='M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z'
- />
- </svg>
- )
-}
-
-const Icon = () => {
- const theme = useTheme()
-
- return (
- <svg
- width='24'
- height='24'
- viewBox='0 0 24 24'
- fill='none'
- xmlns='http://www.w3.org/2000/svg'
- stroke={theme.palette.text.disabled}
- >
- <path d='M12 3.5C16.6944 3.5 20.5 7.30558 20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5Z' />
- </svg>
- )
-}
-
-const Radio = () => {
- return {
- MuiRadio: {
- defaultProps: {
- icon: <Icon />,
- checkedIcon: <CheckedIcon />
- },
- styleOverrides: {
- root: ({ theme }) => ({
- '&:hover': {
- backgroundColor: 'transparent'
- },
- '&.Mui-checked': {
- '& svg': {
- fill: theme.palette.primary.main,
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.primary.main, 0.4)})`
- },
- '&.Mui-disabled svg': {
- opacity: 0.4,
- filter: 'none',
- '& path:first-of-type': {
- fill: theme.palette.text.disabled
- },
- '& path:last-of-type': {
- fill: theme.palette.common.white,
- stroke: theme.palette.common.white,
- opacity: theme.palette.mode === 'dark' ? 0.5 : 0.9
- }
- }
- },
- '&.Mui-disabled:not(.Mui-checked) svg': {
- opacity: 0.5
- },
- '&.Mui-checked.MuiRadio-colorSecondary svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.secondary.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.secondary.main}`
- }
- },
- '&.Mui-checked.MuiRadio-colorSuccess svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.success.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.success.main}`
- }
- },
- '&.Mui-checked.MuiRadio-colorError svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.error.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.error.main}`
- }
- },
- '&.Mui-checked.MuiRadio-colorWarning svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.warning.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.warning.main}`
- }
- },
- '&.Mui-checked.MuiRadio-colorInfo svg': {
- filter: `drop-shadow(0 2px 4px ${hexToRGBA(theme.palette.info.main, 0.4)})`,
- '& path:first-of-type': {
- fill: `${theme.palette.info.main}`
- }
- }
- })
- }
- }
- }
-}
-
-export default Radio
diff --git a/web/src/@core/theme/overrides/rating.js b/web/src/@core/theme/overrides/rating.js
deleted file mode 100644
index 95e6f304ba..0000000000
--- a/web/src/@core/theme/overrides/rating.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Rating = () => {
- return {
- MuiRating: {
- styleOverrides: {
- root: ({ theme }) => ({
- color: theme.palette.warning.main,
- '& svg': {
- flexShrink: 0
- }
- })
- }
- }
- }
-}
-
-export default Rating
diff --git a/web/src/@core/theme/overrides/select.js b/web/src/@core/theme/overrides/select.js
deleted file mode 100644
index 7fdda84bfc..0000000000
--- a/web/src/@core/theme/overrides/select.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export default {
- MuiSelect: {
- styleOverrides: {
- select: {
- minWidth: '6rem !important',
- '&.MuiTablePagination-select': {
- minWidth: '1.5rem !important'
- }
- }
- }
- }
-}
diff --git a/web/src/@core/theme/overrides/slider.js b/web/src/@core/theme/overrides/slider.js
deleted file mode 100644
index 72b446cf9a..0000000000
--- a/web/src/@core/theme/overrides/slider.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Slider = () => {
- return {
- MuiSlider: {
- styleOverrides: {
- root: {
- borderRadius: 8,
- '&:not(.MuiSlider-vertical)': {
- height: 6
- },
- '&.MuiSlider-vertical': {
- width: 6
- }
- },
- thumb: ({ theme }) => ({
- width: 14,
- height: 14,
- boxShadow: theme.shadows[3],
- '&:before': {
- border: `4px solid ${
- theme.palette.mode === 'dark' ? theme.palette.background.default : theme.palette.background.paper
- }`
- },
- '&:not(.Mui-active):after': {
- width: 30,
- height: 30
- },
- '&.Mui-active': {
- width: 18,
- height: 18,
- boxShadow: `0 0 0 10px ${hexToRGBA(theme.palette.primary.main, 0.16)}`,
- '&:before': {
- borderWidth: 5
- },
- '&:after': {
- width: 38,
- height: 38
- }
- }
- }),
- sizeSmall: ({ theme }) => ({
- '&:not(.MuiSlider-vertical)': {
- height: 4
- },
- '&.MuiSlider-vertical': {
- width: 4
- },
- '& .MuiSlider-thumb.Mui-focusVisible': {
- boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
- }
- }),
- thumbSizeSmall: ({ theme }) => ({
- width: 12,
- height: 12,
- '&:hover': {
- boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
- },
- '&:before': {
- boxShadow: theme.shadows[2]
- },
- '&:not(.Mui-active):after': {
- width: 24,
- height: 24
- },
- '&.Mui-active': {
- width: 14,
- height: 14,
- boxShadow: `0 0 0 8px ${hexToRGBA(theme.palette.primary.main, 0.16)} !important`,
- '&:before': {
- borderWidth: 4
- },
- '&:after': {
- width: 30,
- height: 30
- }
- }
- })
- }
- }
- }
-}
-
-export default Slider
diff --git a/web/src/@core/theme/overrides/snackbar.js b/web/src/@core/theme/overrides/snackbar.js
deleted file mode 100644
index 2a43cea480..0000000000
--- a/web/src/@core/theme/overrides/snackbar.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Snackbar = skin => {
- return {
- MuiSnackbarContent: {
- styleOverrides: {
- root: ({ theme }) => ({
- ...(skin === 'bordered' && { boxShadow: 'none' }),
- backgroundColor: `rgb(${theme.palette.customColors.main})`,
- color: theme.palette.common[theme.palette.mode === 'light' ? 'white' : 'black']
- })
- }
- }
- }
-}
-
-export default Snackbar
diff --git a/web/src/@core/theme/overrides/switches.js b/web/src/@core/theme/overrides/switches.js
deleted file mode 100644
index 472f59c5ac..0000000000
--- a/web/src/@core/theme/overrides/switches.js
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Switch = () => {
- return {
- MuiSwitch: {
- defaultProps: {
- disableRipple: true
- },
- styleOverrides: {
- root: ({ theme }) => ({
- width: 54,
- height: 42,
- '& .MuiSwitch-track': {
- width: 30,
- height: 18,
- opacity: 1,
- borderRadius: 30,
- backgroundColor: 'transparent',
- border: `1px solid ${theme.palette.text.disabled}`,
- transition: 'left .15s ease-in-out, transform .15s ease-in-out'
- }
- }),
- switchBase: ({ theme }) => ({
- top: 12,
- left: 12,
- padding: `${theme.spacing(0.75)} !important`,
- color: `rgba(${theme.palette.customColors.main}, 0.6)`,
- transition: 'left .15s ease-in-out, transform .15s ease-in-out',
- '&:hover': {
- backgroundColor: 'transparent !important'
- },
- '& .MuiSwitch-input': {
- left: '-50%',
- width: '250%'
- },
- '&.Mui-disabled': {
- opacity: 0.4,
- color: theme.palette.text.disabled,
- '& + .MuiSwitch-track': {
- opacity: 0.5
- },
- '&.Mui-checked': {
- opacity: theme.palette.mode === 'dark' ? 0.5 : 0.9,
- '& + .MuiSwitch-track': {
- opacity: 0.3,
- boxShadow: 'none'
- }
- }
- },
- '&.Mui-checked': {
- left: 4,
- color: `${theme.palette.common.white} !important`,
- '& .MuiSwitch-input': {
- left: '-100%'
- },
- '& + .MuiSwitch-track': {
- opacity: 1,
- borderColor: theme.palette.primary.main,
- backgroundColor: theme.palette.primary.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.primary.main, 0.4)}`
- },
- '&.MuiSwitch-colorSecondary + .MuiSwitch-track': {
- borderColor: theme.palette.secondary.main,
- backgroundColor: theme.palette.secondary.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.secondary.main, 0.4)}`
- },
- '&.MuiSwitch-colorSuccess + .MuiSwitch-track': {
- borderColor: theme.palette.success.main,
- backgroundColor: theme.palette.success.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.success.main, 0.4)}`
- },
- '&.MuiSwitch-colorError + .MuiSwitch-track': {
- borderColor: theme.palette.error.main,
- backgroundColor: theme.palette.error.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.error.main, 0.4)}`
- },
- '&.MuiSwitch-colorWarning + .MuiSwitch-track': {
- borderColor: theme.palette.warning.main,
- backgroundColor: theme.palette.warning.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.warning.main, 0.4)}`
- },
- '&.MuiSwitch-colorInfo + .MuiSwitch-track': {
- borderColor: theme.palette.info.main,
- backgroundColor: theme.palette.info.main,
- boxShadow: `0 2px 4px 0 ${hexToRGBA(theme.palette.info.main, 0.4)}`
- }
- }
- }),
- thumb: {
- width: 12,
- height: 12,
- boxShadow: 'none'
- },
- sizeSmall: {
- width: 38,
- height: 30,
- '& .MuiSwitch-track': {
- width: 24,
- height: 16
- },
- '& .MuiSwitch-thumb': {
- width: 10,
- height: 10
- },
- '& .MuiSwitch-switchBase': {
- top: 7,
- left: 7,
- '&.Mui-checked': {
- left: -1
- }
- }
- }
- }
- }
- }
-}
-
-export default Switch
diff --git a/web/src/@core/theme/overrides/table.js b/web/src/@core/theme/overrides/table.js
deleted file mode 100644
index e0eb27f9d7..0000000000
--- a/web/src/@core/theme/overrides/table.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Table = () => {
- return {
- MuiTableContainer: {
- styleOverrides: {
- root: ({ theme }) => ({
- boxShadow: theme.shadows[0],
- borderTopColor: theme.palette.divider
- })
- }
- },
- MuiTableHead: {
- styleOverrides: {
- root: {
- textTransform: 'uppercase',
- '& .MuiTableCell-head': {
- fontSize: '0.75rem',
- letterSpacing: '1px'
- }
- }
- }
- },
- MuiTableBody: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& .MuiTableCell-body': {
- letterSpacing: '0.25px',
- color: theme.palette.text.secondary,
- '&:not(.MuiTableCell-sizeSmall):not(.MuiTableCell-paddingCheckbox):not(.MuiTableCell-paddingNone)': {
- paddingTop: theme.spacing(3.5),
- paddingBottom: theme.spacing(3.5)
- }
- }
- })
- }
- },
- MuiTableRow: {
- styleOverrides: {
- root: ({ theme }) => ({
- '& .MuiTableCell-head:not(.MuiTableCell-paddingCheckbox):first-of-type, & .MuiTableCell-root:not(.MuiTableCell-paddingCheckbox):first-of-type ':
- {
- paddingLeft: theme.spacing(6)
- },
- '& .MuiTableCell-head:last-child, & .MuiTableCell-root:last-child': {
- paddingRight: theme.spacing(6)
- }
- })
- }
- },
- MuiTableCell: {
- styleOverrides: {
- root: ({ theme }) => ({
- borderBottom: `1px solid ${theme.palette.divider}`
- }),
- paddingCheckbox: ({ theme }) => ({
- paddingLeft: theme.spacing(3.25)
- }),
- stickyHeader: ({ theme }) => ({
- backgroundColor: theme.palette.customColors.tableHeaderBg
- })
- }
- }
- }
-}
-
-export default Table
diff --git a/web/src/@core/theme/overrides/tabs.js b/web/src/@core/theme/overrides/tabs.js
deleted file mode 100644
index 1d3922acdc..0000000000
--- a/web/src/@core/theme/overrides/tabs.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Tabs = skin => {
- return {
- MuiTabs: {
- styleOverrides: {
- vertical: {
- minWidth: 130,
- '& .MuiTab-root': {
- minWidth: 130
- }
- }
- }
- },
- MuiTab: {
- styleOverrides: {
- textColorSecondary: ({ theme }) => ({
- '&.Mui-selected': {
- color: theme.palette.text.secondary
- }
- })
- }
- },
- MuiTabPanel: {
- styleOverrides: {
- root: ({ theme }) => ({
- padding: theme.spacing(6),
- backgroundColor: theme.palette.background.paper,
- ...(skin === 'bordered' ? { border: `1px solid ${theme.palette.divider}` } : { boxShadow: theme.shadows[6] })
- })
- }
- }
- }
-}
-
-export default Tabs
diff --git a/web/src/@core/theme/overrides/timeline.js b/web/src/@core/theme/overrides/timeline.js
deleted file mode 100644
index 06693804e8..0000000000
--- a/web/src/@core/theme/overrides/timeline.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Timeline = () => {
- return {
- MuiTimelineItem: {
- styleOverrides: {
- root: ({ theme }) => ({
- '&:not(:last-of-type)': {
- '& .MuiTimelineContent-root': {
- marginBottom: theme.spacing(4)
- }
- }
- })
- }
- },
- MuiTimelineConnector: {
- styleOverrides: {
- root: ({ theme }) => ({
- backgroundColor: theme.palette.divider
- })
- }
- },
- MuiTimelineContent: {
- styleOverrides: {
- root: ({ theme }) => ({
- marginTop: theme.spacing(0.5)
- })
- }
- },
- MuiTimelineDot: {
- styleOverrides: {
- filledPrimary: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
- }),
- filledSecondary: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
- }),
- filledSuccess: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.success.main, 0.16)}`
- }),
- filledError: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.error.main, 0.16)}`
- }),
- filledWarning: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.warning.main, 0.16)}`
- }),
- filledInfo: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.info.main, 0.16)}`
- }),
- filledGrey: ({ theme }) => ({
- boxShadow: `0 0 0 4px ${hexToRGBA(theme.palette.grey[400], 0.16)}`
- }),
- outlinedPrimary: ({ theme }) => ({
- '& svg': { color: theme.palette.primary.main }
- }),
- outlinedSecondary: ({ theme }) => ({
- '& svg': { color: theme.palette.secondary.main }
- }),
- outlinedSuccess: ({ theme }) => ({
- '& svg': { color: theme.palette.success.main }
- }),
- outlinedError: ({ theme }) => ({
- '& svg': { color: theme.palette.error.main }
- }),
- outlinedWarning: ({ theme }) => ({
- '& svg': { color: theme.palette.warning.main }
- }),
- outlinedInfo: ({ theme }) => ({
- '& svg': { color: theme.palette.info.main }
- }),
- outlinedGrey: ({ theme }) => ({
- '& svg': { color: theme.palette.grey[400] }
- })
- }
- }
- }
-}
-
-export default Timeline
diff --git a/web/src/@core/theme/overrides/toggleButton.js b/web/src/@core/theme/overrides/toggleButton.js
deleted file mode 100644
index 7104387a56..0000000000
--- a/web/src/@core/theme/overrides/toggleButton.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export default {
- MuiToggleButtonGroup: {
- styleOverrides: {
- root: {
- borderRadius: 4
- }
- }
- },
- MuiToggleButton: {
- styleOverrides: {
- root: {
- borderRadius: 4
- }
- }
- }
-}
diff --git a/web/src/@core/theme/overrides/tooltip.js b/web/src/@core/theme/overrides/tooltip.js
deleted file mode 100644
index 7553688496..0000000000
--- a/web/src/@core/theme/overrides/tooltip.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { hexToRGBA } from 'src/@core/utils/hex-to-rgba'
-
-const Tooltip = () => {
- return {
- MuiTooltip: {
- defaultProps: {
- arrow: true
- },
- styleOverrides: {
- tooltip: ({ theme }) => ({
- fontWeight: 400,
- borderRadius: 4,
- fontSize: '0.875rem',
- padding: theme.spacing(1, 2.8),
- backgroundColor:
- theme.palette.mode === 'light'
- ? `rgba(${theme.palette.customColors.main}, 0.9)`
- : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
- }),
- arrow: ({ theme }) => ({
- color:
- theme.palette.mode === 'light'
- ? `rgba(${theme.palette.customColors.main}, 0.9)`
- : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
- })
- }
- }
- }
-}
-
-export default Tooltip
diff --git a/web/src/@core/theme/overrides/typography.js b/web/src/@core/theme/overrides/typography.js
deleted file mode 100644
index 1fe4a75ffc..0000000000
--- a/web/src/@core/theme/overrides/typography.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const typography = {
- MuiTypography: {
- styleOverrides: {
- gutterBottom: ({ theme }) => ({
- marginBottom: theme.spacing(2)
- })
- },
- variants: [
- {
- props: { variant: 'h1' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'h2' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'h3' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'h4' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'h5' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'h6' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'subtitle1' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'subtitle2' },
- style: ({ theme }) => ({ color: theme.palette.text.secondary })
- },
- {
- props: { variant: 'body1' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'body2' },
- style: ({ theme }) => ({ color: theme.palette.text.secondary })
- },
- {
- props: { variant: 'button' },
- style: ({ theme }) => ({ color: theme.palette.text.primary })
- },
- {
- props: { variant: 'caption' },
- style: ({ theme }) => ({ color: theme.palette.text.secondary })
- },
- {
- props: { variant: 'overline' },
- style: ({ theme }) => ({ color: theme.palette.text.secondary })
- }
- ]
- }
-}
-
-export default typography
diff --git a/web/src/@core/theme/palette/index.js b/web/src/@core/theme/palette/index.js
deleted file mode 100644
index c7afff549e..0000000000
--- a/web/src/@core/theme/palette/index.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const DefaultPalette = (mode, settings) => {
- const whiteColor = '#FFF'
- const lightColor = '50, 71, 92'
- const darkColor = '219, 219, 235'
- const darkPaperBgColor = '#2B2C40'
- const mainColor = mode === 'light' ? lightColor : darkColor
-
- const defaultBgColor = () => {
- if (settings.skin === 'bordered' && mode === 'light') {
- return whiteColor
- } else if (settings.skin === 'bordered' && mode === 'dark') {
- return darkPaperBgColor
- } else if (mode === 'light') {
- return '#F5F5F9'
- } else return '#232333'
- }
-
- const collapseTogglerBgColor = () => {
- if (settings.skin === 'bordered') {
- if (settings.mode === 'dark') {
- return darkPaperBgColor
- } else {
- return whiteColor
- }
- } else {
- if (settings.mode === 'dark') {
- return '#232333'
- } else {
- return '#F5F5F9'
- }
- }
- }
-
- return {
- customColors: {
- dark: darkColor,
- main: mainColor,
- light: lightColor,
- lightPaperBg: whiteColor,
- darkPaperBg: darkPaperBgColor,
- collapseTogglerBg: collapseTogglerBgColor(),
- bodyBg: mode === 'light' ? '#F5F5F9' : '#232333',
- trackBg: mode === 'light' ? '#EBEEF0' : '#444463',
- avatarBg: mode === 'light' ? '#F0EFF0' : '#3F3B59',
- tableHeaderBg: mode === 'light' ? '#F3F4F6' : '#353649'
- },
- mode: mode,
- common: {
- black: '#000',
- white: whiteColor
- },
- primary: {
- light: '#8082FF',
- main: '#696CFF',
- dark: '#6062E8',
- contrastText: whiteColor
- },
- secondary: {
- light: '#97A2B1',
- main: '#8592A3',
- dark: '#798594',
- contrastText: whiteColor
- },
- error: {
- light: '#FF5B3F',
- main: '#FF3E1D',
- dark: '#E8381A',
- contrastText: whiteColor
- },
- warning: {
- light: '#FFB826',
- main: '#FFAB00',
- dark: '#E89C00',
- contrastText: whiteColor
- },
- info: {
- light: '#29CCEF',
- main: '#03C3EC',
- dark: '#03B1D7',
- contrastText: whiteColor
- },
- success: {
- light: '#86E255',
- main: '#71DD37',
- dark: '#67C932',
- contrastText: whiteColor
- },
- grey: {
- 50: '#FAFAFA',
- 100: '#F5F5F5',
- 200: '#EEEEEE',
- 300: '#E0E0E0',
- 400: '#BDBDBD',
- 500: '#9E9E9E',
- 600: '#757575',
- 700: '#616161',
- 800: '#424242',
- 900: '#212121',
- A100: '#F5F5F5',
- A200: '#EEEEEE',
- A400: '#BDBDBD',
- A700: '#616161'
- },
- text: {
- primary: `rgba(${mainColor}, 0.87)`,
- secondary: `rgba(${mainColor}, 0.6)`,
- disabled: `rgba(${mainColor}, 0.38)`
- },
- divider: `rgba(${mainColor}, 0.12)`,
- background: {
- paper: mode === 'light' ? whiteColor : darkPaperBgColor,
- default: defaultBgColor()
- },
- action: {
- active: `rgba(${mainColor}, 0.54)`,
- hover: `rgba(${mainColor}, 0.04)`,
- selected: `rgba(${mainColor}, 0.08)`,
- disabled: `rgba(${mainColor}, 0.26)`,
- disabledBackground: `rgba(${mainColor}, 0.12)`,
- focus: `rgba(${mainColor}, 0.12)`
- }
- }
-}
-
-export default DefaultPalette
diff --git a/web/src/@core/theme/shadows/index.js b/web/src/@core/theme/shadows/index.js
deleted file mode 100644
index aadb90cb3f..0000000000
--- a/web/src/@core/theme/shadows/index.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const Shadows = mode => {
- if (mode === 'light') {
- return [
- 'none',
- '0px 2px 1px -1px rgba(50, 71, 92, 0.2), 0px 1px 1px 0px rgba(50, 71, 92, 0.14), 0px 1px 3px 0px rgba(50, 71, 92, 0.12)',
- '0px 3px 1px -2px rgba(50, 71, 92, 0.2), 0px 2px 2px 0px rgba(50, 71, 92, 0.14), 0px 1px 5px 0px rgba(50, 71, 92, 0.12)',
- '0px 4px 8px -4px rgba(50, 71, 92, 0.42)',
- '0px 6px 18px -8px rgba(50, 71, 92, 0.56)',
- '0px 3px 5px -1px rgba(50, 71, 92, 0.2), 0px 5px 8px 0px rgba(50, 71, 92, 0.14), 0px 1px 14px 0px rgba(50, 71, 92, 0.12)',
- '0px 2px 10px 0px rgba(50, 71, 92, 0.1)',
- '0px 4px 5px -2px rgba(50, 71, 92, 0.2), 0px 7px 10px 1px rgba(50, 71, 92, 0.14), 0px 2px 16px 1px rgba(50, 71, 92, 0.12)',
- '0px 5px 5px -3px rgba(50, 71, 92, 0.2), 0px 8px 10px 1px rgba(50, 71, 92, 0.14), 0px 3px 14px 2px rgba(50, 71, 92, 0.12)',
- '0px 5px 6px -3px rgba(50, 71, 92, 0.2), 0px 9px 12px 1px rgba(50, 71, 92, 0.14), 0px 3px 16px 2px rgba(50, 71, 92, 0.12)',
- '0px 6px 6px -3px rgba(50, 71, 92, 0.2), 0px 10px 14px 1px rgba(50, 71, 92, 0.14), 0px 4px 18px 3px rgba(50, 71, 92, 0.12)',
- '0px 6px 7px -4px rgba(50, 71, 92, 0.2), 0px 11px 15px 1px rgba(50, 71, 92, 0.14), 0px 4px 20px 3px rgba(50, 71, 92, 0.12)',
- '0px 7px 8px -4px rgba(50, 71, 92, 0.2), 0px 12px 17px 2px rgba(50, 71, 92, 0.14), 0px 5px 22px 4px rgba(50, 71, 92, 0.12)',
- '0px 7px 8px -4px rgba(50, 71, 92, 0.2), 0px 13px 19px 2px rgba(50, 71, 92, 0.14), 0px 5px 24px 4px rgba(50, 71, 92, 0.12)',
- '0px 7px 9px -4px rgba(50, 71, 92, 0.2), 0px 14px 21px 2px rgba(50, 71, 92, 0.14), 0px 5px 26px 4px rgba(50, 71, 92, 0.12)',
- '0px 8px 9px -5px rgba(50, 71, 92, 0.2), 0px 15px 22px 2px rgba(50, 71, 92, 0.14), 0px 6px 28px 5px rgba(50, 71, 92, 0.12)',
- '0px 8px 10px -5px rgba(50, 71, 92, 0.2), 0px 16px 24px 2px rgba(50, 71, 92, 0.14), 0px 6px 30px 5px rgba(50, 71, 92, 0.12)',
- '0px 8px 11px -5px rgba(50, 71, 92, 0.2), 0px 17px 26px 2px rgba(50, 71, 92, 0.14), 0px 6px 32px 5px rgba(50, 71, 92, 0.12)',
- '0px 9px 11px -5px rgba(50, 71, 92, 0.2), 0px 18px 28px 2px rgba(50, 71, 92, 0.14), 0px 7px 34px 6px rgba(50, 71, 92, 0.12)',
- '0px 9px 12px -6px rgba(50, 71, 92, 0.2), 0px 19px 29px 2px rgba(50, 71, 92, 0.14), 0px 7px 36px 6px rgba(50, 71, 92, 0.12)',
- '0px 10px 13px -6px rgba(50, 71, 92, 0.2), 0px 20px 31px 3px rgba(50, 71, 92, 0.14), 0px 8px 38px 7px rgba(50, 71, 92, 0.12)',
- '0px 10px 13px -6px rgba(50, 71, 92, 0.2), 0px 21px 33px 3px rgba(50, 71, 92, 0.14), 0px 8px 40px 7px rgba(50, 71, 92, 0.12)',
- '0px 10px 14px -6px rgba(50, 71, 92, 0.2), 0px 22px 35px 3px rgba(50, 71, 92, 0.14), 0px 8px 42px 7px rgba(50, 71, 92, 0.12)',
- '0px 11px 14px -7px rgba(50, 71, 92, 0.2), 0px 23px 36px 3px rgba(50, 71, 92, 0.14), 0px 9px 44px 8px rgba(50, 71, 92, 0.12)',
- '0px 11px 15px -7px rgba(50, 71, 92, 0.2), 0px 24px 38px 3px rgba(50, 71, 92, 0.14), 0px 9px 46px 8px rgba(50, 71, 92, 0.12)'
- ]
- } else {
- return [
- 'none',
- '0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)',
- '0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)',
- '0px 4px 8px -4px rgba(0, 0, 0, 0.42)',
- '0px 6px 18px -8px rgba(0, 0, 0, 0.56)',
- '0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px rgba(0, 0, 0, 0.14), 0px 1px 14px rgba(0, 0, 0, 0.12)',
- '0px 2px 10px 0px rgba(0, 0, 0, 0.2)',
- '0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)',
- '0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)',
- '0px 5px 6px -3px rgba(0, 0, 0, 0.2), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)',
- '0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)',
- '0px 6px 7px -4px rgba(0, 0, 0, 0.2), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)',
- '0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)',
- '0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)',
- '0px 7px 9px -4px rgba(0, 0, 0, 0.2), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)',
- '0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)',
- '0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)',
- '0px 8px 11px -5px rgba(0, 0, 0, 0.2), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)',
- '0px 9px 11px -5px rgba(0, 0, 0, 0.2), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)',
- '0px 9px 12px -6px rgba(0, 0, 0, 0.2), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)',
- '0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)',
- '0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)',
- '0px 10px 14px -6px rgba(0, 0, 0, 0.2), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)',
- '0px 11px 14px -7px rgba(0, 0, 0, 0.2), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)',
- '0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12)'
- ]
- }
-}
-
-export default Shadows
diff --git a/web/src/@core/theme/typography/index.js b/web/src/@core/theme/typography/index.js
deleted file mode 100644
index c425640068..0000000000
--- a/web/src/@core/theme/typography/index.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const typography = {
- fontFamily: [
- 'Public Sans',
- 'sans-serif',
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"'
- ].join(','),
- h1: {
- fontWeight: 500
- },
- h2: {
- fontWeight: 500
- },
- h3: {
- fontWeight: 500
- },
- h4: {
- fontWeight: 500
- },
- h5: {
- fontWeight: 500
- }
-}
-
-export default typography
diff --git a/web/src/@core/utils/create-emotion-cache.js b/web/src/@core/utils/create-emotion-cache.js
deleted file mode 100644
index d8f5af8986..0000000000
--- a/web/src/@core/utils/create-emotion-cache.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import createCache from '@emotion/cache'
-
-export const createEmotionCache = () => {
- return createCache({ key: 'css' })
-}
diff --git a/web/src/@core/utils/dateUtil.js b/web/src/@core/utils/dateUtil.js
deleted file mode 100644
index c28a7471bd..0000000000
--- a/web/src/@core/utils/dateUtil.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import dateFN from 'dayjs'
-
-const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'
-
-function formatToDateTime(date, format = DATE_TIME_FORMAT) {
- return dateFN(date).format(format)
-}
-
-export { dateFN, formatToDateTime }
diff --git a/web/src/@core/utils/func.js b/web/src/@core/utils/func.js
deleted file mode 100644
index 7b1c02d12f..0000000000
--- a/web/src/@core/utils/func.js
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export const randomColor = () => {
- let maxVal = 0xffffff
- let randomNumber = Math.random() * maxVal
- randomNumber = Math.floor(randomNumber)
- randomNumber = randomNumber.toString(16)
- let randColor = randomNumber.padStart(6, 0)
-
- return `#${randColor.toUpperCase()}`
-}
-
-export function setObjToUrlParams(baseUrl, obj) {
- let parameters = ''
- for (const key in obj) {
- parameters += key + '=' + encodeURIComponent(obj[key]) + '&'
- }
- parameters = parameters.replace(/&$/, '')
-
- return /\?$/.test(baseUrl) ? baseUrl + parameters : baseUrl.replace(/\/?$/, '?') + parameters
-}
-
-export function deepMerge(src = {}, target = {}) {
- let key
- for (key in target) {
- src[key] = isObject(src[key]) ? deepMerge(src[key], target[key]) : (src[key] = target[key])
- }
-
- return src
-}
-
-export const parseNum = (number, m = 0) => {
- return Math.round(Math.pow(10, m) * number) / Math.pow(10, m)
-}
-
-/**
- * Calculate the page number based on the total number of items.
- * @param {number} count
- * @param {number} pageSize
- * @returns
- */
-export function pagerCount(count, pageSize) {
- if (typeof count == 'number') {
- if (count > 0) {
- try {
- let _pagerCount = count % pageSize == 0 ? count / pageSize : count / pageSize + 1
- let c = _pagerCount.toFixed(0)
- _pagerCount = c > _pagerCount ? c - 1 : c
-
- return _pagerCount
- } catch (error) {
- return 0
- }
- } else {
- return 0
- }
- } else {
- return 0
- }
-}
-
-export const genUpdateMetalakeUpdates = (originalData, newData) => {
- const updates = []
-
- if (originalData.name !== newData.name) {
- updates.push({ '@type': 'rename', newName: newData.name })
- }
-
- if (originalData.comment !== newData.comment) {
- updates.push({ '@type': 'updateComment', newComment: newData.comment })
- }
-
- const originalProperties = originalData.properties || {}
- const newProperties = newData.properties || {}
-
- for (const key in originalProperties) {
- if (!(key in newProperties)) {
- updates.push({ '@type': 'removeProperty', property: key })
- }
- }
-
- for (const key in newProperties) {
- if (originalProperties[key] !== newProperties[key]) {
- if (originalProperties[key] === undefined) {
- updates.push({ '@type': 'setProperty', property: key, value: newProperties[key] })
- } else {
- updates.push({ '@type': 'setProperty', property: key, value: newProperties[key] })
- }
- }
- }
-
- return updates
-}
diff --git a/web/src/@core/utils/hex-to-rgba.js b/web/src/@core/utils/hex-to-rgba.js
deleted file mode 100644
index 2585c8305d..0000000000
--- a/web/src/@core/utils/hex-to-rgba.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-export const hexToRGBA = (hexCode, opacity) => {
- let hex = hexCode.replace('#', '')
- if (hex.length === 3) {
- hex = `${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`
- }
- const r = parseInt(hex.substring(0, 2), 16)
- const g = parseInt(hex.substring(2, 4), 16)
- const b = parseInt(hex.substring(4, 6), 16)
-
- return `rgba(${r}, ${g}, ${b}, ${opacity})`
-}
diff --git a/web/src/@core/utils/is.js b/web/src/@core/utils/is.js
deleted file mode 100644
index f6237fc5dc..0000000000
--- a/web/src/@core/utils/is.js
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const toString = Object.prototype.toString
-
-export function is(val, type) {
- return toString.call(val) === `[object ${type}]`
-}
-
-export function isDef(val) {
- return typeof val !== 'undefined'
-}
-
-export function isUnDef(val) {
- return !isDef(val)
-}
-
-export function isObject(val) {
- return val !== null && is(val, 'Object')
-}
-
-export function isEmpty(val) {
- if (isArray(val) || isString(val)) {
- return val.length === 0
- }
-
- if (val instanceof Map || val instanceof Set) {
- return val.size === 0
- }
-
- if (isObject(val)) {
- return Object.keys(val).length === 0
- }
-
- return false
-}
-
-export function isDate(val) {
- return is(val, 'Date')
-}
-
-export function isNull(val) {
- return val === null
-}
-
-export function isNullAndUnDef(val) {
- return isUnDef(val) && isNull(val)
-}
-
-export function isNullOrUnDef(val) {
- return isUnDef(val) || isNull(val)
-}
-
-export function isNumber(val) {
- return is(val, 'Number')
-}
-
-export function isPromise(val) {
- return is(val, 'Promise') && isObject(val) && isFunction(val.then) && isFunction(val.catch)
-}
-
-export function isString(val) {
- return is(val, 'String')
-}
-
-export function isFunction(val) {
- return typeof val === 'function'
-}
-
-export function isBoolean(val) {
- return is(val, 'Boolean')
-}
-
-export function isRegExp(val) {
- return is(val, 'RegExp')
-}
-
-export function isArray(val) {
- return val && Array.isArray(val)
-}
-
-export function isWindow(val) {
- return typeof window !== 'undefined' && is(val, 'Window')
-}
-
-export function isElement(val) {
- return isObject(val) && !!val.tagName
-}
-
-export function isMap(val) {
- return is(val, 'Map')
-}
-
-export const isServer = typeof window === 'undefined'
-
-export const isClient = !isServer
-
-export function isUrl(path) {
- const reg =
- /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/
-
- return reg.test(path)
-}
diff --git a/web/src/@fake-db/metalakeList.js b/web/src/@fake-db/metalakeList.js
deleted file mode 100644
index 6e7a735359..0000000000
--- a/web/src/@fake-db/metalakeList.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import mock from 'src/@fake-db/mock'
-
-const data = {
- metalakes: [
- {
- id: 1,
- name: 'datastrato-test-1',
- properties: [
- {
- key: 'metalake_name',
- value: 'datastrato-test-1'
- },
- {
- key: 'key1',
- value: 'value1'
- }
- ],
- comment: 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...',
- createdBy: 'admin',
- createdAt: new Date('2023-10-10 10:10:10'),
- lastModifiedBy: 'user',
- lastModifiedAt: new Date('2023-10-10 11:11:11')
- }
- ]
-}
-
-mock.onGet('/apis/metalakes').reply(config => {
- const { q = '' } = config.params ?? ''
- const queryLowered = q.toLowerCase()
-
- const filteredData = data.metalakes.filter(metalake => metalake.name.toLowerCase().includes(queryLowered))
-
- return [
- 200,
- {
- allData: data.metalakes,
- metalakes: filteredData,
- params: config.params,
- total: filteredData.length
- }
- ]
-})
-
-mock.onPost('/apis/metalakes').reply(config => {
- const { metalake } = JSON.parse(config.data).data
- const { length } = data.metalakes
- let lastIndex = 0
- if (length) {
- lastIndex = data.metalakes[length - 1].id
- }
- metalake.id = lastIndex + 1
-
- const item = {
- ...metalake,
- lastModifiedAt: new Date(),
- lastModifiedBy: 'user',
- createdAt: new Date(),
- createdBy: 'admin'
- }
- data.metalakes.push(item)
-
- return [201, { metalake }]
-})
diff --git a/web/src/@fake-db/mock.js b/web/src/@fake-db/mock.js
deleted file mode 100644
index 43d0c58cf0..0000000000
--- a/web/src/@fake-db/mock.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import axios from 'axios'
-import MockAdapter from 'axios-mock-adapter'
-
-const mock = new MockAdapter(axios)
-
-export default mock
diff --git a/web/src/configs/themeConfig.js b/web/src/configs/themeConfig.js
deleted file mode 100644
index 7f1fa45a03..0000000000
--- a/web/src/configs/themeConfig.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const themeConfig = {
- templateName: 'Gravitino',
- layout: 'horizontal',
- mode: 'light',
- routingLoader: true,
- navSubItemIcon: 'mdi:dot',
- navCollapsed: false
-}
-
-export default themeConfig
diff --git a/web/src/iconify-bundle/bundle-icons-react.js b/web/src/iconify-bundle/bundle-icons-react.js
deleted file mode 100644
index 0b88caa934..0000000000
--- a/web/src/iconify-bundle/bundle-icons-react.js
+++ /dev/null
@@ -1,229 +0,0 @@
-/**
- * * This is an advanced example for creating icon bundles for Iconify SVG Framework.
- *
- * * It creates a bundle from:
- * * - All SVG files in a directory.
- * * - Custom JSON files.
- * * - Iconify icon sets.
- * * - SVG framework.
- *
- * * This example uses Iconify Tools to import and clean up icons.
- * * For Iconify Tools documentation visit https://docs.iconify.design/tools/tools2/
- */
-const { promises: fs } = require('fs')
-const { dirname } = require('path')
-
-// ** Installation: npm install --save-dev @iconify/tools @iconify/utils @iconify/json @iconify/iconify
-const { importDirectory, cleanupSVG, parseColors, isEmptyColor, runSVGO } = require('@iconify/tools')
-const { getIcons, stringToIcon, minifyIconSet } = require('@iconify/utils')
-
-/* eslint-enable */
-const sources = {
- json: [
- // ** Iconify JSON file (@iconify/json is a package name, /json/ is directory where files are, then filename)
- // ** Example code: require.resolve('@iconify/json/json/bx.json')
- // ** Custom file with only few icons
- // ** Example code: { filename: require.resolve('@iconify/json/json/line-md.json'), icons: [] }
- // ** Custom JSON file
- // ** Example code: 'json/gg.json'
- ],
- icons: [
- 'mdi:brightness-4',
- 'mdi:account',
- 'bx:menu',
- 'mdi:filter-variant',
- 'mdi:arrow-left',
- 'bx:up-arrow-alt',
- 'mdi:arrow-top-right',
- 'bx:chevron-down',
- 'bx:chevron-right',
- 'bx:x',
- 'bx:search',
- 'mdi:refresh',
- 'mdi:minus-circle-outline',
- 'mdi:plus-circle-outline',
- 'bx:show-alt',
- 'bx:bxs-plus-square',
- 'tabler:alert-circle',
- 'mdi:square-edit-outline',
- 'mdi:delete-outline',
- 'bx:home',
- 'bx:book',
- 'bx:coin-stack',
- 'bx:table',
- 'mdi:code-tags',
- 'mdi:list-box-outline',
- 'mdi:clipboard-text-outline'
- ],
- svg: [
- // ** Example code: { dir: 'src/iconify-bundle/svg', monotone: false, prefix: 'custom' }
- ]
-}
-
-// ** Iconify component (this changes import statement in generated file)
-// ** Available options: '@iconify/react' for React, '@iconify/vue' for Vue 3, '@iconify/vue2' for Vue 2, '@iconify/svelte' for Svelte
-const component = '@iconify/react'
-
-// ** Set to true to use require() instead of import
-const commonJS = false
-
-// ** File to save bundle to
-const target = 'src/iconify-bundle/icons-bundle-react.js'
-;(async function () {
- let bundle = commonJS
- ? "const { addCollection } = require('" + component + "');\n\n"
- : "import { addCollection } from '" + component + "';\n\n"
-
- // ** Create directory for output if missing
- const dir = dirname(target)
- try {
- await fs.mkdir(dir, {
- recursive: true
- })
- } catch (err) {}
-
- /**
- * * Convert sources.icons to sources.json
- */
- if (sources.icons) {
- const sourcesJSON = sources.json ? sources.json : (sources.json = [])
-
- // ** Sort icons by prefix
- const organizedList = organizeIconsList(sources.icons)
- for (const prefix in organizedList) {
- const filename = require.resolve(`@iconify/json/json/${prefix}.json`)
- sourcesJSON.push({
- filename,
- icons: organizedList[prefix]
- })
- }
- }
-
- /**
- * * Bundle JSON files
- */
- if (sources.json) {
- for (let i = 0; i < sources.json.length; i++) {
- const item = sources.json[i]
-
- // ** Load icon set
- const filename = typeof item === 'string' ? item : item.filename
- let content = JSON.parse(await fs.readFile(filename, 'utf8'))
-
- // ** Filter icons
- if (typeof item !== 'string' && item.icons?.length) {
- const filteredContent = getIcons(content, item.icons)
- if (!filteredContent) {
- throw new Error(`Cannot find required icons in ${filename}`)
- }
- content = filteredContent
- }
-
- // ** Remove metadata and add to bundle
- removeMetaData(content)
- minifyIconSet(content)
- bundle += 'addCollection(' + JSON.stringify(content) + ');\n'
- console.log(`Bundled icons from ${filename}`)
- }
- }
-
- /**
- * * Custom SVG
- */
- if (sources.svg) {
- for (let i = 0; i < sources.svg.length; i++) {
- const source = sources.svg[i]
-
- // ** Import icons
- const iconSet = await importDirectory(source.dir, {
- prefix: source.prefix
- })
-
- // ** Validate, clean up, fix palette and optimize
- await iconSet.forEach(async (name, type) => {
- if (type !== 'icon') {
- return
- }
-
- // ** Get SVG instance for parsing
- const svg = iconSet.toSVG(name)
- if (!svg) {
- // ** Invalid icon
- iconSet.remove(name)
-
- return
- }
-
- // ** Clean up and optimize icons
- try {
- // ** Clean up icon code
- await cleanupSVG(svg)
- if (source.monotone) {
- // ** Replace color with currentColor, add if missing
- // ** If icon is not monotone, remove this code
- await parseColors(svg, {
- defaultColor: 'currentColor',
- callback: (attr, colorStr, color) => {
- return !color || isEmptyColor(color) ? colorStr : 'currentColor'
- }
- })
- }
-
- // ** Optimize
- await runSVGO(svg)
- } catch (err) {
- // ** Invalid icon
- console.error(`Error parsing ${name} from ${source.dir}:`, err)
- iconSet.remove(name)
-
- return
- }
-
- // ** Update icon from SVG instance
- iconSet.fromSVG(name, svg)
- })
- console.log(`Bundled ${iconSet.count()} icons from ${source.dir}`)
-
- // ** Export to JSON
- const content = iconSet.export()
- bundle += 'addCollection(' + JSON.stringify(content) + ');\n'
- }
- }
-
- // ** Save to file
- await fs.writeFile(target, bundle, 'utf8')
- console.log(`Saved ${target} (${bundle.length} bytes)`)
-})().catch(err => {
- console.error(err)
-})
-
-/**
- * * Remove metadata from icon set
- */
-function removeMetaData(iconSet) {
- const props = ['info', 'chars', 'categories', 'themes', 'prefixes', 'suffixes']
- props.forEach(prop => {
- delete iconSet[prop]
- })
-}
-
-/**
- * * Sort icon names by prefix
- */
-function organizeIconsList(icons) {
- const sorted = Object.create(null)
- icons.forEach(icon => {
- const item = stringToIcon(icon)
- if (!item) {
- return
- }
- const prefix = item.prefix
- const prefixList = sorted[prefix] ? sorted[prefix] : (sorted[prefix] = [])
- const name = item.name
- if (prefixList.indexOf(name) === -1) {
- prefixList.push(name)
- }
- })
-
- return sorted
-}
diff --git a/web/src/iconify-bundle/icons-bundle-react.js b/web/src/iconify-bundle/icons-bundle-react.js
deleted file mode 100644
index d673112623..0000000000
--- a/web/src/iconify-bundle/icons-bundle-react.js
+++ /dev/null
@@ -1,99 +0,0 @@
-import { addCollection } from '@iconify/react'
-
-addCollection({
- prefix: 'mdi',
- icons: {
- 'brightness-4': {
- body: '<path fill="currentColor" d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12c0-2.42-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6a6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69L8.69 4H4v4.69L.69 12L4 15.31V20h4.69L12 23.31L15.31 20H20v-4.69L23.31 12L20 8.69Z"/>'
- },
- account: {
- body: '<path fill="currentColor" d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z"/>'
- },
- 'filter-variant': { body: '<path fill="currentColor" d="M6 13h12v-2H6M3 6v2h18V6M10 18h4v-2h-4v2Z"/>' },
- 'arrow-left': {
- body: '<path fill="currentColor" d="M20 11v2H8l5.5 5.5l-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5L8 11h12Z"/>'
- },
- 'arrow-top-right': { body: '<path fill="currentColor" d="M5 17.59L15.59 7H9V5h10v10h-2V8.41L6.41 19L5 17.59Z"/>' },
- refresh: {
- body: '<path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0 0 12 4a8 8 0 0 0-8 8a8 8 0 0 0 8 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18a6 6 0 0 1-6-6a6 6 0 0 1 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35Z"/>'
- },
- 'minus-circle-outline': {
- body: '<path fill="currentColor" d="M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2M7 13h10v-2H7"/>'
- },
- 'plus-circle-outline': {
- body: '<path fill="currentColor" d="M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m1 5h-2v4H7v2h4v4h2v-4h4v-2h-4V7Z"/>'
- },
- 'square-edit-outline': {
- body: '<path fill="currentColor" d="M5 3c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7H5V5h7V3H5m12.78 1a.69.69 0 0 0-.48.2l-1.22 1.21l2.5 2.5L19.8 6.7c.26-.26.26-.7 0-.95L18.25 4.2c-.13-.13-.3-.2-.47-.2m-2.41 2.12L8 13.5V16h2.5l7.37-7.38l-2.5-2.5Z"/>'
- },
- 'delete-outline': {
- body: '<path fill="currentColor" d="M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12M8 9h8v10H8V9m7.5-5l-1-1h-5l-1 1H5v2h14V4h-3.5Z"/>'
- },
- 'code-tags': {
- body: '<path fill="currentColor" d="m14.6 16.6l4.6-4.6l-4.6-4.6L16 6l6 6l-6 6l-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6l6 6l1.4-1.4Z"/>'
- },
- 'list-box-outline': {
- body: '<path fill="currentColor" d="M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"/>'
- },
- 'clipboard-text-outline': {
- body: '<path fill="currentColor" d="M19 3h-4.18C14.25 1.44 12.53.64 11 1.2c-.86.3-1.5.96-1.82 1.8H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-7 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1M7 7h10V5h2v14H5V5h2v2m10 4H7V9h10v2m-2 4H7v-2h8v2Z"/>'
- }
- },
- lastModified: 1698215149,
- width: 24,
- height: 24
-})
-addCollection({
- prefix: 'bx',
- icons: {
- menu: { body: '<path fill="currentColor" d="M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z"/>' },
- 'up-arrow-alt': {
- body: '<path fill="currentColor" d="M11 8.414V18h2V8.414l4.293 4.293l1.414-1.414L12 4.586l-6.707 6.707l1.414 1.414z"/>'
- },
- 'chevron-down': {
- body: '<path fill="currentColor" d="M16.293 9.293L12 13.586L7.707 9.293l-1.414 1.414L12 16.414l5.707-5.707z"/>'
- },
- 'chevron-right': {
- body: '<path fill="currentColor" d="M10.707 17.707L16.414 12l-5.707-5.707l-1.414 1.414L13.586 12l-4.293 4.293z"/>'
- },
- x: {
- body: '<path fill="currentColor" d="m16.192 6.344l-4.243 4.242l-4.242-4.242l-1.414 1.414L10.535 12l-4.242 4.242l1.414 1.414l4.242-4.242l4.243 4.242l1.414-1.414L13.364 12l4.242-4.242z"/>'
- },
- search: {
- body: '<path fill="currentColor" d="M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396l1.414-1.414l-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8s3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6s-6-2.691-6-6s2.691-6 6-6z"/>'
- },
- 'show-alt': {
- body: '<path fill="currentColor" d="M14 12c-1.095 0-2-.905-2-2c0-.354.103-.683.268-.973C12.178 9.02 12.092 9 12 9a3.02 3.02 0 0 0-3 3c0 1.642 1.358 3 3 3c1.641 0 3-1.358 3-3c0-.092-.02-.178-.027-.268c-.29.165-.619.268-.973.268z"/><path fill="currentColor" d="M12 5c-7.633 0-9.927 6.617-9.948 6.684L1.946 12l.105.316C2.073 12.383 4.367 19 12 19s9.927-6.617 9.948-6.684l.106-.316l-.105-.316C21.927 11.617 19.633 5 12 5zm0 12c-5.351 0-7.424-3.846-7.926-5C4.578 10.842 6.652 7 12 7c5.351 0 7.424 3.846 7.926 5c-.504 1.158-2.578 5-7.926 5z"/>'
- },
- 'bxs-plus-square': {
- body: '<path d="M5 21h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2zm2-10h4V7h2v4h4v2h-4v4h-2v-4H7v-2z" fill="currentColor"/>',
- hidden: true
- },
- home: {
- body: '<path fill="currentColor" d="M3 13h1v7c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-7h1a1 1 0 0 0 .707-1.707l-9-9a.999.999 0 0 0-1.414 0l-9 9A1 1 0 0 0 3 13zm7 7v-5h4v5h-4zm2-15.586l6 6V15l.001 5H16v-5c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H6v-9.586l6-6z"/>'
- },
- book: {
- body: '<path fill="currentColor" d="M6 22h15v-2H6.012C5.55 19.988 5 19.805 5 19s.55-.988 1.012-1H21V4c0-1.103-.897-2-2-2H6c-1.206 0-3 .799-3 3v14c0 2.201 1.794 3 3 3zM5 8V5c0-.805.55-.988 1-1h13v12H5V8z"/><path fill="currentColor" d="M8 6h9v2H8z"/>'
- },
- 'coin-stack': {
- body: '<path fill="currentColor" d="M12 22c3.976 0 8-1.374 8-4V6c0-2.626-4.024-4-8-4S4 3.374 4 6v12c0 2.626 4.024 4 8 4zm0-2c-3.722 0-6-1.295-6-2v-1.268C7.541 17.57 9.777 18 12 18s4.459-.43 6-1.268V18c0 .705-2.278 2-6 2zm0-16c3.722 0 6 1.295 6 2s-2.278 2-6 2s-6-1.295-6-2s2.278-2 6-2zM6 8.732C7.541 9.57 9.777 10 12 10s4.459-.43 6-1.268V10c0 .705-2.278 2-6 2s-6-1.295-6-2V8.732zm0 4C7.541 13.57 9.777 14 12 14s4.459-.43 6-1.268V14c0 .705-2.278 2-6 2s-6-1.295-6-2v-1.268z"/>'
- },
- table: {
- body: '<path fill="currentColor" d="M4 21h15.893c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2zm0-2v-5h4v5H4zM14 7v5h-4V7h4zM8 7v5H4V7h4zm2 12v-5h4v5h-4zm6 0v-5h3.894v5H16zm3.893-7H16V7h3.893v5z"/>'
- }
- },
- lastModified: 1663655035,
- width: 24,
- height: 24
-})
-addCollection({
- prefix: 'tabler',
- icons: {
- 'alert-circle': {
- body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-4v4m0 4h.01"/>'
- }
- },
- lastModified: 1698388788,
- width: 24,
- height: 24
-})
diff --git a/web/src/layouts/UserLayout.js b/web/src/layouts/UserLayout.js
deleted file mode 100644
index d74e8aaa15..0000000000
--- a/web/src/layouts/UserLayout.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import useMediaQuery from '@mui/material/useMediaQuery'
-
-import Layout from 'src/@core/layouts/Layout'
-
-import HorizontalNavItems from 'src/navigation/horizontal'
-import HorizontalAppBarContent from './components/horizontal/AppBarContent'
-
-import { useSettings } from 'src/@core/hooks/useSettings'
-
-const UserLayout = ({ children, contentHeightFixed }) => {
- const { settings, saveSettings } = useSettings()
-
- const hidden = useMediaQuery(theme => theme.breakpoints.down('lg'))
- if (hidden && settings.layout === 'horizontal') {
- settings.layout = 'vertical'
- }
-
- return (
- <Layout
- hidden={hidden}
- settings={settings}
- saveSettings={saveSettings}
- contentHeightFixed={contentHeightFixed}
- horizontalLayoutProps={{
- navMenu: {
- navItems: HorizontalNavItems()
- },
- appBar: {
- content: () => <HorizontalAppBarContent settings={settings} saveSettings={saveSettings} />
- }
- }}
- >
- {children}
- </Layout>
- )
-}
-
-export default UserLayout
diff --git a/web/src/layouts/components/UserIcon.js b/web/src/layouts/components/UserIcon.js
deleted file mode 100644
index 5b9b183b27..0000000000
--- a/web/src/layouts/components/UserIcon.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Icon from 'src/@core/components/icon'
-
-const UserIcon = ({ icon, ...rest }) => {
- return <Icon icon={icon} {...rest} />
-}
-
-export default UserIcon
diff --git a/web/src/layouts/components/VersionView.js b/web/src/layouts/components/VersionView.js
deleted file mode 100644
index 59d0823521..0000000000
--- a/web/src/layouts/components/VersionView.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useEffect } from 'react'
-
-import Typography from '@mui/material/Typography'
-
-import { useDispatch, useSelector } from 'react-redux'
-import { fetchVersion, setVersion } from 'src/store/version'
-
-const VersionView = () => {
- const dispatch = useDispatch()
- const store = useSelector(state => state.version)
-
- useEffect(() => {
- if (typeof window !== 'undefined') {
- const version = window.sessionStorage.getItem('version')
-
- if (!version || version === 'undefined') {
- dispatch(fetchVersion())
- } else {
- dispatch(setVersion(version))
- }
- }
- }, [dispatch])
-
- return <Typography variant='subtitle2'>{store.version}</Typography>
-}
-
-export default VersionView
diff --git a/web/src/layouts/components/horizontal/AppBarContent.js b/web/src/layouts/components/horizontal/AppBarContent.js
deleted file mode 100644
index 514b8e4b2c..0000000000
--- a/web/src/layouts/components/horizontal/AppBarContent.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Box from '@mui/material/Box'
-import VersionView from '../VersionView'
-
-const AppBarContent = props => {
- return (
- <Box sx={{ display: 'flex', alignItems: 'center' }}>
- <VersionView />
- </Box>
- )
-}
-
-export default AppBarContent
diff --git a/web/src/navigation/horizontal/index.js b/web/src/navigation/horizontal/index.js
deleted file mode 100644
index 82f02899eb..0000000000
--- a/web/src/navigation/horizontal/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-const navigation = () => [
- {
- title: 'Home',
- path: '/home',
- icon: 'bx:home-circle'
- }
-]
-
-export default navigation
diff --git a/web/src/pages/401.js b/web/src/pages/401.js
deleted file mode 100644
index 6e4b03ae16..0000000000
--- a/web/src/pages/401.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Link from 'next/link'
-
-import Button from '@mui/material/Button'
-import Typography from '@mui/material/Typography'
-import Box from '@mui/material/Box'
-import { styled } from '@mui/material/styles'
-
-import BlankLayout from 'src/@core/layouts/BlankLayout'
-
-const BoxWrapper = styled(Box)(({ theme }) => ({
- [theme.breakpoints.down('md')]: {
- width: '90vw'
- }
-}))
-
-const Error401 = () => {
- return (
- <Box className='content-center'>
- <Box sx={{ p: 5, display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center' }}>
- <BoxWrapper>
- <Typography variant='h4' sx={{ mb: 2 }}>
- You are not authorized!
- </Typography>
- <Button href='/' component={Link} variant='contained'>
- Back to Home
- </Button>
- </BoxWrapper>
- </Box>
- </Box>
- )
-}
-Error401.getLayout = page => <BlankLayout>{page}</BlankLayout>
-
-export default Error401
diff --git a/web/src/pages/404.js b/web/src/pages/404.js
deleted file mode 100644
index c6a64a5f38..0000000000
--- a/web/src/pages/404.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Link from 'next/link'
-
-import Button from '@mui/material/Button'
-import Typography from '@mui/material/Typography'
-import Box from '@mui/material/Box'
-import { styled } from '@mui/material/styles'
-
-import BlankLayout from 'src/@core/layouts/BlankLayout'
-
-const BoxWrapper = styled(Box)(({ theme }) => ({
- [theme.breakpoints.down('md')]: {
- width: '90vw'
- }
-}))
-
-const Error404 = () => {
- return (
- <Box className='content-center'>
- <Box sx={{ p: 5, display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center' }}>
- <BoxWrapper>
- <Typography variant='h4' sx={{ mb: 2 }}>
- Page Not Found
- </Typography>
- <Button href='/' component={Link} variant='contained'>
- Back to Home
- </Button>
- </BoxWrapper>
- </Box>
- </Box>
- )
-}
-Error404.getLayout = page => <BlankLayout>{page}</BlankLayout>
-
-export default Error404
diff --git a/web/src/pages/500.js b/web/src/pages/500.js
deleted file mode 100644
index d0feef3d3f..0000000000
--- a/web/src/pages/500.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Link from 'next/link'
-
-import Button from '@mui/material/Button'
-import Typography from '@mui/material/Typography'
-import Box from '@mui/material/Box'
-import { styled, useTheme } from '@mui/material/styles'
-
-import BlankLayout from 'src/@core/layouts/BlankLayout'
-
-const BoxWrapper = styled(Box)(({ theme }) => ({
- [theme.breakpoints.down('md')]: {
- width: '90vw'
- }
-}))
-
-const Error500 = () => {
- return (
- <Box className='content-center'>
- <Box sx={{ p: 5, display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center' }}>
- <BoxWrapper>
- <Typography variant='h4' sx={{ mb: 2 }}>
- Internal server error
- </Typography>
- <Button href='/' component={Link} variant='contained'>
- Back to Home
- </Button>
- </BoxWrapper>
- </Box>
- </Box>
- )
-}
-Error500.getLayout = page => <BlankLayout>{page}</BlankLayout>
-
-export default Error500
diff --git a/web/src/pages/_app.js b/web/src/pages/_app.js
deleted file mode 100644
index faa741e092..0000000000
--- a/web/src/pages/_app.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Head from 'next/head'
-import { Router } from 'next/router'
-
-import { store } from 'src/store'
-import { Provider } from 'react-redux'
-
-import NProgress from 'nprogress'
-
-import { CacheProvider } from '@emotion/react'
-
-import themeConfig from 'src/configs/themeConfig'
-
-import 'src/@fake-db'
-
-import { Toaster } from 'react-hot-toast'
-
-import UserLayout from 'src/layouts/UserLayout'
-import ThemeComponent from 'src/@core/theme/ThemeComponent'
-
-import { SettingsConsumer, SettingsProvider } from 'src/@core/context/settingsContext'
-
-import ReactHotToast from 'src/@core/styles/libs/react-hot-toast'
-
-import { createEmotionCache } from 'src/@core/utils/create-emotion-cache'
-
-import 'react-perfect-scrollbar/dist/css/styles.css'
-import 'src/iconify-bundle/icons-bundle-react'
-
-import 'src/styles/globals.css'
-
-const clientSideEmotionCache = createEmotionCache()
-
-if (themeConfig.routingLoader) {
- Router.events.on('routeChangeStart', () => {
- NProgress.start()
- })
- Router.events.on('routeChangeError', () => {
- NProgress.done()
- })
- Router.events.on('routeChangeComplete', () => {
- NProgress.done()
- })
-}
-
-// ** Configure JSS & ClassName
-const App = props => {
- const { Component, emotionCache = clientSideEmotionCache, pageProps } = props
-
- const contentHeightFixed = Component.contentHeightFixed ?? false
-
- const getLayout =
- Component.getLayout ?? (page => <UserLayout contentHeightFixed={contentHeightFixed}>{page}</UserLayout>)
- const setConfig = Component.setConfig ?? undefined
-
- return (
- <Provider store={store}>
- <CacheProvider value={emotionCache}>
- <Head>
- <title>{`${themeConfig.templateName}`}</title>
- <meta name='description' content={`${themeConfig.templateName} - Datastrato.`} />
- <meta name='keywords' content='Gravitino, Datastrato' />
- <meta name='viewport' content='initial-scale=1, width=device-width' />
- </Head>
-
- <SettingsProvider {...(setConfig ? { pageSettings: setConfig() } : {})}>
- <SettingsConsumer>
- {({ settings }) => {
- return (
- <ThemeComponent settings={settings}>
- {getLayout(<Component {...pageProps} />)}
- <ReactHotToast>
- <Toaster position={settings.toastPosition} toastOptions={{ className: 'react-hot-toast' }} />
- </ReactHotToast>
- </ThemeComponent>
- )
- }}
- </SettingsConsumer>
- </SettingsProvider>
- </CacheProvider>
- </Provider>
- )
-}
-
-export default App
diff --git a/web/src/pages/_document.js b/web/src/pages/_document.js
deleted file mode 100644
index b360e3af69..0000000000
--- a/web/src/pages/_document.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { Children } from 'react'
-
-import Document, { Html, Head, Main, NextScript } from 'next/document'
-
-import createEmotionServer from '@emotion/server/create-instance'
-
-import { createEmotionCache } from 'src/@core/utils/create-emotion-cache'
-
-class CustomDocument extends Document {
- render() {
- return (
- <Html lang='en'>
- <Head>
- <link rel='preconnect' href='https://fonts.googleapis.com' />
- <link rel='preconnect' href='https://fonts.gstatic.com' />
- <link
- rel='stylesheet'
- href='https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap'
- />
- <link rel='apple-touch-icon' sizes='180x180' href='/images/apple-touch-icon.png' />
- <link rel='shortcut icon' href='/images/favicon.ico' />
- </Head>
- <body>
- <Main />
- <NextScript />
- </body>
- </Html>
- )
- }
-}
-CustomDocument.getInitialProps = async ctx => {
- const originalRenderPage = ctx.renderPage
- const cache = createEmotionCache()
- const { extractCriticalToChunks } = createEmotionServer(cache)
- ctx.renderPage = () =>
- originalRenderPage({
- enhanceApp: App => props => (
- <App
- {...props} // @ts-ignore
- emotionCache={cache}
- />
- )
- })
- const initialProps = await Document.getInitialProps(ctx)
- const emotionStyles = extractCriticalToChunks(initialProps.html)
-
- const emotionStyleTags = emotionStyles.styles.map(style => {
- return (
- <style
- key={style.key}
- dangerouslySetInnerHTML={{ __html: style.css }}
- data-emotion={`${style.key} ${style.ids.join(' ')}`}
- />
- )
- })
-
- return {
- ...initialProps,
- styles: [...Children.toArray(initialProps.styles), ...emotionStyleTags]
- }
-}
-
-export default CustomDocument
diff --git a/web/src/pages/index.js b/web/src/pages/index.js
deleted file mode 100644
index 6223a9b797..0000000000
--- a/web/src/pages/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import Grid from '@mui/material/Grid'
-import Typography from '@mui/material/Typography'
-import PageHeader from 'src/@core/components/page-header'
-import MetalakeList from 'src/views/home/MetalakeList'
-
-const Home = () => {
- return (
- <Grid container spacing={6}>
- <PageHeader
- title={<Typography sx={{ mb: 4, fontSize: '1.375rem', fontWeight: 700 }}>Metalakes</Typography>}
- subtitle={
- <Typography sx={{ color: 'text.secondary' }}>
- A metalake is the top-level container for data in Gravitino. With a metalake, Gravitino provides a 3-level
- namespace for organizing data: catalog, schemas(also called databases), and tables / view.
- </Typography>
- }
- />
- <Grid item xs={12}>
- <MetalakeList />
- </Grid>
- </Grid>
- )
-}
-
-export default Home
diff --git a/web/src/store/index.js b/web/src/store/index.js
deleted file mode 100644
index 3bc056d557..0000000000
--- a/web/src/store/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { configureStore } from '@reduxjs/toolkit'
-
-import version from './version'
-import metalakes from './metalakes'
-
-export const store = configureStore({
- reducer: {
- version,
- metalakes
- },
- middleware: getDefaultMiddleware =>
- getDefaultMiddleware({
- serializableCheck: false
- })
-})
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
deleted file mode 100644
index 1dfc1826f2..0000000000
--- a/web/src/styles/globals.css
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
-
-html,
-body {
- min-height: 100%;
-}
-
-#__next {
- height: 100%;
-}
-
-code {
- font-family:
- 'Public Sans',
- sans-serif,
- -apple-system,
- BlinkMacSystemFont,
- 'Segoe UI',
- 'Roboto',
- 'Oxygen',
- 'Ubuntu',
- 'Cantarell',
- 'Fira Sans',
- 'Droid Sans',
- 'Helvetica Neue';
- padding: 0.1rem 0.4rem;
- font-size: 90%;
- color: #00a0ff;
- border-radius: 4px;
- background-color: rgba(0, 160, 255, 0.08);
-}
-
-code[class*='language-'] {
- padding: 0;
-}
-
-.logoText {
- font-family: 'Alata' !important;
-}
diff --git a/web/src/views/home/TableHeader.js b/web/src/views/home/TableHeader.js
deleted file mode 100644
index 94a99f0eba..0000000000
--- a/web/src/views/home/TableHeader.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright 2023 Datastrato.
- * This software is licensed under the Apache License version 2.
- */
-
-import { useState } from 'react'
-
-import Box from '@mui/material/Box'
-import Button from '@mui/material/Button'
-import TextField from '@mui/material/TextField'
-
-import Icon from 'src/@core/components/icon'
-
-import CreateMetalakeDialog from './CreateMetalakeDialog'
-
-const TableHeader = props => {
- const { handleFilter, value, dispatch, createMetalake } = props
-
- const [openDialog, setOpenDialog] = useState(false)
-
- const handleCreate = () => {
- setOpenDialog(true)
- }
-
- return (
- <Box
- sx={{
- px: 5,
- pb: 4,
- pt: 4,
- display: 'flex',
- flexWrap: 'wrap',
- alignItems: 'center',
- justifyContent: 'flex-end'
- }}
- >
- <Box sx={{ display: 'flex', alignItems: 'center' }}>
- <TextField
- size='small'
- value={value}
- placeholder='Filter'
- sx={{ mb: 2 }}
- onChange={e => handleFilter(e.target.value)}
- />
- </Box>
- <Button
- variant='contained'
- sx={{ ml: 2, mb: 2 }}
- startIcon={<Icon icon='bx:bxs-plus-square' fontSize={20} />}
- onClick={handleCreate}
- >
- create metalake
- </Button>
- <CreateMetalakeDialog
- open={openDialog}
- setOpen={setOpenDialog}
- dispatch={dispatch}
- createMetalake={createMetalake}
- />
- </Box>
- )
-}
-
-export default TableHeader
diff --git a/web/tailwind.config.js b/web/tailwind.config.js
new file mode 100644
index 0000000000..482634ea7f
--- /dev/null
+++ b/web/tailwind.config.js
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2023 Datastrato.
+ * This software is licensed under the Apache License version 2.
+ */
+
+import tailwindTheme from './lib/theme/tailwind'
+
+/** @type {import('tailwindcss').Config} */
+const tailwindConfig = {
+ darkMode: 'class',
+ corePlugins: {
+ preflight: false
+ },
+ important: true,
+ prefix: 'twc-',
+ content: [
+ './src/**/*.{js,ts,jsx,tsx,mdx}',
+ './app/**/*.{js,ts,jsx,tsx,mdx}',
+ './components/**/*.{js,ts,jsx,tsx,mdx}',
+ './lib/**/*.{js,ts,jsx,tsx,mdx}',
+ './pages/**/*.{js,ts,jsx,tsx,mdx}'
+ ],
+ theme: tailwindTheme,
+ variants: {
+ extends: {}
+ },
+ plugins: []
+}
+
+module.exports = tailwindConfig
diff --git a/web/yarn.lock b/web/yarn.lock
index 7cadf619da..a786883152 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -7,246 +7,58 @@
resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"
integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==
-"@ampproject/remapping@^2.2.0":
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630"
- integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==
- dependencies:
- "@jridgewell/gen-mapping" "^0.3.0"
- "@jridgewell/trace-mapping" "^0.3.9"
-
-"@antfu/install-pkg@^0.1.1":
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/@antfu/install-pkg/-/install-pkg-0.1.1.tgz#157bb04f0de8100b9e4c01734db1a6c77e98bbb5"
- integrity sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==
- dependencies:
- execa "^5.1.1"
- find-up "^5.0.0"
-
-"@antfu/utils@^0.7.5":
- version "0.7.6"
- resolved "https://registry.yarnpkg.com/@antfu/utils/-/utils-0.7.6.tgz#30a046419b9e1ecd276e53d41ab68fb6c558c04d"
- integrity sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==
+"@alloc/quick-lru@^5.2.0":
+ version "5.2.0"
+ resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30"
+ integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==
-"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.22.13":
- version "7.22.13"
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e"
- integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==
+"@babel/code-frame@^7.0.0":
+ version "7.23.5"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244"
+ integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==
dependencies:
- "@babel/highlight" "^7.22.13"
+ "@babel/highlight" "^7.23.4"
chalk "^2.4.2"
-"@babel/compat-data@^7.22.9":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.3.tgz#3febd552541e62b5e883a25eb3effd7c7379db11"
- integrity sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==
-
- version "7.0.0"
- resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0.tgz#0cb0c0fd2e78a0a2bec97698f549ae9ce0b99515"
- integrity sha512-nrvxS5u6QUN5gLl1GEakIcmOeoUHT1/gQtdMRq18WFURJ5osn4ppJLVSseMQo4zVWKJfBTF4muIYijXUnKlRLQ==
- dependencies:
- "@babel/code-frame" "^7.0.0"
- "@babel/generator" "^7.0.0"
- "@babel/helpers" "^7.0.0"
- "@babel/parser" "^7.0.0"
- "@babel/template" "^7.0.0"
- "@babel/traverse" "^7.0.0"
- "@babel/types" "^7.0.0"
- convert-source-map "^1.1.0"
- debug "^3.1.0"
- json5 "^0.5.0"
- lodash "^4.17.10"
- resolve "^1.3.2"
- semver "^5.4.1"
- source-map "^0.5.0"
-
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.3.tgz#5ec09c8803b91f51cc887dedc2654a35852849c9"
- integrity sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==
- dependencies:
- "@ampproject/remapping" "^2.2.0"
- "@babel/code-frame" "^7.22.13"
- "@babel/generator" "^7.23.3"
- "@babel/helper-compilation-targets" "^7.22.15"
- "@babel/helper-module-transforms" "^7.23.3"
- "@babel/helpers" "^7.23.2"
- "@babel/parser" "^7.23.3"
- "@babel/template" "^7.22.15"
- "@babel/traverse" "^7.23.3"
- "@babel/types" "^7.23.3"
- convert-source-map "^2.0.0"
- debug "^4.1.0"
- gensync "^1.0.0-beta.2"
- json5 "^2.2.3"
- semver "^6.3.1"
-
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.3.tgz#7bf0db1c53b54da0c8a12627373554a0828479ca"
- integrity sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw==
- dependencies:
- "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1"
- eslint-visitor-keys "^2.1.0"
- semver "^6.3.1"
-
-"@babel/generator@^7.0.0", "@babel/generator@^7.23.3":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.3.tgz#86e6e83d95903fbe7613f448613b8b319f330a8e"
- integrity sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg==
- dependencies:
- "@babel/types" "^7.23.3"
- "@jridgewell/gen-mapping" "^0.3.2"
- "@jridgewell/trace-mapping" "^0.3.17"
- jsesc "^2.5.1"
-
-"@babel/helper-compilation-targets@^7.22.15":
- version "7.22.15"
- resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52"
- integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==
- dependencies:
- "@babel/compat-data" "^7.22.9"
- "@babel/helper-validator-option" "^7.22.15"
- browserslist "^4.21.9"
- lru-cache "^5.1.1"
- semver "^6.3.1"
-
-"@babel/helper-environment-visitor@^7.22.20":
- version "7.22.20"
- resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167"
- integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==
-
-"@babel/helper-function-name@^7.23.0":
- version "7.23.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759"
- integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==
- dependencies:
- "@babel/template" "^7.22.15"
- "@babel/types" "^7.23.0"
-
-"@babel/helper-hoist-variables@^7.22.5":
- version "7.22.5"
- resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb"
- integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==
- dependencies:
- "@babel/types" "^7.22.5"
-
-"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.22.15":
+"@babel/helper-module-imports@^7.16.7":
version "7.22.15"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0"
integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==
dependencies:
"@babel/types" "^7.22.15"
-"@babel/helper-module-transforms@^7.23.3":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1"
- integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==
- dependencies:
- "@babel/helper-environment-visitor" "^7.22.20"
- "@babel/helper-module-imports" "^7.22.15"
- "@babel/helper-simple-access" "^7.22.5"
- "@babel/helper-split-export-declaration" "^7.22.6"
- "@babel/helper-validator-identifier" "^7.22.20"
-
-"@babel/helper-simple-access@^7.22.5":
- version "7.22.5"
- resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de"
- integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==
- dependencies:
- "@babel/types" "^7.22.5"
-
-"@babel/helper-split-export-declaration@^7.22.6":
- version "7.22.6"
- resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c"
- integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==
- dependencies:
- "@babel/types" "^7.22.5"
-
-"@babel/helper-string-parser@^7.22.5":
- version "7.22.5"
- resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
- integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
+"@babel/helper-string-parser@^7.23.4":
+ version "7.23.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83"
+ integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==
"@babel/helper-validator-identifier@^7.22.20":
version "7.22.20"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
-"@babel/helper-validator-option@^7.22.15":
- version "7.22.15"
- resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040"
- integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==
-
-"@babel/helpers@^7.0.0", "@babel/helpers@^7.23.2":
- version "7.23.2"
- resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.2.tgz#2832549a6e37d484286e15ba36a5330483cac767"
- integrity sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==
- dependencies:
- "@babel/template" "^7.22.15"
- "@babel/traverse" "^7.23.2"
- "@babel/types" "^7.23.0"
-
-"@babel/highlight@^7.22.13":
- version "7.22.20"
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54"
- integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==
+"@babel/highlight@^7.23.4":
+ version "7.23.4"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b"
+ integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==
dependencies:
"@babel/helper-validator-identifier" "^7.22.20"
chalk "^2.4.2"
js-tokens "^4.0.0"
-"@babel/parser@^7.0.0", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.3.tgz#0ce0be31a4ca4f1884b5786057cadcb6c3be58f9"
- integrity sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==
-
-"@babel/runtime@^7.1.2":
- version "7.23.4"
- resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.4.tgz#36fa1d2b36db873d25ec631dcc4923fdc1cf2e2e"
- integrity sha512-2Yv65nlWnWlSpe3fXEyX5i7fx5kIKo4Qbcj+hMO0odwaneFjfXw5fdum+4yL20O0QiaHpia0cYQ9xpNMqrBwHg==
+"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
+ version "7.23.5"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.5.tgz#11edb98f8aeec529b82b211028177679144242db"
+ integrity sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==
dependencies:
regenerator-runtime "^0.14.0"
-"@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.21.0", "@babel/runtime@^7.23.2", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
- version "7.23.2"
- resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.2.tgz#062b0ac103261d68a966c4c7baf2ae3e62ec3885"
- integrity sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==
+"@babel/types@^7.22.15":
+ version "7.23.5"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.5.tgz#48d730a00c95109fa4393352705954d74fb5b602"
+ integrity sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==
dependencies:
- regenerator-runtime "^0.14.0"
-
-"@babel/template@^7.0.0", "@babel/template@^7.22.15":
- version "7.22.15"
- resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38"
- integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==
- dependencies:
- "@babel/code-frame" "^7.22.13"
- "@babel/parser" "^7.22.15"
- "@babel/types" "^7.22.15"
-
-"@babel/traverse@^7.0.0", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.3.tgz#26ee5f252e725aa7aca3474aa5b324eaf7908b5b"
- integrity sha512-+K0yF1/9yR0oHdE0StHuEj3uTPzwwbrLGfNOndVJVV2TqA5+j3oljJUb4nmB954FLGjNem976+B+eDuLIjesiQ==
- dependencies:
- "@babel/code-frame" "^7.22.13"
- "@babel/generator" "^7.23.3"
- "@babel/helper-environment-visitor" "^7.22.20"
- "@babel/helper-function-name" "^7.23.0"
- "@babel/helper-hoist-variables" "^7.22.5"
- "@babel/helper-split-export-declaration" "^7.22.6"
- "@babel/parser" "^7.23.3"
- "@babel/types" "^7.23.3"
- debug "^4.1.0"
- globals "^11.1.0"
-
-"@babel/types@^7.0.0", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3":
- version "7.23.3"
- resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.3.tgz#d5ea892c07f2ec371ac704420f4dcdb07b5f9598"
- integrity sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==
- dependencies:
- "@babel/helper-string-parser" "^7.22.5"
+ "@babel/helper-string-parser" "^7.23.4"
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"
@@ -267,7 +79,7 @@
source-map "^0.5.7"
stylis "4.2.0"
-"@emotion/[email protected]", "@emotion/cache@^11.11.0":
+"@emotion/cache@^11.11.0":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.11.0.tgz#809b33ee6b1cb1a625fef7a45bc568ccd9b8f3ff"
integrity sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==
@@ -295,7 +107,7 @@
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.1.tgz#c1ddb040429c6d21d38cc945fe75c818cfb68e17"
integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==
-"@emotion/[email protected]":
+"@emotion/react@^11.11.1":
version "11.11.1"
resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.11.1.tgz#b2c36afac95b184f73b08da8c214fdf861fa4157"
integrity sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==
@@ -320,7 +132,7 @@
"@emotion/utils" "^1.2.1"
csstype "^3.0.2"
-"@emotion/[email protected]":
+"@emotion/server@^11.11.0":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/server/-/server-11.11.0.tgz#35537176a2a5ed8aed7801f254828e636ec3bd6e"
integrity sha512-6q89fj2z8VBTx9w93kJ5n51hsmtYuFPtZgnc1L8VzRx9ti4EU6EyvF6Nn1H1x3vcCQCF7u2dB2lY4AYJwUW4PA==
@@ -335,7 +147,7 @@
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.2.tgz#d58e788ee27267a14342303e1abb3d508b6d0fec"
integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==
-"@emotion/[email protected]":
+"@emotion/styled@^11.11.0":
version "11.11.0"
resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.11.0.tgz#26b75e1b5a1b7a629d7c0a8b708fbf5a9cdce346"
integrity sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==
@@ -394,10 +206,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
-"@eslint/[email protected]":
- version "8.53.0"
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.53.0.tgz#bea56f2ed2b5baea164348ff4d5a879f6f81f20d"
- integrity sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==
+"@eslint/[email protected]":
+ version "8.54.0"
+ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.54.0.tgz#4fab9a2ff7860082c304f750e94acd644cf984cf"
+ integrity sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==
"@floating-ui/core@^1.4.2":
version "1.5.0"
@@ -426,7 +238,7 @@
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9"
integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==
-"@hookform/[email protected]":
+"@hookform/resolvers@^3.3.2":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.3.2.tgz#5c40f06fe8137390b071d961c66d27ee8f76f3bc"
integrity sha512-Tw+GGPnBp+5DOsSg4ek3LCPgkBOuOgS5DsDV7qsWNH9LZc433kgsWICjlsh2J9p04H2K66hsXPPb9qn9ILdUtA==
@@ -450,62 +262,19 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==
-"@iconify/[email protected]":
- version "3.1.1"
- resolved "https://registry.yarnpkg.com/@iconify/iconify/-/iconify-3.1.1.tgz#aa0f3807be2eab53e86228f7bb1ad3bd59bcec1a"
- integrity sha512-1nemfyD/OJzh9ALepH7YfuuP8BdEB24Skhd8DXWh0hzcOxImbb1ZizSZkpCzAwSZSGcJFmscIBaBQu+yLyWaxQ==
- dependencies:
- "@iconify/types" "^2.0.0"
-
-"@iconify/[email protected]":
- version "2.2.142"
- resolved "https://registry.yarnpkg.com/@iconify/json/-/json-2.2.142.tgz#efc9a47dde8b9535e7144e48f8dca56f7b1c09d7"
- integrity sha512-EfQv1GMGxOySdwaGR3+Diqudkwk4W299cNtcQhg7QAlH9x6FW9851raiYvdOsMZp0ya+Ye+evTTqxyZ4vEh5cw==
- dependencies:
- "@iconify/types" "*"
- pathe "^1.1.0"
-
-"@iconify/[email protected]":
+"@iconify/react@^4.1.1":
version "4.1.1"
resolved "https://registry.yarnpkg.com/@iconify/react/-/react-4.1.1.tgz#da1bf03cdca9427f07cf22cf5b63fa8f02db4722"
integrity sha512-jed14EjvKjee8mc0eoscGxlg7mSQRkwQG3iX3cPBCO7UlOjz0DtlvTqxqEcHUJGh+z1VJ31Yhu5B9PxfO0zbdg==
dependencies:
"@iconify/types" "^2.0.0"
-"@iconify/[email protected]":
- version "3.0.6"
- resolved "https://registry.yarnpkg.com/@iconify/tools/-/tools-3.0.6.tgz#af9e4e2520d276eb100721dcd5528b2946faad42"
- integrity sha512-RIYgZ7YOjcogLxtvdmshcTc80f08yi6FxFGk7ahE5NUOx7hp8mjFJPUSxX6pjhZDDXUvVV4ao9EtdRFLgK+4ow==
- dependencies:
- "@iconify/types" "^2.0.0"
- "@iconify/utils" "^2.1.10"
- "@types/cheerio" "^0.22.32"
- "@types/tar" "^6.1.6"
- cheerio "^1.0.0-rc.12"
- extract-zip "^2.0.1"
- local-pkg "^0.4.3"
- pathe "^1.1.1"
- svgo "^3.0.2"
- tar "^6.2.0"
-
-"@iconify/types@*", "@iconify/[email protected]", "@iconify/types@^2.0.0":
+"@iconify/types@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57"
integrity sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==
-"@iconify/[email protected]", "@iconify/utils@^2.1.10":
- version "2.1.11"
- resolved "https://registry.yarnpkg.com/@iconify/utils/-/utils-2.1.11.tgz#15cf9e15dfeb8e6dd79181dc3994dc1115d042e5"
- integrity sha512-M/w3PkN8zQYXi8N6qK/KhnYMfEbbb6Sk8RZVn8g+Pmmu5ybw177RpsaGwpziyHeUsu4etrexYSWq3rwnIqzYCg==
- dependencies:
- "@antfu/install-pkg" "^0.1.1"
- "@antfu/utils" "^0.7.5"
- "@iconify/types" "^2.0.0"
- debug "^4.3.4"
- kolorist "^1.8.0"
- local-pkg "^0.4.3"
-
-"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2":
+"@jridgewell/gen-mapping@^0.3.2":
version "0.3.3"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098"
integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==
@@ -529,7 +298,7 @@
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
-"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9":
+"@jridgewell/trace-mapping@^0.3.9":
version "0.3.20"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f"
integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==
@@ -555,7 +324,7 @@
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.18.tgz#f8b187dc89756fa5c0b7d15aea537a6f73f0c2d8"
integrity sha512-yFpF35fEVDV81nVktu0BE9qn2dD/chs7PsQhlyaV3EnTeZi9RZBuvoEfRym1/jmhJ2tcfeWXiRuHG942mQXJJQ==
+"@mui/lab@^5.0.0-alpha.153":
version "5.0.0-alpha.153"
resolved "https://registry.yarnpkg.com/@mui/lab/-/lab-5.0.0-alpha.153.tgz#069f3a6fdd0b917da934d554bff0bb7a93e337d2"
integrity sha512-vogVniN5JC7ltqPpPhIGYVImnvu0PnE1UbtFvbzVs3ldt3obWJ5XrhYS/OEV6H2/9dey3nUNU6i36FG1yreFDA==
@@ -568,7 +337,7 @@
clsx "^2.0.0"
prop-types "^15.8.1"
+"@mui/material@^5.14.18":
version "5.14.18"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.14.18.tgz#d0a89be3e27afe90135d542ddbf160b3f34e869c"
integrity sha512-y3UiR/JqrkF5xZR0sIKj6y7xwuEiweh9peiN3Zfjy1gXWXhz5wjlaLdoxFfKIEBUFfeQALxr/Y8avlHH+B9lpQ==
@@ -586,7 +355,7 @@
react-is "^18.2.0"
react-transition-group "^4.4.5"
-"@mui/private-theming@^5.14.18", "@mui/private-theming@^5.4.1":
+"@mui/private-theming@^5.14.18":
version "5.14.18"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.14.18.tgz#98f97139ea21570493391ab377c1deb47fc6d1a2"
integrity sha512-WSgjqRlzfHU+2Rou3HlR2Gqfr4rZRsvFgataYO3qQ0/m6gShJN+lhVEvwEiJ9QYyVzMDvNpXZAcqp8Y2Vl+PAw==
@@ -595,7 +364,7 @@
"@mui/utils" "^5.14.18"
prop-types "^15.8.1"
-"@mui/styled-engine@^5.14.18", "@mui/styled-engine@^5.4.1":
+"@mui/styled-engine@^5.14.18":
version "5.14.18"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.14.18.tgz#82d427bc975b85cecdbab2fd9353ed6c2df7eae1"
integrity sha512-pW8bpmF9uCB5FV2IPk6mfbQCjPI5vGI09NOLhtGXPeph/4xIfC3JdIX0TILU0WcTs3aFQqo6s2+1SFgIB9rCXA==
@@ -605,7 +374,30 @@
csstype "^3.1.2"
prop-types "^15.8.1"
-"@mui/[email protected]", "@mui/system@^5.14.18":
+"@mui/styles@^5.14.18":
+ version "5.14.18"
+ resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.14.18.tgz#fde0cfefeb95188758804f46722933a74b9e6fd6"
+ integrity sha512-dllIn149Fd6xzlf743y5jGbr61V/8qR1JWiwsOc5NAx5eTIooHpJxEfiVErHDpChCaHjlfR6upxvcNDq8IvT2w==
+ dependencies:
+ "@babel/runtime" "^7.23.2"
+ "@emotion/hash" "^0.9.1"
+ "@mui/private-theming" "^5.14.18"
+ "@mui/types" "^7.2.9"
+ "@mui/utils" "^5.14.18"
+ clsx "^2.0.0"
+ csstype "^3.1.2"
+ hoist-non-react-statics "^3.3.2"
+ jss "^10.10.0"
+ jss-plugin-camel-case "^10.10.0"
+ jss-plugin-default-unit "^10.10.0"
+ jss-plugin-global "^10.10.0"
+ jss-plugin-nested "^10.10.0"
+ jss-plugin-props-sort "^10.10.0"
+ jss-plugin-rule-value-function "^10.10.0"
+ jss-plugin-vendor-prefixer "^10.10.0"
+ prop-types "^15.8.1"
+
+"@mui/system@^5.14.18":
version "5.14.18"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.14.18.tgz#0f671e8f0a5e8e965b79235d77c50098f54195b5"
integrity sha512-hSQQdb3KF72X4EN2hMEiv8EYJZSflfdd1TRaGPoR7CIAG347OxCslpBUwWngYobaxgKvq6xTrlIl+diaactVww==
@@ -619,26 +411,12 @@
csstype "^3.1.2"
prop-types "^15.8.1"
- version "5.4.1"
- resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.4.1.tgz#cf253369fbf1d960c792f0ec068fa28af81be3d4"
- integrity sha512-07JBYf9iQdxIHZU8cFOLoxBnkQDUPLb7UBhNxo4998yEqpWFJ00WKgEVYBKvPl0X+MRU/20wqFz6yGIuCx4AeA==
- dependencies:
- "@babel/runtime" "^7.17.0"
- "@mui/private-theming" "^5.4.1"
- "@mui/styled-engine" "^5.4.1"
- "@mui/types" "^7.1.1"
- "@mui/utils" "^5.4.1"
- clsx "^1.1.1"
- csstype "^3.0.10"
- prop-types "^15.7.2"
-
-"@mui/types@^7.1.1", "@mui/types@^7.2.9":
+"@mui/types@^7.2.9":
version "7.2.9"
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.9.tgz#730ee83a37af292a5973962f78ce5c95f31213a7"
integrity sha512-k1lN/PolaRZfNsRdAqXtcR71sTnv3z/VCCGPxU8HfdftDkzi335MdJ6scZxvofMAd/K/9EbzCZTFBmlNpQVdCg==
-"@mui/utils@^5.14.14", "@mui/utils@^5.14.16", "@mui/utils@^5.14.18", "@mui/utils@^5.4.1":
+"@mui/utils@^5.14.14", "@mui/utils@^5.14.16", "@mui/utils@^5.14.18":
version "5.14.18"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.14.18.tgz#d2a46df9b06230423ba6b6317748b27185a56ac3"
integrity sha512-HZDRsJtEZ7WMSnrHV9uwScGze4wM/Y+u6pDVo+grUjt5yXzn+wI8QX/JwTHh9YSw/WpnUL80mJJjgCnWj2VrzQ==
@@ -648,10 +426,10 @@
prop-types "^15.8.1"
react-is "^18.2.0"
- version "6.18.1"
- resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-6.18.1.tgz#0b34d7aebd5d8319524f78c9078dcc57becf06f0"
- integrity sha512-ibsrWwzM2lRRWB1xs/eop63kaxlXH/qar1S1rQx3fycJiYvK6fsM72jsScBNRlRZQQwRVSGI0ZPBsOZ+/tg7Qw==
+"@mui/x-data-grid@^6.18.2":
+ version "6.18.2"
+ resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-6.18.2.tgz#7bfa0ee48adee39f4ad4af96f8bc187152a064ef"
+ integrity sha512-XsVX8OCcYRbSoDVfjoX6gi+KfBitTkUvlMZnI/YkWOyms+pEValJQousvwjhGN1coWp15Yoz9YTGmSGCBxo2HA==
dependencies:
"@babel/runtime" "^7.23.2"
"@mui/utils" "^5.14.16"
@@ -672,69 +450,62 @@
prop-types "^15.8.1"
react-transition-group "^4.4.5"
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/env/-/env-14.0.2.tgz#c1fb535983bca768e7eccd7b9cf4636127fc6d25"
- integrity sha512-HAW1sljizEaduEOes/m84oUqeIDAUYBR1CDwu2tobNlNDFP3cSm9d6QsOsGeNlIppU1p/p1+bWbYCbvwjFiceA==
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/env/-/env-14.0.3.tgz#9a58b296e7ae04ffebce8a4e5bd0f87f71de86bd"
+ integrity sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA==
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-14.0.2.tgz#421799f46116d8032f1739ce5ce89822453c8f03"
- integrity sha512-APrYFsXfAhnysycqxHcpg6Y4i7Ukp30GzVSZQRKT3OczbzkqGjt33vNhScmgoOXYBU1CfkwgtXmNxdiwv1jKmg==
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-14.0.3.tgz#f32413be4db69f698538c38fd6f4091a2feb54c6"
+ integrity sha512-j4K0n+DcmQYCVnSAM+UByTVfIHnYQy2ODozfQP+4RdwtRDfobrIvKq1K4Exb2koJ79HSSa7s6B2SA8T/1YR3RA==
dependencies:
glob "7.1.7"
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.2.tgz#eba35a1425fee5d305903c85ae0d6d2b0d512c7b"
- integrity sha512-i+jQY0fOb8L5gvGvojWyZMfQoQtDVB2kYe7fufOEiST6sicvzI2W5/EXo4lX5bLUjapHKe+nFxuVv7BA+Pd7LQ==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.2.tgz#8adb4dfc3d596c0816da67df9b75603218cf2a42"
- integrity sha512-zRCAO0d2hW6gBEa4wJaLn+gY8qtIqD3gYd9NjruuN98OCI6YyelmhWVVLlREjS7RYrm9OUQIp/iVJFeB6kP1hg==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.2.tgz#1f88d066d44c9229a861815e3d449b0037dae14e"
- integrity sha512-tSJmiaon8YaKsVhi7GgRizZoV0N1Sx5+i+hFTrCKKQN7s3tuqW0Rov+RYdPhAv/pJl4qiG+XfSX4eJXqpNg3dA==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.2.tgz#de9b2708abc35dd19429a662a11785d0c54d1ec7"
- integrity sha512-dXJLMSEOwqJKcag1BeX1C+ekdPPJ9yXbWIt3nAadhbLx5CjACoB2NQj9Xcqu2tmdr5L6m34fR+fjGPs+ZVPLzA==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.2.tgz#64bd555dcbc7fd6c38cb86028baf7d7fc80bd4ac"
- integrity sha512-WC9KAPSowj6as76P3vf1J3mf2QTm3Wv3FBzQi7UJ+dxWjK3MhHVWsWUo24AnmHx9qDcEtHM58okgZkXVqeLB+Q==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.2.tgz#69e6abf0f516df69acbf663eeb8ed6fd8eebcc38"
- integrity sha512-KSSAwvUcjtdZY4zJFa2f5VNJIwuEVnOSlqYqbQIawREJA+gUI6egeiRu290pXioQXnQHYYdXmnVNZ4M+VMB7KQ==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.2.tgz#82bc49af0986f4b2c113b5f223a559fc51b49b9d"
- integrity sha512-2/O0F1SqJ0bD3zqNuYge0ok7OEWCQwk55RPheDYD0va5ij7kYwrFkq5ycCRN0TLjLfxSF6xI5NM6nC5ux7svEQ==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.2.tgz#2f1958ad82b7f7ec5da8ad8ac2f18ef7a8e7757f"
- integrity sha512-vJI/x70Id0oN4Bq/R6byBqV1/NS5Dl31zC+lowO8SDu1fHmUxoAdILZR5X/sKbiJpuvKcCrwbYgJU8FF/Gh50Q==
-
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.2.tgz#629174f587beb640a431a4a3fe4e26d5d4f8de52"
- integrity sha512-Ut4LXIUvC5m8pHTe2j0vq/YDnTEyq6RSR9vHYPqnELrDapPhLNz9Od/L5Ow3J8RNDWpEnfCiQXuVdfjlNEJ7ug==
-
-"@nicolo-ribaudo/[email protected]":
- version "5.1.1-v1"
- resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129"
- integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==
- dependencies:
- eslint-scope "5.1.1"
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.3.tgz#b1a0440ffbf69056451947c4aea5b6d887e9fbbc"
+ integrity sha512-64JbSvi3nbbcEtyitNn2LEDS/hcleAFpHdykpcnrstITFlzFgB/bW0ER5/SJJwUPj+ZPY+z3e+1jAfcczRLVGw==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.3.tgz#48b527ef7eb5dbdcaf62fd107bc3a78371f36f09"
+ integrity sha512-RkTf+KbAD0SgYdVn1XzqE/+sIxYGB7NLMZRn9I4Z24afrhUpVJx6L8hsRnIwxz3ERE2NFURNliPjJ2QNfnWicQ==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.3.tgz#0a36475a38b2855ab8ea0fe8b56899bc90184c0f"
+ integrity sha512-3tBWGgz7M9RKLO6sPWC6c4pAw4geujSwQ7q7Si4d6bo0l6cLs4tmO+lnSwFp1Tm3lxwfMk0SgkJT7EdwYSJvcg==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.3.tgz#25328a9f55baa09fde6364e7e47ade65c655034f"
+ integrity sha512-v0v8Kb8j8T23jvVUWZeA2D8+izWspeyeDGNaT2/mTHWp7+37fiNfL8bmBWiOmeumXkacM/AB0XOUQvEbncSnHA==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.3.tgz#594b747e3c8896b2da67bba54fcf8a6b5a410e5e"
+ integrity sha512-VM1aE1tJKLBwMGtyBR21yy+STfl0MapMQnNrXkxeyLs0GFv/kZqXS5Jw/TQ3TSUnbv0QPDf/X8sDXuMtSgG6eg==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.3.tgz#a02da58fc6ecad8cf5c5a2a96a7f6030ec7f6215"
+ integrity sha512-64EnmKy18MYFL5CzLaSuUn561hbO1Gk16jM/KHznYP3iCIfF9e3yULtHaMy0D8zbHfxset9LTOv6cuYKJgcOxg==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.3.tgz#bf2be23d3ba2ebd0d4a9376a31f783efdb677b48"
+ integrity sha512-WRDp8QrmsL1bbGtsh5GqQ/KWulmrnMBgbnb+59qNTW1kVi1nG/2ndZLkcbs2GX7NpFLlToLRMWSQXmPzQm4tog==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.3.tgz#839f8de85a4bf2c3c69242483ab87cb916427551"
+ integrity sha512-EKffQeqCrj+t6qFFhIFTRoqb2QwX1mU7iTOvMyLbYw3QtqTw9sMwjykyiMlZlrfm2a4fA84+/aeW+PMg1MjuTg==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.3.tgz#27b623612b1d0cea6efe0a0d31aa1a335fc99647"
+ integrity sha512-ERhKPSJ1vQrPiwrs15Pjz/rvDHZmkmvbf/BjPN/UCOI++ODftT0GtasDPi0j+y6PPJi5HsXw+dpRaXUaw4vjuQ==
"@nodelib/[email protected]":
version "2.1.5"
@@ -762,7 +533,7 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==
-"@reduxjs/[email protected]":
+"@reduxjs/toolkit@^1.9.7":
version "1.9.7"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.9.7.tgz#7fc07c0b0ebec52043f8cb43510cf346405f78a6"
integrity sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==
@@ -773,9 +544,9 @@
reselect "^4.1.8"
"@rushstack/eslint-patch@^1.3.3":
- version "1.5.1"
- resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz#5f1b518ec5fa54437c0b7c4a821546c64fed6922"
- integrity sha512-6i/8UoL0P5y4leBIGzvkZdS85RDMG9y1ihZzmTZQ5LdHUYmZ7pKFoj8X0236s3lusPs1Fa5HTQUpwI+UfTcmeA==
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz#1898e7a7b943680d757417a47fb10f5fcc230b39"
+ integrity sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==
version "0.5.2"
@@ -784,18 +555,6 @@
dependencies:
tslib "^2.4.0"
-"@trysound/[email protected]":
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
- integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==
-
-"@types/cheerio@^0.22.32":
- version "0.22.34"
- resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.34.tgz#a2becca3fff0b33697a0e8db20b77d0f8b65894f"
- integrity sha512-uoi5gQGpH5vdNrGOexnNm+19YZLdIRMF/IW8V6w1kIeoXaO1m2mVUMV4dl76tvRRKoIp9d/Z97ZYeIE4lacEsA==
- dependencies:
- "@types/node" "*"
-
"@types/hoist-non-react-statics@^3.3.1":
version "3.3.5"
resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz#dab7867ef789d87e2b4b0003c9d65c49cc44a494"
@@ -814,22 +573,15 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
-"@types/node@*":
- version "20.9.0"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.9.0.tgz#bfcdc230583aeb891cf51e73cfdaacdd8deae298"
- integrity sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==
- dependencies:
- undici-types "~5.26.4"
-
"@types/parse-json@^4.0.0":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239"
integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==
"@types/prop-types@*", "@types/prop-types@^15.7.10":
- version "15.7.10"
- resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.10.tgz#892afc9332c4d62a5ea7e897fe48ed2085bbb08a"
- integrity sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==
+ version "15.7.11"
+ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.11.tgz#2596fb352ee96a1379c657734d4b913a613ad563"
+ integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==
"@types/react-transition-group@^4.4.8":
version "4.4.9"
@@ -839,82 +591,67 @@
"@types/react" "*"
"@types/react@*":
- version "18.2.37"
- resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.37.tgz#0f03af69e463c0f19a356c2660dbca5d19c44cae"
- integrity sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==
+ version "18.2.39"
+ resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.39.tgz#744bee99e053ad61fe74eb8b897f3ab5b19a7e25"
+ integrity sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/scheduler@*":
- version "0.16.6"
- resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.6.tgz#eb26db6780c513de59bee0b869ef289ad3068711"
- integrity sha512-Vlktnchmkylvc9SnwwwozTv04L/e1NykF5vgoQ0XTmI8DD+wxfjQuHuvHS3p0r2jz2x2ghPs2h1FVeDirIteWA==
-
-"@types/tar@^6.1.6":
- version "6.1.9"
- resolved "https://registry.yarnpkg.com/@types/tar/-/tar-6.1.9.tgz#1f8f7033494224e61b97895070fafcdd6ec370f3"
- integrity sha512-T3+O+OQd9cdGmOXuKQY9+B0ceZHRlGVPQ7M5QZqkaPyP/vWnxPXM2aCegq8GP/n1n9dBfq2EBUqCSKKjQAVOPA==
- dependencies:
- "@types/node" "*"
- minipass "^4.0.0"
+ version "0.16.8"
+ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"
+ integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==
"@types/use-sync-external-store@^0.0.3":
version "0.0.3"
resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43"
integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==
-"@types/yauzl@^2.9.1":
- version "2.10.3"
- resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.3.tgz#e9b2808b4f109504a03cda958259876f61017999"
- integrity sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==
- dependencies:
- "@types/node" "*"
-
"@typescript-eslint/parser@^5.4.2 || ^6.0.0":
- version "6.11.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.11.0.tgz#9640d9595d905f3be4f278bf515130e6129b202e"
- integrity sha512-+whEdjk+d5do5nxfxx73oanLL9ghKO3EwM9kBCkUtWMRwWuPaFv9ScuqlYfQ6pAD6ZiJhky7TZ2ZYhrMsfMxVQ==
- dependencies:
- "@typescript-eslint/scope-manager" "6.11.0"
- "@typescript-eslint/types" "6.11.0"
- "@typescript-eslint/typescript-estree" "6.11.0"
- "@typescript-eslint/visitor-keys" "6.11.0"
+ version "6.13.1"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.13.1.tgz#29d6d4e5fab4669e58bc15f6904b67da65567487"
+ integrity sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==
+ dependencies:
+ "@typescript-eslint/scope-manager" "6.13.1"
+ "@typescript-eslint/types" "6.13.1"
+ "@typescript-eslint/typescript-estree" "6.13.1"
+ "@typescript-eslint/visitor-keys" "6.13.1"
debug "^4.3.4"
-"@typescript-eslint/[email protected]":
- version "6.11.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.11.0.tgz#621f603537c89f4d105733d949aa4d55eee5cea8"
- integrity sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==
+"@typescript-eslint/[email protected]":
+ version "6.13.1"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.13.1.tgz#58c7c37c6a957d3d9f59bc4f64c2888e0cac1d70"
+ integrity sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==
dependencies:
- "@typescript-eslint/types" "6.11.0"
- "@typescript-eslint/visitor-keys" "6.11.0"
+ "@typescript-eslint/types" "6.13.1"
+ "@typescript-eslint/visitor-keys" "6.13.1"
-"@typescript-eslint/[email protected]":
- version "6.11.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.11.0.tgz#8ad3aa000cbf4bdc4dcceed96e9b577f15e0bf53"
- integrity sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==
+"@typescript-eslint/[email protected]":
+ version "6.13.1"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.13.1.tgz#b56f26130e7eb8fa1e429c75fb969cae6ad7bb5c"
+ integrity sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==
-"@typescript-eslint/[email protected]":
- version "6.11.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.11.0.tgz#7b52c12a623bf7f8ec7f8a79901b9f98eb5c7990"
- integrity sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==
+"@typescript-eslint/[email protected]":
+ version "6.13.1"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.13.1.tgz#d01dda78d2487434d1c503853fa00291c566efa4"
+ integrity sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==
dependencies:
- "@typescript-eslint/types" "6.11.0"
- "@typescript-eslint/visitor-keys" "6.11.0"
+ "@typescript-eslint/types" "6.13.1"
+ "@typescript-eslint/visitor-keys" "6.13.1"
debug "^4.3.4"
globby "^11.1.0"
is-glob "^4.0.3"
semver "^7.5.4"
ts-api-utils "^1.0.1"
-"@typescript-eslint/[email protected]":
- version "6.11.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.11.0.tgz#d991538788923f92ec40d44389e7075b359f3458"
- integrity sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==
+"@typescript-eslint/[email protected]":
+ version "6.13.1"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.13.1.tgz#c4b692dcc23a4fc60685b718f10fde789d65a540"
+ integrity sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==
dependencies:
- "@typescript-eslint/types" "6.11.0"
+ "@typescript-eslint/types" "6.13.1"
eslint-visitor-keys "^3.4.1"
"@ungap/structured-clone@^1.2.0":
@@ -966,6 +703,24 @@ ansi-styles@^4.1.0:
dependencies:
color-convert "^2.0.1"
+any-promise@^1.0.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
+ integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==
+
+anymatch@~3.1.2:
+ version "3.1.3"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
+ integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
+ dependencies:
+ normalize-path "^3.0.0"
+ picomatch "^2.0.4"
+
+arg@^5.0.2:
+ version "5.0.2"
+ resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c"
+ integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==
+
argparse@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
@@ -1074,6 +829,18 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
+autoprefixer@^10.4.16:
+ version "10.4.16"
+ resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.16.tgz#fad1411024d8670880bdece3970aa72e3572feb8"
+ integrity sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==
+ dependencies:
+ browserslist "^4.21.10"
+ caniuse-lite "^1.0.30001538"
+ fraction.js "^4.3.6"
+ normalize-range "^0.1.2"
+ picocolors "^1.0.0"
+ postcss-value-parser "^4.2.0"
+
available-typed-arrays@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"
@@ -1084,18 +851,10 @@ axe-core@=4.7.0:
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf"
integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==
- version "1.22.0"
- resolved "https://registry.yarnpkg.com/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz#0f3e6be0fc9b55baab06f2d49c0b71157e7c053d"
- integrity sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==
- dependencies:
- fast-deep-equal "^3.1.3"
- is-buffer "^2.0.5"
-
- version "1.6.1"
- resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.1.tgz#76550d644bf0a2d469a01f9244db6753208397d7"
- integrity sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==
+axios@^1.6.2:
+ version "1.6.2"
+ resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2"
+ integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==
dependencies:
follow-redirects "^1.15.0"
form-data "^4.0.0"
@@ -1122,10 +881,10 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
-boolbase@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
- integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==
+binary-extensions@^2.0.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
+ integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
brace-expansion@^1.1.7:
version "1.1.11"
@@ -1135,14 +894,14 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"
-braces@^3.0.2:
+braces@^3.0.2, braces@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
dependencies:
fill-range "^7.0.1"
-browserslist@^4.21.9:
+browserslist@^4.21.10:
version "4.22.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619"
integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==
@@ -1152,11 +911,6 @@ browserslist@^4.21.9:
node-releases "^2.0.13"
update-browserslist-db "^1.0.13"
-buffer-crc32@~0.2.3:
- version "0.2.13"
- resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
- integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==
-
buffer-from@~0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-0.1.2.tgz#15f4b9bcef012044df31142c14333caf6e0260d0"
@@ -1183,10 +937,15 @@ callsites@^3.0.0:
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
-caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001541:
- version "1.0.30001562"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz#9d16c5fd7e9c592c4cd5e304bc0f75b0008b2759"
- integrity sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng==
+camelcase-css@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5"
+ integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==
+
+caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001541:
+ version "1.0.30001565"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001565.tgz#a528b253c8a2d95d2b415e11d8b9942acc100c4f"
+ integrity sha512-xrE//a3O7TP0vaJ8ikzkD2c2NgcVUvsEe2IvFTntV4Yd1Z9FVzh+gW+enX96L0psrbaFMcVcH2l90xNuGDWc8w==
chalk@^2.4.2:
version "2.4.2"
@@ -1205,51 +964,36 @@ chalk@^4.0.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"
-cheerio-select@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4"
- integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==
- dependencies:
- boolbase "^1.0.0"
- css-select "^5.1.0"
- css-what "^6.1.0"
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
-
-cheerio@^1.0.0-rc.12:
- version "1.0.0-rc.12"
- resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683"
- integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==
- dependencies:
- cheerio-select "^2.1.0"
- dom-serializer "^2.0.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
- htmlparser2 "^8.0.1"
- parse5 "^7.0.0"
- parse5-htmlparser2-tree-adapter "^7.0.0"
-
-chownr@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
- integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
+chokidar@^3.5.3:
+ version "3.5.3"
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"
+ integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==
+ dependencies:
+ anymatch "~3.1.2"
+ braces "~3.0.2"
+ glob-parent "~5.1.2"
+ is-binary-path "~2.1.0"
+ is-glob "~4.0.1"
+ normalize-path "~3.0.0"
+ readdirp "~3.6.0"
+ optionalDependencies:
+ fsevents "~2.3.2"
+
+chroma-js@^2.4.2:
+ version "2.4.2"
+ resolved "https://registry.yarnpkg.com/chroma-js/-/chroma-js-2.4.2.tgz#dffc214ed0c11fa8eefca2c36651d8e57cbfb2b0"
+ integrity sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==
version "0.0.1"
resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"
integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==
[email protected], clsx@^2.0.0:
+clsx@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b"
integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==
-clsx@^1.1.1:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
- integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
-
color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
@@ -1286,26 +1030,16 @@ commander@^4.0.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
-commander@^7.2.0:
- version "7.2.0"
- resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
- integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
-
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
-convert-source-map@^1.1.0, convert-source-map@^1.5.0:
+convert-source-map@^1.5.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f"
integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==
-convert-source-map@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
- integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
-
copy-to-clipboard@^3.3.1:
version "3.3.3"
resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0"
@@ -1329,7 +1063,7 @@ cosmiconfig@^7.0.0:
path-type "^4.0.0"
yaml "^1.10.0"
-cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
+cross-spawn@^7.0.0, cross-spawn@^7.0.2:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
@@ -1345,17 +1079,6 @@ css-in-js-utils@^3.1.0:
dependencies:
hyphenate-style-name "^1.0.3"
-css-select@^5.1.0:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6"
- integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==
- dependencies:
- boolbase "^1.0.0"
- css-what "^6.1.0"
- domhandler "^5.0.2"
- domutils "^3.0.1"
- nth-check "^2.0.1"
-
css-tree@^1.1.2:
version "1.1.3"
resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d"
@@ -1364,40 +1087,20 @@ css-tree@^1.1.2:
mdn-data "2.0.14"
source-map "^0.6.1"
-css-tree@^2.2.1:
- version "2.3.1"
- resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20"
- integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==
- dependencies:
- mdn-data "2.0.30"
- source-map-js "^1.0.1"
-
-css-tree@~2.2.0:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032"
- integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==
- dependencies:
- mdn-data "2.0.28"
- source-map-js "^1.0.1"
-
-css-what@^6.1.0:
- version "6.1.0"
- resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4"
- integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==
-
- version "5.0.5"
- resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6"
- integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==
+css-vendor@^2.0.8:
+ version "2.0.8"
+ resolved "https://registry.yarnpkg.com/css-vendor/-/css-vendor-2.0.8.tgz#e47f91d3bd3117d49180a3c935e62e3d9f7f449d"
+ integrity sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==
dependencies:
- css-tree "~2.2.0"
+ "@babel/runtime" "^7.8.3"
+ is-in-browser "^1.0.2"
- version "3.0.10"
- resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5"
- integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==
+cssesc@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
+ integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
-csstype@^3.0.10, csstype@^3.0.2, csstype@^3.1.2:
+csstype@^3.0.2, csstype@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b"
integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==
@@ -1407,26 +1110,19 @@ damerau-levenshtein@^1.0.8:
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7"
integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==
- version "2.30.0"
- resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0"
- integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==
- dependencies:
- "@babel/runtime" "^7.21.0"
-
dayjs@^1.11.10:
version "1.11.10"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0"
integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==
-debug@^3.1.0, debug@^3.2.7:
+debug@^3.2.7:
version "3.2.7"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
dependencies:
ms "^2.1.1"
-debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
+debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
version "4.3.4"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -1466,6 +1162,11 @@ dequal@^2.0.3:
resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be"
integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==
+didyoumean@^1.2.2:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037"
+ integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==
+
dir-glob@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"
@@ -1473,6 +1174,11 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"
+dlv@^1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79"
+ integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==
+
doctrine@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
@@ -1495,36 +1201,6 @@ dom-helpers@^5.0.1:
"@babel/runtime" "^7.8.7"
csstype "^3.0.2"
-dom-serializer@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53"
- integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==
- dependencies:
- domelementtype "^2.3.0"
- domhandler "^5.0.2"
- entities "^4.2.0"
-
-domelementtype@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d"
- integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==
-
-domhandler@^5.0.2, domhandler@^5.0.3:
- version "5.0.3"
- resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31"
- integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==
- dependencies:
- domelementtype "^2.3.0"
-
-domutils@^3.0.1:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e"
- integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==
- dependencies:
- dom-serializer "^2.0.0"
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
-
duplexer2@^0.1.2:
version "0.1.4"
resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1"
@@ -1533,22 +1209,15 @@ duplexer2@^0.1.2:
readable-stream "^2.0.2"
electron-to-chromium@^1.4.535:
- version "1.4.583"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.583.tgz#7b0ac4f36388da4b5485788adb92cd7dd0abffc4"
- integrity sha512-93y1gcONABZ7uqYe/JWDVQP/Pj/sQSunF0HVAPdlg/pfBnOyBMLlQUxWvkqcljJg1+W6cjvPuYD+r1Th9Tn8mA==
+ version "1.4.597"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.597.tgz#9848b9aa52749bf35be88013bab52be232889d94"
+ integrity sha512-0XOQNqHhg2YgRVRUrS4M4vWjFCFIP2ETXcXe/0KIQBjXE9Cpy+tgzzYfuq6HGai3hWq0YywtG+5XK8fyG08EjA==
emoji-regex@^9.2.2:
version "9.2.2"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
-end-of-stream@^1.1.0:
- version "1.4.4"
- resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
- integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
- dependencies:
- once "^1.4.0"
-
enhanced-resolve@^5.12.0:
version "5.15.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35"
@@ -1557,11 +1226,6 @@ enhanced-resolve@^5.12.0:
graceful-fs "^4.2.4"
tapable "^2.2.0"
-entities@^4.2.0, entities@^4.4.0:
- version "4.5.0"
- resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
- integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
-
env-cmd@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
@@ -1689,12 +1353,12 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-14.0.2.tgz#bbcd7af62ed9700d9dd74c1b8538fdb9495d46ce"
- integrity sha512-CasWThlsyIcg/a+clU6KVOMTieuDhTztsrqvniP6AsRki9v7FnojTa7vKQOYM8QSOsQdZ/aElLD1Y2Oc8/PsIg==
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-14.0.3.tgz#7a01d23e4ff143ef87b520fab9efc440fa5879f3"
+ integrity sha512-IKPhpLdpSUyKofmsXUfrvBC49JMUTdeaD8ZIH4v9Vk0sC1X6URTuTJCLtA0Vwuj7V/CQh0oISuSTvNn5//Buew==
dependencies:
- "@next/eslint-plugin-next" "14.0.2"
+ "@next/eslint-plugin-next" "14.0.3"
"@rushstack/eslint-patch" "^1.3.3"
"@typescript-eslint/parser" "^5.4.2 || ^6.0.0"
eslint-import-resolver-node "^0.3.6"
@@ -1704,16 +1368,11 @@ [email protected]:
eslint-plugin-react "^7.33.2"
eslint-plugin-react-hooks "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705"
+eslint-config-prettier@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f"
integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==
- version "1.1.2"
- resolved "https://registry.yarnpkg.com/eslint-import-resolver-alias/-/eslint-import-resolver-alias-1.1.2.tgz#297062890e31e4d6651eb5eba9534e1f6e68fc97"
- integrity sha512-WdviM1Eu834zsfjHtcGHtGfcu+F30Od3V7I9Fi57uhBEwPkjDcii7/yW8jAT+gOhn4P/vOxxNAXbFAKsrrc15w==
-
eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.9:
version "0.3.9"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac"
@@ -1723,7 +1382,7 @@ eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.9:
is-core-module "^2.13.0"
resolve "^1.22.4"
[email protected], eslint-import-resolver-typescript@^3.5.2:
+eslint-import-resolver-typescript@^3.5.2:
version "3.6.1"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz#7b983680edd3f1c5bce1a5829ae0bc2d57fe9efa"
integrity sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==
@@ -1743,7 +1402,7 @@ eslint-module-utils@^2.7.4, eslint-module-utils@^2.8.0:
dependencies:
debug "^3.2.7"
[email protected], eslint-plugin-import@^2.28.1:
+eslint-plugin-import@^2.28.1:
version "2.29.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155"
integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==
@@ -1815,14 +1474,6 @@ eslint-plugin-react@^7.33.2:
semver "^6.3.1"
string.prototype.matchall "^4.0.8"
- 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.2:
version "7.2.2"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f"
@@ -1831,25 +1482,20 @@ eslint-scope@^7.2.2:
esrecurse "^4.3.0"
estraverse "^5.2.0"
-eslint-visitor-keys@^2.1.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, eslint-visitor-keys@^3.4.3:
version "3.4.3"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
- version "8.53.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.53.0.tgz#14f2c8244298fcae1f46945459577413ba2697ce"
- integrity sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==
+eslint@^8:
+ version "8.54.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.54.0.tgz#588e0dd4388af91a2e8fa37ea64924074c783537"
+ integrity sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.3"
- "@eslint/js" "8.53.0"
+ "@eslint/js" "8.54.0"
"@humanwhocodes/config-array" "^0.11.13"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
@@ -1908,11 +1554,6 @@ 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"
@@ -1923,38 +1564,12 @@ esutils@^2.0.2:
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
-execa@^5.1.1:
- version "5.1.1"
- resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
- integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==
- dependencies:
- cross-spawn "^7.0.3"
- get-stream "^6.0.0"
- human-signals "^2.1.0"
- is-stream "^2.0.0"
- merge-stream "^2.0.0"
- npm-run-path "^4.0.1"
- onetime "^5.1.2"
- signal-exit "^3.0.3"
- strip-final-newline "^2.0.0"
-
-extract-zip@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a"
- integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==
- dependencies:
- debug "^4.1.1"
- get-stream "^5.1.0"
- yauzl "^2.10.0"
- optionalDependencies:
- "@types/yauzl" "^2.9.1"
-
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
version "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-glob@^3.2.9, fast-glob@^3.3.1:
+fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1:
version "3.3.2"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129"
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==
@@ -1997,13 +1612,6 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.4"
-fd-slicer@~1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
- integrity sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==
- dependencies:
- pend "~1.2.0"
-
file-entry-cache@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
@@ -2066,18 +1674,21 @@ form-data@^4.0.0:
combined-stream "^1.0.8"
mime-types "^2.1.12"
-fs-minipass@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
- integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==
- dependencies:
- minipass "^3.0.0"
+fraction.js@^4.3.6:
+ version "4.3.7"
+ resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7"
+ integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==
fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
+fsevents@~2.3.2:
+ version "2.3.3"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
+ integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
+
function-bind@^1.1.1, function-bind@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c"
@@ -2098,11 +1709,6 @@ functions-have-names@^1.2.3:
resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
-gensync@^1.0.0-beta.2:
- version "1.0.0-beta.2"
- resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
- integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==
-
get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b"
@@ -2113,18 +1719,6 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@
has-symbols "^1.0.3"
hasown "^2.0.0"
-get-stream@^5.1.0:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
- integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
- dependencies:
- pump "^3.0.0"
-
-get-stream@^6.0.0:
- version "6.0.1"
- resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
- integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
-
get-symbol-description@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6"
@@ -2140,7 +1734,7 @@ get-tsconfig@^4.5.0:
dependencies:
resolve-pkg-maps "^1.0.0"
-glob-parent@^5.1.2:
+glob-parent@^5.1.2, glob-parent@~5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
@@ -2159,6 +1753,18 @@ glob-to-regexp@^0.4.1:
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e"
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
+ version "7.1.6"
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
+ integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
+ dependencies:
+ fs.realpath "^1.0.0"
+ inflight "^1.0.4"
+ inherits "2"
+ minimatch "^3.0.4"
+ once "^1.3.0"
+ path-is-absolute "^1.0.0"
+
version "7.1.7"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
@@ -2183,11 +1789,6 @@ glob@^7.1.3:
once "^1.3.0"
path-is-absolute "^1.0.0"
-globals@^11.1.0:
- version "11.12.0"
- resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
- integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
-
globals@^13.19.0:
version "13.23.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02"
@@ -2300,30 +1901,15 @@ html-tokenize@^2.0.0:
readable-stream "~1.0.27-1"
through2 "~0.4.1"
-htmlparser2@^8.0.1:
- version "8.0.2"
- resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21"
- integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==
- dependencies:
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
- entities "^4.4.0"
-
-human-signals@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
- integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
-
hyphenate-style-name@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d"
integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==
ignore@^5.2.0:
- version "5.2.4"
- resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
- integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
+ version "5.3.0"
+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78"
+ integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==
immer@^9.0.21:
version "9.0.21"
@@ -2401,6 +1987,13 @@ is-bigint@^1.0.1:
dependencies:
has-bigints "^1.0.1"
+is-binary-path@~2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
+ integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
+ dependencies:
+ binary-extensions "^2.0.0"
+
is-boolean-object@^1.1.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719"
@@ -2409,11 +2002,6 @@ is-boolean-object@^1.1.0:
call-bind "^1.0.2"
has-tostringtag "^1.0.0"
-is-buffer@^2.0.5:
- version "2.0.5"
- resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191"
- integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==
-
is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
@@ -2452,13 +2040,18 @@ is-generator-function@^1.0.10:
dependencies:
has-tostringtag "^1.0.0"
-is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3:
+is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:
version "4.0.3"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
dependencies:
is-extglob "^2.1.1"
+is-in-browser@^1.0.2, is-in-browser@^1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835"
+ integrity sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g==
+
is-map@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127"
@@ -2506,11 +2099,6 @@ is-shared-array-buffer@^1.0.2:
dependencies:
call-bind "^1.0.2"
-is-stream@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
- integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==
-
is-string@^1.0.5, is-string@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd"
@@ -2583,6 +2171,11 @@ iterator.prototype@^1.1.2:
reflect.getprototypeof "^1.0.4"
set-function-name "^2.0.1"
+jiti@^1.19.1:
+ version "1.21.0"
+ resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d"
+ integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==
+
js-cookie@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.1.tgz#69e106dc5d5806894562902aa5baec3744e9b2b8"
@@ -2600,11 +2193,6 @@ js-yaml@^4.1.0:
dependencies:
argparse "^2.0.1"
-jsesc@^2.5.1:
- version "2.5.2"
- resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
- integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
-
version "3.0.1"
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13"
@@ -2625,11 +2213,6 @@ json-stable-stringify-without-jsonify@^1.0.1:
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
-json5@^0.5.0:
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
- integrity sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==
-
json5@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593"
@@ -2637,10 +2220,75 @@ json5@^1.0.2:
dependencies:
minimist "^1.2.0"
-json5@^2.2.3:
- version "2.2.3"
- resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
- integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
+jss-plugin-camel-case@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-camel-case/-/jss-plugin-camel-case-10.10.0.tgz#27ea159bab67eb4837fa0260204eb7925d4daa1c"
+ integrity sha512-z+HETfj5IYgFxh1wJnUAU8jByI48ED+v0fuTuhKrPR+pRBYS2EDwbusU8aFOpCdYhtRc9zhN+PJ7iNE8pAWyPw==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ hyphenate-style-name "^1.0.3"
+ jss "10.10.0"
+
+jss-plugin-default-unit@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-default-unit/-/jss-plugin-default-unit-10.10.0.tgz#db3925cf6a07f8e1dd459549d9c8aadff9804293"
+ integrity sha512-SvpajxIECi4JDUbGLefvNckmI+c2VWmP43qnEy/0eiwzRUsafg5DVSIWSzZe4d2vFX1u9nRDP46WCFV/PXVBGQ==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ jss "10.10.0"
+
+jss-plugin-global@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-global/-/jss-plugin-global-10.10.0.tgz#1c55d3c35821fab67a538a38918292fc9c567efd"
+ integrity sha512-icXEYbMufiNuWfuazLeN+BNJO16Ge88OcXU5ZDC2vLqElmMybA31Wi7lZ3lf+vgufRocvPj8443irhYRgWxP+A==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ jss "10.10.0"
+
+jss-plugin-nested@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-nested/-/jss-plugin-nested-10.10.0.tgz#db872ed8925688806e77f1fc87f6e62264513219"
+ integrity sha512-9R4JHxxGgiZhurDo3q7LdIiDEgtA1bTGzAbhSPyIOWb7ZubrjQe8acwhEQ6OEKydzpl8XHMtTnEwHXCARLYqYA==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ jss "10.10.0"
+ tiny-warning "^1.0.2"
+
+jss-plugin-props-sort@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-props-sort/-/jss-plugin-props-sort-10.10.0.tgz#67f4dd4c70830c126f4ec49b4b37ccddb680a5d7"
+ integrity sha512-5VNJvQJbnq/vRfje6uZLe/FyaOpzP/IH1LP+0fr88QamVrGJa0hpRRyAa0ea4U/3LcorJfBFVyC4yN2QC73lJg==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ jss "10.10.0"
+
+jss-plugin-rule-value-function@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.10.0.tgz#7d99e3229e78a3712f78ba50ab342e881d26a24b"
+ integrity sha512-uEFJFgaCtkXeIPgki8ICw3Y7VMkL9GEan6SqmT9tqpwM+/t+hxfMUdU4wQ0MtOiMNWhwnckBV0IebrKcZM9C0g==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ jss "10.10.0"
+ tiny-warning "^1.0.2"
+
+jss-plugin-vendor-prefixer@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.10.0.tgz#c01428ef5a89f2b128ec0af87a314d0c767931c7"
+ integrity sha512-UY/41WumgjW8r1qMCO8l1ARg7NHnfRVWRhZ2E2m0DMYsr2DD91qIXLyNhiX83hHswR7Wm4D+oDYNC1zWCJWtqg==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ css-vendor "^2.0.8"
+ jss "10.10.0"
+
[email protected], jss@^10.10.0:
+ version "10.10.0"
+ resolved "https://registry.yarnpkg.com/jss/-/jss-10.10.0.tgz#a75cc85b0108c7ac8c7b7d296c520a3e4fbc6ccc"
+ integrity sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw==
+ dependencies:
+ "@babel/runtime" "^7.3.1"
+ csstype "^3.0.2"
+ is-in-browser "^1.1.3"
+ tiny-warning "^1.0.2"
"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5:
version "3.3.5"
@@ -2659,11 +2307,6 @@ keyv@^4.5.3:
dependencies:
json-buffer "3.0.1"
-kolorist@^1.8.0:
- version "1.8.0"
- resolved "https://registry.yarnpkg.com/kolorist/-/kolorist-1.8.0.tgz#edddbbbc7894bc13302cdf740af6374d4a04743c"
- integrity sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==
-
language-subtag-registry@^0.3.20:
version "0.3.22"
resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d"
@@ -2684,16 +2327,21 @@ levn@^0.4.1:
prelude-ls "^1.2.1"
type-check "~0.4.0"
+lilconfig@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
+ integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==
+
+lilconfig@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.0.0.tgz#f8067feb033b5b74dab4602a5f5029420be749bc"
+ integrity sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==
+
lines-and-columns@^1.1.6:
version "1.2.4"
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
-local-pkg@^0.4.3:
- version "0.4.3"
- resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.4.3.tgz#0ff361ab3ae7f1c19113d9bb97b98b905dbc4963"
- integrity sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==
-
locate-path@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"
@@ -2706,25 +2354,13 @@ lodash.merge@^4.6.2:
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
-lodash@^4.17.10:
- version "4.17.21"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
- integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
-
-loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
+loose-envify@^1.1.0, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
dependencies:
js-tokens "^3.0.0 || ^4.0.0"
-lru-cache@^5.1.1:
- version "5.1.1"
- resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
- integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
- dependencies:
- yallist "^3.0.2"
-
lru-cache@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
@@ -2737,27 +2373,12 @@ [email protected]:
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==
- version "2.0.28"
- resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba"
- integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==
-
- version "2.0.30"
- resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc"
- integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==
-
-merge-stream@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
- integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
-
merge2@^1.3.0, merge2@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
-micromatch@^4.0.4:
+micromatch@^4.0.4, micromatch@^4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==
@@ -2777,11 +2398,6 @@ mime-types@^2.1.12:
dependencies:
mime-db "1.52.0"
-mimic-fn@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
- integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
-
minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@@ -2794,36 +2410,6 @@ minimist@^1.2.0, minimist@^1.2.6, minimist@~1.2.5:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
-minipass@^3.0.0:
- version "3.3.6"
- resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a"
- integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==
- dependencies:
- yallist "^4.0.0"
-
-minipass@^4.0.0:
- version "4.2.8"
- resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a"
- integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==
-
-minipass@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d"
- integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==
-
-minizlib@^2.1.1:
- version "2.1.2"
- resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
- integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
- dependencies:
- minipass "^3.0.0"
- yallist "^4.0.0"
-
-mkdirp@^1.0.3:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
- integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
-
version "2.1.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
@@ -2842,10 +2428,19 @@ multipipe@^1.0.2:
duplexer2 "^0.1.2"
object-assign "^4.1.0"
-nano-css@^5.3.1:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/nano-css/-/nano-css-5.6.0.tgz#b370802b0bb96e57be450734aa7ca5fa9be047f6"
- integrity sha512-jNikscxQv93wwhmXN4w6XC1HVllqo3UvK2u7PRqjOfMJaD5gGkGvECgLxtILndQrWMUr4Mn8I4VurUyxMOipFw==
+mz@^2.7.0:
+ version "2.7.0"
+ resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
+ integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==
+ dependencies:
+ any-promise "^1.0.0"
+ object-assign "^4.0.1"
+ thenify-all "^1.0.0"
+
+nano-css@^5.6.1:
+ version "5.6.1"
+ resolved "https://registry.yarnpkg.com/nano-css/-/nano-css-5.6.1.tgz#964120cb1af6cccaa6d0717a473ccd876b34c197"
+ integrity sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.15"
css-tree "^1.1.2"
@@ -2866,12 +2461,17 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
-next@^14.0.2:
- version "14.0.2"
- resolved "https://registry.yarnpkg.com/next/-/next-14.0.2.tgz#02ba6a1656edf14d3913c7a3553026e9d6e083c7"
- integrity sha512-jsAU2CkYS40GaQYOiLl9m93RTv2DA/tTJ0NRlmZIBIL87YwQ/xR8k796z7IqgM3jydI8G25dXvyYMC9VDIevIg==
+next-redux-wrapper@^8.1.0:
+ version "8.1.0"
+ resolved "https://registry.yarnpkg.com/next-redux-wrapper/-/next-redux-wrapper-8.1.0.tgz#d9c135f1ceeb2478375bdacd356eb9db273d3a07"
+ integrity sha512-2hIau0hcI6uQszOtrvAFqgc0NkZegKYhBB7ZAKiG3jk7zfuQb4E7OV9jfxViqqojh3SEHdnFfPkN9KErttUKuw==
+
+ version "14.0.3"
+ resolved "https://registry.yarnpkg.com/next/-/next-14.0.3.tgz#8d801a08eaefe5974203d71092fccc463103a03f"
+ integrity sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==
dependencies:
- "@next/env" "14.0.2"
+ "@next/env" "14.0.3"
"@swc/helpers" "0.5.2"
busboy "1.6.0"
caniuse-lite "^1.0.30001406"
@@ -2879,45 +2479,46 @@ next@^14.0.2:
styled-jsx "5.1.1"
watchpack "2.4.0"
optionalDependencies:
- "@next/swc-darwin-arm64" "14.0.2"
- "@next/swc-darwin-x64" "14.0.2"
- "@next/swc-linux-arm64-gnu" "14.0.2"
- "@next/swc-linux-arm64-musl" "14.0.2"
- "@next/swc-linux-x64-gnu" "14.0.2"
- "@next/swc-linux-x64-musl" "14.0.2"
- "@next/swc-win32-arm64-msvc" "14.0.2"
- "@next/swc-win32-ia32-msvc" "14.0.2"
- "@next/swc-win32-x64-msvc" "14.0.2"
+ "@next/swc-darwin-arm64" "14.0.3"
+ "@next/swc-darwin-x64" "14.0.3"
+ "@next/swc-linux-arm64-gnu" "14.0.3"
+ "@next/swc-linux-arm64-musl" "14.0.3"
+ "@next/swc-linux-x64-gnu" "14.0.3"
+ "@next/swc-linux-x64-musl" "14.0.3"
+ "@next/swc-win32-arm64-msvc" "14.0.3"
+ "@next/swc-win32-ia32-msvc" "14.0.3"
+ "@next/swc-win32-x64-msvc" "14.0.3"
node-releases@^2.0.13:
version "2.0.13"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d"
integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==
-npm-run-path@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
- integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==
- dependencies:
- path-key "^3.0.0"
+normalize-path@^3.0.0, normalize-path@~3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
+ integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
+
+normalize-range@^0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
+ integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==
+nprogress@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1"
integrity sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==
-nth-check@^2.0.1:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d"
- integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==
- dependencies:
- boolbase "^1.0.0"
-
-object-assign@^4.1.0, object-assign@^4.1.1:
+object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
+object-hash@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9"
+ integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==
+
object-inspect@^1.13.1, object-inspect@^1.9.0:
version "1.13.1"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2"
@@ -2988,20 +2589,13 @@ object.values@^1.1.6, object.values@^1.1.7:
define-properties "^1.2.0"
es-abstract "^1.22.1"
-once@^1.3.0, once@^1.3.1, once@^1.4.0:
+once@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
dependencies:
wrappy "1"
-onetime@^5.1.2:
- version "5.1.2"
- resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e"
- integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==
- dependencies:
- mimic-fn "^2.1.0"
-
optionator@^0.9.3:
version "0.9.3"
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64"
@@ -3045,21 +2639,6 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"
-parse5-htmlparser2-tree-adapter@^7.0.0:
- version "7.0.0"
- resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz#23c2cc233bcf09bb7beba8b8a69d46b08c62c2f1"
- integrity sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==
- dependencies:
- domhandler "^5.0.2"
- parse5 "^7.0.0"
-
-parse5@^7.0.0:
- version "7.1.2"
- resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32"
- integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==
- dependencies:
- entities "^4.4.0"
-
path-exists@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
@@ -3070,7 +2649,7 @@ path-is-absolute@^1.0.0:
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
-path-key@^3.0.0, path-key@^3.1.0:
+path-key@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
@@ -3085,16 +2664,6 @@ path-type@^4.0.0:
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
-pathe@^1.1.0, pathe@^1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.1.tgz#1dd31d382b974ba69809adc9a7a347e65d84829a"
- integrity sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==
-
-pend@~1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
- integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==
-
perfect-scrollbar@^1.5.0:
version "1.5.5"
resolved "https://registry.yarnpkg.com/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz#41a211a2fb52a7191eff301432134ea47052b27f"
@@ -3105,12 +2674,66 @@ picocolors@^1.0.0:
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
-picomatch@^2.3.1:
+picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
+pify@^2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
+ integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==
+
+pirates@^4.0.1:
+ version "4.0.6"
+ resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9"
+ integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==
+
+postcss-import@^15.1.0:
+ version "15.1.0"
+ resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-15.1.0.tgz#41c64ed8cc0e23735a9698b3249ffdbf704adc70"
+ integrity sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==
+ dependencies:
+ postcss-value-parser "^4.0.0"
+ read-cache "^1.0.0"
+ resolve "^1.1.7"
+
+postcss-js@^4.0.1:
+ version "4.0.1"
+ resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.1.tgz#61598186f3703bab052f1c4f7d805f3991bee9d2"
+ integrity sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==
+ dependencies:
+ camelcase-css "^2.0.1"
+
+postcss-load-config@^4.0.1:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz#7159dcf626118d33e299f485d6afe4aff7c4a3e3"
+ integrity sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==
+ dependencies:
+ lilconfig "^3.0.0"
+ yaml "^2.3.4"
+
+postcss-nested@^6.0.1:
+ version "6.0.1"
+ resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-6.0.1.tgz#f83dc9846ca16d2f4fa864f16e9d9f7d0961662c"
+ integrity sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==
+ dependencies:
+ postcss-selector-parser "^6.0.11"
+
+postcss-selector-parser@^6.0.11:
+ version "6.0.13"
+ resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b"
+ integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==
+ dependencies:
+ cssesc "^3.0.0"
+ util-deprecate "^1.0.2"
+
+postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
+ integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
+
[email protected], postcss@^8, postcss@^8.4.23:
version "8.4.31"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d"
integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
@@ -3124,7 +2747,7 @@ 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@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e"
integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==
@@ -3134,7 +2757,7 @@ process-nextick-args@~2.0.0:
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
-prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
+prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
@@ -3153,14 +2776,6 @@ proxy-from-env@^1.1.0:
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
-pump@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
- integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
- dependencies:
- end-of-stream "^1.1.0"
- once "^1.3.1"
-
punycode@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
@@ -3171,7 +2786,7 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
+react-dom@^18:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
@@ -3179,17 +2794,12 @@ [email protected]:
loose-envify "^1.1.0"
scheduler "^0.23.0"
-react-fast-compare@^3.0.1:
- version "3.2.2"
- resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.2.tgz#929a97a532304ce9fee4bcae44234f1ce2c21d49"
- integrity sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==
-
+react-hook-form@^7.48.2:
version "7.48.2"
resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.48.2.tgz#01150354d2be61412ff56a030b62a119283b9935"
integrity sha512-H0T2InFQb1hX7qKtDIZmvpU1Xfn/bdahWBN1fH19gSe4bBEqTfmlr7H3XWTaVtiK4/tpPaI1F3355GPMZYge+A==
+react-hot-toast@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/react-hot-toast/-/react-hot-toast-2.4.1.tgz#df04295eda8a7b12c4f968e54a61c8d36f4c0994"
integrity sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==
@@ -3206,7 +2816,7 @@ react-is@^18.0.0, react-is@^18.2.0:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
+react-perfect-scrollbar@^1.5.8:
version "1.5.8"
resolved "https://registry.yarnpkg.com/react-perfect-scrollbar/-/react-perfect-scrollbar-1.5.8.tgz#380959387a325c5c9d0268afc08b3f73ed5b3078"
integrity sha512-bQ46m70gp/HJtiBOF3gRzBISSZn8FFGNxznTdmTG8AAwpxG1bJCyn7shrgjEvGSQ5FJEafVEiosY+ccER11OSA==
@@ -3214,15 +2824,7 @@ [email protected]:
perfect-scrollbar "^1.5.0"
prop-types "^15.6.1"
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-2.3.0.tgz#17891c620e1320dce318bad9fede46a5f71c70ba"
- integrity sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==
- dependencies:
- react-fast-compare "^3.0.1"
- warning "^4.0.2"
-
+react-redux@^8.1.3:
version "8.1.3"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-8.1.3.tgz#4fdc0462d0acb59af29a13c27ffef6f49ab4df46"
integrity sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==
@@ -3249,10 +2851,10 @@ react-universal-interface@^0.6.2:
resolved "https://registry.yarnpkg.com/react-universal-interface/-/react-universal-interface-0.6.2.tgz#5e8d438a01729a4dbbcbeeceb0b86be146fe2b3b"
integrity sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==
-react-use@^17.4.0:
- version "17.4.0"
- resolved "https://registry.yarnpkg.com/react-use/-/react-use-17.4.0.tgz#cefef258b0a6c534a5c8021c2528ac6e1a4cdc6d"
- integrity sha512-TgbNTCA33Wl7xzIJegn1HndB4qTS9u03QUwyNycUnXaweZkE4Kq2SB+Yoxx8qbshkZGYBDvUXbXWRUmQDcZZ/Q==
+react-use@^17.4.1:
+ version "17.4.1"
+ resolved "https://registry.yarnpkg.com/react-use/-/react-use-17.4.1.tgz#e486f14892c96fe2c3764270dfb2df922a69c5aa"
+ integrity sha512-f3EdGM5ea+2EEIkfgggE+Jhza7uEek8aEMTpd1TQnyqGAD4wew3CMVshiXEP6kstjBE4XUGoKVxttqio76ijNw==
dependencies:
"@types/js-cookie" "^2.2.6"
"@xobotyi/scrollbar-width" "^1.9.5"
@@ -3260,7 +2862,7 @@ react-use@^17.4.0:
fast-deep-equal "^3.1.3"
fast-shallow-equal "^1.0.0"
js-cookie "^2.2.1"
- nano-css "^5.3.1"
+ nano-css "^5.6.1"
react-universal-interface "^0.6.2"
resize-observer-polyfill "^1.5.1"
screenfull "^5.1.0"
@@ -3269,13 +2871,20 @@ react-use@^17.4.0:
ts-easing "^0.2.0"
tslib "^2.1.0"
+react@^18:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
dependencies:
loose-envify "^1.1.0"
+read-cache@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"
+ integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==
+ dependencies:
+ pify "^2.3.0"
+
readable-stream@^2.0.2:
version "2.3.8"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b"
@@ -3299,6 +2908,13 @@ readable-stream@~1.0.17, readable-stream@~1.0.27-1:
isarray "0.0.1"
string_decoder "~0.10.x"
+readdirp@~3.6.0:
+ version "3.6.0"
+ resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
+ integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==
+ dependencies:
+ picomatch "^2.2.1"
+
redux-thunk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.4.2.tgz#b9d05d11994b99f7a91ea223e8b04cf0afa5ef3b"
@@ -3357,7 +2973,7 @@ resolve-pkg-maps@^1.0.0:
resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f"
integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==
-resolve@^1.19.0, resolve@^1.22.4, resolve@^1.3.2:
+resolve@^1.1.7, resolve@^1.19.0, resolve@^1.22.2, resolve@^1.22.4:
version "1.22.8"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==
@@ -3437,11 +3053,6 @@ screenfull@^5.1.0:
resolved "https://registry.yarnpkg.com/screenfull/-/screenfull-5.2.0.tgz#6533d524d30621fc1283b9692146f3f13a93d1ba"
integrity sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==
-semver@^5.4.1:
- version "5.7.2"
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
- integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
-
semver@^6.3.1:
version "6.3.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
@@ -3499,17 +3110,12 @@ side-channel@^1.0.4:
get-intrinsic "^1.0.2"
object-inspect "^1.9.0"
-signal-exit@^3.0.3:
- version "3.0.7"
- resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
- integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
-
slash@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
-source-map-js@^1.0.1, source-map-js@^1.0.2:
+source-map-js@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
@@ -3519,7 +3125,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
integrity sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==
-source-map@^0.5.0, source-map@^0.5.7:
+source-map@^0.5.7:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==
@@ -3629,11 +3235,6 @@ strip-bom@^3.0.0:
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==
-strip-final-newline@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"
- integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==
-
strip-json-comments@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
@@ -3656,6 +3257,19 @@ stylis@^4.3.0:
resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.3.0.tgz#abe305a669fc3d8777e10eefcfc73ad861c5588c"
integrity sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==
+sucrase@^3.32.0:
+ version "3.34.0"
+ resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f"
+ integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==
+ dependencies:
+ "@jridgewell/gen-mapping" "^0.3.2"
+ commander "^4.0.0"
+ glob "7.1.6"
+ lines-and-columns "^1.1.6"
+ mz "^2.7.0"
+ pirates "^4.0.1"
+ ts-interface-checker "^0.1.9"
+
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -3675,40 +3289,58 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
-svgo@^3.0.2:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.0.3.tgz#8cdfece6d4a0dc1dc116766d806daf817c1798b8"
- integrity sha512-X4UZvLhOglD5Xrp834HzGHf8RKUW0Ahigg/08yRO1no9t2NxffOkMiQ0WmaMIbaGlVTlSst2zWANsdhz5ybXgA==
- dependencies:
- "@trysound/sax" "0.2.0"
- commander "^7.2.0"
- css-select "^5.1.0"
- css-tree "^2.2.1"
- csso "5.0.5"
+tailwindcss@^3.3.5:
+ version "3.3.5"
+ resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.5.tgz#22a59e2fbe0ecb6660809d9cc5f3976b077be3b8"
+ integrity sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==
+ dependencies:
+ "@alloc/quick-lru" "^5.2.0"
+ arg "^5.0.2"
+ chokidar "^3.5.3"
+ didyoumean "^1.2.2"
+ dlv "^1.1.3"
+ fast-glob "^3.3.0"
+ glob-parent "^6.0.2"
+ is-glob "^4.0.3"
+ jiti "^1.19.1"
+ lilconfig "^2.1.0"
+ micromatch "^4.0.5"
+ normalize-path "^3.0.0"
+ object-hash "^3.0.0"
picocolors "^1.0.0"
+ postcss "^8.4.23"
+ postcss-import "^15.1.0"
+ postcss-js "^4.0.1"
+ postcss-load-config "^4.0.1"
+ postcss-nested "^6.0.1"
+ postcss-selector-parser "^6.0.11"
+ resolve "^1.22.2"
+ sucrase "^3.32.0"
tapable@^2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
-tar@^6.2.0:
- version "6.2.0"
- resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73"
- integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==
- dependencies:
- chownr "^2.0.0"
- fs-minipass "^2.0.0"
- minipass "^5.0.0"
- minizlib "^2.1.1"
- mkdirp "^1.0.3"
- yallist "^4.0.0"
-
text-table@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==
+thenify-all@^1.0.0:
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726"
+ integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==
+ dependencies:
+ thenify ">= 3.1.0 < 4"
+
+"thenify@>= 3.1.0 < 4":
+ version "3.3.1"
+ resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f"
+ integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==
+ dependencies:
+ any-promise "^1.0.0"
+
throttle-debounce@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-3.0.1.tgz#32f94d84dfa894f786c9a1f290e7a645b6a19abb"
@@ -3732,6 +3364,11 @@ tiny-case@^1.0.3:
resolved "https://registry.yarnpkg.com/tiny-case/-/tiny-case-1.0.3.tgz#d980d66bc72b5d5a9ca86fb7c9ffdb9c898ddd03"
integrity sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==
+tiny-warning@^1.0.2:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
+ integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
+
to-fast-properties@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
@@ -3764,6 +3401,11 @@ ts-easing@^0.2.0:
resolved "https://registry.yarnpkg.com/ts-easing/-/ts-easing-0.2.0.tgz#c8a8a35025105566588d87dbda05dd7fbfa5a4ec"
integrity sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==
+ts-interface-checker@^0.1.9:
+ version "0.1.13"
+ resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
+ integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==
+
tsconfig-paths@^3.14.2:
version "3.14.2"
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
@@ -3845,11 +3487,6 @@ unbox-primitive@^1.0.2:
has-symbols "^1.0.3"
which-boxed-primitive "^1.0.2"
-undici-types@~5.26.4:
- version "5.26.5"
- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
- integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
-
update-browserslist-db@^1.0.13:
version "1.0.13"
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4"
@@ -3870,18 +3507,11 @@ use-sync-external-store@^1.0.0:
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a"
integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==
-util-deprecate@~1.0.1:
+util-deprecate@^1.0.2, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
-warning@^4.0.2:
- version "4.0.3"
- resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
- integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==
- dependencies:
- loose-envify "^1.0.0"
-
version "2.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d"
@@ -3959,11 +3589,6 @@ xtend@~2.1.1:
dependencies:
object-keys "~0.4.0"
-yallist@^3.0.2:
- version "3.1.1"
- resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
- integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
-
yallist@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
@@ -3974,20 +3599,17 @@ yaml@^1.10.0:
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
-yauzl@^2.10.0:
- version "2.10.0"
- resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
- integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==
- dependencies:
- buffer-crc32 "~0.2.3"
- fd-slicer "~1.1.0"
+yaml@^2.3.4:
+ version "2.3.4"
+ resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2"
+ integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+yup@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/yup/-/yup-1.3.2.tgz#afffc458f1513ed386e6aaf4bcaa4e67a9e270dc"
integrity sha512-6KCM971iQtJ+/KUaHdrhVr2LDkfhBtFPRnsG1P8F4q3uUVQ2RfEM9xekpha9aA4GXWJevjM10eDcPQ1FfWlmaQ==