18 files changed
+224
-372
No files matched your search
Generated
+71
-228
@@ -16,15 +16,12 @@
|
|||||||
"@mdi/js": "^7.2.96",
|
"@mdi/js": "^7.2.96",
|
||||||
"@mui/lab": "^5.0.0-alpha.128",
|
"@mui/lab": "^5.0.0-alpha.128",
|
||||||
"@mui/material": "^5.11.16",
|
"@mui/material": "^5.11.16",
|
||||||
"@reduxjs/toolkit": "^1.9.3",
|
|
||||||
"@tanstack/react-query": "^4.26.1",
|
"@tanstack/react-query": "^4.26.1",
|
||||||
"@tanstack/react-query-devtools": "^4.29.3",
|
"@tanstack/react-query-devtools": "^4.29.3",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"events": "^3.3.0",
|
"events": "^3.3.0",
|
||||||
"framer-motion": "^10.12.4",
|
"framer-motion": "^10.12.4",
|
||||||
"localforage": "^1.10.0",
|
|
||||||
"match-sorter": "^6.3.1",
|
|
||||||
"notistack": "^3.0.1",
|
"notistack": "^3.0.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-blurhash": "^0.3.0",
|
"react-blurhash": "^0.3.0",
|
||||||
@@ -32,10 +29,7 @@
|
|||||||
"react-konami-code": "^2.3.0",
|
"react-konami-code": "^2.3.0",
|
||||||
"react-material-ui-carousel": "^3.4.2",
|
"react-material-ui-carousel": "^3.4.2",
|
||||||
"react-multi-carousel": "^2.8.3",
|
"react-multi-carousel": "^2.8.3",
|
||||||
"react-redux": "^8.0.5",
|
|
||||||
"react-router-dom": "^6.11.0",
|
"react-router-dom": "^6.11.0",
|
||||||
"redux": "^4.2.1",
|
|
||||||
"sort-by": "^1.2.0",
|
|
||||||
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
|
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
|
||||||
"uuid": "^9.0.0",
|
"uuid": "^9.0.0",
|
||||||
"vite-plugin-svgr": "^2.2.2"
|
"vite-plugin-svgr": "^2.2.2"
|
||||||
@@ -1203,33 +1197,10 @@
|
|||||||
"url": "https://opencollective.com/popperjs"
|
"url": "https://opencollective.com/popperjs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@reduxjs/toolkit": {
|
|
||||||
"version": "1.9.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.9.5.tgz",
|
|
||||||
"integrity": "sha512-Rt97jHmfTeaxL4swLRNPD/zV4OxTes4la07Xc4hetpUW/vc75t5m1ANyxG6ymnEQ2FsLQsoMlYB2vV1sO3m8tQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"immer": "^9.0.21",
|
|
||||||
"redux": "^4.2.1",
|
|
||||||
"redux-thunk": "^2.4.2",
|
|
||||||
"reselect": "^4.1.8"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^16.9.0 || ^17.0.0 || ^18",
|
|
||||||
"react-redux": "^7.2.1 || ^8.0.2"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"react": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"react-redux": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@remix-run/router": {
|
"node_modules/@remix-run/router": {
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.6.1.tgz",
|
||||||
"integrity": "sha512-N13NRw3T2+6Xi9J//3CGLsK2OqC8NMme3d/YX+nh05K9YHWGcv8DycHJrqGScSP4T75o8IN6nqIMhVFU8ohg8w==",
|
"integrity": "sha512-YUkWj+xs0oOzBe74OgErsuR3wVn+efrFhXBWrit50kOiED+pvQe2r6MWY0iJMQU/mSVKxvNzL4ZaYvjdX+G7ZA==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
}
|
}
|
||||||
@@ -1526,9 +1497,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/api": {
|
"node_modules/@tauri-apps/api": {
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-1.3.0.tgz",
|
||||||
"integrity": "sha512-lsI54KI6HGf7VImuf/T9pnoejfgkNoXveP14pVV7XarrQ46rOejIVJLFqHI9sRReJMGdh2YuCoI3cc/yCWCsrw==",
|
"integrity": "sha512-AH+3FonkKZNtfRtGrObY38PrzEj4d+1emCbwNGu0V2ENbXjlLHMZQlUh+Bhu/CRmjaIwZMGJ3yFvWaZZgTHoog==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 14.6.0",
|
"node": ">= 14.6.0",
|
||||||
"npm": ">= 6.6.0",
|
"npm": ">= 6.6.0",
|
||||||
@@ -1540,9 +1511,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli": {
|
"node_modules/@tauri-apps/cli": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-1.3.0.tgz",
|
||||||
"integrity": "sha512-erxtXuPhMEGJPBtnhPILD4AjuT81GZsraqpFvXAmEJZ2p8P6t7MVBifCL8LznRknznM3jn90D3M8RNBP3wcXTw==",
|
"integrity": "sha512-H65YQQkE6SBTQ+KlqTmzx7oCL/2p36v2jPFVNHBhZ5EN7g0VLYmImh9TFcB/QsO2aT+sVlRZSmTpL3R0Iiu8pA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tauri": "tauri.js"
|
"tauri": "tauri.js"
|
||||||
@@ -1555,21 +1526,21 @@
|
|||||||
"url": "https://opencollective.com/tauri"
|
"url": "https://opencollective.com/tauri"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@tauri-apps/cli-darwin-arm64": "1.2.3",
|
"@tauri-apps/cli-darwin-arm64": "1.3.0",
|
||||||
"@tauri-apps/cli-darwin-x64": "1.2.3",
|
"@tauri-apps/cli-darwin-x64": "1.3.0",
|
||||||
"@tauri-apps/cli-linux-arm-gnueabihf": "1.2.3",
|
"@tauri-apps/cli-linux-arm-gnueabihf": "1.3.0",
|
||||||
"@tauri-apps/cli-linux-arm64-gnu": "1.2.3",
|
"@tauri-apps/cli-linux-arm64-gnu": "1.3.0",
|
||||||
"@tauri-apps/cli-linux-arm64-musl": "1.2.3",
|
"@tauri-apps/cli-linux-arm64-musl": "1.3.0",
|
||||||
"@tauri-apps/cli-linux-x64-gnu": "1.2.3",
|
"@tauri-apps/cli-linux-x64-gnu": "1.3.0",
|
||||||
"@tauri-apps/cli-linux-x64-musl": "1.2.3",
|
"@tauri-apps/cli-linux-x64-musl": "1.3.0",
|
||||||
"@tauri-apps/cli-win32-ia32-msvc": "1.2.3",
|
"@tauri-apps/cli-win32-ia32-msvc": "1.3.0",
|
||||||
"@tauri-apps/cli-win32-x64-msvc": "1.2.3"
|
"@tauri-apps/cli-win32-x64-msvc": "1.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-1.3.0.tgz",
|
||||||
"integrity": "sha512-phJN3fN8FtZZwqXg08bcxfq1+X1JSDglLvRxOxB7VWPq+O5SuB8uLyssjJsu+PIhyZZnIhTGdjhzLSFhSXfLsw==",
|
"integrity": "sha512-uuhx3/LaqFyHkoGOnOltBLKWGOzC6WzdXu+/Qv3NmNnyQWkY7O34z5V0oP6ibfuiOBZufKjOuBR+8YAIR8Qh9Q==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -1583,9 +1554,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-darwin-x64": {
|
"node_modules/@tauri-apps/cli-darwin-x64": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-1.3.0.tgz",
|
||||||
"integrity": "sha512-jFZ/y6z8z6v4yliIbXKBXA7BJgtZVMsITmEXSuD6s5+eCOpDhQxbRkr6CA+FFfr+/r96rWSDSgDenDQuSvPAKw==",
|
"integrity": "sha512-fj0VXHMDvb/H1CjaS/JoYd7xcourxndJn1IyM4afYbpXibT/fpmM6uZflDI6rRa220NfnBtQvy+asgwC9wuyLA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -1599,9 +1570,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
|
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-1.3.0.tgz",
|
||||||
"integrity": "sha512-C7h5vqAwXzY0kRGSU00Fj8PudiDWFCiQqqUNI1N+fhCILrzWZB9TPBwdx33ZfXKt/U4+emdIoo/N34v3TiAOmQ==",
|
"integrity": "sha512-f80DmFPnH5ZskG61KIlAyMVk9YkrTq0XM2uiQjOo5gToIdJidSwhPQVeBLv+7UxhqaRBx082Dg2fOkWlO3LiOQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@@ -1615,9 +1586,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-1.3.0.tgz",
|
||||||
"integrity": "sha512-buf1c8sdkuUzVDkGPQpyUdAIIdn5r0UgXU6+H5fGPq/Xzt5K69JzXaeo6fHsZEZghbV0hOK+taKV4J0m30UUMQ==",
|
"integrity": "sha512-s6/OByuGoppoUSnOXv/b6Oe6cVFk2w/KHs19aJJpo9ov/dUAA1w9wXlXu2l6sOFGsu/plaVomF2cw3iAQmaUCQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -1631,9 +1602,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
|
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.3.0.tgz",
|
||||||
"integrity": "sha512-x88wPS9W5xAyk392vc4uNHcKBBvCp0wf4H9JFMF9OBwB7vfd59LbQCFcPSu8f0BI7bPrOsyHqspWHuFL8ojQEA==",
|
"integrity": "sha512-yZfZAW4BG92cynL/D4wdrwBAl2oekRwiZnU5CM8k5yncalVEL0tyzuxQjjqbqrtDcw0rdkoBWrhFd+EB89vQaQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -1647,9 +1618,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-1.3.0.tgz",
|
||||||
"integrity": "sha512-ZMz1jxEVe0B4/7NJnlPHmwmSIuwiD6ViXKs8F+OWWz2Y4jn5TGxWKFg7DLx5OwQTRvEIZxxT7lXHi5CuTNAxKg==",
|
"integrity": "sha512-K3KRWSGKh7DTBr/ZKgWzeNX1Vdgx1ZBlUJXsm72R0Hb+93fDEp3TWgiwVkxqecB4aNWJhJsDcvRHuxw1G8xPlA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -1663,9 +1634,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-linux-x64-musl": {
|
"node_modules/@tauri-apps/cli-linux-x64-musl": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-1.3.0.tgz",
|
||||||
"integrity": "sha512-B/az59EjJhdbZDzawEVox0LQu2ZHCZlk8rJf85AMIktIUoAZPFbwyiUv7/zjzA/sY6Nb58OSJgaPL2/IBy7E0A==",
|
"integrity": "sha512-99bVHqL1EtF7oESrlmEb5BWJsMNQ2ha70gesZhaVO2qI9Vg089XvrFZWC+aGiUsXNFrOw270+D9DKn03xO5+Zg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -1679,9 +1650,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
|
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-1.3.0.tgz",
|
||||||
"integrity": "sha512-ypdO1OdC5ugNJAKO2m3sb1nsd+0TSvMS9Tr5qN/ZSMvtSduaNwrcZ3D7G/iOIanrqu/Nl8t3LYlgPZGBKlw7Ng==",
|
"integrity": "sha512-ckBUTqXXdnCiYyf2xvxiuqiKZurg7ET++f6yzfvYa+gofd5dagQJkGLlkIg2pJ2c8mhEG1Cfk1vxWPqqGfN2GQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
@@ -1695,9 +1666,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
|
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
|
||||||
"version": "1.2.3",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-1.3.0.tgz",
|
||||||
"integrity": "sha512-CsbHQ+XhnV/2csOBBDVfH16cdK00gNyNYUW68isedmqcn8j+s0e9cQ1xXIqi+Hue3awp8g3ImYN5KPepf3UExw==",
|
"integrity": "sha512-vQ4wqRE0aziyRxgHIOLudGuxx4wETvFnmMvDBaNJRRrZQPlkOKnRxrvj1rNnI1845BdzSbDF4p7JDcFzToAfXA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -1715,15 +1686,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz",
|
||||||
"integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA=="
|
"integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/hoist-non-react-statics": {
|
|
||||||
"version": "3.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
|
|
||||||
"integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/react": "*",
|
|
||||||
"hoist-non-react-statics": "^3.3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/parse-json": {
|
"node_modules/@types/parse-json": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",
|
||||||
@@ -1735,9 +1697,9 @@
|
|||||||
"integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w=="
|
"integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/react": {
|
"node_modules/@types/react": {
|
||||||
"version": "18.2.0",
|
"version": "18.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.4.tgz",
|
||||||
"integrity": "sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==",
|
"integrity": "sha512-IvAIhJTmKAAJmCIcaa6+5uagjyh+9GvcJ/thPZcw+i+vx+22eHlTy2Q1bJg/prES57jehjebq9DnIhOTtIhmLw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prop-types": "*",
|
"@types/prop-types": "*",
|
||||||
"@types/scheduler": "*",
|
"@types/scheduler": "*",
|
||||||
@@ -1745,10 +1707,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/react-dom": {
|
"node_modules/@types/react-dom": {
|
||||||
"version": "18.2.1",
|
"version": "18.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.3.tgz",
|
||||||
"integrity": "sha512-8QZEV9+Kwy7tXFmjJrp3XUKQSs9LTnE0KnoUb0YCguWBiNW0Yfb2iBMYZ08WPg35IR6P3Z0s00B15SwZnO26+w==",
|
"integrity": "sha512-hxXEXWxFJXbY0LMj/T69mznqOZJXNtQMqVxIiirVAZnnpeYiD4zt+lPsgcr/cfWg2VLsxZ1y26vigG03prYB+Q==",
|
||||||
"devOptional": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/react": "*"
|
"@types/react": "*"
|
||||||
}
|
}
|
||||||
@@ -1784,11 +1746,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz",
|
||||||
"integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ=="
|
"integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ=="
|
||||||
},
|
},
|
||||||
"node_modules/@types/use-sync-external-store": {
|
|
||||||
"version": "0.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
|
|
||||||
"integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
|
|
||||||
},
|
|
||||||
"node_modules/@vitejs/plugin-react": {
|
"node_modules/@vitejs/plugin-react": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.0.tgz",
|
||||||
@@ -2113,9 +2070,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/electron-to-chromium": {
|
"node_modules/electron-to-chromium": {
|
||||||
"version": "1.4.379",
|
"version": "1.4.382",
|
||||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.379.tgz",
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.382.tgz",
|
||||||
"integrity": "sha512-eRMq6Cf4PhjB14R9U6QcXM/VRQ54Gc3OL9LKnFugUIh2AXm3KJlOizlSfVIgjH76bII4zHGK4t0PVTE5qq8dZg=="
|
"integrity": "sha512-czMavlW52VIPgutbVL9JnZIZuFijzsG1ww/1z2Otu1r1q+9Qe2bTsH3My3sZarlvwyqHM6+mnZfEnt2Vr4dsIg=="
|
||||||
},
|
},
|
||||||
"node_modules/entities": {
|
"node_modules/entities": {
|
||||||
"version": "4.5.0",
|
"version": "4.5.0",
|
||||||
@@ -2256,9 +2213,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/framer-motion": {
|
"node_modules/framer-motion": {
|
||||||
"version": "10.12.6",
|
"version": "10.12.7",
|
||||||
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.12.6.tgz",
|
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.12.7.tgz",
|
||||||
"integrity": "sha512-1ad8olQf1nxVdsaqf6L6YUJndK0v4/UEtUvd0N6gosGtJqWN7C0+Pf95HXqJ38ZcYcgelmh5LkckuNwoKFG9WA==",
|
"integrity": "sha512-awOlKkDvcQpv92Pzw5KCWFehxzvqtGYZqnLvHWZvQFpIxaPsRMypRX+vhugpciOzQPkZbc37X4dJLIZLfGM/CQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.4.0"
|
"tslib": "^2.4.0"
|
||||||
},
|
},
|
||||||
@@ -2392,20 +2349,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
||||||
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
|
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
|
||||||
},
|
},
|
||||||
"node_modules/immediate": {
|
|
||||||
"version": "3.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
|
||||||
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="
|
|
||||||
},
|
|
||||||
"node_modules/immer": {
|
|
||||||
"version": "9.0.21",
|
|
||||||
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz",
|
|
||||||
"integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==",
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/immer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/immutable": {
|
"node_modules/immutable": {
|
||||||
"version": "4.3.0",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz",
|
||||||
@@ -2528,27 +2471,11 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lie": {
|
|
||||||
"version": "3.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
|
|
||||||
"integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==",
|
|
||||||
"dependencies": {
|
|
||||||
"immediate": "~3.0.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/lines-and-columns": {
|
"node_modules/lines-and-columns": {
|
||||||
"version": "1.2.4",
|
"version": "1.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
||||||
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
|
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
|
||||||
},
|
},
|
||||||
"node_modules/localforage": {
|
|
||||||
"version": "1.10.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
|
|
||||||
"integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",
|
|
||||||
"dependencies": {
|
|
||||||
"lie": "3.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/loose-envify": {
|
"node_modules/loose-envify": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
||||||
@@ -2568,15 +2495,6 @@
|
|||||||
"yallist": "^3.0.2"
|
"yallist": "^3.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/match-sorter": {
|
|
||||||
"version": "6.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/match-sorter/-/match-sorter-6.3.1.tgz",
|
|
||||||
"integrity": "sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw==",
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/runtime": "^7.12.5",
|
|
||||||
"remove-accents": "0.4.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/mime-db": {
|
"node_modules/mime-db": {
|
||||||
"version": "1.52.0",
|
"version": "1.52.0",
|
||||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
||||||
@@ -2663,14 +2581,6 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/object-path": {
|
|
||||||
"version": "0.6.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-path/-/object-path-0.6.0.tgz",
|
|
||||||
"integrity": "sha512-fxrwsCFi3/p+LeLOAwo/wyRMODZxdGBtUlWRzsEpsUVrisZbEfZ21arxLGfaWfcnqb8oHPNihIb4XPE8CQPN5A==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.8.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/parent-module": {
|
"node_modules/parent-module": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
||||||
@@ -2900,44 +2810,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/react-redux": {
|
|
||||||
"version": "8.0.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.0.5.tgz",
|
|
||||||
"integrity": "sha512-Q2f6fCKxPFpkXt1qNRZdEDLlScsDWyrgSj0mliK59qU6W5gvBiKkdMEG2lJzhd1rCctf0hb6EtePPLZ2e0m1uw==",
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/runtime": "^7.12.1",
|
|
||||||
"@types/hoist-non-react-statics": "^3.3.1",
|
|
||||||
"@types/use-sync-external-store": "^0.0.3",
|
|
||||||
"hoist-non-react-statics": "^3.3.2",
|
|
||||||
"react-is": "^18.0.0",
|
|
||||||
"use-sync-external-store": "^1.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@types/react": "^16.8 || ^17.0 || ^18.0",
|
|
||||||
"@types/react-dom": "^16.8 || ^17.0 || ^18.0",
|
|
||||||
"react": "^16.8 || ^17.0 || ^18.0",
|
|
||||||
"react-dom": "^16.8 || ^17.0 || ^18.0",
|
|
||||||
"react-native": ">=0.59",
|
|
||||||
"redux": "^4"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"@types/react": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@types/react-dom": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"react-dom": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"react-native": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"redux": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react-refresh": {
|
"node_modules/react-refresh": {
|
||||||
"version": "0.14.0",
|
"version": "0.14.0",
|
||||||
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
|
||||||
@@ -2948,11 +2820,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/react-router": {
|
"node_modules/react-router": {
|
||||||
"version": "6.11.0",
|
"version": "6.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.11.1.tgz",
|
||||||
"integrity": "sha512-hTm6KKNpj9SDG4syIWRjCU219O0RZY8RUPobCFt9p+PlF7nnkRgMoh2DieTKvw3F3Mw6zg565HGnSv8BuoY5oQ==",
|
"integrity": "sha512-OZINSdjJ2WgvAi7hgNLazrEV8SGn6xrKA+MkJe9wVDMZ3zQ6fdJocUjpCUCI0cNrelWjcvon0S/QK/j0NzL3KA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@remix-run/router": "1.6.0"
|
"@remix-run/router": "1.6.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
@@ -2962,12 +2834,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/react-router-dom": {
|
"node_modules/react-router-dom": {
|
||||||
"version": "6.11.0",
|
"version": "6.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.11.1.tgz",
|
||||||
"integrity": "sha512-Q3mK1c/CYoF++J6ZINz7EZzwlgSOZK/kc7lxIA7PhtWhKju4KfF1WHqlx0kVCIFJAWztuYVpXZeljEbds8z4Og==",
|
"integrity": "sha512-dPC2MhoPeTQ1YUOt5uIK376SMNWbwUxYRWk2ZmTT4fZfwlOvabF8uduRKKJIyfkCZvMgiF0GSCQckmkGGijIrg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@remix-run/router": "1.6.0",
|
"@remix-run/router": "1.6.1",
|
||||||
"react-router": "6.11.0"
|
"react-router": "6.11.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
@@ -3004,22 +2876,6 @@
|
|||||||
"node": ">=8.10.0"
|
"node": ">=8.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/redux": {
|
|
||||||
"version": "4.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
|
|
||||||
"integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/runtime": "^7.9.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/redux-thunk": {
|
|
||||||
"version": "2.4.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz",
|
|
||||||
"integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==",
|
|
||||||
"peerDependencies": {
|
|
||||||
"redux": "^4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/regenerator-runtime": {
|
"node_modules/regenerator-runtime": {
|
||||||
"version": "0.13.11",
|
"version": "0.13.11",
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
|
||||||
@@ -3030,11 +2886,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.2.tgz",
|
||||||
"integrity": "sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA=="
|
"integrity": "sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA=="
|
||||||
},
|
},
|
||||||
"node_modules/reselect": {
|
|
||||||
"version": "4.1.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz",
|
|
||||||
"integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ=="
|
|
||||||
},
|
|
||||||
"node_modules/resolve": {
|
"node_modules/resolve": {
|
||||||
"version": "1.22.2",
|
"version": "1.22.2",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
|
||||||
@@ -3060,9 +2911,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup": {
|
"node_modules/rollup": {
|
||||||
"version": "3.21.3",
|
"version": "3.21.4",
|
||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.3.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.21.4.tgz",
|
||||||
"integrity": "sha512-VnPfEG51nIv2xPLnZaekkuN06q9ZbnyDcLkaBdJa/W7UddyhOfMP2yOPziYQfeY7k++fZM8FdQIummFN5y14kA==",
|
"integrity": "sha512-N5LxpvDolOm9ueiCp4NfB80omMDqb45ShtsQw2+OT3f11uJ197dv703NZvznYHP6RWR85wfxanXurXKG3ux2GQ==",
|
||||||
"bin": {
|
"bin": {
|
||||||
"rollup": "dist/bin/rollup"
|
"rollup": "dist/bin/rollup"
|
||||||
},
|
},
|
||||||
@@ -3107,14 +2958,6 @@
|
|||||||
"semver": "bin/semver.js"
|
"semver": "bin/semver.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/sort-by": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/sort-by/-/sort-by-1.2.0.tgz",
|
|
||||||
"integrity": "sha512-aRyW65r3xMnf4nxJRluCg0H/woJpksU1dQxRtXYzau30sNBOmf5HACpDd9MZDhKh7ALQ5FgSOfMPwZEtUmMqcg==",
|
|
||||||
"dependencies": {
|
|
||||||
"object-path": "0.6.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/source-map": {
|
"node_modules/source-map": {
|
||||||
"version": "0.5.7",
|
"version": "0.5.7",
|
||||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
|
||||||
@@ -3185,7 +3028,7 @@
|
|||||||
},
|
},
|
||||||
"node_modules/tauri-plugin-store-api": {
|
"node_modules/tauri-plugin-store-api": {
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"resolved": "git+ssh://git@github.com/tauri-apps/tauri-plugin-store.git#f4ef29684e4a32eddf51befaae98a5e498df8574",
|
"resolved": "git+ssh://git@github.com/tauri-apps/tauri-plugin-store.git#0558a1f6c869ae0afdb0181dfa1ea31be8cf4893",
|
||||||
"license": "MIT or APACHE-2.0",
|
"license": "MIT or APACHE-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^1.2.0"
|
"@tauri-apps/api": "^1.2.0"
|
||||||
|
|||||||
@@ -17,15 +17,12 @@
|
|||||||
"@mdi/js": "^7.2.96",
|
"@mdi/js": "^7.2.96",
|
||||||
"@mui/lab": "^5.0.0-alpha.128",
|
"@mui/lab": "^5.0.0-alpha.128",
|
||||||
"@mui/material": "^5.11.16",
|
"@mui/material": "^5.11.16",
|
||||||
"@reduxjs/toolkit": "^1.9.3",
|
|
||||||
"@tanstack/react-query": "^4.26.1",
|
"@tanstack/react-query": "^4.26.1",
|
||||||
"@tanstack/react-query-devtools": "^4.29.3",
|
"@tanstack/react-query-devtools": "^4.29.3",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"events": "^3.3.0",
|
"events": "^3.3.0",
|
||||||
"framer-motion": "^10.12.4",
|
"framer-motion": "^10.12.4",
|
||||||
"localforage": "^1.10.0",
|
|
||||||
"match-sorter": "^6.3.1",
|
|
||||||
"notistack": "^3.0.1",
|
"notistack": "^3.0.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-blurhash": "^0.3.0",
|
"react-blurhash": "^0.3.0",
|
||||||
@@ -33,10 +30,7 @@
|
|||||||
"react-konami-code": "^2.3.0",
|
"react-konami-code": "^2.3.0",
|
||||||
"react-material-ui-carousel": "^3.4.2",
|
"react-material-ui-carousel": "^3.4.2",
|
||||||
"react-multi-carousel": "^2.8.3",
|
"react-multi-carousel": "^2.8.3",
|
||||||
"react-redux": "^8.0.5",
|
|
||||||
"react-router-dom": "^6.11.0",
|
"react-router-dom": "^6.11.0",
|
||||||
"redux": "^4.2.1",
|
|
||||||
"sort-by": "^1.2.0",
|
|
||||||
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
|
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
|
||||||
"uuid": "^9.0.0",
|
"uuid": "^9.0.0",
|
||||||
"vite-plugin-svgr": "^2.2.2"
|
"vite-plugin-svgr": "^2.2.2"
|
||||||
|
|||||||
+9
-16
@@ -23,7 +23,6 @@ import { relaunch } from "@tauri-apps/api/process";
|
|||||||
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
|
||||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
||||||
|
|
||||||
// Theming
|
// Theming
|
||||||
@@ -47,6 +46,7 @@ import Home from "./routes/home";
|
|||||||
import { UserLogin, LoginWithImage, UserLoginManual } from "./routes/login";
|
import { UserLogin, LoginWithImage, UserLoginManual } from "./routes/login";
|
||||||
import LibraryView from "./routes/library";
|
import LibraryView from "./routes/library";
|
||||||
import ItemDetail from "./routes/item";
|
import ItemDetail from "./routes/item";
|
||||||
|
import FavouritePage from "./routes/favourite/index.jsx";
|
||||||
import Settings from "./routes/settings";
|
import Settings from "./routes/settings";
|
||||||
import About from "./routes/about";
|
import About from "./routes/about";
|
||||||
|
|
||||||
@@ -63,9 +63,6 @@ import { v4 as uuidv4 } from "uuid";
|
|||||||
import { delServer, getServer } from "./utils/storage/servers.js";
|
import { delServer, getServer } from "./utils/storage/servers.js";
|
||||||
import { delUser, getUser } from "./utils/storage/user.js";
|
import { delUser, getUser } from "./utils/storage/user.js";
|
||||||
|
|
||||||
import { useDispatch } from "react-redux";
|
|
||||||
import { showSidemenu } from "./utils/slice/sidemenu.js";
|
|
||||||
import FavouritePage from "./routes/favourite/index.jsx";
|
|
||||||
const jellyfin = new Jellyfin({
|
const jellyfin = new Jellyfin({
|
||||||
clientInfo: {
|
clientInfo: {
|
||||||
name: "JellyPlayer",
|
name: "JellyPlayer",
|
||||||
@@ -123,15 +120,12 @@ const AnimationWrapper = () => {
|
|||||||
function App() {
|
function App() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
const dispatch = useDispatch();
|
|
||||||
|
|
||||||
const [serverReachable, setServerReachable] = useState(true);
|
const [serverReachable, setServerReachable] = useState(true);
|
||||||
const [checkingServer, setChecking] = useState(false);
|
const [checkingServer, setChecking] = useState(false);
|
||||||
|
|
||||||
const createApi = async () => {
|
const createApi = async () => {
|
||||||
const server = await getServer();
|
const server = await getServer();
|
||||||
event.emit("create-jellyfin-api", server.Ip);
|
event.emit("create-jellyfin-api", server.Ip);
|
||||||
dispatch(showSidemenu());
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const serverAvailable = async () => {
|
const serverAvailable = async () => {
|
||||||
@@ -183,6 +177,9 @@ function App() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
enqueueSnackbar("Unable to reach server", {
|
||||||
|
variant: "error",
|
||||||
|
});
|
||||||
setServerReachable(false);
|
setServerReachable(false);
|
||||||
setChecking(false);
|
setChecking(false);
|
||||||
});
|
});
|
||||||
@@ -196,8 +193,6 @@ function App() {
|
|||||||
);
|
);
|
||||||
sessionStorage.setItem("accessToken", auth.data.AccessToken);
|
sessionStorage.setItem("accessToken", auth.data.AccessToken);
|
||||||
event.emit("set-api-accessToken", window.api.basePath);
|
event.emit("set-api-accessToken", window.api.basePath);
|
||||||
|
|
||||||
// navigate("/home");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const LogicalRoutes = () => {
|
const LogicalRoutes = () => {
|
||||||
@@ -347,7 +342,11 @@ function App() {
|
|||||||
location={location}
|
location={location}
|
||||||
>
|
>
|
||||||
<Route element={<AnimationWrapper />}>
|
<Route element={<AnimationWrapper />}>
|
||||||
{/* Main Routes */}
|
<Route
|
||||||
|
path="/"
|
||||||
|
element={<LogicalRoutes />}
|
||||||
|
/>
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
path="/home"
|
path="/home"
|
||||||
element={<Home />}
|
element={<Home />}
|
||||||
@@ -393,12 +392,6 @@ function App() {
|
|||||||
element={<About />}
|
element={<About />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* Logical Routes */}
|
|
||||||
|
|
||||||
<Route
|
|
||||||
path="/"
|
|
||||||
element={<LogicalRoutes />}
|
|
||||||
/>
|
|
||||||
<Route
|
<Route
|
||||||
path="/login"
|
path="/login"
|
||||||
element={<LoginLogicalRoutes />}
|
element={<LoginLogicalRoutes />}
|
||||||
|
|||||||
@@ -15,11 +15,10 @@ import useScrollTrigger from "@mui/material/useScrollTrigger";
|
|||||||
import { MdiMagnify } from "../icons/mdiMagnify";
|
import { MdiMagnify } from "../icons/mdiMagnify";
|
||||||
import { theme } from "../../theme";
|
import { theme } from "../../theme";
|
||||||
|
|
||||||
import { useDispatch, useSelector } from "react-redux";
|
|
||||||
import { useLocation, useNavigate } from "react-router-dom";
|
import { useLocation, useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { useQueryClient, useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
import "./appBar.module.scss";
|
import "./appBar.module.scss";
|
||||||
import { MdiAccount } from "../icons/mdiAccount";
|
import { MdiAccount } from "../icons/mdiAccount";
|
||||||
@@ -29,7 +28,6 @@ import { MdiCog } from "../icons/mdiCog";
|
|||||||
import { MdiInformation } from "../icons/mdiInformation";
|
import { MdiInformation } from "../icons/mdiInformation";
|
||||||
|
|
||||||
export const AppBar = () => {
|
export const AppBar = () => {
|
||||||
const dispatch = useDispatch();
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
const [display, setDisplay] = useState(false);
|
const [display, setDisplay] = useState(false);
|
||||||
@@ -64,7 +62,8 @@ export const AppBar = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (
|
if (
|
||||||
location.pathname.includes("login") ||
|
location.pathname.includes("login") ||
|
||||||
location.pathname.includes("setup")
|
location.pathname.includes("setup") ||
|
||||||
|
location.pathname === "/"
|
||||||
) {
|
) {
|
||||||
setDisplay(false);
|
setDisplay(false);
|
||||||
} else {
|
} else {
|
||||||
@@ -88,7 +87,6 @@ export const AppBar = () => {
|
|||||||
<MuiAppBar
|
<MuiAppBar
|
||||||
sx={{
|
sx={{
|
||||||
width: `calc(100vw - ${theme.spacing(7)})`,
|
width: `calc(100vw - ${theme.spacing(7)})`,
|
||||||
// mr: "10px",
|
|
||||||
backgroundColor: "transparent",
|
backgroundColor: "transparent",
|
||||||
}}
|
}}
|
||||||
className={trigger ? "appBar backdropVisible" : "appBar"}
|
className={trigger ? "appBar backdropVisible" : "appBar"}
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import Typography from "@mui/material/Typography";
|
|
||||||
import ButtonBase from "@mui/material/ButtonBase";
|
|
||||||
|
|
||||||
import { MdiAccount } from "../icons/mdiAccount";
|
import { MdiAccount } from "../icons/mdiAccount";
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ import LinearProgress from "@mui/material/LinearProgress";
|
|||||||
import Chip from "@mui/material/Chip";
|
import Chip from "@mui/material/Chip";
|
||||||
import ButtonGroup from "@mui/material/ButtonGroup";
|
import ButtonGroup from "@mui/material/ButtonGroup";
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import MuiLink from "@mui/material/Link";
|
|
||||||
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
|
|
||||||
import { Blurhash } from "react-blurhash";
|
import { Blurhash } from "react-blurhash";
|
||||||
import { green, pink } from "@mui/material/colors";
|
import { green, pink } from "@mui/material/colors";
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import { useNavigate, Link } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
// import Link from "@mui/material/Link";
|
|
||||||
|
|
||||||
import Divider from "@mui/material/Divider";
|
import Divider from "@mui/material/Divider";
|
||||||
import Stack from "@mui/material/Stack";
|
import Stack from "@mui/material/Stack";
|
||||||
@@ -20,10 +19,7 @@ import IconButton from "@mui/material/IconButton";
|
|||||||
import { Blurhash } from "react-blurhash";
|
import { Blurhash } from "react-blurhash";
|
||||||
import { green, pink } from "@mui/material/colors";
|
import { green, pink } from "@mui/material/colors";
|
||||||
|
|
||||||
import {
|
import { TypeIconCollectionCard } from "../utils/iconsCollection";
|
||||||
MediaCollectionTypeIconCollectionCard,
|
|
||||||
TypeIconCollectionCard,
|
|
||||||
} from "../utils/iconsCollection";
|
|
||||||
|
|
||||||
import { borderRadiusDefault } from "../../palette.module.scss";
|
import { borderRadiusDefault } from "../../palette.module.scss";
|
||||||
import "./card.module.scss";
|
import "./card.module.scss";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState } from "react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import Carousel from "react-multi-carousel";
|
import Carousel from "react-multi-carousel";
|
||||||
@@ -9,7 +9,6 @@ import "react-multi-carousel/lib/styles.css";
|
|||||||
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
|
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
|
||||||
import { MdiChevronRight } from "../icons/mdiChevronRight";
|
import { MdiChevronRight } from "../icons/mdiChevronRight";
|
||||||
|
|
||||||
import { styled } from "@mui/material/styles";
|
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { delUser } from "../../utils/storage/user";
|
import { delUser } from "../../utils/storage/user";
|
||||||
|
|
||||||
import { useQueryClient, useQuery, QueryClient } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { getUserViewsApi } from "@jellyfin/sdk/lib/utils/api/user-views-api";
|
import { getUserViewsApi } from "@jellyfin/sdk/lib/utils/api/user-views-api";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
|
|
||||||
@@ -15,8 +15,6 @@ import Skeleton from "@mui/material/Skeleton";
|
|||||||
import Tooltip from "@mui/material/Tooltip";
|
import Tooltip from "@mui/material/Tooltip";
|
||||||
import List from "@mui/material/List";
|
import List from "@mui/material/List";
|
||||||
import ListItem from "@mui/material/ListItem";
|
import ListItem from "@mui/material/ListItem";
|
||||||
import Link from "@mui/material/Link";
|
|
||||||
import ListItemText from "@mui/material/ListItemText";
|
|
||||||
import ListItemIcon from "@mui/material/ListItemIcon";
|
import ListItemIcon from "@mui/material/ListItemIcon";
|
||||||
import ListItemButton from "@mui/material/ListItemButton";
|
import ListItemButton from "@mui/material/ListItemButton";
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
@@ -28,11 +26,10 @@ import { MdiLogoutVariant } from "../icons/mdiLogoutVariant";
|
|||||||
|
|
||||||
import { MediaCollectionTypeIconCollection } from "../../components/utils/iconsCollection.jsx";
|
import { MediaCollectionTypeIconCollection } from "../../components/utils/iconsCollection.jsx";
|
||||||
|
|
||||||
import { useSelector, useDispatch } from "react-redux";
|
|
||||||
import { hideSidemenu, setBackdrop } from "../../utils/slice/sidemenu";
|
|
||||||
|
|
||||||
import { MdiHomeVariantOutline } from "../icons/mdiHomeVariantOutline";
|
import { MdiHomeVariantOutline } from "../icons/mdiHomeVariantOutline";
|
||||||
|
|
||||||
|
import { EventEmitter as event } from "../../eventEmitter.js";
|
||||||
|
|
||||||
import "./sidemenu.module.scss";
|
import "./sidemenu.module.scss";
|
||||||
|
|
||||||
const drawerWidth = 320;
|
const drawerWidth = 320;
|
||||||
@@ -42,7 +39,6 @@ const DrawerHeader = styled("div")(({ theme }) => ({
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "flex-end",
|
justifyContent: "flex-end",
|
||||||
padding: theme.spacing(0, 1),
|
padding: theme.spacing(0, 1),
|
||||||
// necessary for content to be below app bar
|
|
||||||
...theme.mixins.toolbar,
|
...theme.mixins.toolbar,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@@ -54,7 +50,6 @@ const MiniDrawer = styled(MuiDrawer, {
|
|||||||
boxSizing: "border-box",
|
boxSizing: "border-box",
|
||||||
backgroundColor: theme.palette.primary.background.dark,
|
backgroundColor: theme.palette.primary.background.dark,
|
||||||
overflowX: "hidden",
|
overflowX: "hidden",
|
||||||
// width: `calc(${theme.spacing(7)} + 10px)`,
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const SideMenu = ({}) => {
|
export const SideMenu = ({}) => {
|
||||||
@@ -62,7 +57,6 @@ export const SideMenu = ({}) => {
|
|||||||
|
|
||||||
const [display, setDisplay] = useState(false);
|
const [display, setDisplay] = useState(false);
|
||||||
|
|
||||||
const backdrop = useSelector((state) => state.sidebar.backdrop);
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const user = useQuery({
|
const user = useQuery({
|
||||||
queryKey: ["user"],
|
queryKey: ["user"],
|
||||||
@@ -70,7 +64,7 @@ export const SideMenu = ({}) => {
|
|||||||
let usr = await getUserApi(window.api).getCurrentUser();
|
let usr = await getUserApi(window.api).getCurrentUser();
|
||||||
return usr.data;
|
return usr.data;
|
||||||
},
|
},
|
||||||
enabled: !!window.api,
|
enabled: display,
|
||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
let libraries = useQuery({
|
let libraries = useQuery({
|
||||||
@@ -85,7 +79,6 @@ export const SideMenu = ({}) => {
|
|||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
const handleDrawerOpen = () => {};
|
const handleDrawerOpen = () => {};
|
||||||
const dispatch = useDispatch();
|
|
||||||
|
|
||||||
const handleLogout = async () => {
|
const handleLogout = async () => {
|
||||||
console.log("Logging out user...");
|
console.log("Logging out user...");
|
||||||
@@ -96,14 +89,11 @@ export const SideMenu = ({}) => {
|
|||||||
navigate("/login");
|
navigate("/login");
|
||||||
};
|
};
|
||||||
|
|
||||||
const getCurrentLocation = () => {
|
|
||||||
return location.pathname.slice(0, location.pathname.lastIndexOf("/"));
|
|
||||||
};
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (
|
if (
|
||||||
location.pathname.includes("login") ||
|
location.pathname.includes("login") ||
|
||||||
location.pathname.includes("setup")
|
location.pathname.includes("setup") ||
|
||||||
|
location.pathname === "/"
|
||||||
) {
|
) {
|
||||||
setDisplay(false);
|
setDisplay(false);
|
||||||
} else {
|
} else {
|
||||||
@@ -131,9 +121,7 @@ export const SideMenu = ({}) => {
|
|||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
width: `calc(${theme.spacing(7)} + 10px)`,
|
width: `calc(${theme.spacing(7)} + 10px)`,
|
||||||
background: backdrop
|
background: theme.palette.background.paper,
|
||||||
? theme.palette.background.paper
|
|
||||||
: "transparent",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DrawerHeader
|
<DrawerHeader
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import Card from "@mui/material/Card";
|
|||||||
import CardMedia from "@mui/material/CardMedia";
|
import CardMedia from "@mui/material/CardMedia";
|
||||||
import CardContent from "@mui/material/CardContent";
|
import CardContent from "@mui/material/CardContent";
|
||||||
import Grid from "@mui/material/Unstable_Grid2";
|
import Grid from "@mui/material/Unstable_Grid2";
|
||||||
import Box from "@mui/material/Box";
|
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
import Skeleton from "@mui/material/Skeleton";
|
import Skeleton from "@mui/material/Skeleton";
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
/** @format */
|
|
||||||
|
|
||||||
export const SplashScreen = () => {
|
|
||||||
return <h1>I am loading...</h1>;
|
|
||||||
};
|
|
||||||
+3
-8
@@ -11,19 +11,14 @@ import App from "./App";
|
|||||||
|
|
||||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||||
|
|
||||||
import store from "./store";
|
|
||||||
import { Provider } from "react-redux";
|
|
||||||
|
|
||||||
const queryClient = new QueryClient();
|
const queryClient = new QueryClient();
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById("root")).render(
|
ReactDOM.createRoot(document.getElementById("root")).render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<QueryClientProvider client={queryClient}>
|
<QueryClientProvider client={queryClient}>
|
||||||
<Provider store={store}>
|
<Router>
|
||||||
<Router>
|
<App />
|
||||||
<App />
|
</Router>
|
||||||
</Router>
|
|
||||||
</Provider>
|
|
||||||
</QueryClientProvider>
|
</QueryClientProvider>
|
||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
);
|
);
|
||||||
|
|||||||
+115
-7
@@ -26,10 +26,9 @@ import MenuItem from "@mui/material/MenuItem";
|
|||||||
import Link from "@mui/material/Link";
|
import Link from "@mui/material/Link";
|
||||||
import { green, pink, yellow } from "@mui/material/colors";
|
import { green, pink, yellow } from "@mui/material/colors";
|
||||||
|
|
||||||
import { motion, useScroll } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
|
|
||||||
import { Blurhash } from "react-blurhash";
|
import { Blurhash } from "react-blurhash";
|
||||||
import { useDispatch, useSelector } from "react-redux";
|
|
||||||
import { useParams, useNavigate, Link as RouterLink } from "react-router-dom";
|
import { useParams, useNavigate, Link as RouterLink } from "react-router-dom";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -44,7 +43,6 @@ import { getLibraryApi } from "@jellyfin/sdk/lib/utils/api/library-api";
|
|||||||
import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
|
import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
|
||||||
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
import { getItemsApi } from "@jellyfin/sdk/lib/utils/api/items-api";
|
||||||
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
||||||
import { getVideosApi } from "@jellyfin/sdk/lib/utils/api/videos-api";
|
|
||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
@@ -99,7 +97,6 @@ function a11yProps(index) {
|
|||||||
|
|
||||||
const ItemDetail = () => {
|
const ItemDetail = () => {
|
||||||
const { id } = useParams();
|
const { id } = useParams();
|
||||||
const dispatch = useDispatch();
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const [primageImageLoaded, setPrimaryImageLoaded] = useState(false);
|
const [primageImageLoaded, setPrimaryImageLoaded] = useState(false);
|
||||||
const [backdropImageLoaded, setBackdropImageLoaded] = useState(false);
|
const [backdropImageLoaded, setBackdropImageLoaded] = useState(false);
|
||||||
@@ -318,6 +315,7 @@ const ItemDetail = () => {
|
|||||||
return result.data;
|
return result.data;
|
||||||
},
|
},
|
||||||
enabled: item.isSuccess && item.data.Type == BaseItemKind.MusicArtist,
|
enabled: item.isSuccess && item.data.Type == BaseItemKind.MusicArtist,
|
||||||
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
|
|
||||||
const artistSongs = useQuery({
|
const artistSongs = useQuery({
|
||||||
@@ -335,6 +333,25 @@ const ItemDetail = () => {
|
|||||||
return result.data;
|
return result.data;
|
||||||
},
|
},
|
||||||
enabled: item.isSuccess && item.data.Type == BaseItemKind.MusicArtist,
|
enabled: item.isSuccess && item.data.Type == BaseItemKind.MusicArtist,
|
||||||
|
networkMode: "always",
|
||||||
|
});
|
||||||
|
|
||||||
|
const artistAppearances = useQuery({
|
||||||
|
queryKey: ["item", id, "artist", "appearences"],
|
||||||
|
queryFn: async () => {
|
||||||
|
const result = await getItemsApi(window.api).getItems({
|
||||||
|
contributingArtistIds: [item.data.Id],
|
||||||
|
excludeItemIds: [item.data.Id],
|
||||||
|
sortBy: ["PremiereDate", "ProductionYear", "SortName"],
|
||||||
|
sortOrder: [SortOrder.Descending],
|
||||||
|
recursive: true,
|
||||||
|
includeItemTypes: [BaseItemKind.MusicAlbum],
|
||||||
|
userId: user.data.Id,
|
||||||
|
});
|
||||||
|
return result.data;
|
||||||
|
},
|
||||||
|
enabled: item.isSuccess && item.data.Type == BaseItemKind.MusicArtist,
|
||||||
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleMarkPlayedOrunPlayed = async () => {
|
const handleMarkPlayedOrunPlayed = async () => {
|
||||||
@@ -416,9 +433,29 @@ const ItemDetail = () => {
|
|||||||
personEpisodes.isLoading,
|
personEpisodes.isLoading,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const artistTabs = ["Discography", "Songs"];
|
const artistTabs = ["Discography", "Songs", "Appearances"];
|
||||||
const [activeArtistTab, setActiveArtistTab] = useState(0);
|
const [activeArtistTab, setActiveArtistTab] = useState(0);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (
|
||||||
|
artistDiscography.isSuccess &&
|
||||||
|
artistSongs.isSuccess &&
|
||||||
|
artistAppearances.isSuccess
|
||||||
|
) {
|
||||||
|
if (artistDiscography.data.TotalRecordCount != 0) {
|
||||||
|
setActivePersonTab(0);
|
||||||
|
} else if (artistSongs.data.TotalRecordCount != 0) {
|
||||||
|
setActivePersonTab(1);
|
||||||
|
} else if (artistAppearances.data.TotalRecordCount != 0) {
|
||||||
|
setActivePersonTab(2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, [
|
||||||
|
artistDiscography.isLoading,
|
||||||
|
artistSongs.isLoading,
|
||||||
|
artistAppearances.isLoading,
|
||||||
|
]);
|
||||||
|
|
||||||
const [videoTracks, setVideoTracks] = useState([]);
|
const [videoTracks, setVideoTracks] = useState([]);
|
||||||
const [audioTracks, setAudioTracks] = useState([]);
|
const [audioTracks, setAudioTracks] = useState([]);
|
||||||
const [subtitleTracks, setSubtitleTracks] = useState([]);
|
const [subtitleTracks, setSubtitleTracks] = useState([]);
|
||||||
@@ -2393,7 +2430,6 @@ const ItemDetail = () => {
|
|||||||
}}
|
}}
|
||||||
transition={{
|
transition={{
|
||||||
duration: 0.35,
|
duration: 0.35,
|
||||||
ease: "easeInOut",
|
|
||||||
delay:
|
delay:
|
||||||
mindex *
|
mindex *
|
||||||
0.05,
|
0.05,
|
||||||
@@ -2468,7 +2504,8 @@ const ItemDetail = () => {
|
|||||||
|
|
||||||
{item.data.Type == BaseItemKind.MusicArtist &&
|
{item.data.Type == BaseItemKind.MusicArtist &&
|
||||||
artistDiscography.isSuccess &&
|
artistDiscography.isSuccess &&
|
||||||
artistSongs.isSuccess && (
|
artistSongs.isSuccess &&
|
||||||
|
artistAppearances.isSuccess && (
|
||||||
<Box>
|
<Box>
|
||||||
<Tabs
|
<Tabs
|
||||||
value={activeArtistTab}
|
value={activeArtistTab}
|
||||||
@@ -2490,6 +2527,28 @@ const ItemDetail = () => {
|
|||||||
index,
|
index,
|
||||||
)}
|
)}
|
||||||
key={index}
|
key={index}
|
||||||
|
disabled={
|
||||||
|
(pitem ==
|
||||||
|
"Discography" &&
|
||||||
|
artistDiscography
|
||||||
|
.data
|
||||||
|
.TotalRecordCount ==
|
||||||
|
0) ||
|
||||||
|
(pitem ==
|
||||||
|
"Songs" &&
|
||||||
|
artistSongs
|
||||||
|
.data
|
||||||
|
.TotalRecordCount ==
|
||||||
|
0) ||
|
||||||
|
(pitem ==
|
||||||
|
"Appearances" &&
|
||||||
|
artistAppearances
|
||||||
|
.data
|
||||||
|
.TotalRecordCount ==
|
||||||
|
0)
|
||||||
|
? true
|
||||||
|
: false
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
@@ -2682,6 +2741,55 @@ const ItemDetail = () => {
|
|||||||
</Table>
|
</Table>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
)}
|
)}
|
||||||
|
{pitem ==
|
||||||
|
"Appearances" && (
|
||||||
|
<TableContainer>
|
||||||
|
<Table>
|
||||||
|
<TableBody>
|
||||||
|
{artistAppearances.data.Items.map(
|
||||||
|
(
|
||||||
|
musicItem,
|
||||||
|
mindex,
|
||||||
|
) => {
|
||||||
|
return (
|
||||||
|
<ArtistAlbum
|
||||||
|
key={
|
||||||
|
musicItem.Id
|
||||||
|
}
|
||||||
|
user={
|
||||||
|
user.data
|
||||||
|
}
|
||||||
|
album={
|
||||||
|
musicItem
|
||||||
|
}
|
||||||
|
boxProps={{
|
||||||
|
component:
|
||||||
|
motion.div,
|
||||||
|
initial: {
|
||||||
|
y: 30,
|
||||||
|
opacity: 0,
|
||||||
|
},
|
||||||
|
animate: {
|
||||||
|
y: 0,
|
||||||
|
opacity: 1,
|
||||||
|
},
|
||||||
|
transition:
|
||||||
|
{
|
||||||
|
duration: 0.35,
|
||||||
|
ease: "easeInOut",
|
||||||
|
delay:
|
||||||
|
mindex *
|
||||||
|
0.05,
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
)}
|
||||||
|
</TableBody>
|
||||||
|
</Table>
|
||||||
|
</TableContainer>
|
||||||
|
)}
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ import TableRow from "@mui/material/TableRow";
|
|||||||
import TableCell from "@mui/material/TableCell";
|
import TableCell from "@mui/material/TableCell";
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import Pagination from "@mui/material/Pagination";
|
import Pagination from "@mui/material/Pagination";
|
||||||
import ButtonBase from "@mui/material/ButtonBase";
|
|
||||||
|
|
||||||
import { theme } from "../../theme";
|
import { theme } from "../../theme";
|
||||||
|
|
||||||
@@ -386,7 +385,8 @@ const LibraryView = () => {
|
|||||||
queryFn: () => fetchLibItems(id),
|
queryFn: () => fetchLibItems(id),
|
||||||
enabled: currentLib.isSuccess,
|
enabled: currentLib.isSuccess,
|
||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
keepPreviousData: true,
|
keepPreviousData: false,
|
||||||
|
cacheTime: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
const handleCurrentViewType = (e) => {
|
const handleCurrentViewType = (e) => {
|
||||||
@@ -1025,8 +1025,8 @@ const LibraryView = () => {
|
|||||||
{items.data.Items.map((item, index) => {
|
{items.data.Items.map((item, index) => {
|
||||||
return (
|
return (
|
||||||
<TableRow
|
<TableRow
|
||||||
component={motion.row}
|
component={motion.div}
|
||||||
key={index}
|
key={item.Id}
|
||||||
sx={{
|
sx={{
|
||||||
"& td,& th": {
|
"& td,& th": {
|
||||||
borderBottom:
|
borderBottom:
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
|
|
||||||
import { useState, useEffect, useMemo } from "react";
|
import { useState } from "react";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { useNavigate, useParams, Link } from "react-router-dom";
|
import { useNavigate, useParams, Link } from "react-router-dom";
|
||||||
import { EventEmitter as event } from "../../eventEmitter.js";
|
import { EventEmitter as event } from "../../eventEmitter.js";
|
||||||
|
|
||||||
import { useDispatch } from "react-redux";
|
|
||||||
import { showSidemenu } from "../../utils/slice/sidemenu.js";
|
|
||||||
|
|
||||||
import { getServer } from "../../utils/storage/servers.js";
|
|
||||||
import { saveUser } from "../../utils/storage/user.js";
|
import { saveUser } from "../../utils/storage/user.js";
|
||||||
|
|
||||||
// import Icon from "mdi-material-ui";
|
// import Icon from "mdi-material-ui";
|
||||||
@@ -26,8 +22,6 @@ import InputLabel from "@mui/material/InputLabel";
|
|||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import LoadingButton from "@mui/lab/LoadingButton";
|
import LoadingButton from "@mui/lab/LoadingButton";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
import Box from "@mui/material/Box";
|
|
||||||
import CircularProgress from "@mui/material/CircularProgress";
|
|
||||||
import LinearProgress from "@mui/material/LinearProgress";
|
import LinearProgress from "@mui/material/LinearProgress";
|
||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
import FormGroup from "@mui/material/FormGroup";
|
import FormGroup from "@mui/material/FormGroup";
|
||||||
@@ -35,21 +29,16 @@ import FormControlLabel from "@mui/material/FormControlLabel";
|
|||||||
import Checkbox from "@mui/material/Checkbox";
|
import Checkbox from "@mui/material/Checkbox";
|
||||||
|
|
||||||
import { AvatarImage } from "../../components/avatar/avatar.jsx";
|
import { AvatarImage } from "../../components/avatar/avatar.jsx";
|
||||||
import { CardScroller } from "../../components/cardScroller/cardScroller.jsx";
|
|
||||||
import { Card } from "../../components/card/card.jsx";
|
import { Card } from "../../components/card/card.jsx";
|
||||||
import { AppBarBackOnly } from "../../components/appBar/backOnly.jsx";
|
import { AppBarBackOnly } from "../../components/appBar/backOnly.jsx";
|
||||||
|
|
||||||
// import { jellyfin } from "../../jellyfin";
|
|
||||||
// import getSystemApi from "@jellyfin/sdk";
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { getBrandingApi } from "@jellyfin/sdk/lib/utils/api/branding-api";
|
import { getBrandingApi } from "@jellyfin/sdk/lib/utils/api/branding-api";
|
||||||
|
|
||||||
import "./login.module.scss";
|
import "./login.module.scss";
|
||||||
import { CardsSkeleton } from "../../components/skeleton/cards.jsx";
|
|
||||||
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice.jsx";
|
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice.jsx";
|
||||||
|
|
||||||
export const LoginWithImage = () => {
|
export const LoginWithImage = () => {
|
||||||
const dispatch = useDispatch();
|
|
||||||
const { userName, userId } = useParams();
|
const { userName, userId } = useParams();
|
||||||
|
|
||||||
const [password, setPassword] = useState({
|
const [password, setPassword] = useState({
|
||||||
@@ -99,7 +88,6 @@ export const LoginWithImage = () => {
|
|||||||
}
|
}
|
||||||
event.emit("set-api-accessToken", window.api.basePath);
|
event.emit("set-api-accessToken", window.api.basePath);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
dispatch(showSidemenu());
|
|
||||||
navigate(`/home`);
|
navigate(`/home`);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -159,7 +147,7 @@ export const LoginWithImage = () => {
|
|||||||
{userName}
|
{userName}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item minWidth="100%">
|
<Grid minWidth="100%">
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormControl variant="outlined" fullWidth>
|
<FormControl variant="outlined" fullWidth>
|
||||||
<InputLabel htmlFor="user-password">
|
<InputLabel htmlFor="user-password">
|
||||||
@@ -208,7 +196,7 @@ export const LoginWithImage = () => {
|
|||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item minWidth="100%">
|
<Grid minWidth="100%">
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
variant="contained"
|
variant="contained"
|
||||||
endIcon={<MdiChevronRight />}
|
endIcon={<MdiChevronRight />}
|
||||||
@@ -241,9 +229,7 @@ export const UserLogin = () => {
|
|||||||
queryKey: ["login", "users"],
|
queryKey: ["login", "users"],
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
const users = await getUserApi(window.api).getPublicUsers();
|
const users = await getUserApi(window.api).getPublicUsers();
|
||||||
console.log(users.data);
|
|
||||||
return users.data;
|
return users.data;
|
||||||
// return {};
|
|
||||||
},
|
},
|
||||||
networkMode: "always",
|
networkMode: "always",
|
||||||
});
|
});
|
||||||
@@ -345,7 +331,6 @@ export const UserLoginManual = () => {
|
|||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [rememberMe, setRememberMe] = useState(true);
|
const [rememberMe, setRememberMe] = useState(true);
|
||||||
|
|
||||||
const dispatch = useDispatch();
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const { enqueueSnackbar } = useSnackbar();
|
const { enqueueSnackbar } = useSnackbar();
|
||||||
|
|
||||||
@@ -439,14 +424,15 @@ export const UserLoginManual = () => {
|
|||||||
sx={{
|
sx={{
|
||||||
opacity: server.isLoading ? 0 : 1,
|
opacity: server.isLoading ? 0 : 1,
|
||||||
transition: "opacity 200ms",
|
transition: "opacity 200ms",
|
||||||
|
width: "100%",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Grid item xl={5} md={6} sx={{ marginBottom: "1em" }}>
|
<Grid sx={{ marginBottom: "1em" }}>
|
||||||
<Typography variant="h3" color="textPrimary">
|
<Typography variant="h3" color="textPrimary">
|
||||||
Login
|
Login
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid sx={{ width: "100%" }} item xl={5} md={6}>
|
<Grid sx={{ width: "100%" }}>
|
||||||
<FormControl
|
<FormControl
|
||||||
sx={{ width: "100%" }}
|
sx={{ width: "100%" }}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
@@ -464,7 +450,7 @@ export const UserLoginManual = () => {
|
|||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid sx={{ width: "100%" }} item xl={5} md={6}>
|
<Grid sx={{ width: "100%" }}>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormControl
|
<FormControl
|
||||||
sx={{ width: "100%" }}
|
sx={{ width: "100%" }}
|
||||||
@@ -517,7 +503,7 @@ export const UserLoginManual = () => {
|
|||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xl={5} md={6} sx={{ width: "100%" }}>
|
<Grid sx={{ width: "100%" }}>
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
variant="contained"
|
variant="contained"
|
||||||
endIcon={<MdiChevronRight />}
|
endIcon={<MdiChevronRight />}
|
||||||
@@ -530,7 +516,7 @@ export const UserLoginManual = () => {
|
|||||||
Login
|
Login
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xl={15} md={6} sx={{ width: "100%" }}>
|
<Grid sx={{ width: "100%" }}>
|
||||||
<Typography variant="subtitle2">
|
<Typography variant="subtitle2">
|
||||||
{server.isSuccess &&
|
{server.isSuccess &&
|
||||||
server.data.LoginDisclaimer}
|
server.data.LoginDisclaimer}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { v4 as uuidv4 } from "uuid";
|
|
||||||
|
|
||||||
import { EventEmitter as event } from "../../../eventEmitter.js";
|
import { EventEmitter as event } from "../../../eventEmitter.js";
|
||||||
import { setServer } from "../../../utils/storage/servers.js";
|
import { setServer } from "../../../utils/storage/servers.js";
|
||||||
@@ -21,9 +20,6 @@ import { mdiChevronRight } from "@mdi/js";
|
|||||||
|
|
||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
|
|
||||||
// Svgs
|
|
||||||
import { ReactComponent as JellyplayerLogo } from "../../../assets/logo.svg";
|
|
||||||
|
|
||||||
// SCSS
|
// SCSS
|
||||||
import "./server.module.scss";
|
import "./server.module.scss";
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
/** @format */
|
|
||||||
|
|
||||||
import { configureStore } from "@reduxjs/toolkit";
|
|
||||||
import sideBarReducer from "./utils/slice/sidemenu";
|
|
||||||
export default configureStore({
|
|
||||||
reducer: {
|
|
||||||
sidebar: sideBarReducer,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
/** @format */
|
|
||||||
|
|
||||||
import { createSlice } from "@reduxjs/toolkit";
|
|
||||||
export const sideBarSlice = createSlice({
|
|
||||||
name: "sidebar",
|
|
||||||
initialState: {
|
|
||||||
visible: false,
|
|
||||||
backdrop: true,
|
|
||||||
},
|
|
||||||
reducers: {
|
|
||||||
showSidemenu: (state) => {
|
|
||||||
state.visible = true;
|
|
||||||
},
|
|
||||||
hideSidemenu: (state) => {
|
|
||||||
state.visible = false;
|
|
||||||
},
|
|
||||||
setBackdrop: (state, action) => {
|
|
||||||
state.backdrop = action.payload;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
export const { showSidemenu, hideSidemenu, setBackdrop } = sideBarSlice.actions;
|
|
||||||
export default sideBarSlice.reducer;
|
|
||||||
Reference in new issue
Block a user