diff --git a/.gitignore b/.gitignore index c15ba5a..640b832 100644 --- a/.gitignore +++ b/.gitignore @@ -1,27 +1,30 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local -.eslintcache - +# Logs +logs +*.log npm-debug.log* yarn-debug.log* yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +!.vscode/launch.json +!.vscode/settings.json +!.vscode/tasks.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? # customize /public/data diff --git a/.vscode/launch.json b/.vscode/launch.json index f9e0ead..d0c80f2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "Vite Debugger", "type": "chrome", "request": "launch", - "url": "http://localhost:3000/", + "url": "http://localhost:5173/", "webRoot": "${workspaceFolder}" } ] diff --git a/package-lock.json b/package-lock.json index e694128..6f534df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,28 +27,28 @@ "react-spinner-material": "^1.4.0", "sanitize.css": "^13.0.0", "xregexp": "^5.1.1", - "yet-another-react-lightbox": "^3.11.4" + "yet-another-react-lightbox": "^3.12.0" }, "devDependencies": { "@types/async-lock": "^1.4.0", "@types/jest": "^29.5.3", "@types/lokijs": "^1.5.8", - "@types/node": "^18.17.1", - "@types/react": "^18.2.17", + "@types/node": "^18.17.3", + "@types/react": "^18.2.18", "@types/react-dom": "^18.2.7", "@types/react-router-dom": "^5.3.3", "@types/react-router-hash-link": "^2.4.6", "@types/react-syntax-highlighter": "^15.5.7", - "@typescript-eslint/eslint-plugin": "^6.2.0", - "@typescript-eslint/parser": "^6.2.0", + "@typescript-eslint/eslint-plugin": "^6.3.0", + "@typescript-eslint/parser": "^6.3.0", "@vitejs/plugin-react-swc": "^3.3.2", - "eslint": "^8.45.0", - "eslint-plugin-react": "^7.33.0", + "eslint": "^8.46.0", + "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", - "prettier": "^3.0.0", + "prettier": "^3.0.1", "typescript": "^5.1.6", - "vite": "^4.4.7", + "vite": "^4.4.9", "vite-plugin-node-stdlib-browser": "^0.2.1", "vite-plugin-rewrite-all": "^1.0.1" } @@ -63,17 +63,89 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.10.tgz", + "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.5" + "@babel/highlight": "^7.22.10", + "chalk": "^2.4.2" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@babel/code-frame/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/code-frame/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@babel/code-frame/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@babel/helper-validator-identifier": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", @@ -84,13 +156,13 @@ } }, "node_modules/@babel/highlight": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.10.tgz", + "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.0.0", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, "engines": { @@ -169,32 +241,32 @@ } }, "node_modules/@babel/runtime": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", - "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.10.tgz", + "integrity": "sha512-21t/fkKLMZI4pqP2wlmsQAWnYW1PDyKyyUV4vCi+B25ydmdaYTKXPwCj0BzSUnZf4seIiYvSA3jcZ3gdsMFkLQ==", "dependencies": { - "regenerator-runtime": "^0.13.11" + "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.6.tgz", - "integrity": "sha512-M+37LLIRBTEVjktoJjbw4KVhupF0U/3PYUCbBwgAd9k17hoKhRu1n935QiG7Tuxv0LJOMrb2vuKEeYUlv0iyiw==", + "version": "7.22.10", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.10.tgz", + "integrity": "sha512-IcixfV2Jl3UrqZX4c81+7lVg5++2ufYJyAFW3Aux/ZTvY6LVYYhJ9rMgnbX0zGVq6eqfVpnoatTjZdVki/GmWA==", "dependencies": { "core-js-pure": "^3.30.2", - "regenerator-runtime": "^0.13.11" + "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@esbuild/android-arm": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.17.tgz", - "integrity": "sha512-wHsmJG/dnL3OkpAcwbgoBTTMHVi4Uyou3F5mf58ZtmUyIKfcdA7TROav/6tCzET4A3QW2Q2FC+eFneMU+iyOxg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", + "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", "cpu": [ "arm" ], @@ -208,9 +280,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.17.tgz", - "integrity": "sha512-9np+YYdNDed5+Jgr1TdWBsozZ85U1Oa3xW0c7TWqH0y2aGghXtZsuT8nYRbzOMcl0bXZXjOGbksoTtVOlWrRZg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", + "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", "cpu": [ "arm64" ], @@ -224,9 +296,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.17.tgz", - "integrity": "sha512-O+FeWB/+xya0aLg23hHEM2E3hbfwZzjqumKMSIqcHbNvDa+dza2D0yLuymRBQQnC34CWrsJUXyH2MG5VnLd6uw==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", + "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", "cpu": [ "x64" ], @@ -240,9 +312,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.17.tgz", - "integrity": "sha512-M9uJ9VSB1oli2BE/dJs3zVr9kcCBBsE883prage1NWz6pBS++1oNn/7soPNS3+1DGj0FrkSvnED4Bmlu1VAE9g==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", + "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", "cpu": [ "arm64" ], @@ -256,9 +328,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.17.tgz", - "integrity": "sha512-XDre+J5YeIJDMfp3n0279DFNrGCXlxOuGsWIkRb1NThMZ0BsrWXoTg23Jer7fEXQ9Ye5QjrvXpxnhzl3bHtk0g==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", + "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", "cpu": [ "x64" ], @@ -272,9 +344,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.17.tgz", - "integrity": "sha512-cjTzGa3QlNfERa0+ptykyxs5A6FEUQQF0MuilYXYBGdBxD3vxJcKnzDlhDCa1VAJCmAxed6mYhA2KaJIbtiNuQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", + "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", "cpu": [ "arm64" ], @@ -288,9 +360,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.17.tgz", - "integrity": "sha512-sOxEvR8d7V7Kw8QqzxWc7bFfnWnGdaFBut1dRUYtu+EIRXefBc/eIsiUiShnW0hM3FmQ5Zf27suDuHsKgZ5QrA==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", + "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", "cpu": [ "x64" ], @@ -304,9 +376,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.17.tgz", - "integrity": "sha512-2d3Lw6wkwgSLC2fIvXKoMNGVaeY8qdN0IC3rfuVxJp89CRfA3e3VqWifGDfuakPmp90+ZirmTfye1n4ncjv2lg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", + "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", "cpu": [ "arm" ], @@ -320,9 +392,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.17.tgz", - "integrity": "sha512-c9w3tE7qA3CYWjT+M3BMbwMt+0JYOp3vCMKgVBrCl1nwjAlOMYzEo+gG7QaZ9AtqZFj5MbUc885wuBBmu6aADQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", + "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", "cpu": [ "arm64" ], @@ -336,9 +408,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.17.tgz", - "integrity": "sha512-1DS9F966pn5pPnqXYz16dQqWIB0dmDfAQZd6jSSpiT9eX1NzKh07J6VKR3AoXXXEk6CqZMojiVDSZi1SlmKVdg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", + "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", "cpu": [ "ia32" ], @@ -352,9 +424,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.17.tgz", - "integrity": "sha512-EvLsxCk6ZF0fpCB6w6eOI2Fc8KW5N6sHlIovNe8uOFObL2O+Mr0bflPHyHwLT6rwMg9r77WOAWb2FqCQrVnwFg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", + "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", "cpu": [ "loong64" ], @@ -368,9 +440,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.17.tgz", - "integrity": "sha512-e0bIdHA5p6l+lwqTE36NAW5hHtw2tNRmHlGBygZC14QObsA3bD4C6sXLJjvnDIjSKhW1/0S3eDy+QmX/uZWEYQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", + "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", "cpu": [ "mips64el" ], @@ -384,9 +456,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.17.tgz", - "integrity": "sha512-BAAilJ0M5O2uMxHYGjFKn4nJKF6fNCdP1E0o5t5fvMYYzeIqy2JdAP88Az5LHt9qBoUa4tDaRpfWt21ep5/WqQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", + "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", "cpu": [ "ppc64" ], @@ -400,9 +472,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.17.tgz", - "integrity": "sha512-Wh/HW2MPnC3b8BqRSIme/9Zhab36PPH+3zam5pqGRH4pE+4xTrVLx2+XdGp6fVS3L2x+DrsIcsbMleex8fbE6g==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", + "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", "cpu": [ "riscv64" ], @@ -416,9 +488,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.17.tgz", - "integrity": "sha512-j/34jAl3ul3PNcK3pfI0NSlBANduT2UO5kZ7FCaK33XFv3chDhICLY8wJJWIhiQ+YNdQ9dxqQctRg2bvrMlYgg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", + "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", "cpu": [ "s390x" ], @@ -432,9 +504,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.17.tgz", - "integrity": "sha512-QM50vJ/y+8I60qEmFxMoxIx4de03pGo2HwxdBeFd4nMh364X6TIBZ6VQ5UQmPbQWUVWHWws5MmJXlHAXvJEmpQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", + "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", "cpu": [ "x64" ], @@ -448,9 +520,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.17.tgz", - "integrity": "sha512-/jGlhWR7Sj9JPZHzXyyMZ1RFMkNPjC6QIAan0sDOtIo2TYk3tZn5UDrkE0XgsTQCxWTTOcMPf9p6Rh2hXtl5TQ==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", + "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", "cpu": [ "x64" ], @@ -464,9 +536,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.17.tgz", - "integrity": "sha512-rSEeYaGgyGGf4qZM2NonMhMOP/5EHp4u9ehFiBrg7stH6BYEEjlkVREuDEcQ0LfIl53OXLxNbfuIj7mr5m29TA==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", + "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", "cpu": [ "x64" ], @@ -480,9 +552,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.17.tgz", - "integrity": "sha512-Y7ZBbkLqlSgn4+zot4KUNYst0bFoO68tRgI6mY2FIM+b7ZbyNVtNbDP5y8qlu4/knZZ73fgJDlXID+ohY5zt5g==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", + "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", "cpu": [ "x64" ], @@ -496,9 +568,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.17.tgz", - "integrity": "sha512-bwPmTJsEQcbZk26oYpc4c/8PvTY3J5/QK8jM19DVlEsAB41M39aWovWoHtNm78sd6ip6prilxeHosPADXtEJFw==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", + "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", "cpu": [ "arm64" ], @@ -512,9 +584,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.17.tgz", - "integrity": "sha512-H/XaPtPKli2MhW+3CQueo6Ni3Avggi6hP/YvgkEe1aSaxw+AeO8MFjq8DlgfTd9Iz4Yih3QCZI6YLMoyccnPRg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", + "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", "cpu": [ "ia32" ], @@ -528,9 +600,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.17.tgz", - "integrity": "sha512-fGEb8f2BSA3CW7riJVurug65ACLuQAzKq0SSqkY2b2yHHH0MzDfbLyKIGzHwOI/gkHcxM/leuSW6D5w/LMNitA==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", + "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", "cpu": [ "x64" ], @@ -568,9 +640,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.0.tgz", - "integrity": "sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", + "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -591,9 +663,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.44.0.tgz", - "integrity": "sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", + "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -804,9 +876,9 @@ "dev": true }, "node_modules/@swc/core": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.71.tgz", - "integrity": "sha512-T8dqj+SV/S8laW/FGmKHhCGw1o4GRUvJ2jHfbYgEwiJpeutT9uavHvG02t39HJvObBJ52EZs/krGtni4U5928Q==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.74.tgz", + "integrity": "sha512-P+MIExOTdWlfq8Heb1/NhBAke6UTckd4cRDuJoFcFMGBRvgoCMNWhnfP3FRRXPLI7GGg27dRZS+xHiqYyQmSrA==", "dev": true, "hasInstallScript": true, "engines": { @@ -817,16 +889,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.71", - "@swc/core-darwin-x64": "1.3.71", - "@swc/core-linux-arm-gnueabihf": "1.3.71", - "@swc/core-linux-arm64-gnu": "1.3.71", - "@swc/core-linux-arm64-musl": "1.3.71", - "@swc/core-linux-x64-gnu": "1.3.71", - "@swc/core-linux-x64-musl": "1.3.71", - "@swc/core-win32-arm64-msvc": "1.3.71", - "@swc/core-win32-ia32-msvc": "1.3.71", - "@swc/core-win32-x64-msvc": "1.3.71" + "@swc/core-darwin-arm64": "1.3.74", + "@swc/core-darwin-x64": "1.3.74", + "@swc/core-linux-arm-gnueabihf": "1.3.74", + "@swc/core-linux-arm64-gnu": "1.3.74", + "@swc/core-linux-arm64-musl": "1.3.74", + "@swc/core-linux-x64-gnu": "1.3.74", + "@swc/core-linux-x64-musl": "1.3.74", + "@swc/core-win32-arm64-msvc": "1.3.74", + "@swc/core-win32-ia32-msvc": "1.3.74", + "@swc/core-win32-x64-msvc": "1.3.74" }, "peerDependencies": { "@swc/helpers": "^0.5.0" @@ -838,9 +910,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.71.tgz", - "integrity": "sha512-xOm0hDbcO2ShwQu1CjLtq3fwrG9AvhuE0s8vtBc8AsamYExHmR8bo6GQHJUtfPG1FVPk5a8xoQSd1fs09FQjLg==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.74.tgz", + "integrity": "sha512-2rMV4QxM583jXcREfo0MhV3Oj5pgRSfSh/kVrB1twL2rQxOrbzkAPT/8flmygdVoL4f2F7o1EY5lKlYxEBiIKQ==", "cpu": [ "arm64" ], @@ -854,9 +926,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.71.tgz", - "integrity": "sha512-9sbDXBWgM22w/3Ll5kPhXMPkOiHRoqwMOyxLJBfGtIMnFlh5O+NRN3umRerK3pe4Q6/7hj2M5V+crEHYrXmuxg==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.74.tgz", + "integrity": "sha512-KKEGE1wXneYXe15fWDRM8/oekd/Q4yAuccA0vWY/7i6nOSPqWYcSDR0nRtR030ltDxWt0rk/eCTmNkrOWrKs3A==", "cpu": [ "x64" ], @@ -870,9 +942,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.71.tgz", - "integrity": "sha512-boKdMZsfKvhBs0FDeqH7KQj0lfYe0wCtrL1lv50oYMEeLajY9o4U5xSmc61Sg4HRXjlbR6dlM2cFfL84t7NpAA==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.74.tgz", + "integrity": "sha512-HehH5DR6r/5fIVu7tu8ZqgrHkhSCQNewf1ztFQJgcmaQWn+H4AJERBjwkjosqh4TvUJucZv8vyRTvrFeBXaCSA==", "cpu": [ "arm" ], @@ -886,9 +958,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.71.tgz", - "integrity": "sha512-yDatyHYMiOVwhyIA/LBwknPs2CUtLYWEMzPZjgLc+56PbgPs3oiEbNWeVUND5onPrfDQgK7NK1y8JeiXZqTgGQ==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.74.tgz", + "integrity": "sha512-+xkbCRz/wczgdknoV4NwYxbRI2dD7x/qkIFcVM2buzLCq8oWLweuV8+aL4pRqu0qDh7ZSb1jcaVTUIsySCJznA==", "cpu": [ "arm64" ], @@ -902,9 +974,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.71.tgz", - "integrity": "sha512-xAdCA0L/hoa0ULL5SR4sMZCxkWk7C90DOU7wJalNVG9qNWYICfq3G7AR0E9Ohphzqyahfb5QJED/nA7N0+XwbQ==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.74.tgz", + "integrity": "sha512-maKFZSCD3tQznzPV7T3V+TtiWZFEFM8YrnSS5fQNNb+K9J65sL+170uTb3M7H4cFkG+9Sm5k5yCrCIutlvV48g==", "cpu": [ "arm64" ], @@ -918,9 +990,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.71.tgz", - "integrity": "sha512-j94qLXP/yqhu2afnABAq/xrJIU8TEqcNkp1TlsAeO3R2nVLYL1w4XX8GW71SPnXmd2bwF102c3Cfv/2ilf2y2A==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.74.tgz", + "integrity": "sha512-LEXpcShF6DLTWJSiBhMSYZkLQ27UvaQ24fCFhoIV/R3dhYaUpHmIyLPPBNC82T03lB3ONUFVwrRw6fxDJ/f00A==", "cpu": [ "x64" ], @@ -934,9 +1006,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.71.tgz", - "integrity": "sha512-YiyU848ql6dLlmt0BHccGAaZ36Cf61VzCAMDKID/gd72snvzWcMCHrwSRW0gEFNXHsjBJrmNl+SLYZHfqoGwUA==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.74.tgz", + "integrity": "sha512-sxsFctbFMZEFmDE7CmYljG0dMumH8XBTwwtGr8s6z0fYAzXBGNq2AFPcmEh2np9rPWkt7pE1m0ByESD+dMkbxQ==", "cpu": [ "x64" ], @@ -950,9 +1022,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.71.tgz", - "integrity": "sha512-1UsJ+6hnIRe/PVdgDPexvgGaN4KpBncT/bAOqlWc9XC7KeBXAWcGA08LrPUz2Ei00DJXzR622IGZVEYOHNkUOw==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.74.tgz", + "integrity": "sha512-F7hY9/BjFCozA4YPFYFH5FGCyWwa44vIXHqG66F5cDwXDGFn8ZtBsYIsiPfUYcx0AeAo1ojnVWKPxokZhYNYqA==", "cpu": [ "arm64" ], @@ -966,9 +1038,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.71.tgz", - "integrity": "sha512-KnuI89+zojR9lDFELdQYZpxzPZ6pBfLwJfWTSGatnpL1ZHhIsV3tK1jwqIdJK1zkRxpBwc6p6FzSZdZwCSpnJw==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.74.tgz", + "integrity": "sha512-qBAsiD1AlIdqED6wy3UNRHyAys9pWMUidX0LJ6mj24r/vfrzzTBAUrLJe5m7bzE+F1Rgi001avYJeEW1DLEJ+Q==", "cpu": [ "ia32" ], @@ -982,9 +1054,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.3.71", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.71.tgz", - "integrity": "sha512-Pcw7fFirpaBOZsU8fhO48ZCb7NxIjuLnLRPrHqWQ4Mapx1+w9ZNdGya2DKP9n8EAiUrJO20WDsrBNMT2MQSWkA==", + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.74.tgz", + "integrity": "sha512-S3YAvvLprTnPRwQuy9Dkwubb5SRLpVK3JJsqYDbGfgj8PGQyKHZcVJ5X3nfFsoWLy3j9B/3Os2nawprRSzeC5A==", "cpu": [ "x64" ], @@ -1076,9 +1148,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.17.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.1.tgz", - "integrity": "sha512-xlR1jahfizdplZYRU59JlUx9uzF1ARa8jbhM11ccpCJya8kvos5jwdm2ZAgxSCwOl0fq21svP18EVwPBXMQudw==", + "version": "18.17.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.3.tgz", + "integrity": "sha512-2x8HWtFk0S99zqVQABU9wTpr8wPoaDHZUcAkoTKH+nL7kPv3WUI9cRi/Kk5Mz4xdqXSqTkKP7IWNoQQYCnDsTA==", "dev": true }, "node_modules/@types/prop-types": { @@ -1087,9 +1159,9 @@ "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" }, "node_modules/@types/react": { - "version": "18.2.17", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.17.tgz", - "integrity": "sha512-u+e7OlgPPh+aryjOm5UJMX32OvB2E3QASOAqVMY6Ahs90djagxwv2ya0IctglNbNTexC12qCSMZG47KPfy1hAA==", + "version": "18.2.18", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.18.tgz", + "integrity": "sha512-da4NTSeBv/P34xoZPhtcLkmZuJ+oYaCxHmyHzwaDQo9RQPBeXV+06gEk2FpqEcsX9XrnNLvRpVh6bdavDSjtiQ==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -1184,16 +1256,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.2.0.tgz", - "integrity": "sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.3.0.tgz", + "integrity": "sha512-IZYjYZ0ifGSLZbwMqIip/nOamFiWJ9AH+T/GYNZBWkVcyNQOFGtSMoWV7RvY4poYCMZ/4lHzNl796WOSNxmk8A==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.2.0", - "@typescript-eslint/type-utils": "6.2.0", - "@typescript-eslint/utils": "6.2.0", - "@typescript-eslint/visitor-keys": "6.2.0", + "@typescript-eslint/scope-manager": "6.3.0", + "@typescript-eslint/type-utils": "6.3.0", + "@typescript-eslint/utils": "6.3.0", + "@typescript-eslint/visitor-keys": "6.3.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -1220,15 +1292,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.2.0.tgz", - "integrity": "sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.3.0.tgz", + "integrity": "sha512-ibP+y2Gr6p0qsUkhs7InMdXrwldjxZw66wpcQq9/PzAroM45wdwyu81T+7RibNCh8oc0AgrsyCwJByncY0Ongg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.2.0", - "@typescript-eslint/types": "6.2.0", - "@typescript-eslint/typescript-estree": "6.2.0", - "@typescript-eslint/visitor-keys": "6.2.0", + "@typescript-eslint/scope-manager": "6.3.0", + "@typescript-eslint/types": "6.3.0", + "@typescript-eslint/typescript-estree": "6.3.0", + "@typescript-eslint/visitor-keys": "6.3.0", "debug": "^4.3.4" }, "engines": { @@ -1248,13 +1320,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.2.0.tgz", - "integrity": "sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.3.0.tgz", + "integrity": "sha512-WlNFgBEuGu74ahrXzgefiz/QlVb+qg8KDTpknKwR7hMH+lQygWyx0CQFoUmMn1zDkQjTBBIn75IxtWss77iBIQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.2.0", - "@typescript-eslint/visitor-keys": "6.2.0" + "@typescript-eslint/types": "6.3.0", + "@typescript-eslint/visitor-keys": "6.3.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1265,13 +1337,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.2.0.tgz", - "integrity": "sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.3.0.tgz", + "integrity": "sha512-7Oj+1ox1T2Yc8PKpBvOKWhoI/4rWFd1j7FA/rPE0lbBPXTKjdbtC+7Ev0SeBjEKkIhKWVeZSP+mR7y1Db1CdfQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.2.0", - "@typescript-eslint/utils": "6.2.0", + "@typescript-eslint/typescript-estree": "6.3.0", + "@typescript-eslint/utils": "6.3.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1292,9 +1364,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.2.0.tgz", - "integrity": "sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.3.0.tgz", + "integrity": "sha512-K6TZOvfVyc7MO9j60MkRNWyFSf86IbOatTKGrpTQnzarDZPYPVy0oe3myTMq7VjhfsUAbNUW8I5s+2lZvtx1gg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1305,13 +1377,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.2.0.tgz", - "integrity": "sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.3.0.tgz", + "integrity": "sha512-Xh4NVDaC4eYKY4O3QGPuQNp5NxBAlEvNQYOqJquR2MePNxO11E5K3t5x4M4Mx53IZvtpW+mBxIT0s274fLUocg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.2.0", - "@typescript-eslint/visitor-keys": "6.2.0", + "@typescript-eslint/types": "6.3.0", + "@typescript-eslint/visitor-keys": "6.3.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1332,17 +1404,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.2.0.tgz", - "integrity": "sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.3.0.tgz", + "integrity": "sha512-hLLg3BZE07XHnpzglNBG8P/IXq/ZVXraEbgY7FM0Cnc1ehM8RMdn9mat3LubJ3KBeYXXPxV1nugWbQPjGeJk6Q==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.2.0", - "@typescript-eslint/types": "6.2.0", - "@typescript-eslint/typescript-estree": "6.2.0", + "@typescript-eslint/scope-manager": "6.3.0", + "@typescript-eslint/types": "6.3.0", + "@typescript-eslint/typescript-estree": "6.3.0", "semver": "^7.5.4" }, "engines": { @@ -1357,12 +1429,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.2.0.tgz", - "integrity": "sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.3.0.tgz", + "integrity": "sha512-kEhRRj7HnvaSjux1J9+7dBen15CdWmDnwrpyiHsFX6Qx2iW5LOBUgNefOFeh2PjWPlNwN8TOn6+4eBU3J/gupw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.2.0", + "@typescript-eslint/types": "6.3.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1691,11 +1763,11 @@ } }, "node_modules/browser-resolve/node_modules/resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "version": "1.22.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", + "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", "dependencies": { - "is-core-module": "^2.11.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -2349,9 +2421,9 @@ "integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==" }, "node_modules/esbuild": { - "version": "0.18.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.17.tgz", - "integrity": "sha512-1GJtYnUxsJreHYA0Y+iQz2UEykonY66HNWOb0yXYZi9/kNrORUEHVg87eQsCtqh59PEJ5YVZJO98JHznMJSWjg==", + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", + "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", "dev": true, "hasInstallScript": true, "bin": { @@ -2361,28 +2433,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.17", - "@esbuild/android-arm64": "0.18.17", - "@esbuild/android-x64": "0.18.17", - "@esbuild/darwin-arm64": "0.18.17", - "@esbuild/darwin-x64": "0.18.17", - "@esbuild/freebsd-arm64": "0.18.17", - "@esbuild/freebsd-x64": "0.18.17", - "@esbuild/linux-arm": "0.18.17", - "@esbuild/linux-arm64": "0.18.17", - "@esbuild/linux-ia32": "0.18.17", - "@esbuild/linux-loong64": "0.18.17", - "@esbuild/linux-mips64el": "0.18.17", - "@esbuild/linux-ppc64": "0.18.17", - "@esbuild/linux-riscv64": "0.18.17", - "@esbuild/linux-s390x": "0.18.17", - "@esbuild/linux-x64": "0.18.17", - "@esbuild/netbsd-x64": "0.18.17", - "@esbuild/openbsd-x64": "0.18.17", - "@esbuild/sunos-x64": "0.18.17", - "@esbuild/win32-arm64": "0.18.17", - "@esbuild/win32-ia32": "0.18.17", - "@esbuild/win32-x64": "0.18.17" + "@esbuild/android-arm": "0.18.20", + "@esbuild/android-arm64": "0.18.20", + "@esbuild/android-x64": "0.18.20", + "@esbuild/darwin-arm64": "0.18.20", + "@esbuild/darwin-x64": "0.18.20", + "@esbuild/freebsd-arm64": "0.18.20", + "@esbuild/freebsd-x64": "0.18.20", + "@esbuild/linux-arm": "0.18.20", + "@esbuild/linux-arm64": "0.18.20", + "@esbuild/linux-ia32": "0.18.20", + "@esbuild/linux-loong64": "0.18.20", + "@esbuild/linux-mips64el": "0.18.20", + "@esbuild/linux-ppc64": "0.18.20", + "@esbuild/linux-riscv64": "0.18.20", + "@esbuild/linux-s390x": "0.18.20", + "@esbuild/linux-x64": "0.18.20", + "@esbuild/netbsd-x64": "0.18.20", + "@esbuild/openbsd-x64": "0.18.20", + "@esbuild/sunos-x64": "0.18.20", + "@esbuild/win32-arm64": "0.18.20", + "@esbuild/win32-ia32": "0.18.20", + "@esbuild/win32-x64": "0.18.20" } }, "node_modules/escape-string-regexp": { @@ -2398,27 +2470,27 @@ } }, "node_modules/eslint": { - "version": "8.45.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", - "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", + "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.1.0", - "@eslint/js": "8.44.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.1", + "@eslint/js": "^8.46.0", "@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.6.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.2", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -2452,9 +2524,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.33.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.0.tgz", - "integrity": "sha512-qewL/8P34WkY8jAqdQxsiL82pDUeT7nhs8IsuXgfgnsEloKCT4miAV9N9kGtx7/KM9NH/NCGUE7Edt9iGxLXFw==", + "version": "7.33.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.1.tgz", + "integrity": "sha512-L093k0WAMvr6VhNwReB8VgOq5s2LesZmrpPdKz/kZElQDzqS7G7+DnKoqT+w4JwuiGeAhAvHO0fvy0Eyk4ejDA==", "dev": true, "dependencies": { "array-includes": "^3.1.6", @@ -2523,9 +2595,9 @@ } }, "node_modules/eslint-scope": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.1.tgz", - "integrity": "sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", @@ -2539,9 +2611,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", + "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -3292,9 +3364,9 @@ } }, "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", "dependencies": { "has": "^1.0.3" }, @@ -3622,9 +3694,9 @@ "dev": true }, "node_modules/jsx-ast-utils": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.4.tgz", - "integrity": "sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", "dev": true, "dependencies": { "array-includes": "^3.1.6", @@ -4218,9 +4290,9 @@ } }, "node_modules/prettier": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", - "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz", + "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -4433,9 +4505,9 @@ } }, "node_modules/rc-util": { - "version": "5.35.0", - "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.35.0.tgz", - "integrity": "sha512-MTXlixb3EoSTEchsOc7XWsVyoUQqoCsh2Z1a2IptwNgqleMF6ZgQeY52UzUbNj5CcVBg9YljOWjuOV07jSSm4Q==", + "version": "5.36.0", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.36.0.tgz", + "integrity": "sha512-a4uUvT+UNHvYL+awzbN8H8zAjfduwY4KAp2wQy40wOz3NyBdo3Xhx/EAAPyDkHLoGm535jIACaMhIqExGiAjHw==", "dependencies": { "@babel/runtime": "^7.18.3", "react-is": "^16.12.0" @@ -4495,6 +4567,11 @@ "node": ">=14" } }, + "node_modules/react-app-polyfill/node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + }, "node_modules/react-cookie": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/react-cookie/-/react-cookie-4.1.1.tgz", @@ -4637,9 +4714,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", + "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" }, "node_modules/regexp.prototype.flags": { "version": "1.5.0", @@ -4724,9 +4801,9 @@ } }, "node_modules/rollup": { - "version": "3.26.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.26.3.tgz", - "integrity": "sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==", + "version": "3.27.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.27.2.tgz", + "integrity": "sha512-YGwmHf7h2oUHkVBT248x0yt6vZkYQ3/rvE5iQuVBh3WO8GcJ6BNeOkpoX1yMHIiBm18EMLjBPIoUDkhgnyxGOQ==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -5311,14 +5388,14 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/vite": { - "version": "4.4.7", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.7.tgz", - "integrity": "sha512-6pYf9QJ1mHylfVh39HpuSfMPojPSKVxZvnclX1K1FyZ1PXDOcLBibdq5t1qxJSnL63ca8Wf4zts6mD8u8oc9Fw==", + "version": "4.4.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.9.tgz", + "integrity": "sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==", "dev": true, "dependencies": { "esbuild": "^0.18.10", - "postcss": "^8.4.26", - "rollup": "^3.25.2" + "postcss": "^8.4.27", + "rollup": "^3.27.1" }, "bin": { "vite": "bin/vite.js" @@ -5489,9 +5566,9 @@ "dev": true }, "node_modules/yet-another-react-lightbox": { - "version": "3.11.4", - "resolved": "https://registry.npmjs.org/yet-another-react-lightbox/-/yet-another-react-lightbox-3.11.4.tgz", - "integrity": "sha512-h7JFRKnjlmsPEsBgdUyzFDZCLdPG6jv2YDAGoIxCOr3qVttzyPU2T9AgtMwUZv+soLrneeQOTJ+F89Rm6TPQrQ==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/yet-another-react-lightbox/-/yet-another-react-lightbox-3.12.0.tgz", + "integrity": "sha512-Hd3CzPJJFFQ2TMP9QvhkuKouWJ/DIw/mrlPkUa6KiQu4AW+CwtKIiJsxWixNN9uS4sC10G0V1ULyJKpHs4yk8g==", "engines": { "node": ">=14" }, diff --git a/package.json b/package.json index 490a3ee..749771a 100644 --- a/package.json +++ b/package.json @@ -30,28 +30,28 @@ "react-spinner-material": "^1.4.0", "sanitize.css": "^13.0.0", "xregexp": "^5.1.1", - "yet-another-react-lightbox": "^3.11.4" + "yet-another-react-lightbox": "^3.12.0" }, "devDependencies": { "@types/async-lock": "^1.4.0", "@types/jest": "^29.5.3", "@types/lokijs": "^1.5.8", - "@types/node": "^18.17.1", - "@types/react": "^18.2.17", + "@types/node": "^18.17.3", + "@types/react": "^18.2.18", "@types/react-dom": "^18.2.7", "@types/react-router-dom": "^5.3.3", "@types/react-router-hash-link": "^2.4.6", "@types/react-syntax-highlighter": "^15.5.7", - "@typescript-eslint/eslint-plugin": "^6.2.0", - "@typescript-eslint/parser": "^6.2.0", + "@typescript-eslint/eslint-plugin": "^6.3.0", + "@typescript-eslint/parser": "^6.3.0", "@vitejs/plugin-react-swc": "^3.3.2", - "eslint": "^8.45.0", - "eslint-plugin-react": "^7.33.0", + "eslint": "^8.46.0", + "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", - "prettier": "^3.0.0", + "prettier": "^3.0.1", "typescript": "^5.1.6", - "vite": "^4.4.7", + "vite": "^4.4.9", "vite-plugin-node-stdlib-browser": "^0.2.1", "vite-plugin-rewrite-all": "^1.0.1" } diff --git a/src/common/MainContent.tsx b/src/common/MainContent.tsx index ffa7059..f10a57d 100644 --- a/src/common/MainContent.tsx +++ b/src/common/MainContent.tsx @@ -4,8 +4,8 @@ import { Route, Routes } from 'react-router-dom'; import { BrainAtlasType, MultiLang } from '../config'; import CoverPage from '../custom/CoverPage'; import RelatedLink from '../custom/RelatedLink'; -import Database from '../database/Database'; -import DatabaseTop from '../database/DatabaseTop'; +import Xoonips from '../xoonips/Xoonips'; +import XoonipsTop from '../xoonips/XoonipsTop'; import XoopsPathRedirect from './XoopsPathRedirect'; interface Props { @@ -27,8 +27,8 @@ const MainContent: React.FC = (props) => { ) ) : ( - } /> - } /> + } /> + } /> } /> )} diff --git a/src/custom/CoverPage.tsx b/src/custom/CoverPage.tsx index a90df51..43bb340 100644 --- a/src/custom/CoverPage.tsx +++ b/src/custom/CoverPage.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import PageNotFound from '../common/lib/PageNotFound'; import { BrainAtlasType, MultiLang } from '../config'; + import styles from './CoverPage.module.css'; interface Props { diff --git a/src/custom/RelatedLink.tsx b/src/custom/RelatedLink.tsx index 621fc85..6ba162e 100644 --- a/src/custom/RelatedLink.tsx +++ b/src/custom/RelatedLink.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { BrainAtlasType, MultiLang } from '../config'; + import styles from './RelatedLink.module.css'; interface Props { diff --git a/src/custom/SiteIndex.tsx b/src/custom/SiteIndex.tsx index f8e7616..02d6843 100644 --- a/src/custom/SiteIndex.tsx +++ b/src/custom/SiteIndex.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import NoticeSiteHasBeenArchived from '../common/lib/NoticeSiteHasBeenArchived'; import { MultiLang } from '../config'; + import styles from './SiteIndex.module.css'; interface Props { diff --git a/src/database/Database.module.css b/src/xoonips/Xoonips.module.css similarity index 100% rename from src/database/Database.module.css rename to src/xoonips/Xoonips.module.css diff --git a/src/database/Database.tsx b/src/xoonips/Xoonips.tsx similarity index 68% rename from src/database/Database.tsx rename to src/xoonips/Xoonips.tsx index be90913..7ca2565 100644 --- a/src/database/Database.tsx +++ b/src/xoonips/Xoonips.tsx @@ -5,16 +5,17 @@ import { Route, Routes, useLocation } from 'react-router-dom'; import PageNotFound from '../common/lib/PageNotFound'; import { BrainAtlasType, MultiLang } from '../config'; import Functions from '../functions'; -import styles from './Database.module.css'; -import DatabaseAdvancedSearch from './DatabaseAdvancedSearch'; -import DatabaseDetailItem from './DatabaseDetailItem'; -import DatabaseSearchByAdvancedKeyword from './DatabaseSearchByAdvancedKeyword'; -import DatabaseSearchByIndexId from './DatabaseSearchByIndexId'; -import DatabaseSearchByItemType from './DatabaseSearchByItemType'; -import DatabaseSearchByKeyword from './DatabaseSearchByKeyword'; -import DatabaseTop from './DatabaseTop'; +import XoonipsAdvancedSearch from './XoonipsAdvancedSearch'; +import XoonipsDetailItem from './XoonipsDetailItem'; +import XoonipsSearchByAdvancedKeyword from './XoonipsSearchByAdvancedKeyword'; +import XoonipsSearchByIndexId from './XoonipsSearchByIndexId'; +import XoonipsSearchByItemType from './XoonipsSearchByItemType'; +import XoonipsSearchByKeyword from './XoonipsSearchByKeyword'; +import XoonipsTop from './XoonipsTop'; import { INDEX_ID_PUBLIC } from './lib/IndexUtil'; +import styles from './Xoonips.module.css'; + interface Props { lang: MultiLang; type: BrainAtlasType; @@ -27,7 +28,7 @@ const ItemDetail: React.FC = (props) => { const itemId_ = params.get('item_id') ?? ''; const itemId = /^\d+$/.test(itemId_) ? parseInt(itemId_, 10) : 0; const doi = params.get('id') ?? ''; - return ; + return ; }; const ItemList: React.FC = (props) => { @@ -36,7 +37,7 @@ const ItemList: React.FC = (props) => { const params = new URLSearchParams(location.search); const id = params.get('index_id') ?? ''; const indexId = /^\d+$/.test(id) ? parseInt(id, 10) : INDEX_ID_PUBLIC; - return ; + return ; }; const ItemSelect: React.FC = (props) => { @@ -49,9 +50,7 @@ const ItemSelect: React.FC = (props) => { const searchItemtype = params.get('search_itemtype') ?? ''; const match = searchItemtype.match(/^xnp([a-z]+)$/); const itemType = match !== null ? match[1] : ''; - return ( - - ); + return ; } case 'itemsubtypesearch': { const searchItemtype = params.get('search_itemtype') ?? ''; @@ -59,7 +58,7 @@ const ItemSelect: React.FC = (props) => { const itemType = match !== null ? match[1] : ''; const subItemtype = params.get('search_subitemtype') ?? ''; return ( - = (props) => { ); } case 'quicksearch': { - return ; + return ; } case 'advanced': { - return ; + return ; } } return ; }; -const Database: React.FC = (props) => { +const Xoonips: React.FC = (props) => { const { lang, type } = props; return (
@@ -88,14 +87,14 @@ const Database: React.FC = (props) => { - } /> - } /> + } /> + } /> } /> } /> } /> } + element={} /> } /> @@ -103,4 +102,4 @@ const Database: React.FC = (props) => { ); }; -export default Database; +export default Xoonips; diff --git a/src/database/DatabaseAdvancedSearch.tsx b/src/xoonips/XoonipsAdvancedSearch.tsx similarity index 92% rename from src/database/DatabaseAdvancedSearch.tsx rename to src/xoonips/XoonipsAdvancedSearch.tsx index 64d6a63..fca31b4 100644 --- a/src/database/DatabaseAdvancedSearch.tsx +++ b/src/xoonips/XoonipsAdvancedSearch.tsx @@ -12,7 +12,7 @@ interface Props { type: BrainAtlasType; } -const DatabaseAdvancedSearch: React.FC = (props) => { +const XoonipsAdvancedSearch: React.FC = (props) => { const { lang, type } = props; const query = new AdvancedSearchQuery(); const navigate = useNavigate(); @@ -44,4 +44,4 @@ const DatabaseAdvancedSearch: React.FC = (props) => { ); }; -export default DatabaseAdvancedSearch; +export default XoonipsAdvancedSearch; diff --git a/src/database/DatabaseDetailItem.tsx b/src/xoonips/XoonipsDetailItem.tsx similarity index 94% rename from src/database/DatabaseDetailItem.tsx rename to src/xoonips/XoonipsDetailItem.tsx index 13e1de2..e24300e 100644 --- a/src/database/DatabaseDetailItem.tsx +++ b/src/xoonips/XoonipsDetailItem.tsx @@ -15,7 +15,7 @@ interface Props { doi: string; } -const DatabaseDetailItem: React.FC = (props) => { +const XoonipsDetailItem: React.FC = (props) => { const { lang, type, id, doi } = props; const [loading, setLoading] = React.useState(true); @@ -60,4 +60,4 @@ const DatabaseDetailItem: React.FC = (props) => { ); }; -export default DatabaseDetailItem; +export default XoonipsDetailItem; diff --git a/src/database/DatabaseSearchByAdvancedKeyword.tsx b/src/xoonips/XoonipsSearchByAdvancedKeyword.tsx similarity index 73% rename from src/database/DatabaseSearchByAdvancedKeyword.tsx rename to src/xoonips/XoonipsSearchByAdvancedKeyword.tsx index 203a4e9..029bb06 100644 --- a/src/database/DatabaseSearchByAdvancedKeyword.tsx +++ b/src/xoonips/XoonipsSearchByAdvancedKeyword.tsx @@ -2,15 +2,15 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; import { BrainAtlasType, MultiLang } from '../config'; -import DatabaseListItem from './lib/DatabaseListItem'; import ItemUtil, { SearchCallbackFunc, SortCondition } from './lib/ItemUtil'; +import XoonipsListItem from './lib/XoonipsListItem'; interface Props { lang: MultiLang; type: BrainAtlasType; } -const DatabaseSearchByAdvancedKeyword: React.FC = (props) => { +const XoonipsSearchByAdvancedKeyword: React.FC = (props) => { const { lang, type } = props; const location = useLocation(); const query = ItemUtil.getAdvancedSearchQueryByQuery(location.search); @@ -24,9 +24,9 @@ const DatabaseSearchByAdvancedKeyword: React.FC = (props) => { return (

Listing item

- +
); }; -export default DatabaseSearchByAdvancedKeyword; +export default XoonipsSearchByAdvancedKeyword; diff --git a/src/database/DatabaseSearchByIndexId.tsx b/src/xoonips/XoonipsSearchByIndexId.tsx similarity index 87% rename from src/database/DatabaseSearchByIndexId.tsx rename to src/xoonips/XoonipsSearchByIndexId.tsx index 7b674da..a653afd 100644 --- a/src/database/DatabaseSearchByIndexId.tsx +++ b/src/xoonips/XoonipsSearchByIndexId.tsx @@ -6,10 +6,10 @@ import Loading from '../common/lib/Loading'; import PageNotFound from '../common/lib/PageNotFound'; import { BrainAtlasType, MultiLang } from '../config'; import Functions from '../functions'; -import DatabaseListIndex from './lib/DatabaseListIndex'; -import DatabaseListItem from './lib/DatabaseListItem'; import IndexUtil, { Index } from './lib/IndexUtil'; import ItemUtil, { SearchCallbackFunc, SortCondition } from './lib/ItemUtil'; +import XoonipsListIndex from './lib/XoonipsListIndex'; +import XoonipsListItem from './lib/XoonipsListItem'; interface Props { lang: MultiLang; @@ -17,7 +17,7 @@ interface Props { indexId: number; } -const DatabaseSearchByIndexId: React.FC = (props) => { +const XoonipsSearchByIndexId: React.FC = (props) => { const { lang, type, indexId } = props; const [notFound, setNotFound] = React.useState(false); @@ -83,10 +83,10 @@ const DatabaseSearchByIndexId: React.FC = (props) => {

{Functions.mlang('[en]Listing item[/en][ja]アイテム一覧[/ja]', lang)}

{parents.node}
- - + +
); }; -export default DatabaseSearchByIndexId; +export default XoonipsSearchByIndexId; diff --git a/src/database/DatabaseSearchByItemType.tsx b/src/xoonips/XoonipsSearchByItemType.tsx similarity index 77% rename from src/database/DatabaseSearchByItemType.tsx rename to src/xoonips/XoonipsSearchByItemType.tsx index 790d369..e663996 100644 --- a/src/database/DatabaseSearchByItemType.tsx +++ b/src/xoonips/XoonipsSearchByItemType.tsx @@ -2,8 +2,8 @@ import React from 'react'; import { BrainAtlasType, MultiLang } from '../config'; import Functions from '../functions'; -import DatabaseListItem from './lib/DatabaseListItem'; import ItemUtil, { SearchCallbackFunc, SortCondition } from './lib/ItemUtil'; +import XoonipsListItem from './lib/XoonipsListItem'; interface Props { lang: MultiLang; @@ -12,7 +12,7 @@ interface Props { type: BrainAtlasType; } -const DatabaseSearchByItemType: React.FC = (props) => { +const XoonipsSearchByItemType: React.FC = (props) => { const { lang, itemType, subItemType, type } = props; const searchFunc = (condition: SortCondition, func: SearchCallbackFunc) => { @@ -29,9 +29,9 @@ const DatabaseSearchByItemType: React.FC = (props) => { return (

{Functions.mlang('[en]Listing item[/en][ja]アイテム一覧[/ja]', lang)}

- +
); }; -export default DatabaseSearchByItemType; +export default XoonipsSearchByItemType; diff --git a/src/database/DatabaseSearchByKeyword.tsx b/src/xoonips/XoonipsSearchByKeyword.tsx similarity index 81% rename from src/database/DatabaseSearchByKeyword.tsx rename to src/xoonips/XoonipsSearchByKeyword.tsx index 31ea9f2..3bdfb62 100644 --- a/src/database/DatabaseSearchByKeyword.tsx +++ b/src/xoonips/XoonipsSearchByKeyword.tsx @@ -3,15 +3,15 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; import { BrainAtlasType, MultiLang } from '../config'; import Functions from '../functions'; -import DatabaseListItem from './lib/DatabaseListItem'; import ItemUtil, { SearchCallbackFunc, SortCondition } from './lib/ItemUtil'; +import XoonipsListItem from './lib/XoonipsListItem'; interface Props { lang: MultiLang; type: BrainAtlasType; } -const DatabaseSearchByKeyword: React.FC = (props) => { +const XoonipsSearchByKeyword: React.FC = (props) => { const { lang, type } = props; const location = useLocation(); @@ -33,9 +33,9 @@ const DatabaseSearchByKeyword: React.FC = (props) => {

{Functions.mlang('[en]Search Keyword[/en][ja]検索キーワード[/ja]', lang)} : {query.keyword}

- + ); }; -export default DatabaseSearchByKeyword; +export default XoonipsSearchByKeyword; diff --git a/src/database/DatabaseTop.module.css b/src/xoonips/XoonipsTop.module.css similarity index 100% rename from src/database/DatabaseTop.module.css rename to src/xoonips/XoonipsTop.module.css diff --git a/src/database/DatabaseTop.tsx b/src/xoonips/XoonipsTop.tsx similarity index 89% rename from src/database/DatabaseTop.tsx rename to src/xoonips/XoonipsTop.tsx index f96fbd1..af04b58 100644 --- a/src/database/DatabaseTop.tsx +++ b/src/xoonips/XoonipsTop.tsx @@ -1,15 +1,16 @@ import React from 'react'; import Config, { BrainAtlasType, MultiLang } from '../config'; -import styles from './DatabaseTop.module.css'; import ItemType from './item-type'; +import styles from './XoonipsTop.module.css'; + interface Props { lang: MultiLang; type: BrainAtlasType; } -const DatabaseTop: React.FC = (props) => { +const XoonipsTop: React.FC = (props) => { const { lang, type } = props; const types: string[][] = []; const len = Config.XOONIPS_ITEMTYPES.length; @@ -41,4 +42,4 @@ const DatabaseTop: React.FC = (props) => { ); }; -export default DatabaseTop; +export default XoonipsTop; diff --git a/src/database/DatabaseXoopsPathRedirect.tsx b/src/xoonips/XoonipsXoopsPathRedirect.tsx similarity index 97% rename from src/database/DatabaseXoopsPathRedirect.tsx rename to src/xoonips/XoonipsXoopsPathRedirect.tsx index 9e095d2..edea544 100644 --- a/src/database/DatabaseXoopsPathRedirect.tsx +++ b/src/xoonips/XoonipsXoopsPathRedirect.tsx @@ -9,7 +9,7 @@ interface Props { lang: MultiLang; } -const DatabaseXoopsPathRedirect: React.FC = (props) => { +const XoonipsXoopsPathRedirect: React.FC = (props) => { const { lang } = props; const location = useLocation(); @@ -152,4 +152,4 @@ const DatabaseXoopsPathRedirect: React.FC = (props) => { return ; }; -export default DatabaseXoopsPathRedirect; +export default XoonipsXoopsPathRedirect; diff --git a/src/database/assets/images/icon_binder.gif b/src/xoonips/assets/images/icon_binder.gif similarity index 100% rename from src/database/assets/images/icon_binder.gif rename to src/xoonips/assets/images/icon_binder.gif diff --git a/src/database/assets/images/icon_book.gif b/src/xoonips/assets/images/icon_book.gif similarity index 100% rename from src/database/assets/images/icon_book.gif rename to src/xoonips/assets/images/icon_book.gif diff --git a/src/database/assets/images/icon_conference.gif b/src/xoonips/assets/images/icon_conference.gif similarity index 100% rename from src/database/assets/images/icon_conference.gif rename to src/xoonips/assets/images/icon_conference.gif diff --git a/src/database/assets/images/icon_data.gif b/src/xoonips/assets/images/icon_data.gif similarity index 100% rename from src/database/assets/images/icon_data.gif rename to src/xoonips/assets/images/icon_data.gif diff --git a/src/database/assets/images/icon_files.gif b/src/xoonips/assets/images/icon_files.gif similarity index 100% rename from src/database/assets/images/icon_files.gif rename to src/xoonips/assets/images/icon_files.gif diff --git a/src/database/assets/images/icon_folder.gif b/src/xoonips/assets/images/icon_folder.gif similarity index 100% rename from src/database/assets/images/icon_folder.gif rename to src/xoonips/assets/images/icon_folder.gif diff --git a/src/database/assets/images/icon_memo.gif b/src/xoonips/assets/images/icon_memo.gif similarity index 100% rename from src/database/assets/images/icon_memo.gif rename to src/xoonips/assets/images/icon_memo.gif diff --git a/src/database/assets/images/icon_model.gif b/src/xoonips/assets/images/icon_model.gif similarity index 100% rename from src/database/assets/images/icon_model.gif rename to src/xoonips/assets/images/icon_model.gif diff --git a/src/database/assets/images/icon_paper.gif b/src/xoonips/assets/images/icon_paper.gif similarity index 100% rename from src/database/assets/images/icon_paper.gif rename to src/xoonips/assets/images/icon_paper.gif diff --git a/src/database/assets/images/icon_presentation.gif b/src/xoonips/assets/images/icon_presentation.gif similarity index 100% rename from src/database/assets/images/icon_presentation.gif rename to src/xoonips/assets/images/icon_presentation.gif diff --git a/src/database/assets/images/icon_simulator.gif b/src/xoonips/assets/images/icon_simulator.gif similarity index 100% rename from src/database/assets/images/icon_simulator.gif rename to src/xoonips/assets/images/icon_simulator.gif diff --git a/src/database/assets/images/icon_stimulus.gif b/src/xoonips/assets/images/icon_stimulus.gif similarity index 100% rename from src/database/assets/images/icon_stimulus.gif rename to src/xoonips/assets/images/icon_stimulus.gif diff --git a/src/database/assets/images/icon_tool.gif b/src/xoonips/assets/images/icon_tool.gif similarity index 100% rename from src/database/assets/images/icon_tool.gif rename to src/xoonips/assets/images/icon_tool.gif diff --git a/src/database/assets/images/icon_url.gif b/src/xoonips/assets/images/icon_url.gif similarity index 100% rename from src/database/assets/images/icon_url.gif rename to src/xoonips/assets/images/icon_url.gif diff --git a/src/database/assets/images/simpf_button.png b/src/xoonips/assets/images/simpf_button.png similarity index 100% rename from src/database/assets/images/simpf_button.png rename to src/xoonips/assets/images/simpf_button.png diff --git a/src/database/assets/images/star.gif b/src/xoonips/assets/images/star.gif similarity index 100% rename from src/database/assets/images/star.gif rename to src/xoonips/assets/images/star.gif diff --git a/src/database/assets/images/tree_line.png b/src/xoonips/assets/images/tree_line.png similarity index 100% rename from src/database/assets/images/tree_line.png rename to src/xoonips/assets/images/tree_line.png diff --git a/src/database/assets/images/tree_node.png b/src/xoonips/assets/images/tree_node.png similarity index 100% rename from src/database/assets/images/tree_node.png rename to src/xoonips/assets/images/tree_node.png diff --git a/src/database/assets/simpf-links.json b/src/xoonips/assets/simpf-links.json similarity index 100% rename from src/database/assets/simpf-links.json rename to src/xoonips/assets/simpf-links.json diff --git a/src/database/blocks/IndexTree.module.css b/src/xoonips/blocks/IndexTree.module.css similarity index 100% rename from src/database/blocks/IndexTree.module.css rename to src/xoonips/blocks/IndexTree.module.css diff --git a/src/database/blocks/IndexTree.tsx b/src/xoonips/blocks/IndexTree.tsx similarity index 99% rename from src/database/blocks/IndexTree.tsx rename to src/xoonips/blocks/IndexTree.tsx index 43325f2..e3460a0 100644 --- a/src/database/blocks/IndexTree.tsx +++ b/src/xoonips/blocks/IndexTree.tsx @@ -7,6 +7,7 @@ import Loading from '../../common/lib/Loading'; import { BrainAtlasType, MultiLang } from '../../config'; import Functions from '../../functions'; import IndexUtil, { INDEX_ID_PUBLIC, Index } from '../lib/IndexUtil'; + import styles from './IndexTree.module.css'; interface Props { diff --git a/src/database/item-type/binder/BinderAdvancedSearch.tsx b/src/xoonips/item-type/binder/BinderAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/binder/BinderAdvancedSearch.tsx rename to src/xoonips/item-type/binder/BinderAdvancedSearch.tsx diff --git a/src/database/item-type/binder/BinderDetail.tsx b/src/xoonips/item-type/binder/BinderDetail.tsx similarity index 100% rename from src/database/item-type/binder/BinderDetail.tsx rename to src/xoonips/item-type/binder/BinderDetail.tsx diff --git a/src/database/item-type/binder/BinderList.tsx b/src/xoonips/item-type/binder/BinderList.tsx similarity index 99% rename from src/database/item-type/binder/BinderList.tsx rename to src/xoonips/item-type/binder/BinderList.tsx index 9cc0d9a..9e9b768 100644 --- a/src/database/item-type/binder/BinderList.tsx +++ b/src/xoonips/item-type/binder/BinderList.tsx @@ -1,9 +1,10 @@ import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_binder.gif'; import { ItemBinder } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_binder.gif'; + class BinderList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/binder/BinderTop.tsx b/src/xoonips/item-type/binder/BinderTop.tsx similarity index 99% rename from src/database/item-type/binder/BinderTop.tsx rename to src/xoonips/item-type/binder/BinderTop.tsx index 47aaef6..b38aed8 100644 --- a/src/database/item-type/binder/BinderTop.tsx +++ b/src/xoonips/item-type/binder/BinderTop.tsx @@ -1,6 +1,7 @@ -import iconFile from '../../assets/images/icon_binder.gif'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_binder.gif'; + class BinderTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/binder/index.tsx b/src/xoonips/item-type/binder/index.tsx similarity index 100% rename from src/database/item-type/binder/index.tsx rename to src/xoonips/item-type/binder/index.tsx diff --git a/src/database/item-type/book/BookAdvancedSearch.tsx b/src/xoonips/item-type/book/BookAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/book/BookAdvancedSearch.tsx rename to src/xoonips/item-type/book/BookAdvancedSearch.tsx diff --git a/src/database/item-type/book/BookDetail.tsx b/src/xoonips/item-type/book/BookDetail.tsx similarity index 100% rename from src/database/item-type/book/BookDetail.tsx rename to src/xoonips/item-type/book/BookDetail.tsx diff --git a/src/database/item-type/book/BookList.tsx b/src/xoonips/item-type/book/BookList.tsx similarity index 99% rename from src/database/item-type/book/BookList.tsx rename to src/xoonips/item-type/book/BookList.tsx index d532ed3..2008b8f 100644 --- a/src/database/item-type/book/BookList.tsx +++ b/src/xoonips/item-type/book/BookList.tsx @@ -1,10 +1,11 @@ import { Fragment } from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_book.gif'; import { ItemBook } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_book.gif'; + class BookList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/book/BookTop.tsx b/src/xoonips/item-type/book/BookTop.tsx similarity index 99% rename from src/database/item-type/book/BookTop.tsx rename to src/xoonips/item-type/book/BookTop.tsx index 9385778..c1e4317 100644 --- a/src/database/item-type/book/BookTop.tsx +++ b/src/xoonips/item-type/book/BookTop.tsx @@ -1,6 +1,7 @@ -import iconFile from '../../assets/images/icon_book.gif'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_book.gif'; + class BookTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/book/index.tsx b/src/xoonips/item-type/book/index.tsx similarity index 100% rename from src/database/item-type/book/index.tsx rename to src/xoonips/item-type/book/index.tsx diff --git a/src/database/item-type/conference/ConferenceAdvancedSearch.tsx b/src/xoonips/item-type/conference/ConferenceAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/conference/ConferenceAdvancedSearch.tsx rename to src/xoonips/item-type/conference/ConferenceAdvancedSearch.tsx diff --git a/src/database/item-type/conference/ConferenceDetail.tsx b/src/xoonips/item-type/conference/ConferenceDetail.tsx similarity index 100% rename from src/database/item-type/conference/ConferenceDetail.tsx rename to src/xoonips/item-type/conference/ConferenceDetail.tsx diff --git a/src/database/item-type/conference/ConferenceList.tsx b/src/xoonips/item-type/conference/ConferenceList.tsx similarity index 99% rename from src/database/item-type/conference/ConferenceList.tsx rename to src/xoonips/item-type/conference/ConferenceList.tsx index 00e2cfa..4e2e18e 100644 --- a/src/database/item-type/conference/ConferenceList.tsx +++ b/src/xoonips/item-type/conference/ConferenceList.tsx @@ -2,11 +2,12 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_conference.gif'; import { ItemConference } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; import ConferenceUtil from './ConferenceUtil'; +import iconFile from '../../assets/images/icon_conference.gif'; + class ConferenceList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/conference/ConferenceTop.tsx b/src/xoonips/item-type/conference/ConferenceTop.tsx similarity index 99% rename from src/database/item-type/conference/ConferenceTop.tsx rename to src/xoonips/item-type/conference/ConferenceTop.tsx index aeef252..4c08522 100644 --- a/src/database/item-type/conference/ConferenceTop.tsx +++ b/src/xoonips/item-type/conference/ConferenceTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_conference.gif'; import { ItemConferenceSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_conference.gif'; + class ConferenceTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/conference/ConferenceUtil.tsx b/src/xoonips/item-type/conference/ConferenceUtil.tsx similarity index 100% rename from src/database/item-type/conference/ConferenceUtil.tsx rename to src/xoonips/item-type/conference/ConferenceUtil.tsx diff --git a/src/database/item-type/conference/index.tsx b/src/xoonips/item-type/conference/index.tsx similarity index 100% rename from src/database/item-type/conference/index.tsx rename to src/xoonips/item-type/conference/index.tsx diff --git a/src/database/item-type/data/DataAdvancedSearch.tsx b/src/xoonips/item-type/data/DataAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/data/DataAdvancedSearch.tsx rename to src/xoonips/item-type/data/DataAdvancedSearch.tsx diff --git a/src/database/item-type/data/DataDetail.tsx b/src/xoonips/item-type/data/DataDetail.tsx similarity index 100% rename from src/database/item-type/data/DataDetail.tsx rename to src/xoonips/item-type/data/DataDetail.tsx diff --git a/src/database/item-type/data/DataList.tsx b/src/xoonips/item-type/data/DataList.tsx similarity index 99% rename from src/database/item-type/data/DataList.tsx rename to src/xoonips/item-type/data/DataList.tsx index 9b2b876..57523db 100644 --- a/src/database/item-type/data/DataList.tsx +++ b/src/xoonips/item-type/data/DataList.tsx @@ -2,10 +2,11 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_data.gif'; import { ItemData } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_data.gif'; + class DataList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/data/DataTop.tsx b/src/xoonips/item-type/data/DataTop.tsx similarity index 99% rename from src/database/item-type/data/DataTop.tsx rename to src/xoonips/item-type/data/DataTop.tsx index 48a4c04..8562ce6 100644 --- a/src/database/item-type/data/DataTop.tsx +++ b/src/xoonips/item-type/data/DataTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_data.gif'; import { ItemDataSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_data.gif'; + class DataTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/data/DataUtil.tsx b/src/xoonips/item-type/data/DataUtil.tsx similarity index 100% rename from src/database/item-type/data/DataUtil.tsx rename to src/xoonips/item-type/data/DataUtil.tsx diff --git a/src/database/item-type/data/index.tsx b/src/xoonips/item-type/data/index.tsx similarity index 100% rename from src/database/item-type/data/index.tsx rename to src/xoonips/item-type/data/index.tsx diff --git a/src/database/item-type/files/FilesAdvancedSearch.tsx b/src/xoonips/item-type/files/FilesAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/files/FilesAdvancedSearch.tsx rename to src/xoonips/item-type/files/FilesAdvancedSearch.tsx diff --git a/src/database/item-type/files/FilesDetail.tsx b/src/xoonips/item-type/files/FilesDetail.tsx similarity index 100% rename from src/database/item-type/files/FilesDetail.tsx rename to src/xoonips/item-type/files/FilesDetail.tsx diff --git a/src/database/item-type/files/FilesList.tsx b/src/xoonips/item-type/files/FilesList.tsx similarity index 99% rename from src/database/item-type/files/FilesList.tsx rename to src/xoonips/item-type/files/FilesList.tsx index 02952d1..5cad2ca 100644 --- a/src/database/item-type/files/FilesList.tsx +++ b/src/xoonips/item-type/files/FilesList.tsx @@ -1,10 +1,11 @@ import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_files.gif'; import { ItemFiles } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; import Contributor from '../lib/field/Contributor'; +import iconFile from '../../assets/images/icon_files.gif'; + class FilesList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/files/FilesTop.tsx b/src/xoonips/item-type/files/FilesTop.tsx similarity index 99% rename from src/database/item-type/files/FilesTop.tsx rename to src/xoonips/item-type/files/FilesTop.tsx index 3f91270..0126bf2 100644 --- a/src/database/item-type/files/FilesTop.tsx +++ b/src/xoonips/item-type/files/FilesTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_files.gif'; import { ItemFilesSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_files.gif'; + class FilesTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/files/FilesUtil.tsx b/src/xoonips/item-type/files/FilesUtil.tsx similarity index 100% rename from src/database/item-type/files/FilesUtil.tsx rename to src/xoonips/item-type/files/FilesUtil.tsx diff --git a/src/database/item-type/files/index.tsx b/src/xoonips/item-type/files/index.tsx similarity index 100% rename from src/database/item-type/files/index.tsx rename to src/xoonips/item-type/files/index.tsx diff --git a/src/database/item-type/index.tsx b/src/xoonips/item-type/index.tsx similarity index 100% rename from src/database/item-type/index.tsx rename to src/xoonips/item-type/index.tsx diff --git a/src/database/item-type/lib/AdvancedSearchBase.tsx b/src/xoonips/item-type/lib/AdvancedSearchBase.tsx similarity index 100% rename from src/database/item-type/lib/AdvancedSearchBase.tsx rename to src/xoonips/item-type/lib/AdvancedSearchBase.tsx diff --git a/src/database/item-type/lib/DetailBase.tsx b/src/xoonips/item-type/lib/DetailBase.tsx similarity index 100% rename from src/database/item-type/lib/DetailBase.tsx rename to src/xoonips/item-type/lib/DetailBase.tsx diff --git a/src/database/item-type/lib/ListBase.tsx b/src/xoonips/item-type/lib/ListBase.tsx similarity index 100% rename from src/database/item-type/lib/ListBase.tsx rename to src/xoonips/item-type/lib/ListBase.tsx diff --git a/src/database/item-type/lib/TopBase.tsx b/src/xoonips/item-type/lib/TopBase.tsx similarity index 100% rename from src/database/item-type/lib/TopBase.tsx rename to src/xoonips/item-type/lib/TopBase.tsx diff --git a/src/database/item-type/lib/field/Author.tsx b/src/xoonips/item-type/lib/field/Author.tsx similarity index 100% rename from src/database/item-type/lib/field/Author.tsx rename to src/xoonips/item-type/lib/field/Author.tsx diff --git a/src/database/item-type/lib/field/ChangeLog.tsx b/src/xoonips/item-type/lib/field/ChangeLog.tsx similarity index 100% rename from src/database/item-type/lib/field/ChangeLog.tsx rename to src/xoonips/item-type/lib/field/ChangeLog.tsx diff --git a/src/database/item-type/lib/field/Contributor.tsx b/src/xoonips/item-type/lib/field/Contributor.tsx similarity index 100% rename from src/database/item-type/lib/field/Contributor.tsx rename to src/xoonips/item-type/lib/field/Contributor.tsx diff --git a/src/database/item-type/lib/field/CreativeCommons.tsx b/src/xoonips/item-type/lib/field/CreativeCommons.tsx similarity index 100% rename from src/database/item-type/lib/field/CreativeCommons.tsx rename to src/xoonips/item-type/lib/field/CreativeCommons.tsx diff --git a/src/database/item-type/lib/field/DateTime.tsx b/src/xoonips/item-type/lib/field/DateTime.tsx similarity index 100% rename from src/database/item-type/lib/field/DateTime.tsx rename to src/xoonips/item-type/lib/field/DateTime.tsx diff --git a/src/database/item-type/lib/field/Description.tsx b/src/xoonips/item-type/lib/field/Description.tsx similarity index 100% rename from src/database/item-type/lib/field/Description.tsx rename to src/xoonips/item-type/lib/field/Description.tsx diff --git a/src/database/item-type/lib/field/FileDownloadButton.module.css b/src/xoonips/item-type/lib/field/FileDownloadButton.module.css similarity index 100% rename from src/database/item-type/lib/field/FileDownloadButton.module.css rename to src/xoonips/item-type/lib/field/FileDownloadButton.module.css diff --git a/src/database/item-type/lib/field/FileDownloadButton.tsx b/src/xoonips/item-type/lib/field/FileDownloadButton.tsx similarity index 99% rename from src/database/item-type/lib/field/FileDownloadButton.tsx rename to src/xoonips/item-type/lib/field/FileDownloadButton.tsx index 9a6eed8..428ca55 100644 --- a/src/database/item-type/lib/field/FileDownloadButton.tsx +++ b/src/xoonips/item-type/lib/field/FileDownloadButton.tsx @@ -2,9 +2,10 @@ import React from 'react'; import { BrainAtlasType, MultiLang } from '../../../../config'; import ItemUtil, { ItemBasicFile } from '../../../lib/ItemUtil'; -import styles from './FileDownloadButton.module.css'; import LicenseAgreementDialog from './LicenseAgreementDialog'; +import styles from './FileDownloadButton.module.css'; + interface Props { lang: MultiLang; file: ItemBasicFile; diff --git a/src/database/item-type/lib/field/FileSize.tsx b/src/xoonips/item-type/lib/field/FileSize.tsx similarity index 100% rename from src/database/item-type/lib/field/FileSize.tsx rename to src/xoonips/item-type/lib/field/FileSize.tsx diff --git a/src/database/item-type/lib/field/FreeKeyword.tsx b/src/xoonips/item-type/lib/field/FreeKeyword.tsx similarity index 100% rename from src/database/item-type/lib/field/FreeKeyword.tsx rename to src/xoonips/item-type/lib/field/FreeKeyword.tsx diff --git a/src/database/item-type/lib/field/ItemFile.tsx b/src/xoonips/item-type/lib/field/ItemFile.tsx similarity index 100% rename from src/database/item-type/lib/field/ItemFile.tsx rename to src/xoonips/item-type/lib/field/ItemFile.tsx diff --git a/src/database/item-type/lib/field/ItemIndex.tsx b/src/xoonips/item-type/lib/field/ItemIndex.tsx similarity index 100% rename from src/database/item-type/lib/field/ItemIndex.tsx rename to src/xoonips/item-type/lib/field/ItemIndex.tsx diff --git a/src/database/item-type/lib/field/Language.tsx b/src/xoonips/item-type/lib/field/Language.tsx similarity index 100% rename from src/database/item-type/lib/field/Language.tsx rename to src/xoonips/item-type/lib/field/Language.tsx diff --git a/src/database/item-type/lib/field/LicenseAgreementDialog.module.css b/src/xoonips/item-type/lib/field/LicenseAgreementDialog.module.css similarity index 100% rename from src/database/item-type/lib/field/LicenseAgreementDialog.module.css rename to src/xoonips/item-type/lib/field/LicenseAgreementDialog.module.css diff --git a/src/database/item-type/lib/field/LicenseAgreementDialog.tsx b/src/xoonips/item-type/lib/field/LicenseAgreementDialog.tsx similarity index 99% rename from src/database/item-type/lib/field/LicenseAgreementDialog.tsx rename to src/xoonips/item-type/lib/field/LicenseAgreementDialog.tsx index 0d8cced..55d01e1 100644 --- a/src/database/item-type/lib/field/LicenseAgreementDialog.tsx +++ b/src/xoonips/item-type/lib/field/LicenseAgreementDialog.tsx @@ -7,9 +7,10 @@ import Functions from '../../../../functions'; import ItemUtil, { ItemBasicFile } from '../../../lib/ItemUtil'; import DateTime from './DateTime'; import FileSize from './FileSize'; -import styles from './LicenseAgreementDialog.module.css'; import Rights from './Rights'; +import styles from './LicenseAgreementDialog.module.css'; + interface Props { lang: MultiLang; file: ItemBasicFile; diff --git a/src/database/item-type/lib/field/Preview.module.css b/src/xoonips/item-type/lib/field/Preview.module.css similarity index 100% rename from src/database/item-type/lib/field/Preview.module.css rename to src/xoonips/item-type/lib/field/Preview.module.css diff --git a/src/database/item-type/lib/field/Preview.tsx b/src/xoonips/item-type/lib/field/Preview.tsx similarity index 100% rename from src/database/item-type/lib/field/Preview.tsx rename to src/xoonips/item-type/lib/field/Preview.tsx diff --git a/src/database/item-type/lib/field/PublicationDate.tsx b/src/xoonips/item-type/lib/field/PublicationDate.tsx similarity index 100% rename from src/database/item-type/lib/field/PublicationDate.tsx rename to src/xoonips/item-type/lib/field/PublicationDate.tsx diff --git a/src/database/item-type/lib/field/Readme.tsx b/src/xoonips/item-type/lib/field/Readme.tsx similarity index 100% rename from src/database/item-type/lib/field/Readme.tsx rename to src/xoonips/item-type/lib/field/Readme.tsx diff --git a/src/database/item-type/lib/field/RelatedTo.tsx b/src/xoonips/item-type/lib/field/RelatedTo.tsx similarity index 97% rename from src/database/item-type/lib/field/RelatedTo.tsx rename to src/xoonips/item-type/lib/field/RelatedTo.tsx index db8a2fa..5a85f49 100644 --- a/src/database/item-type/lib/field/RelatedTo.tsx +++ b/src/xoonips/item-type/lib/field/RelatedTo.tsx @@ -1,7 +1,7 @@ import React from 'react'; +import ItemType from '../..'; import { BrainAtlasType, MultiLang } from '../../../../config'; -import ItemType from '../../../item-type'; import ItemUtil from '../../../lib/ItemUtil'; interface Props { diff --git a/src/database/item-type/lib/field/Rights.tsx b/src/xoonips/item-type/lib/field/Rights.tsx similarity index 100% rename from src/database/item-type/lib/field/Rights.tsx rename to src/xoonips/item-type/lib/field/Rights.tsx diff --git a/src/database/item-type/lib/field/SimPFLinkIcon.tsx b/src/xoonips/item-type/lib/field/SimPFLinkIcon.tsx similarity index 100% rename from src/database/item-type/lib/field/SimPFLinkIcon.tsx rename to src/xoonips/item-type/lib/field/SimPFLinkIcon.tsx diff --git a/src/database/item-type/lib/field/index.tsx b/src/xoonips/item-type/lib/field/index.tsx similarity index 100% rename from src/database/item-type/lib/field/index.tsx rename to src/xoonips/item-type/lib/field/index.tsx diff --git a/src/database/item-type/memo/MemoAdvancedSearch.tsx b/src/xoonips/item-type/memo/MemoAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/memo/MemoAdvancedSearch.tsx rename to src/xoonips/item-type/memo/MemoAdvancedSearch.tsx diff --git a/src/database/item-type/memo/MemoDetail.tsx b/src/xoonips/item-type/memo/MemoDetail.tsx similarity index 100% rename from src/database/item-type/memo/MemoDetail.tsx rename to src/xoonips/item-type/memo/MemoDetail.tsx diff --git a/src/database/item-type/memo/MemoList.tsx b/src/xoonips/item-type/memo/MemoList.tsx similarity index 99% rename from src/database/item-type/memo/MemoList.tsx rename to src/xoonips/item-type/memo/MemoList.tsx index dd049fe..946a4bd 100644 --- a/src/database/item-type/memo/MemoList.tsx +++ b/src/xoonips/item-type/memo/MemoList.tsx @@ -1,10 +1,11 @@ import { Link } from 'react-router-dom'; import XoopsCode from '../../../common/lib/XoopsCode'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_memo.gif'; import { ItemMemo } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_memo.gif'; + class MemoList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/memo/MemoTop.tsx b/src/xoonips/item-type/memo/MemoTop.tsx similarity index 99% rename from src/database/item-type/memo/MemoTop.tsx rename to src/xoonips/item-type/memo/MemoTop.tsx index 41e6018..ec2639f 100644 --- a/src/database/item-type/memo/MemoTop.tsx +++ b/src/xoonips/item-type/memo/MemoTop.tsx @@ -1,6 +1,7 @@ -import iconFile from '../../assets/images/icon_memo.gif'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_memo.gif'; + class MemoTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/memo/index.tsx b/src/xoonips/item-type/memo/index.tsx similarity index 100% rename from src/database/item-type/memo/index.tsx rename to src/xoonips/item-type/memo/index.tsx diff --git a/src/database/item-type/model/ModelAdvancedSearch.tsx b/src/xoonips/item-type/model/ModelAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/model/ModelAdvancedSearch.tsx rename to src/xoonips/item-type/model/ModelAdvancedSearch.tsx diff --git a/src/database/item-type/model/ModelDetail.tsx b/src/xoonips/item-type/model/ModelDetail.tsx similarity index 100% rename from src/database/item-type/model/ModelDetail.tsx rename to src/xoonips/item-type/model/ModelDetail.tsx diff --git a/src/database/item-type/model/ModelList.tsx b/src/xoonips/item-type/model/ModelList.tsx similarity index 99% rename from src/database/item-type/model/ModelList.tsx rename to src/xoonips/item-type/model/ModelList.tsx index c552726..387455f 100644 --- a/src/database/item-type/model/ModelList.tsx +++ b/src/xoonips/item-type/model/ModelList.tsx @@ -2,10 +2,11 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_model.gif'; import { ItemModel } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_model.gif'; + class ModelList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/model/ModelTop.tsx b/src/xoonips/item-type/model/ModelTop.tsx similarity index 99% rename from src/database/item-type/model/ModelTop.tsx rename to src/xoonips/item-type/model/ModelTop.tsx index f2844da..a87f5c8 100644 --- a/src/database/item-type/model/ModelTop.tsx +++ b/src/xoonips/item-type/model/ModelTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_model.gif'; import { ItemModelSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_model.gif'; + class ModelTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/model/ModelUtil.tsx b/src/xoonips/item-type/model/ModelUtil.tsx similarity index 100% rename from src/database/item-type/model/ModelUtil.tsx rename to src/xoonips/item-type/model/ModelUtil.tsx diff --git a/src/database/item-type/model/index.tsx b/src/xoonips/item-type/model/index.tsx similarity index 100% rename from src/database/item-type/model/index.tsx rename to src/xoonips/item-type/model/index.tsx diff --git a/src/database/item-type/paper/PaperAdvancedSearch.tsx b/src/xoonips/item-type/paper/PaperAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/paper/PaperAdvancedSearch.tsx rename to src/xoonips/item-type/paper/PaperAdvancedSearch.tsx diff --git a/src/database/item-type/paper/PaperDetail.tsx b/src/xoonips/item-type/paper/PaperDetail.tsx similarity index 100% rename from src/database/item-type/paper/PaperDetail.tsx rename to src/xoonips/item-type/paper/PaperDetail.tsx diff --git a/src/database/item-type/paper/PaperList.tsx b/src/xoonips/item-type/paper/PaperList.tsx similarity index 99% rename from src/database/item-type/paper/PaperList.tsx rename to src/xoonips/item-type/paper/PaperList.tsx index 7600c34..ae7b187 100644 --- a/src/database/item-type/paper/PaperList.tsx +++ b/src/xoonips/item-type/paper/PaperList.tsx @@ -2,11 +2,12 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_paper.gif'; import { ItemPaper } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; import PaperUtil from './PaperUtil'; +import iconFile from '../../assets/images/icon_paper.gif'; + class PaperList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/paper/PaperTop.tsx b/src/xoonips/item-type/paper/PaperTop.tsx similarity index 99% rename from src/database/item-type/paper/PaperTop.tsx rename to src/xoonips/item-type/paper/PaperTop.tsx index e31fd0a..1dfb3c8 100644 --- a/src/database/item-type/paper/PaperTop.tsx +++ b/src/xoonips/item-type/paper/PaperTop.tsx @@ -1,6 +1,7 @@ -import iconFile from '../../assets/images/icon_paper.gif'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_paper.gif'; + class PaperTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/paper/PaperUtil.tsx b/src/xoonips/item-type/paper/PaperUtil.tsx similarity index 100% rename from src/database/item-type/paper/PaperUtil.tsx rename to src/xoonips/item-type/paper/PaperUtil.tsx diff --git a/src/database/item-type/paper/index.tsx b/src/xoonips/item-type/paper/index.tsx similarity index 100% rename from src/database/item-type/paper/index.tsx rename to src/xoonips/item-type/paper/index.tsx diff --git a/src/database/item-type/presentation/PresentationAdvancedSearch.tsx b/src/xoonips/item-type/presentation/PresentationAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/presentation/PresentationAdvancedSearch.tsx rename to src/xoonips/item-type/presentation/PresentationAdvancedSearch.tsx diff --git a/src/database/item-type/presentation/PresentationDetail.tsx b/src/xoonips/item-type/presentation/PresentationDetail.tsx similarity index 100% rename from src/database/item-type/presentation/PresentationDetail.tsx rename to src/xoonips/item-type/presentation/PresentationDetail.tsx diff --git a/src/database/item-type/presentation/PresentationList.tsx b/src/xoonips/item-type/presentation/PresentationList.tsx similarity index 99% rename from src/database/item-type/presentation/PresentationList.tsx rename to src/xoonips/item-type/presentation/PresentationList.tsx index 941e34b..1d0bb92 100644 --- a/src/database/item-type/presentation/PresentationList.tsx +++ b/src/xoonips/item-type/presentation/PresentationList.tsx @@ -2,11 +2,12 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_presentation.gif'; import { ItemPresentation } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; import PresentationUtil from './PresentationUtil'; +import iconFile from '../../assets/images/icon_presentation.gif'; + class PresentationList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/presentation/PresentationTop.tsx b/src/xoonips/item-type/presentation/PresentationTop.tsx similarity index 99% rename from src/database/item-type/presentation/PresentationTop.tsx rename to src/xoonips/item-type/presentation/PresentationTop.tsx index 5ab4532..bbfd774 100644 --- a/src/database/item-type/presentation/PresentationTop.tsx +++ b/src/xoonips/item-type/presentation/PresentationTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_presentation.gif'; import { ItemPresentationSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_presentation.gif'; + class PresentationTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/presentation/PresentationUtil.tsx b/src/xoonips/item-type/presentation/PresentationUtil.tsx similarity index 100% rename from src/database/item-type/presentation/PresentationUtil.tsx rename to src/xoonips/item-type/presentation/PresentationUtil.tsx diff --git a/src/database/item-type/presentation/index.tsx b/src/xoonips/item-type/presentation/index.tsx similarity index 100% rename from src/database/item-type/presentation/index.tsx rename to src/xoonips/item-type/presentation/index.tsx diff --git a/src/database/item-type/simulator/SimulatorAdvancedSearch.tsx b/src/xoonips/item-type/simulator/SimulatorAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/simulator/SimulatorAdvancedSearch.tsx rename to src/xoonips/item-type/simulator/SimulatorAdvancedSearch.tsx diff --git a/src/database/item-type/simulator/SimulatorDetail.tsx b/src/xoonips/item-type/simulator/SimulatorDetail.tsx similarity index 100% rename from src/database/item-type/simulator/SimulatorDetail.tsx rename to src/xoonips/item-type/simulator/SimulatorDetail.tsx diff --git a/src/database/item-type/simulator/SimulatorList.tsx b/src/xoonips/item-type/simulator/SimulatorList.tsx similarity index 99% rename from src/database/item-type/simulator/SimulatorList.tsx rename to src/xoonips/item-type/simulator/SimulatorList.tsx index 7d861ae..be25335 100644 --- a/src/database/item-type/simulator/SimulatorList.tsx +++ b/src/xoonips/item-type/simulator/SimulatorList.tsx @@ -2,10 +2,11 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_simulator.gif'; import { ItemSimulator } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_simulator.gif'; + class SimulatorList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/simulator/SimulatorTop.tsx b/src/xoonips/item-type/simulator/SimulatorTop.tsx similarity index 99% rename from src/database/item-type/simulator/SimulatorTop.tsx rename to src/xoonips/item-type/simulator/SimulatorTop.tsx index bb56204..72053da 100644 --- a/src/database/item-type/simulator/SimulatorTop.tsx +++ b/src/xoonips/item-type/simulator/SimulatorTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_simulator.gif'; import { ItemSimulatorSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_simulator.gif'; + class SimulatorTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/simulator/SimulatorUtil.tsx b/src/xoonips/item-type/simulator/SimulatorUtil.tsx similarity index 100% rename from src/database/item-type/simulator/SimulatorUtil.tsx rename to src/xoonips/item-type/simulator/SimulatorUtil.tsx diff --git a/src/database/item-type/simulator/index.tsx b/src/xoonips/item-type/simulator/index.tsx similarity index 100% rename from src/database/item-type/simulator/index.tsx rename to src/xoonips/item-type/simulator/index.tsx diff --git a/src/database/item-type/stimulus/StimulusAdvancedSearch.tsx b/src/xoonips/item-type/stimulus/StimulusAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/stimulus/StimulusAdvancedSearch.tsx rename to src/xoonips/item-type/stimulus/StimulusAdvancedSearch.tsx diff --git a/src/database/item-type/stimulus/StimulusDetail.tsx b/src/xoonips/item-type/stimulus/StimulusDetail.tsx similarity index 100% rename from src/database/item-type/stimulus/StimulusDetail.tsx rename to src/xoonips/item-type/stimulus/StimulusDetail.tsx diff --git a/src/database/item-type/stimulus/StimulusList.tsx b/src/xoonips/item-type/stimulus/StimulusList.tsx similarity index 99% rename from src/database/item-type/stimulus/StimulusList.tsx rename to src/xoonips/item-type/stimulus/StimulusList.tsx index 8e03e6d..b8b80c2 100644 --- a/src/database/item-type/stimulus/StimulusList.tsx +++ b/src/xoonips/item-type/stimulus/StimulusList.tsx @@ -2,10 +2,11 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_stimulus.gif'; import { ItemStimulus } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_stimulus.gif'; + class StimulusList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/stimulus/StimulusTop.tsx b/src/xoonips/item-type/stimulus/StimulusTop.tsx similarity index 99% rename from src/database/item-type/stimulus/StimulusTop.tsx rename to src/xoonips/item-type/stimulus/StimulusTop.tsx index d395417..8fad721 100644 --- a/src/database/item-type/stimulus/StimulusTop.tsx +++ b/src/xoonips/item-type/stimulus/StimulusTop.tsx @@ -1,7 +1,8 @@ -import iconFile from '../../assets/images/icon_stimulus.gif'; import { ItemStimulusSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; +import iconFile from '../../assets/images/icon_stimulus.gif'; + class StimulusTop extends TopBase { constructor(props: TopBaseProps) { super(props); diff --git a/src/database/item-type/stimulus/StimulusUtil.tsx b/src/xoonips/item-type/stimulus/StimulusUtil.tsx similarity index 100% rename from src/database/item-type/stimulus/StimulusUtil.tsx rename to src/xoonips/item-type/stimulus/StimulusUtil.tsx diff --git a/src/database/item-type/stimulus/index.tsx b/src/xoonips/item-type/stimulus/index.tsx similarity index 100% rename from src/database/item-type/stimulus/index.tsx rename to src/xoonips/item-type/stimulus/index.tsx diff --git a/src/database/item-type/tool/ToolAdvancedSearch.tsx b/src/xoonips/item-type/tool/ToolAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/tool/ToolAdvancedSearch.tsx rename to src/xoonips/item-type/tool/ToolAdvancedSearch.tsx diff --git a/src/database/item-type/tool/ToolDetail.tsx b/src/xoonips/item-type/tool/ToolDetail.tsx similarity index 100% rename from src/database/item-type/tool/ToolDetail.tsx rename to src/xoonips/item-type/tool/ToolDetail.tsx diff --git a/src/database/item-type/tool/ToolList.tsx b/src/xoonips/item-type/tool/ToolList.tsx similarity index 99% rename from src/database/item-type/tool/ToolList.tsx rename to src/xoonips/item-type/tool/ToolList.tsx index bfd6705..fcf6445 100644 --- a/src/database/item-type/tool/ToolList.tsx +++ b/src/xoonips/item-type/tool/ToolList.tsx @@ -1,10 +1,11 @@ import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_tool.gif'; import { ItemTool } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; import ToolUtil from './ToolUtil'; +import iconFile from '../../assets/images/icon_tool.gif'; + class ToolList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/tool/ToolTop.tsx b/src/xoonips/item-type/tool/ToolTop.tsx similarity index 99% rename from src/database/item-type/tool/ToolTop.tsx rename to src/xoonips/item-type/tool/ToolTop.tsx index 1489b89..f434928 100644 --- a/src/database/item-type/tool/ToolTop.tsx +++ b/src/xoonips/item-type/tool/ToolTop.tsx @@ -1,5 +1,6 @@ import { ItemToolSubTypes } from '../../lib/ItemUtil'; import TopBase, { TopBaseProps } from '../lib/TopBase'; + import iconFile from '../../assets/images/icon_tool.gif'; class ToolTop extends TopBase { diff --git a/src/database/item-type/tool/ToolUtil.tsx b/src/xoonips/item-type/tool/ToolUtil.tsx similarity index 100% rename from src/database/item-type/tool/ToolUtil.tsx rename to src/xoonips/item-type/tool/ToolUtil.tsx diff --git a/src/database/item-type/tool/index.tsx b/src/xoonips/item-type/tool/index.tsx similarity index 100% rename from src/database/item-type/tool/index.tsx rename to src/xoonips/item-type/tool/index.tsx diff --git a/src/database/item-type/url/UrlAdvancedSearch.tsx b/src/xoonips/item-type/url/UrlAdvancedSearch.tsx similarity index 100% rename from src/database/item-type/url/UrlAdvancedSearch.tsx rename to src/xoonips/item-type/url/UrlAdvancedSearch.tsx diff --git a/src/database/item-type/url/UrlDetail.tsx b/src/xoonips/item-type/url/UrlDetail.tsx similarity index 100% rename from src/database/item-type/url/UrlDetail.tsx rename to src/xoonips/item-type/url/UrlDetail.tsx diff --git a/src/database/item-type/url/UrlList.tsx b/src/xoonips/item-type/url/UrlList.tsx similarity index 99% rename from src/database/item-type/url/UrlList.tsx rename to src/xoonips/item-type/url/UrlList.tsx index 712f9f4..21f685a 100644 --- a/src/database/item-type/url/UrlList.tsx +++ b/src/xoonips/item-type/url/UrlList.tsx @@ -1,9 +1,10 @@ import { Link } from 'react-router-dom'; import Functions from '../../../functions'; -import iconFile from '../../assets/images/icon_url.gif'; import { ItemUrl } from '../../lib/ItemUtil'; import ListBase, { ListBaseProps } from '../lib/ListBase'; +import iconFile from '../../assets/images/icon_url.gif'; + class UrlList extends ListBase { constructor(props: ListBaseProps) { super(props); diff --git a/src/database/item-type/url/UrlTop.tsx b/src/xoonips/item-type/url/UrlTop.tsx similarity index 99% rename from src/database/item-type/url/UrlTop.tsx rename to src/xoonips/item-type/url/UrlTop.tsx index 7737780..6943cb6 100644 --- a/src/database/item-type/url/UrlTop.tsx +++ b/src/xoonips/item-type/url/UrlTop.tsx @@ -1,4 +1,5 @@ import TopBase, { TopBaseProps } from '../lib/TopBase'; + import iconFile from '../../assets/images/icon_url.gif'; class UrlTop extends TopBase { diff --git a/src/database/item-type/url/UrlUtil.tsx b/src/xoonips/item-type/url/UrlUtil.tsx similarity index 100% rename from src/database/item-type/url/UrlUtil.tsx rename to src/xoonips/item-type/url/UrlUtil.tsx diff --git a/src/database/item-type/url/index.tsx b/src/xoonips/item-type/url/index.tsx similarity index 100% rename from src/database/item-type/url/index.tsx rename to src/xoonips/item-type/url/index.tsx diff --git a/src/database/lib/AdvancedSearchQuery.ts b/src/xoonips/lib/AdvancedSearchQuery.ts similarity index 100% rename from src/database/lib/AdvancedSearchQuery.ts rename to src/xoonips/lib/AdvancedSearchQuery.ts diff --git a/src/database/lib/IndexUtil.ts b/src/xoonips/lib/IndexUtil.ts similarity index 100% rename from src/database/lib/IndexUtil.ts rename to src/xoonips/lib/IndexUtil.ts diff --git a/src/database/lib/ItemUtil.ts b/src/xoonips/lib/ItemUtil.ts similarity index 100% rename from src/database/lib/ItemUtil.ts rename to src/xoonips/lib/ItemUtil.ts diff --git a/src/database/lib/DatabaseListIndex.tsx b/src/xoonips/lib/XoonipsListIndex.tsx similarity index 95% rename from src/database/lib/DatabaseListIndex.tsx rename to src/xoonips/lib/XoonipsListIndex.tsx index 1471523..0ff9994 100644 --- a/src/database/lib/DatabaseListIndex.tsx +++ b/src/xoonips/lib/XoonipsListIndex.tsx @@ -44,7 +44,7 @@ const ListIndexItem: React.FC = (props) => { ); }; -const DatabaseListIndex: React.FC = (props) => { +const XoonipsListIndex: React.FC = (props) => { const { lang, index, type } = props; const [children, setChildren] = React.useState([]); @@ -75,4 +75,4 @@ const DatabaseListIndex: React.FC = (props) => { ); }; -export default DatabaseListIndex; +export default XoonipsListIndex; diff --git a/src/database/lib/DatabaseListItem.module.css b/src/xoonips/lib/XoonipsListItem.module.css similarity index 100% rename from src/database/lib/DatabaseListItem.module.css rename to src/xoonips/lib/XoonipsListItem.module.css diff --git a/src/database/lib/DatabaseListItem.tsx b/src/xoonips/lib/XoonipsListItem.tsx similarity index 98% rename from src/database/lib/DatabaseListItem.tsx rename to src/xoonips/lib/XoonipsListItem.tsx index f091aa2..54567d7 100644 --- a/src/database/lib/DatabaseListItem.tsx +++ b/src/xoonips/lib/XoonipsListItem.tsx @@ -5,7 +5,6 @@ import Loading from '../../common/lib/Loading'; import { BrainAtlasType, MultiLang } from '../../config'; import Functions from '../../functions'; import ItemType from '../item-type'; -import styles from './DatabaseListItem.module.css'; import { Item, SearchFunc, @@ -16,6 +15,8 @@ import { SortConditionOrderDir, } from './ItemUtil'; +import styles from './XoonipsListItem.module.css'; + const SORT_CONDITION_DEFAULT: SortCondition = { limit: 20, page: 1, @@ -39,7 +40,7 @@ interface Props { type: BrainAtlasType; } -const DatabaseListItem: React.FC = (props) => { +const XoonipsListItem: React.FC = (props) => { const { lang, type, url, search } = props; const navigate = useNavigate(); @@ -252,4 +253,4 @@ const DatabaseListItem: React.FC = (props) => { ); }; -export default DatabaseListItem; +export default XoonipsListItem; diff --git a/src/database/lib/types.ts b/src/xoonips/lib/types.ts similarity index 100% rename from src/database/lib/types.ts rename to src/xoonips/lib/types.ts diff --git a/vite.config.ts b/vite.config.ts index 30fd972..97d8c75 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,12 +6,6 @@ import pluginRewriteAll from 'vite-plugin-rewrite-all'; // https://vitejs.dev/config/ export default defineConfig(({ mode }) => { return { - build: { - outDir: 'build', - }, plugins: [react(), nodePolyfills(), pluginRewriteAll()], - server: { - port: 3000, - }, }; });