From 218a6c4c3a7b74f390f2bee918412d87c1e49b8b Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Tue, 23 Nov 2021 22:53:38 +0800 Subject: [PATCH] refactor: migration-to-mui-v5. --- package-lock.json | 1167 ++++++++++++++++++++++++++++--- package.json | 10 +- src/articles/article-editor.tsx | 10 +- src/articles/articles-index.tsx | 10 +- src/commons/auth/login.tsx | 2 +- src/commons/editor/vditor.tsx | 8 +- src/commons/route/router.tsx | 2 +- src/index.tsx | 45 +- src/layouts/default.tsx | 43 +- src/tags/article-editor.tsx | 10 +- src/tags/tags-index.tsx | 10 +- 11 files changed, 1165 insertions(+), 152 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3a99178..24c7f2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,14 @@ "@curi/react-dom": "^2.0.4", "@curi/router": "^2.1.2", "@date-io/date-fns": "^1.3.13", + "@emotion/react": "^11.6.0", + "@emotion/styled": "^11.6.0", "@fennec/configuration": "^0.0.1", "@hickory/browser": "^2.1.0", - "@material-ui/core": "^4.11.3", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "*", - "@material-ui/pickers": "^3.3.10", + "@mui/icons-material": "^5.2.0", + "@mui/lab": "^5.0.0-alpha.56", + "@mui/material": "^5.2.0", + "@mui/styles": "^5.2.0", "@nestjs-lib/auth": "^0.1.1", "@testing-library/jest-dom": "^5.11.10", "@testing-library/react": "^11.2.6", @@ -2874,12 +2876,240 @@ "date-fns": "^2.0.0" } }, + "node_modules/@date-io/dayjs": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fdayjs/-/dayjs-2.11.0.tgz", + "integrity": "sha512-w67vRK56NZJIKhJM/CrNbfnIcuMvR3ApfxzNZiCZ5w29sxgBDeKuX4M+P7A9r5HXOMGcsOcpgaoTDINNGkdpGQ==", + "license": "MIT", + "dependencies": { + "@date-io/core": "^2.11.0" + }, + "peerDependencies": { + "dayjs": "^1.8.17" + }, + "peerDependenciesMeta": { + "dayjs": { + "optional": true + } + } + }, + "node_modules/@date-io/dayjs/node_modules/@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==", + "license": "MIT" + }, + "node_modules/@date-io/luxon": { + "version": "2.11.1", + "resolved": "https://npm.ivanli.cc/@date-io%2fluxon/-/luxon-2.11.1.tgz", + "integrity": "sha512-JUXo01kdPQxLORxqdENrgdUhooKgDUggsNRSdi2BcUhASIY2KGwwWXu8ikVHHGkw+DUF4FOEKGfkQd0RHSvX6g==", + "license": "MIT", + "dependencies": { + "@date-io/core": "^2.11.0" + }, + "peerDependencies": { + "luxon": "^1.21.3 || ^2.x" + }, + "peerDependenciesMeta": { + "luxon": { + "optional": true + } + } + }, + "node_modules/@date-io/luxon/node_modules/@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==", + "license": "MIT" + }, + "node_modules/@date-io/moment": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fmoment/-/moment-2.11.0.tgz", + "integrity": "sha512-QSL+83qezQ9Ty0dtFgAkk6eC0GMl/lgYfDajeVUDB3zVA2A038hzczRLBg29ifnBGhQMPABxuOafgWwhDjlarg==", + "license": "MIT", + "dependencies": { + "@date-io/core": "^2.11.0" + }, + "peerDependencies": { + "moment": "^2.24.0" + }, + "peerDependenciesMeta": { + "moment": { + "optional": true + } + } + }, + "node_modules/@date-io/moment/node_modules/@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==", + "license": "MIT" + }, + "node_modules/@emotion/babel-plugin": { + "version": "11.3.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fbabel-plugin/-/babel-plugin-11.3.0.tgz", + "integrity": "sha512-UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.12.13", + "@babel/plugin-syntax-jsx": "^7.12.13", + "@babel/runtime": "^7.13.10", + "@emotion/hash": "^0.8.0", + "@emotion/memoize": "^0.7.5", + "@emotion/serialize": "^1.0.2", + "babel-plugin-macros": "^2.6.1", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "^4.0.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://npm.ivanli.cc/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@emotion/cache": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fcache/-/cache-11.6.0.tgz", + "integrity": "sha512-ElbsWY1KMwEowkv42vGo0UPuLgtPYfIs9BxxVrmvsaJVvktknsHYYlx5NQ5g6zLDcOTyamlDc7FkRg2TAcQDKQ==", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.7.4", + "@emotion/sheet": "^1.1.0", + "@emotion/utils": "^1.0.0", + "@emotion/weak-memoize": "^0.2.5", + "stylis": "^4.0.10" + } + }, "node_modules/@emotion/hash": { "version": "0.8.0", "resolved": "https://npm.ivanli.cc/@emotion%2fhash/-/hash-0.8.0.tgz", "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==", "license": "MIT" }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.1.1", + "resolved": "https://npm.ivanli.cc/@emotion%2fis-prop-valid/-/is-prop-valid-1.1.1.tgz", + "integrity": "sha512-bW1Tos67CZkOURLc0OalnfxtSXQJMrAMV0jZTVGJUPSOd4qgjF3+tTD5CwJM13PHA8cltGW1WGbbvV9NpvUZPw==", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.7.4" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.7.5", + "resolved": "https://npm.ivanli.cc/@emotion%2fmemoize/-/memoize-0.7.5.tgz", + "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==", + "license": "MIT" + }, + "node_modules/@emotion/react": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2freact/-/react-11.6.0.tgz", + "integrity": "sha512-23MnRZFBN9+D1lHXC5pD6z4X9yhPxxtHr6f+iTGz6Fv6Rda0GdefPrsHL7otsEf+//7uqCdT5QtHeRxHCERzuw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@emotion/cache": "^11.6.0", + "@emotion/serialize": "^1.0.2", + "@emotion/sheet": "^1.1.0", + "@emotion/utils": "^1.0.0", + "@emotion/weak-memoize": "^0.2.5", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.0.2", + "resolved": "https://npm.ivanli.cc/@emotion%2fserialize/-/serialize-1.0.2.tgz", + "integrity": "sha512-95MgNJ9+/ajxU7QIAruiOAdYNjxZX7G2mhgrtDWswA21VviYIRP1R5QilZ/bDY42xiKsaktP4egJb3QdYQZi1A==", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.8.0", + "@emotion/memoize": "^0.7.4", + "@emotion/unitless": "^0.7.5", + "@emotion/utils": "^1.0.0", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/serialize/node_modules/csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==", + "license": "MIT" + }, + "node_modules/@emotion/sheet": { + "version": "1.1.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fsheet/-/sheet-1.1.0.tgz", + "integrity": "sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==", + "license": "MIT" + }, + "node_modules/@emotion/styled": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fstyled/-/styled-11.6.0.tgz", + "integrity": "sha512-mxVtVyIOTmCAkFbwIp+nCjTXJNgcz4VWkOYQro87jE2QBTydnkiYusMrRGFtzuruiGK4dDaNORk4gH049iiQuw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@emotion/babel-plugin": "^11.3.0", + "@emotion/is-prop-valid": "^1.1.1", + "@emotion/serialize": "^1.0.2", + "@emotion/utils": "^1.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://npm.ivanli.cc/@emotion%2funitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==", + "license": "MIT" + }, + "node_modules/@emotion/utils": { + "version": "1.0.0", + "resolved": "https://npm.ivanli.cc/@emotion%2futils/-/utils-1.0.0.tgz", + "integrity": "sha512-mQC2b3XLDs6QCW+pDQDiyO/EdGZYOygE8s5N5rrzjSI4M3IejPE/JPndCBwRT9z982aqQNi6beWs1UeayrQxxA==", + "license": "MIT" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.2.5", + "resolved": "https://npm.ivanli.cc/@emotion%2fweak-memoize/-/weak-memoize-0.2.5.tgz", + "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==", + "license": "MIT" + }, "node_modules/@endemolshinegroup/cosmiconfig-typescript-loader": { "version": "3.0.2", "resolved": "https://npm.ivanli.cc/@endemolshinegroup%2fcosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz", @@ -4429,6 +4659,7 @@ "resolved": "https://npm.ivanli.cc/@material-ui%2fcore/-/core-4.12.3.tgz", "integrity": "sha512-sdpgI/PL56QVsEJldwEe4FFaFTLUqN+rd7sSZiRCdx2E/C7z5yK0y/khAWVBH24tXwto7I1hCzNWfJGZIYJKnw==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.4.4", "@material-ui/styles": "^4.11.4", @@ -4461,61 +4692,12 @@ } } }, - "node_modules/@material-ui/icons": { - "version": "4.11.2", - "resolved": "https://npm.ivanli.cc/@material-ui%2ficons/-/icons-4.11.2.tgz", - "integrity": "sha512-fQNsKX2TxBmqIGJCSi3tGTO/gZ+eJgWmMJkgDiOfyNaunNaxcklJQFaFogYcFl0qFuaEz1qaXYXboa/bUXVSOQ==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.4.4" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "@material-ui/core": "^4.0.0", - "@types/react": "^16.8.6 || ^17.0.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@material-ui/lab": { - "version": "4.0.0-alpha.60", - "resolved": "https://npm.ivanli.cc/@material-ui%2flab/-/lab-4.0.0-alpha.60.tgz", - "integrity": "sha512-fadlYsPJF+0fx2lRuyqAuJj7hAS1tLDdIEEdov5jlrpb5pp4b+mRDUqQTUxi4inRZHS1bEXpU8QWUhO6xX88aA==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.4.4", - "@material-ui/utils": "^4.11.2", - "clsx": "^1.0.4", - "prop-types": "^15.7.2", - "react-is": "^16.8.0 || ^17.0.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "@material-ui/core": "^4.12.1", - "@types/react": "^16.8.6 || ^17.0.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@material-ui/pickers": { "version": "3.3.10", "resolved": "https://npm.ivanli.cc/@material-ui%2fpickers/-/pickers-3.3.10.tgz", "integrity": "sha512-hS4pxwn1ZGXVkmgD4tpFpaumUaAg2ZzbTrxltfC5yPw4BJV+mGkfnQOB4VpWEYZw2jv65Z0wLwDE/piQiPPZ3w==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.6.0", "@date-io/core": "1.x", @@ -4537,6 +4719,7 @@ "resolved": "https://npm.ivanli.cc/@material-ui%2fstyles/-/styles-4.11.4.tgz", "integrity": "sha512-KNTIZcnj/zprG5LW0Sao7zw+yG3O35pviHzejMdcSGCdWbiO8qzRgOYL8JAxAsWBKOKYwVZxXtHWaB5T2Kvxew==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", @@ -4578,6 +4761,7 @@ "resolved": "https://npm.ivanli.cc/@material-ui%2fsystem/-/system-4.12.1.tgz", "integrity": "sha512-lUdzs4q9kEXZGhbN7BptyiS1rLNHe6kG9o8Y307HCvF4sQxbCgpL2qi+gUk+yI8a2DNk48gISEQxoxpgph0xIw==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.4.4", "@material-ui/utils": "^4.11.2", @@ -4607,6 +4791,7 @@ "resolved": "https://npm.ivanli.cc/@material-ui%2ftypes/-/types-5.1.0.tgz", "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==", "license": "MIT", + "peer": true, "peerDependencies": { "@types/react": "*" }, @@ -4621,6 +4806,7 @@ "resolved": "https://npm.ivanli.cc/@material-ui%2futils/-/utils-4.11.2.tgz", "integrity": "sha512-Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.4.4", "prop-types": "^15.7.2", @@ -4641,6 +4827,374 @@ "dev": true, "license": "MIT" }, + "node_modules/@mui/base": { + "version": "5.0.0-alpha.56", + "resolved": "https://npm.ivanli.cc/@mui%2fbase/-/base-5.0.0-alpha.56.tgz", + "integrity": "sha512-BlPuRx778JoNIF34m8wOPDZSburwFbH+Y1y97KoAEqC2Qra2UGV3+vII3R9+qkikIKEWJvv1327J7sCfxfpGFQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@emotion/is-prop-valid": "^1.1.1", + "@mui/utils": "^5.2.0", + "@popperjs/core": "^2.4.4", + "clsx": "^1.1.1", + "prop-types": "^15.7.2", + "react-is": "^17.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2", + "react-dom": "^17.0.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/icons-material": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2ficons-material/-/icons-material-5.2.0.tgz", + "integrity": "sha512-NvyrVaGKpP4R1yFw8BCnE0QcsQ67RtpgxPr4FtH8q60MDYPuPVczLOn5Ash5CFavoDWur/NfM/4DpT54yf3InA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/lab": { + "version": "5.0.0-alpha.56", + "resolved": "https://npm.ivanli.cc/@mui%2flab/-/lab-5.0.0-alpha.56.tgz", + "integrity": "sha512-qyEmm++0gnK5hYip6Gsv3KDdPtTIYGsOATjPxR96/2tPAJg2yAWH0PrCObayrsLVhs7q7AsqydZHjmEHdeh38Q==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@date-io/date-fns": "^2.11.0", + "@date-io/dayjs": "^2.11.0", + "@date-io/luxon": "^2.11.1", + "@date-io/moment": "^2.11.0", + "@mui/base": "5.0.0-alpha.56", + "@mui/system": "^5.2.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "prop-types": "^15.7.2", + "react-is": "^17.0.2", + "react-transition-group": "^4.4.2", + "rifm": "^0.12.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@mui/material": "^5.0.0", + "@types/react": "^16.8.6 || ^17.0.0", + "date-fns": "^2.25.0", + "dayjs": "^1.10.7", + "luxon": "^1.28.0 || ^2.0.0", + "moment": "^2.29.1", + "react": "^17.0.2", + "react-dom": "^17.0.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "date-fns": { + "optional": true + }, + "dayjs": { + "optional": true + }, + "luxon": { + "optional": true + }, + "moment": { + "optional": true + } + } + }, + "node_modules/@mui/lab/node_modules/@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==", + "license": "MIT" + }, + "node_modules/@mui/lab/node_modules/@date-io/date-fns": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fdate-fns/-/date-fns-2.11.0.tgz", + "integrity": "sha512-mPQ71plBeFrArvBSHtjWMHXA89IUbZ6kuo2dsjlRC/1uNOybo91spIb+wTu03NxKTl8ut07s0jJ9svF71afpRg==", + "license": "MIT", + "dependencies": { + "@date-io/core": "^2.11.0" + }, + "peerDependencies": { + "date-fns": "^2.0.0" + }, + "peerDependenciesMeta": { + "date-fns": { + "optional": true + } + } + }, + "node_modules/@mui/lab/node_modules/rifm": { + "version": "0.12.0", + "resolved": "https://npm.ivanli.cc/rifm/-/rifm-0.12.0.tgz", + "integrity": "sha512-PqOl+Mo2lyqrKiD34FPlnQ+ksD3F+a62TQlphiZshgriyHdfjn6jGyqUZhd+s3nsMYXwXYDdjrrv8wX7QsOG3g==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8" + } + }, + "node_modules/@mui/material": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fmaterial/-/material-5.2.0.tgz", + "integrity": "sha512-AJehUbf0pWA+X9x+rXM4xHjLdNSf3YZzVt9YP/Pa75HCIDn4Dg2neiZu/Cg57C19WMlUf3nyn4Vkz4nD48DgPA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@mui/base": "5.0.0-alpha.56", + "@mui/system": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "@types/react-transition-group": "^4.4.4", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "hoist-non-react-statics": "^3.3.2", + "prop-types": "^15.7.2", + "react-is": "^17.0.2", + "react-transition-group": "^4.4.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/material-ui" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2", + "react-dom": "^17.0.2" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==", + "license": "MIT" + }, + "node_modules/@mui/private-theming": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fprivate-theming/-/private-theming-5.2.0.tgz", + "integrity": "sha512-ABdL+X/AR5CJdjPIwMcYaXrC+kLeHC7q83PiSfBHwOv6SPhGWWHL5MphibQMNuEcuG4rdUZrJLTT/L22oxdldg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@mui/utils": "^5.2.0", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/material-ui" + }, + "peerDependencies": { + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styled-engine": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fstyled-engine/-/styled-engine-5.2.0.tgz", + "integrity": "sha512-NZ4pWYQcM5wreUfiXRd7IMFRF+Nq1vMzsIdXtXNjgctJTKHunrofasoBqv+cqevO+hqT75ezSbNHyaXzOXp6Mg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@emotion/cache": "^11.6.0", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/material-ui" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.2" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/styles": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fstyles/-/styles-5.2.0.tgz", + "integrity": "sha512-ZM1/M3dtdhA6XID4ZrCj6M1FJOrLafO7W5DtNJZepPN4HfDdAZpyEBxWRv0yltceiW1YxhL4WNIOIWFx9Re19Q==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@emotion/hash": "^0.8.0", + "@mui/private-theming": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "hoist-non-react-statics": "^3.3.2", + "jss": "^10.8.2", + "jss-plugin-camel-case": "^10.8.2", + "jss-plugin-default-unit": "^10.8.2", + "jss-plugin-global": "^10.8.2", + "jss-plugin-nested": "^10.8.2", + "jss-plugin-props-sort": "^10.8.2", + "jss-plugin-rule-value-function": "^10.8.2", + "jss-plugin-vendor-prefixer": "^10.8.2", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/material-ui" + }, + "peerDependencies": { + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styles/node_modules/csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==", + "license": "MIT" + }, + "node_modules/@mui/system": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fsystem/-/system-5.2.0.tgz", + "integrity": "sha512-l5nbNuT5WP0d/qmQwSzGn5JztEpclYWNrfS0JokupP/MtlmqSPoLs3KiXxyuKJxwfHOCY4rdxHTb6kJxDxL1Ew==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@mui/private-theming": "^5.2.0", + "@mui/styled-engine": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "prop-types": "^15.7.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/material-ui" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^16.8.6 || ^17.0.0", + "react": "^17.0.2" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/system/node_modules/csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==", + "license": "MIT" + }, + "node_modules/@mui/types": { + "version": "7.1.0", + "resolved": "https://npm.ivanli.cc/@mui%2ftypes/-/types-7.1.0.tgz", + "integrity": "sha512-Hh7ALdq/GjfIwLvqH3XftuY3bcKhupktTm+S6qRIDGOtPtRuq2L21VWzOK4p7kblirK0XgGVH5BLwa6u8z/6QQ==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/utils": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2futils/-/utils-5.2.0.tgz", + "integrity": "sha512-RiaRY0Qyr8IzgUK0+SuCxugG2wlPYkZ7JQPGmaFdRX2EUbudFiUPgzFAEp+VvJIGkdbxFq8t/t3Sy9WO7DbMEA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.16.3", + "@types/prop-types": "^15.7.4", + "@types/react-is": "^16.7.1 || ^17.0.0", + "prop-types": "^15.7.2", + "react-is": "^17.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "react": "^17.0.2" + } + }, "node_modules/@nestjs-lib/auth": { "version": "0.1.1", "resolved": "https://npm.ivanli.cc/@nestjs-lib%2fauth/-/auth-0.1.1.tgz", @@ -4932,6 +5486,16 @@ "npm": ">=5.0.0" } }, + "node_modules/@popperjs/core": { + "version": "2.10.2", + "resolved": "https://npm.ivanli.cc/@popperjs%2fcore/-/core-2.10.2.tgz", + "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://npm.ivanli.cc/@protobufjs%2faspromise/-/aspromise-1.1.2.tgz", @@ -6011,6 +6575,15 @@ "@types/react": "*" } }, + "node_modules/@types/react-is": { + "version": "17.0.3", + "resolved": "https://npm.ivanli.cc/@types%2freact-is/-/react-is-17.0.3.tgz", + "integrity": "sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==", + "license": "MIT", + "dependencies": { + "@types/react": "*" + } + }, "node_modules/@types/react-transition-group": { "version": "4.4.4", "resolved": "https://npm.ivanli.cc/@types%2freact-transition-group/-/react-transition-group-4.4.4.tgz", @@ -6079,6 +6652,7 @@ "resolved": "https://npm.ivanli.cc/@types%2fstyled-jsx/-/styled-jsx-2.2.9.tgz", "integrity": "sha512-W/iTlIkGEyTBGTEvZCey8EgQlQ5l0DwMqi3iOXlLs2kyBwYTXHKEiU6IZ5EwoRwngL8/dGYuzezSup89ttVHLw==", "license": "MIT", + "peer": true, "dependencies": { "@types/react": "*" } @@ -6704,6 +7278,8 @@ "resolved": "https://npm.ivanli.cc/agentkeepalive/-/agentkeepalive-4.1.4.tgz", "integrity": "sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "debug": "^4.1.0", "depd": "^1.1.2", @@ -10656,7 +11232,8 @@ "version": "2.6.19", "resolved": "https://npm.ivanli.cc/csstype/-/csstype-2.6.19.tgz", "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/cyclist": { "version": "1.0.1", @@ -11572,6 +12149,7 @@ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "license": "MIT", "optional": true, + "peer": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -11582,6 +12160,7 @@ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "license": "MIT", "optional": true, + "peer": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -11649,7 +12228,9 @@ "version": "2.0.3", "resolved": "https://npm.ivanli.cc/err-code/-/err-code-2.0.3.tgz", "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/errno": { "version": "0.1.8", @@ -13524,6 +14105,12 @@ "integrity": "sha512-C9XrjG5O1EWPHSjY/hzJaUAoyUQ+KhmiYn0zHohOpScSeWr5TqJu613iIvzI4DnIKpdcBZZ5B4ifiUA10Y2HuA==", "license": "MIT" }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://npm.ivanli.cc/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "license": "MIT" + }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://npm.ivanli.cc/find-up/-/find-up-4.1.0.tgz", @@ -14953,6 +15540,7 @@ "version": "4.1.0", "resolved": "https://npm.ivanli.cc/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "devOptional": true, "license": "BSD-2-Clause" }, "node_modules/http-deceiver": { @@ -15190,6 +15778,8 @@ "resolved": "https://npm.ivanli.cc/humanize-ms/-/humanize-ms-1.2.1.tgz", "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ms": "^2.0.0" } @@ -15807,7 +16397,9 @@ "version": "1.0.1", "resolved": "https://npm.ivanli.cc/is-lambda/-/is-lambda-1.0.1.tgz", "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/is-lower-case": { "version": "2.0.2", @@ -18649,6 +19241,8 @@ "resolved": "https://npm.ivanli.cc/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz", "integrity": "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "agentkeepalive": "^4.1.3", "cacache": "^15.0.5", @@ -19028,6 +19622,8 @@ "resolved": "https://npm.ivanli.cc/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", @@ -19069,6 +19665,8 @@ "resolved": "https://npm.ivanli.cc/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "license": "ISC", + "optional": true, + "peer": true, "dependencies": { "minipass": "^3.0.0" }, @@ -23290,7 +23888,8 @@ "version": "1.16.1-lts", "resolved": "https://npm.ivanli.cc/popper.js/-/popper.js-1.16.1-lts.tgz", "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/portfinder": { "version": "1.0.28", @@ -24765,6 +25364,8 @@ "resolved": "https://npm.ivanli.cc/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -24778,6 +25379,8 @@ "resolved": "https://npm.ivanli.cc/retry/-/retry-0.12.0.tgz", "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 4" } @@ -26568,6 +27171,7 @@ "resolved": "https://npm.ivanli.cc/rifm/-/rifm-0.7.0.tgz", "integrity": "sha512-DSOJTWHD67860I5ojetXdEQRIBvF6YcpNe53j0vn1vp9EUb9N80EiZTxgP+FkDKorWC8PZw052kTF4C1GOivCQ==", "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.3.1" }, @@ -27595,6 +28199,8 @@ "resolved": "https://npm.ivanli.cc/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -27861,6 +28467,8 @@ "resolved": "https://npm.ivanli.cc/socks/-/socks-2.6.1.tgz", "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ip": "^1.1.5", "smart-buffer": "^4.1.0" @@ -27875,6 +28483,8 @@ "resolved": "https://npm.ivanli.cc/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz", "integrity": "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "agent-base": "^6.0.2", "debug": "4", @@ -28516,6 +29126,12 @@ "node": ">=8" } }, + "node_modules/stylis": { + "version": "4.0.10", + "resolved": "https://npm.ivanli.cc/stylis/-/stylis-4.0.10.tgz", + "integrity": "sha512-m3k+dk7QeJw660eIKRRn3xPF6uuvHs/FFzjX3HQ5ove0qYsiygoAhwn5a3IYKaZPo5LrYD0rfVmtv1gNY1uYwg==", + "license": "MIT" + }, "node_modules/subscriptions-transport-ws": { "version": "0.9.19", "resolved": "https://npm.ivanli.cc/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.19.tgz", @@ -34262,11 +34878,172 @@ "@date-io/core": "^1.3.13" } }, + "@date-io/dayjs": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fdayjs/-/dayjs-2.11.0.tgz", + "integrity": "sha512-w67vRK56NZJIKhJM/CrNbfnIcuMvR3ApfxzNZiCZ5w29sxgBDeKuX4M+P7A9r5HXOMGcsOcpgaoTDINNGkdpGQ==", + "requires": { + "@date-io/core": "^2.11.0" + }, + "dependencies": { + "@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==" + } + } + }, + "@date-io/luxon": { + "version": "2.11.1", + "resolved": "https://npm.ivanli.cc/@date-io%2fluxon/-/luxon-2.11.1.tgz", + "integrity": "sha512-JUXo01kdPQxLORxqdENrgdUhooKgDUggsNRSdi2BcUhASIY2KGwwWXu8ikVHHGkw+DUF4FOEKGfkQd0RHSvX6g==", + "requires": { + "@date-io/core": "^2.11.0" + }, + "dependencies": { + "@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==" + } + } + }, + "@date-io/moment": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fmoment/-/moment-2.11.0.tgz", + "integrity": "sha512-QSL+83qezQ9Ty0dtFgAkk6eC0GMl/lgYfDajeVUDB3zVA2A038hzczRLBg29ifnBGhQMPABxuOafgWwhDjlarg==", + "requires": { + "@date-io/core": "^2.11.0" + }, + "dependencies": { + "@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==" + } + } + }, + "@emotion/babel-plugin": { + "version": "11.3.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fbabel-plugin/-/babel-plugin-11.3.0.tgz", + "integrity": "sha512-UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA==", + "requires": { + "@babel/helper-module-imports": "^7.12.13", + "@babel/plugin-syntax-jsx": "^7.12.13", + "@babel/runtime": "^7.13.10", + "@emotion/hash": "^0.8.0", + "@emotion/memoize": "^0.7.5", + "@emotion/serialize": "^1.0.2", + "babel-plugin-macros": "^2.6.1", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "^4.0.3" + }, + "dependencies": { + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://npm.ivanli.cc/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + } + } + }, + "@emotion/cache": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fcache/-/cache-11.6.0.tgz", + "integrity": "sha512-ElbsWY1KMwEowkv42vGo0UPuLgtPYfIs9BxxVrmvsaJVvktknsHYYlx5NQ5g6zLDcOTyamlDc7FkRg2TAcQDKQ==", + "requires": { + "@emotion/memoize": "^0.7.4", + "@emotion/sheet": "^1.1.0", + "@emotion/utils": "^1.0.0", + "@emotion/weak-memoize": "^0.2.5", + "stylis": "^4.0.10" + } + }, "@emotion/hash": { "version": "0.8.0", "resolved": "https://npm.ivanli.cc/@emotion%2fhash/-/hash-0.8.0.tgz", "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" }, + "@emotion/is-prop-valid": { + "version": "1.1.1", + "resolved": "https://npm.ivanli.cc/@emotion%2fis-prop-valid/-/is-prop-valid-1.1.1.tgz", + "integrity": "sha512-bW1Tos67CZkOURLc0OalnfxtSXQJMrAMV0jZTVGJUPSOd4qgjF3+tTD5CwJM13PHA8cltGW1WGbbvV9NpvUZPw==", + "requires": { + "@emotion/memoize": "^0.7.4" + } + }, + "@emotion/memoize": { + "version": "0.7.5", + "resolved": "https://npm.ivanli.cc/@emotion%2fmemoize/-/memoize-0.7.5.tgz", + "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==" + }, + "@emotion/react": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2freact/-/react-11.6.0.tgz", + "integrity": "sha512-23MnRZFBN9+D1lHXC5pD6z4X9yhPxxtHr6f+iTGz6Fv6Rda0GdefPrsHL7otsEf+//7uqCdT5QtHeRxHCERzuw==", + "requires": { + "@babel/runtime": "^7.13.10", + "@emotion/cache": "^11.6.0", + "@emotion/serialize": "^1.0.2", + "@emotion/sheet": "^1.1.0", + "@emotion/utils": "^1.0.0", + "@emotion/weak-memoize": "^0.2.5", + "hoist-non-react-statics": "^3.3.1" + } + }, + "@emotion/serialize": { + "version": "1.0.2", + "resolved": "https://npm.ivanli.cc/@emotion%2fserialize/-/serialize-1.0.2.tgz", + "integrity": "sha512-95MgNJ9+/ajxU7QIAruiOAdYNjxZX7G2mhgrtDWswA21VviYIRP1R5QilZ/bDY42xiKsaktP4egJb3QdYQZi1A==", + "requires": { + "@emotion/hash": "^0.8.0", + "@emotion/memoize": "^0.7.4", + "@emotion/unitless": "^0.7.5", + "@emotion/utils": "^1.0.0", + "csstype": "^3.0.2" + }, + "dependencies": { + "csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" + } + } + }, + "@emotion/sheet": { + "version": "1.1.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fsheet/-/sheet-1.1.0.tgz", + "integrity": "sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==" + }, + "@emotion/styled": { + "version": "11.6.0", + "resolved": "https://npm.ivanli.cc/@emotion%2fstyled/-/styled-11.6.0.tgz", + "integrity": "sha512-mxVtVyIOTmCAkFbwIp+nCjTXJNgcz4VWkOYQro87jE2QBTydnkiYusMrRGFtzuruiGK4dDaNORk4gH049iiQuw==", + "requires": { + "@babel/runtime": "^7.13.10", + "@emotion/babel-plugin": "^11.3.0", + "@emotion/is-prop-valid": "^1.1.1", + "@emotion/serialize": "^1.0.2", + "@emotion/utils": "^1.0.0" + } + }, + "@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://npm.ivanli.cc/@emotion%2funitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "@emotion/utils": { + "version": "1.0.0", + "resolved": "https://npm.ivanli.cc/@emotion%2futils/-/utils-1.0.0.tgz", + "integrity": "sha512-mQC2b3XLDs6QCW+pDQDiyO/EdGZYOygE8s5N5rrzjSI4M3IejPE/JPndCBwRT9z982aqQNi6beWs1UeayrQxxA==" + }, + "@emotion/weak-memoize": { + "version": "0.2.5", + "resolved": "https://npm.ivanli.cc/@emotion%2fweak-memoize/-/weak-memoize-0.2.5.tgz", + "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" + }, "@endemolshinegroup/cosmiconfig-typescript-loader": { "version": "3.0.2", "resolved": "https://npm.ivanli.cc/@endemolshinegroup%2fcosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz", @@ -35515,6 +36292,7 @@ "version": "4.12.3", "resolved": "https://npm.ivanli.cc/@material-ui%2fcore/-/core-4.12.3.tgz", "integrity": "sha512-sdpgI/PL56QVsEJldwEe4FFaFTLUqN+rd7sSZiRCdx2E/C7z5yK0y/khAWVBH24tXwto7I1hCzNWfJGZIYJKnw==", + "peer": true, "requires": { "@babel/runtime": "^7.4.4", "@material-ui/styles": "^4.11.4", @@ -35530,30 +36308,11 @@ "react-transition-group": "^4.4.0" } }, - "@material-ui/icons": { - "version": "4.11.2", - "resolved": "https://npm.ivanli.cc/@material-ui%2ficons/-/icons-4.11.2.tgz", - "integrity": "sha512-fQNsKX2TxBmqIGJCSi3tGTO/gZ+eJgWmMJkgDiOfyNaunNaxcklJQFaFogYcFl0qFuaEz1qaXYXboa/bUXVSOQ==", - "requires": { - "@babel/runtime": "^7.4.4" - } - }, - "@material-ui/lab": { - "version": "4.0.0-alpha.60", - "resolved": "https://npm.ivanli.cc/@material-ui%2flab/-/lab-4.0.0-alpha.60.tgz", - "integrity": "sha512-fadlYsPJF+0fx2lRuyqAuJj7hAS1tLDdIEEdov5jlrpb5pp4b+mRDUqQTUxi4inRZHS1bEXpU8QWUhO6xX88aA==", - "requires": { - "@babel/runtime": "^7.4.4", - "@material-ui/utils": "^4.11.2", - "clsx": "^1.0.4", - "prop-types": "^15.7.2", - "react-is": "^16.8.0 || ^17.0.0" - } - }, "@material-ui/pickers": { "version": "3.3.10", "resolved": "https://npm.ivanli.cc/@material-ui%2fpickers/-/pickers-3.3.10.tgz", "integrity": "sha512-hS4pxwn1ZGXVkmgD4tpFpaumUaAg2ZzbTrxltfC5yPw4BJV+mGkfnQOB4VpWEYZw2jv65Z0wLwDE/piQiPPZ3w==", + "peer": true, "requires": { "@babel/runtime": "^7.6.0", "@date-io/core": "1.x", @@ -35567,6 +36326,7 @@ "version": "4.11.4", "resolved": "https://npm.ivanli.cc/@material-ui%2fstyles/-/styles-4.11.4.tgz", "integrity": "sha512-KNTIZcnj/zprG5LW0Sao7zw+yG3O35pviHzejMdcSGCdWbiO8qzRgOYL8JAxAsWBKOKYwVZxXtHWaB5T2Kvxew==", + "peer": true, "requires": { "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", @@ -35590,6 +36350,7 @@ "version": "4.12.1", "resolved": "https://npm.ivanli.cc/@material-ui%2fsystem/-/system-4.12.1.tgz", "integrity": "sha512-lUdzs4q9kEXZGhbN7BptyiS1rLNHe6kG9o8Y307HCvF4sQxbCgpL2qi+gUk+yI8a2DNk48gISEQxoxpgph0xIw==", + "peer": true, "requires": { "@babel/runtime": "^7.4.4", "@material-ui/utils": "^4.11.2", @@ -35601,12 +36362,14 @@ "version": "5.1.0", "resolved": "https://npm.ivanli.cc/@material-ui%2ftypes/-/types-5.1.0.tgz", "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==", + "peer": true, "requires": {} }, "@material-ui/utils": { "version": "4.11.2", "resolved": "https://npm.ivanli.cc/@material-ui%2futils/-/utils-4.11.2.tgz", "integrity": "sha512-Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==", + "peer": true, "requires": { "@babel/runtime": "^7.4.4", "prop-types": "^15.7.2", @@ -35619,6 +36382,186 @@ "integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==", "dev": true }, + "@mui/base": { + "version": "5.0.0-alpha.56", + "resolved": "https://npm.ivanli.cc/@mui%2fbase/-/base-5.0.0-alpha.56.tgz", + "integrity": "sha512-BlPuRx778JoNIF34m8wOPDZSburwFbH+Y1y97KoAEqC2Qra2UGV3+vII3R9+qkikIKEWJvv1327J7sCfxfpGFQ==", + "requires": { + "@babel/runtime": "^7.16.3", + "@emotion/is-prop-valid": "^1.1.1", + "@mui/utils": "^5.2.0", + "@popperjs/core": "^2.4.4", + "clsx": "^1.1.1", + "prop-types": "^15.7.2", + "react-is": "^17.0.2" + } + }, + "@mui/icons-material": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2ficons-material/-/icons-material-5.2.0.tgz", + "integrity": "sha512-NvyrVaGKpP4R1yFw8BCnE0QcsQ67RtpgxPr4FtH8q60MDYPuPVczLOn5Ash5CFavoDWur/NfM/4DpT54yf3InA==", + "requires": { + "@babel/runtime": "^7.16.3" + } + }, + "@mui/lab": { + "version": "5.0.0-alpha.56", + "resolved": "https://npm.ivanli.cc/@mui%2flab/-/lab-5.0.0-alpha.56.tgz", + "integrity": "sha512-qyEmm++0gnK5hYip6Gsv3KDdPtTIYGsOATjPxR96/2tPAJg2yAWH0PrCObayrsLVhs7q7AsqydZHjmEHdeh38Q==", + "requires": { + "@babel/runtime": "^7.16.3", + "@date-io/date-fns": "^2.11.0", + "@date-io/dayjs": "^2.11.0", + "@date-io/luxon": "^2.11.1", + "@date-io/moment": "^2.11.0", + "@mui/base": "5.0.0-alpha.56", + "@mui/system": "^5.2.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "prop-types": "^15.7.2", + "react-is": "^17.0.2", + "react-transition-group": "^4.4.2", + "rifm": "^0.12.0" + }, + "dependencies": { + "@date-io/core": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fcore/-/core-2.11.0.tgz", + "integrity": "sha512-DvPBnNoeuLaoSJZaxgpu54qzRhRKjSYVyQjhznTFrllKuDpm0sDFjHo6lvNLCM/cfMx2gb2PM2zY2kc9C8nmuw==" + }, + "@date-io/date-fns": { + "version": "2.11.0", + "resolved": "https://npm.ivanli.cc/@date-io%2fdate-fns/-/date-fns-2.11.0.tgz", + "integrity": "sha512-mPQ71plBeFrArvBSHtjWMHXA89IUbZ6kuo2dsjlRC/1uNOybo91spIb+wTu03NxKTl8ut07s0jJ9svF71afpRg==", + "requires": { + "@date-io/core": "^2.11.0" + } + }, + "rifm": { + "version": "0.12.0", + "resolved": "https://npm.ivanli.cc/rifm/-/rifm-0.12.0.tgz", + "integrity": "sha512-PqOl+Mo2lyqrKiD34FPlnQ+ksD3F+a62TQlphiZshgriyHdfjn6jGyqUZhd+s3nsMYXwXYDdjrrv8wX7QsOG3g==", + "requires": {} + } + } + }, + "@mui/material": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fmaterial/-/material-5.2.0.tgz", + "integrity": "sha512-AJehUbf0pWA+X9x+rXM4xHjLdNSf3YZzVt9YP/Pa75HCIDn4Dg2neiZu/Cg57C19WMlUf3nyn4Vkz4nD48DgPA==", + "requires": { + "@babel/runtime": "^7.16.3", + "@mui/base": "5.0.0-alpha.56", + "@mui/system": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "@types/react-transition-group": "^4.4.4", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "hoist-non-react-statics": "^3.3.2", + "prop-types": "^15.7.2", + "react-is": "^17.0.2", + "react-transition-group": "^4.4.2" + }, + "dependencies": { + "csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" + } + } + }, + "@mui/private-theming": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fprivate-theming/-/private-theming-5.2.0.tgz", + "integrity": "sha512-ABdL+X/AR5CJdjPIwMcYaXrC+kLeHC7q83PiSfBHwOv6SPhGWWHL5MphibQMNuEcuG4rdUZrJLTT/L22oxdldg==", + "requires": { + "@babel/runtime": "^7.16.3", + "@mui/utils": "^5.2.0", + "prop-types": "^15.7.2" + } + }, + "@mui/styled-engine": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fstyled-engine/-/styled-engine-5.2.0.tgz", + "integrity": "sha512-NZ4pWYQcM5wreUfiXRd7IMFRF+Nq1vMzsIdXtXNjgctJTKHunrofasoBqv+cqevO+hqT75ezSbNHyaXzOXp6Mg==", + "requires": { + "@babel/runtime": "^7.16.3", + "@emotion/cache": "^11.6.0", + "prop-types": "^15.7.2" + } + }, + "@mui/styles": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fstyles/-/styles-5.2.0.tgz", + "integrity": "sha512-ZM1/M3dtdhA6XID4ZrCj6M1FJOrLafO7W5DtNJZepPN4HfDdAZpyEBxWRv0yltceiW1YxhL4WNIOIWFx9Re19Q==", + "requires": { + "@babel/runtime": "^7.16.3", + "@emotion/hash": "^0.8.0", + "@mui/private-theming": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "hoist-non-react-statics": "^3.3.2", + "jss": "^10.8.2", + "jss-plugin-camel-case": "^10.8.2", + "jss-plugin-default-unit": "^10.8.2", + "jss-plugin-global": "^10.8.2", + "jss-plugin-nested": "^10.8.2", + "jss-plugin-props-sort": "^10.8.2", + "jss-plugin-rule-value-function": "^10.8.2", + "jss-plugin-vendor-prefixer": "^10.8.2", + "prop-types": "^15.7.2" + }, + "dependencies": { + "csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" + } + } + }, + "@mui/system": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2fsystem/-/system-5.2.0.tgz", + "integrity": "sha512-l5nbNuT5WP0d/qmQwSzGn5JztEpclYWNrfS0JokupP/MtlmqSPoLs3KiXxyuKJxwfHOCY4rdxHTb6kJxDxL1Ew==", + "requires": { + "@babel/runtime": "^7.16.3", + "@mui/private-theming": "^5.2.0", + "@mui/styled-engine": "^5.2.0", + "@mui/types": "^7.1.0", + "@mui/utils": "^5.2.0", + "clsx": "^1.1.1", + "csstype": "^3.0.10", + "prop-types": "^15.7.2" + }, + "dependencies": { + "csstype": { + "version": "3.0.10", + "resolved": "https://npm.ivanli.cc/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" + } + } + }, + "@mui/types": { + "version": "7.1.0", + "resolved": "https://npm.ivanli.cc/@mui%2ftypes/-/types-7.1.0.tgz", + "integrity": "sha512-Hh7ALdq/GjfIwLvqH3XftuY3bcKhupktTm+S6qRIDGOtPtRuq2L21VWzOK4p7kblirK0XgGVH5BLwa6u8z/6QQ==", + "requires": {} + }, + "@mui/utils": { + "version": "5.2.0", + "resolved": "https://npm.ivanli.cc/@mui%2futils/-/utils-5.2.0.tgz", + "integrity": "sha512-RiaRY0Qyr8IzgUK0+SuCxugG2wlPYkZ7JQPGmaFdRX2EUbudFiUPgzFAEp+VvJIGkdbxFq8t/t3Sy9WO7DbMEA==", + "requires": { + "@babel/runtime": "^7.16.3", + "@types/prop-types": "^15.7.4", + "@types/react-is": "^16.7.1 || ^17.0.0", + "prop-types": "^15.7.2", + "react-is": "^17.0.2" + } + }, "@nestjs-lib/auth": { "version": "0.1.1", "resolved": "https://npm.ivanli.cc/@nestjs-lib%2fauth/-/auth-0.1.1.tgz", @@ -35807,6 +36750,11 @@ "node-fetch": "^2.6.1" } }, + "@popperjs/core": { + "version": "2.10.2", + "resolved": "https://npm.ivanli.cc/@popperjs%2fcore/-/core-2.10.2.tgz", + "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==" + }, "@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://npm.ivanli.cc/@protobufjs%2faspromise/-/aspromise-1.1.2.tgz", @@ -36619,6 +37567,14 @@ "@types/react": "*" } }, + "@types/react-is": { + "version": "17.0.3", + "resolved": "https://npm.ivanli.cc/@types%2freact-is/-/react-is-17.0.3.tgz", + "integrity": "sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==", + "requires": { + "@types/react": "*" + } + }, "@types/react-transition-group": { "version": "4.4.4", "resolved": "https://npm.ivanli.cc/@types%2freact-transition-group/-/react-transition-group-4.4.4.tgz", @@ -36673,6 +37629,7 @@ "version": "2.2.9", "resolved": "https://npm.ivanli.cc/@types%2fstyled-jsx/-/styled-jsx-2.2.9.tgz", "integrity": "sha512-W/iTlIkGEyTBGTEvZCey8EgQlQ5l0DwMqi3iOXlLs2kyBwYTXHKEiU6IZ5EwoRwngL8/dGYuzezSup89ttVHLw==", + "peer": true, "requires": { "@types/react": "*" } @@ -37130,6 +38087,8 @@ "version": "4.1.4", "resolved": "https://npm.ivanli.cc/agentkeepalive/-/agentkeepalive-4.1.4.tgz", "integrity": "sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ==", + "optional": true, + "peer": true, "requires": { "debug": "^4.1.0", "depd": "^1.1.2", @@ -40054,7 +41013,8 @@ "csstype": { "version": "2.6.19", "resolved": "https://npm.ivanli.cc/csstype/-/csstype-2.6.19.tgz", - "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==" + "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==", + "peer": true }, "cyclist": { "version": "1.0.1", @@ -40718,6 +41678,7 @@ "resolved": "https://npm.ivanli.cc/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "optional": true, + "peer": true, "requires": { "iconv-lite": "^0.6.2" }, @@ -40727,6 +41688,7 @@ "resolved": "https://npm.ivanli.cc/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "optional": true, + "peer": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -40778,7 +41740,9 @@ "err-code": { "version": "2.0.3", "resolved": "https://npm.ivanli.cc/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "optional": true, + "peer": true }, "errno": { "version": "0.1.8", @@ -42087,6 +43051,11 @@ "resolved": "https://npm.ivanli.cc/find-free-ports/-/find-free-ports-3.0.0.tgz", "integrity": "sha512-C9XrjG5O1EWPHSjY/hzJaUAoyUQ+KhmiYn0zHohOpScSeWr5TqJu613iIvzI4DnIKpdcBZZ5B4ifiUA10Y2HuA==" }, + "find-root": { + "version": "1.1.0", + "resolved": "https://npm.ivanli.cc/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, "find-up": { "version": "4.1.0", "resolved": "https://npm.ivanli.cc/find-up/-/find-up-4.1.0.tgz", @@ -43102,7 +44071,8 @@ "http-cache-semantics": { "version": "4.1.0", "resolved": "https://npm.ivanli.cc/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "devOptional": true }, "http-deceiver": { "version": "1.2.7", @@ -43283,6 +44253,8 @@ "version": "1.2.1", "resolved": "https://npm.ivanli.cc/humanize-ms/-/humanize-ms-1.2.1.tgz", "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "optional": true, + "peer": true, "requires": { "ms": "^2.0.0" } @@ -43685,7 +44657,9 @@ "is-lambda": { "version": "1.0.1", "resolved": "https://npm.ivanli.cc/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=" + "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", + "optional": true, + "peer": true }, "is-lower-case": { "version": "2.0.2", @@ -45760,6 +46734,8 @@ "version": "8.0.14", "resolved": "https://npm.ivanli.cc/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz", "integrity": "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==", + "optional": true, + "peer": true, "requires": { "agentkeepalive": "^4.1.3", "cacache": "^15.0.5", @@ -46019,6 +46995,8 @@ "version": "1.4.1", "resolved": "https://npm.ivanli.cc/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "optional": true, + "peer": true, "requires": { "encoding": "^0.1.12", "minipass": "^3.1.0", @@ -46046,6 +47024,8 @@ "version": "1.0.3", "resolved": "https://npm.ivanli.cc/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "optional": true, + "peer": true, "requires": { "minipass": "^3.0.0" } @@ -48974,7 +49954,8 @@ "popper.js": { "version": "1.16.1-lts", "resolved": "https://npm.ivanli.cc/popper.js/-/popper.js-1.16.1-lts.tgz", - "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==" + "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==", + "peer": true }, "portfinder": { "version": "1.0.28", @@ -50083,6 +51064,8 @@ "version": "2.0.1", "resolved": "https://npm.ivanli.cc/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "optional": true, + "peer": true, "requires": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -50091,7 +51074,9 @@ "retry": { "version": "0.12.0", "resolved": "https://npm.ivanli.cc/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "optional": true, + "peer": true } } }, @@ -51391,6 +52376,7 @@ "version": "0.7.0", "resolved": "https://npm.ivanli.cc/rifm/-/rifm-0.7.0.tgz", "integrity": "sha512-DSOJTWHD67860I5ojetXdEQRIBvF6YcpNe53j0vn1vp9EUb9N80EiZTxgP+FkDKorWC8PZw052kTF4C1GOivCQ==", + "peer": true, "requires": { "@babel/runtime": "^7.3.1" } @@ -52129,7 +53115,9 @@ "smart-buffer": { "version": "4.2.0", "resolved": "https://npm.ivanli.cc/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "optional": true, + "peer": true }, "snake-case": { "version": "3.0.4", @@ -52337,6 +53325,8 @@ "version": "2.6.1", "resolved": "https://npm.ivanli.cc/socks/-/socks-2.6.1.tgz", "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", + "optional": true, + "peer": true, "requires": { "ip": "^1.1.5", "smart-buffer": "^4.1.0" @@ -52346,6 +53336,8 @@ "version": "5.0.1", "resolved": "https://npm.ivanli.cc/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz", "integrity": "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==", + "optional": true, + "peer": true, "requires": { "agent-base": "^6.0.2", "debug": "4", @@ -52820,6 +53812,11 @@ } } }, + "stylis": { + "version": "4.0.10", + "resolved": "https://npm.ivanli.cc/stylis/-/stylis-4.0.10.tgz", + "integrity": "sha512-m3k+dk7QeJw660eIKRRn3xPF6uuvHs/FFzjX3HQ5ove0qYsiygoAhwn5a3IYKaZPo5LrYD0rfVmtv1gNY1uYwg==" + }, "subscriptions-transport-ws": { "version": "0.9.19", "resolved": "https://npm.ivanli.cc/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.19.tgz", diff --git a/package.json b/package.json index 4d5c95b..81e9514 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,14 @@ "@curi/react-dom": "^2.0.4", "@curi/router": "^2.1.2", "@date-io/date-fns": "^1.3.13", + "@emotion/react": "^11.6.0", + "@emotion/styled": "^11.6.0", "@fennec/configuration": "^0.0.1", "@hickory/browser": "^2.1.0", - "@material-ui/core": "^4.11.3", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "*", - "@material-ui/pickers": "^3.3.10", + "@mui/icons-material": "^5.2.0", + "@mui/lab": "^5.0.0-alpha.56", + "@mui/material": "^5.2.0", + "@mui/styles": "^5.2.0", "@nestjs-lib/auth": "^0.1.1", "@testing-library/jest-dom": "^5.11.10", "@testing-library/react": "^11.2.6", diff --git a/src/articles/article-editor.tsx b/src/articles/article-editor.tsx index d4303b5..7ffe323 100644 --- a/src/articles/article-editor.tsx +++ b/src/articles/article-editor.tsx @@ -1,10 +1,6 @@ -import { - Button, - createStyles, - Grid, - makeStyles, - Paper, -} from "@material-ui/core"; +import { Button, Grid, Paper } from "@mui/material"; +import createStyles from '@mui/styles/createStyles'; +import makeStyles from '@mui/styles/makeStyles'; import { Field, Form, Formik, FormikHelpers, FormikProps } from "formik"; import { FC, useCallback, useMemo, useRef, useState } from "react"; import { Editor } from "../commons/editor/vditor"; diff --git a/src/articles/articles-index.tsx b/src/articles/articles-index.tsx index eb0dd45..8f18e53 100644 --- a/src/articles/articles-index.tsx +++ b/src/articles/articles-index.tsx @@ -8,13 +8,13 @@ import { TableContainer, TableHead, TableRow, -} from "@material-ui/core"; +} from "@mui/material"; import React, { FC } from "react"; import { Article } from "../generated/graphql"; -import EditIcon from "@material-ui/icons/Edit"; +import EditIcon from "@mui/icons-material/Edit"; import { useRouter } from "@curi/react-dom"; import { ARTICLES, REMOVE_ARTICLE } from './articles.constants'; -import { Delete } from '@material-ui/icons'; +import { Delete } from '@mui/icons-material'; import { format } from "date-fns"; export const ArticleIndex: FC = () => { @@ -65,7 +65,7 @@ export const ArticleIndex: FC = () => { }), }) } - > + size="large"> { variables: article, }) } - > + size="large"> diff --git a/src/commons/auth/login.tsx b/src/commons/auth/login.tsx index 7260adb..f2f7887 100644 --- a/src/commons/auth/login.tsx +++ b/src/commons/auth/login.tsx @@ -1,4 +1,4 @@ -import { makeStyles } from "@material-ui/core"; +import makeStyles from '@mui/styles/makeStyles'; import { FC, Fragment, useEffect, useRef } from "react"; import { useAuth } from "./auth.provider"; const useStyles = makeStyles((theme) => ({ diff --git a/src/commons/editor/vditor.tsx b/src/commons/editor/vditor.tsx index b7f7f63..713725f 100644 --- a/src/commons/editor/vditor.tsx +++ b/src/commons/editor/vditor.tsx @@ -1,5 +1,7 @@ -import { createStyles, FormControl, FormHelperText, FormLabel, makeStyles } from '@material-ui/core'; -import { Skeleton } from "@material-ui/lab"; +import { FormControl, FormHelperText, FormLabel } from '@mui/material'; +import createStyles from '@mui/styles/createStyles'; +import makeStyles from '@mui/styles/makeStyles'; +import { Skeleton } from '@mui/material'; import { FieldHookConfig, useField } from "formik"; import React, { FC, useEffect, useMemo, useRef, useState } from "react"; import Vditor from "vditor"; @@ -63,7 +65,7 @@ export const Editor: FC = ({ label, className, ...props }) => { {meta.error && {meta.error}} {instance ? null : ( { const client = useApolloClient(); diff --git a/src/index.tsx b/src/index.tsx index e878b2b..080eb71 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,20 +11,43 @@ import zhLocale from "date-fns/locale/zh-CN"; import { SnackbarProvider } from "notistack"; import Router from "./commons/route/router"; import { AuthProvider } from "./commons/auth/auth.provider"; +import { + ThemeProvider, + Theme, + StyledEngineProvider, + createTheme, +} from "@mui/material/styles"; + +import makeStyles from "@mui/styles/makeStyles"; + +declare module "@mui/styles/defaultTheme" { + // eslint-disable-next-line @typescript-eslint/no-empty-interface + interface DefaultTheme extends Theme {} +} + +const theme = createTheme(); + +const useStyles = makeStyles((theme) => ({ + root: {}, +})); ReactDOM.render( - - - - - - - - - - - + + + + + + + + + + + + + + + , document.getElementById("root") ); diff --git a/src/layouts/default.tsx b/src/layouts/default.tsx index be829ea..f76bd13 100644 --- a/src/layouts/default.tsx +++ b/src/layouts/default.tsx @@ -1,26 +1,23 @@ import React, { FC } from "react"; import clsx from "clsx"; -import { - createStyles, - makeStyles, - useTheme, - Theme, -} from "@material-ui/core/styles"; -import Drawer from "@material-ui/core/Drawer"; -import AppBar from "@material-ui/core/AppBar"; -import Toolbar from "@material-ui/core/Toolbar"; -import List from "@material-ui/core/List"; -import CssBaseline from "@material-ui/core/CssBaseline"; -import Typography from "@material-ui/core/Typography"; -import Divider from "@material-ui/core/Divider"; -import IconButton from "@material-ui/core/IconButton"; -import MenuIcon from "@material-ui/icons/Menu"; -import ChevronLeftIcon from "@material-ui/icons/ChevronLeft"; -import ChevronRightIcon from "@material-ui/icons/ChevronRight"; -import ListItem from "@material-ui/core/ListItem"; -import ListItemIcon from "@material-ui/core/ListItemIcon"; -import ListItemText from "@material-ui/core/ListItemText"; -import { AddCircle, Description, LocalOffer } from '@material-ui/icons'; +import { useTheme, Theme } from "@mui/material/styles"; +import createStyles from '@mui/styles/createStyles'; +import makeStyles from '@mui/styles/makeStyles'; +import Drawer from "@mui/material/Drawer"; +import AppBar from "@mui/material/AppBar"; +import Toolbar from "@mui/material/Toolbar"; +import List from "@mui/material/List"; +import CssBaseline from "@mui/material/CssBaseline"; +import Typography from "@mui/material/Typography"; +import Divider from "@mui/material/Divider"; +import IconButton from "@mui/material/IconButton"; +import MenuIcon from "@mui/icons-material/Menu"; +import ChevronLeftIcon from "@mui/icons-material/ChevronLeft"; +import ChevronRightIcon from "@mui/icons-material/ChevronRight"; +import ListItem from "@mui/material/ListItem"; +import ListItemIcon from "@mui/material/ListItemIcon"; +import ListItemText from "@mui/material/ListItemText"; +import { AddCircle, Description, LocalOffer } from '@mui/icons-material'; import { Link } from '@curi/react-dom'; const drawerWidth = 240; @@ -119,7 +116,7 @@ export const DefaultLayout: FC = ({children}) => { className={clsx(classes.menuButton, { [classes.hide]: open, })} - > + size="large"> @@ -141,7 +138,7 @@ export const DefaultLayout: FC = ({children}) => { }} >
- + {theme.direction === "rtl" ? ( ) : ( diff --git a/src/tags/article-editor.tsx b/src/tags/article-editor.tsx index cf4ec97..73366a2 100644 --- a/src/tags/article-editor.tsx +++ b/src/tags/article-editor.tsx @@ -1,10 +1,6 @@ -import { - Button, - createStyles, - Grid, - makeStyles, - Paper, -} from "@material-ui/core"; +import { Button, Grid, Paper } from "@mui/material"; +import createStyles from '@mui/styles/createStyles'; +import makeStyles from '@mui/styles/makeStyles'; import { Field, Form, Formik, FormikHelpers } from "formik"; import { FC } from "react"; import { Editor } from "../commons/editor/vditor"; diff --git a/src/tags/tags-index.tsx b/src/tags/tags-index.tsx index c940e5a..da94388 100644 --- a/src/tags/tags-index.tsx +++ b/src/tags/tags-index.tsx @@ -8,12 +8,12 @@ import { TableContainer, TableHead, TableRow, -} from "@material-ui/core"; +} from "@mui/material"; import { FC } from "react"; import { Tag } from "../generated/graphql"; -import EditIcon from "@material-ui/icons/Edit"; +import EditIcon from "@mui/icons-material/Edit"; import { useRouter } from "@curi/react-dom"; -import { Delete } from "@material-ui/icons"; +import { Delete } from "@mui/icons-material"; import { REMOVE_TAG, TAGS } from "./tags.constants"; export const TagsIndex: FC = () => { @@ -56,7 +56,7 @@ export const TagsIndex: FC = () => { }), }) } - > + size="large"> { variables: tag, }) } - > + size="large">