Update frontend dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2024-09-09 22:17:51 +02:00
parent 5ce523a3fb
commit ca4ac359d3
6 changed files with 364 additions and 237 deletions

View File

@ -9,45 +9,45 @@
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@emotion/react": "^11.11.4", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.13.0",
"@fontsource/roboto": "^5.0.13", "@fontsource/roboto": "^5.0.15",
"@fullcalendar/core": "^6.1.14", "@fullcalendar/core": "^6.1.15",
"@fullcalendar/daygrid": "^6.1.14", "@fullcalendar/daygrid": "^6.1.15",
"@fullcalendar/interaction": "^6.1.14", "@fullcalendar/interaction": "^6.1.15",
"@fullcalendar/list": "^6.1.14", "@fullcalendar/list": "^6.1.15",
"@fullcalendar/react": "^6.1.14", "@fullcalendar/react": "^6.1.15",
"@mdi/js": "^7.2.96", "@mdi/js": "^7.2.96",
"@mdi/react": "^1.6.1", "@mdi/react": "^1.6.1",
"@mui/icons-material": "^5.15.17", "@mui/icons-material": "^6.0.2",
"@mui/lab": "^5.0.0-alpha.140", "@mui/lab": "^6.0.0-beta.9",
"@mui/material": "^5.15.17", "@mui/material": "^6.0.2",
"@mui/x-data-grid": "^7.1.1", "@mui/x-data-grid": "^7.16.0",
"@mui/x-date-pickers": "^7.7.0", "@mui/x-date-pickers": "^7.16.0",
"@mui/x-tree-view": "^7.4.0", "@mui/x-tree-view": "^7.16.0",
"@testing-library/jest-dom": "^6.4.5", "@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0", "@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.0.0", "@testing-library/user-event": "^14.0.0",
"@types/jest": "^29.0.0", "@types/jest": "^29.0.0",
"@types/react": "^18.3.2", "@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.2.1",
"date-and-time": "^3.2.0", "date-and-time": "^3.5.0",
"dayjs": "^1.11.11", "dayjs": "^1.11.13",
"email-validator": "^2.0.4", "email-validator": "^2.0.4",
"filesize": "^10.1.2", "filesize": "^10.1.6",
"jspdf": "^2.5.1", "jspdf": "^2.5.1",
"mui-color-input": "^4.0.0", "mui-color-input": "^4.0.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-easy-crop": "^5.0.7", "react-easy-crop": "^5.0.8",
"react-qr-code": "^2.0.14", "react-qr-code": "^2.0.14",
"react-router-dom": "^6.23.1", "react-router-dom": "^6.26.2",
"react-zoom-pan-pinch": "^3.4.4", "react-zoom-pan-pinch": "^3.4.4",
"svg2pdf.js": "^2.2.3", "svg2pdf.js": "^2.2.3",
"typescript": "^5.4.5", "typescript": "^5.6.2",
"vite": "^5.2.11", "vite": "^5.4.3",
"vite-tsconfig-paths": "^5.0.0", "vite-tsconfig-paths": "^5.0.1",
"web-vitals": "^3.5.2" "web-vitals": "^3.5.2"
} }
}, },
@ -553,9 +553,9 @@
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
}, },
"node_modules/@emotion/cache": { "node_modules/@emotion/cache": {
"version": "11.13.0", "version": "11.13.1",
"resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.13.0.tgz", "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.13.1.tgz",
"integrity": "sha512-hPV345J/tH0Cwk2wnU/3PBzORQ9HeX+kQSbwI+jslzpRCHE6fSGTohswksA/Ensr8znPzwfzKZCmAM9Lmlhp7g==", "integrity": "sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@emotion/memoize": "^0.9.0", "@emotion/memoize": "^0.9.0",
@ -1048,26 +1048,29 @@
} }
}, },
"node_modules/@floating-ui/core": { "node_modules/@floating-ui/core": {
"version": "1.6.1", "version": "1.6.7",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.1.tgz", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.7.tgz",
"integrity": "sha512-42UH54oPZHPdRHdw6BgoBD6cg/eVTmVrFcgeRDM3jbO7uxSoipVcmcIGFcA5jmOHO5apcyvBhkSKES3fQJnu7A==", "integrity": "sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==",
"license": "MIT",
"dependencies": { "dependencies": {
"@floating-ui/utils": "^0.2.0" "@floating-ui/utils": "^0.2.7"
} }
}, },
"node_modules/@floating-ui/dom": { "node_modules/@floating-ui/dom": {
"version": "1.6.5", "version": "1.6.10",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz", "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.10.tgz",
"integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==", "integrity": "sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==",
"license": "MIT",
"dependencies": { "dependencies": {
"@floating-ui/core": "^1.0.0", "@floating-ui/core": "^1.6.0",
"@floating-ui/utils": "^0.2.0" "@floating-ui/utils": "^0.2.7"
} }
}, },
"node_modules/@floating-ui/react-dom": { "node_modules/@floating-ui/react-dom": {
"version": "2.0.9", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.9.tgz", "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.1.tgz",
"integrity": "sha512-q0umO0+LQK4+p6aGyvzASqKbKOJcAHJ7ycE9CuUvfx3s9zTHWmGJTPOIlM/hmSBfUfg/XfY5YhLBLR/LHwShQQ==", "integrity": "sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==",
"license": "MIT",
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.0" "@floating-ui/dom": "^1.0.0"
}, },
@ -1077,14 +1080,15 @@
} }
}, },
"node_modules/@floating-ui/utils": { "node_modules/@floating-ui/utils": {
"version": "0.2.2", "version": "0.2.7",
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz", "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz",
"integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==",
"license": "MIT"
}, },
"node_modules/@fontsource/roboto": { "node_modules/@fontsource/roboto": {
"version": "5.0.14", "version": "5.0.15",
"resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-5.0.14.tgz", "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-5.0.15.tgz",
"integrity": "sha512-zHAxlTTm9RuRn9/StwclFJChf3z9+fBrOxC3fw71htjHP1BgXNISwRjdJtAKAmMe5S2BzgpnjkQR93P9EZYI/Q==", "integrity": "sha512-352XiID9jfwmYaHpdmS3ocGJi3PA+vOm4HzJIRfSyPEyLP6dZN8iiEKUbdAfB5YXQO3YxO2KZpR+R28q2zMiYw==",
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/@fullcalendar/core": { "node_modules/@fullcalendar/core": {
@ -1293,20 +1297,21 @@
} }
}, },
"node_modules/@mui/base": { "node_modules/@mui/base": {
"version": "5.0.0-beta.40", "version": "5.0.0-beta.58",
"resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.40.tgz", "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.58.tgz",
"integrity": "sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==", "integrity": "sha512-P0E7ZrxOuyYqBvVv9w8k7wm+Xzx/KRu+BGgFcR2htTsGCpJNQJCSUXNUZ50MUmSU9hzqhwbQWNXhV1MBTl6F7A==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@floating-ui/react-dom": "^2.0.8", "@floating-ui/react-dom": "^2.1.1",
"@mui/types": "^7.2.14", "@mui/types": "^7.2.15",
"@mui/utils": "^5.15.14", "@mui/utils": "6.0.0-rc.0",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"clsx": "^2.1.0", "clsx": "^2.1.1",
"prop-types": "^15.8.1" "prop-types": "^15.8.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1323,10 +1328,40 @@
} }
} }
}, },
"node_modules/@mui/base/node_modules/@mui/utils": {
"version": "6.0.0-rc.0",
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.0-rc.0.tgz",
"integrity": "sha512-tBp0ILEXDL0bbDDT8PnZOjCqSm5Dfk2N0Z45uzRw+wVl6fVvloC9zw8avl+OdX1Bg3ubs/ttKn8nRNv17bpM5A==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@mui/types": "^7.2.15",
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/core-downloads-tracker": { "node_modules/@mui/core-downloads-tracker": {
"version": "5.16.7", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.7.tgz", "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.0.2.tgz",
"integrity": "sha512-RtsCt4Geed2/v74sbihWzzRs+HsIQCfclHeORh5Ynu2fS4icIKozcSubwuG7vtzq2uW3fOR1zITSP84TNt2GoQ==", "integrity": "sha512-Cg68oOlAfbJgMgvbCwcX3Y3HdygCl6X1nREYTdEWcEKUQhNarrC45Cc35mP+zA7p3ZXE/7FLiaTCCgwuSoef/Q==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1334,24 +1369,24 @@
} }
}, },
"node_modules/@mui/icons-material": { "node_modules/@mui/icons-material": {
"version": "5.16.7", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.7.tgz", "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.0.2.tgz",
"integrity": "sha512-UrGwDJCXEszbDI7yV047BYU5A28eGJ79keTCP4cc74WyncuVrnurlmIRxaHL8YK+LI1Kzq+/JM52IAkNnv4u+Q==", "integrity": "sha512-WaTPSvKcx8X7NdWAHzJWDZv+YXvK0MUY8+JI/r4/q2GgIa5RW+n4+08CGX6jB7sWhU1R3zy28NfsDUwwQjOThw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9" "@babel/runtime": "^7.25.0"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/mui-org" "url": "https://opencollective.com/mui-org"
}, },
"peerDependencies": { "peerDependencies": {
"@mui/material": "^5.0.0", "@mui/material": "^6.0.2",
"@types/react": "^17.0.0 || ^18.0.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@types/react": { "@types/react": {
@ -1360,21 +1395,21 @@
} }
}, },
"node_modules/@mui/lab": { "node_modules/@mui/lab": {
"version": "5.0.0-alpha.173", "version": "6.0.0-beta.9",
"resolved": "https://registry.npmjs.org/@mui/lab/-/lab-5.0.0-alpha.173.tgz", "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-6.0.0-beta.9.tgz",
"integrity": "sha512-Gt5zopIWwxDgGy/MXcp6GueD84xFFugFai4hYiXY0zowJpTVnIrTQCQXV004Q7rejJ7aaCntX9hpPJqCrioshA==", "integrity": "sha512-rgwgf9mNUpXxPlI3tnM3i+HNAtDZ2amAollDqbe6RZ/3fltcir/o/0zBvnZRkJIBOAk6qIGmL59GCasuQQtPKA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@mui/base": "5.0.0-beta.40", "@mui/base": "5.0.0-beta.58",
"@mui/system": "^5.16.5", "@mui/system": "^6.0.2",
"@mui/types": "^7.2.15", "@mui/types": "^7.2.16",
"@mui/utils": "^5.16.5", "@mui/utils": "^6.0.2",
"clsx": "^2.1.0", "clsx": "^2.1.1",
"prop-types": "^15.8.1" "prop-types": "^15.8.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1383,10 +1418,11 @@
"peerDependencies": { "peerDependencies": {
"@emotion/react": "^11.5.0", "@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0", "@emotion/styled": "^11.3.0",
"@mui/material": ">=5.15.0", "@mui/material": "^6.0.2",
"@types/react": "^17.0.0 || ^18.0.0", "@mui/material-pigment-css": "^6.0.2",
"react": "^17.0.0 || ^18.0.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@emotion/react": { "@emotion/react": {
@ -1395,32 +1431,65 @@
"@emotion/styled": { "@emotion/styled": {
"optional": true "optional": true
}, },
"@mui/material-pigment-css": {
"optional": true
},
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/lab/node_modules/@mui/utils": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.2.tgz",
"integrity": "sha512-TeFrYsxcmeoDSlkoPhX+LjIuuqC5Pyj+xz2kRceKCkUpwMNTEeVOfowXDPe+mboZwmpJ5ZxP4eiAgQMdeEasjg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@mui/types": "^7.2.16",
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": { "@types/react": {
"optional": true "optional": true
} }
} }
}, },
"node_modules/@mui/material": { "node_modules/@mui/material": {
"version": "5.16.7", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.7.tgz", "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.0.2.tgz",
"integrity": "sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==", "integrity": "sha512-KrnkJFSyhsAh8V30DNUbWyRyxMi4ZHjFg1ikQGx+mUAIffFTYIEx9Q+Kxd3vCT0FUFGOmbsuh6F6yRhpybsjkg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@mui/core-downloads-tracker": "^5.16.7", "@mui/core-downloads-tracker": "^6.0.2",
"@mui/system": "^5.16.7", "@mui/system": "^6.0.2",
"@mui/types": "^7.2.15", "@mui/types": "^7.2.16",
"@mui/utils": "^5.16.6", "@mui/utils": "^6.0.2",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@types/react-transition-group": "^4.4.10", "@types/react-transition-group": "^4.4.11",
"clsx": "^2.1.0", "clsx": "^2.1.1",
"csstype": "^3.1.3", "csstype": "^3.1.3",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"react-is": "^18.3.1", "react-is": "^18.3.1",
"react-transition-group": "^4.4.5" "react-transition-group": "^4.4.5"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1429,9 +1498,10 @@
"peerDependencies": { "peerDependencies": {
"@emotion/react": "^11.5.0", "@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0", "@emotion/styled": "^11.3.0",
"@types/react": "^17.0.0 || ^18.0.0", "@mui/material-pigment-css": "^6.0.2",
"react": "^17.0.0 || ^18.0.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@emotion/react": { "@emotion/react": {
@ -1440,31 +1510,94 @@
"@emotion/styled": { "@emotion/styled": {
"optional": true "optional": true
}, },
"@mui/material-pigment-css": {
"optional": true
},
"@types/react": { "@types/react": {
"optional": true "optional": true
} }
} }
}, },
"node_modules/@mui/private-theming": { "node_modules/@mui/material/node_modules/@mui/utils": {
"version": "5.16.6", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.6.tgz", "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.2.tgz",
"integrity": "sha512-rAk+Rh8Clg7Cd7shZhyt2HGTTE5wYKNSJ5sspf28Fqm/PZ69Er9o6KX25g03/FG2dfpg5GCwZh/xOojiTfm3hw==", "integrity": "sha512-TeFrYsxcmeoDSlkoPhX+LjIuuqC5Pyj+xz2kRceKCkUpwMNTEeVOfowXDPe+mboZwmpJ5ZxP4eiAgQMdeEasjg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@mui/utils": "^5.16.6", "@mui/types": "^7.2.16",
"prop-types": "^15.8.1" "@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/mui-org" "url": "https://opencollective.com/mui-org"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/private-theming": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.0.2.tgz",
"integrity": "sha512-emddFcRhA0hPGVIwIbW5g0V8vtCgw2g/H/A7jTdGe7dpCWEPpp6jPIXRRKcEUWgmg91R6rBNfV+LFHxBxmZXOQ==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@mui/utils": "^6.0.2",
"prop-types": "^15.8.1"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/private-theming/node_modules/@mui/utils": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.2.tgz",
"integrity": "sha512-TeFrYsxcmeoDSlkoPhX+LjIuuqC5Pyj+xz2kRceKCkUpwMNTEeVOfowXDPe+mboZwmpJ5ZxP4eiAgQMdeEasjg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@mui/types": "^7.2.16",
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@types/react": { "@types/react": {
@ -1473,18 +1606,18 @@
} }
}, },
"node_modules/@mui/styled-engine": { "node_modules/@mui/styled-engine": {
"version": "5.16.6", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.6.tgz", "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.0.2.tgz",
"integrity": "sha512-zaThmS67ZmtHSWToTiHslbI8jwrmITcN93LQaR2lKArbvS7Z3iLkwRoiikNWutx9MBs8Q6okKvbZq1RQYB3v7g==", "integrity": "sha512-qd3Vlhted0SYVGotnCfVNcxff7vW2WN0fclbAexff60NeNS1qs/H/CImHEHUBiUGeNWMPRochbN6VF1arQ7/jA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@emotion/cache": "^11.11.0", "@emotion/cache": "^11.13.1",
"csstype": "^3.1.3", "csstype": "^3.1.3",
"prop-types": "^15.8.1" "prop-types": "^15.8.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1493,7 +1626,7 @@
"peerDependencies": { "peerDependencies": {
"@emotion/react": "^11.4.1", "@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0", "@emotion/styled": "^11.3.0",
"react": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@emotion/react": { "@emotion/react": {
@ -1505,22 +1638,22 @@
} }
}, },
"node_modules/@mui/system": { "node_modules/@mui/system": {
"version": "5.16.7", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.7.tgz", "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.0.2.tgz",
"integrity": "sha512-Jncvs/r/d/itkxh7O7opOunTqbbSSzMTHzZkNLM+FjAOg+cYAZHrPDlYe1ZGKUYORwwb2XexlWnpZp0kZ4AHuA==", "integrity": "sha512-AZv1/C4PuHgWFTA8YraIzl3FTVLdRz0RIMRwEADWZBdIhnuTHS/4+r8qE9+3CcpTHg1WsEu8btaO3AhQahSM9A==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.23.9", "@babel/runtime": "^7.25.0",
"@mui/private-theming": "^5.16.6", "@mui/private-theming": "^6.0.2",
"@mui/styled-engine": "^5.16.6", "@mui/styled-engine": "^6.0.2",
"@mui/types": "^7.2.15", "@mui/types": "^7.2.16",
"@mui/utils": "^5.16.6", "@mui/utils": "^6.0.2",
"clsx": "^2.1.0", "clsx": "^2.1.1",
"csstype": "^3.1.3", "csstype": "^3.1.3",
"prop-types": "^15.8.1" "prop-types": "^15.8.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=14.0.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -1529,8 +1662,8 @@
"peerDependencies": { "peerDependencies": {
"@emotion/react": "^11.5.0", "@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0", "@emotion/styled": "^11.3.0",
"@types/react": "^17.0.0 || ^18.0.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@emotion/react": { "@emotion/react": {
@ -1544,13 +1677,43 @@
} }
} }
}, },
"node_modules/@mui/system/node_modules/@mui/utils": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.2.tgz",
"integrity": "sha512-TeFrYsxcmeoDSlkoPhX+LjIuuqC5Pyj+xz2kRceKCkUpwMNTEeVOfowXDPe+mboZwmpJ5ZxP4eiAgQMdeEasjg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@mui/types": "^7.2.16",
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
"node_modules/@mui/types": { "node_modules/@mui/types": {
"version": "7.2.15", "version": "7.2.16",
"resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.15.tgz", "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.16.tgz",
"integrity": "sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==", "integrity": "sha512-qI8TV3M7ShITEEc8Ih15A2vLzZGLhD+/UPNwck/hcls2gwg7dyRjNGXcQYHKLB5Q7PuTRfrTkAoPa2VV1s67Ag==",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0" "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@types/react": { "@types/react": {
@ -1625,26 +1788,6 @@
} }
} }
}, },
"node_modules/@mui/x-data-grid/node_modules/@mui/x-internals": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-7.16.0.tgz",
"integrity": "sha512-ijer5XYmWlJqWaTmF6TGH1odG7EAupv8iDWYmDm2yVR9IQ+L2nQSuhiFClI+wmGx40KS2VKOlzDMPpF0t7/HCg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.6",
"@mui/utils": "^5.16.6"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
}
},
"node_modules/@mui/x-date-pickers": { "node_modules/@mui/x-date-pickers": {
"version": "7.16.0", "version": "7.16.0",
"resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-7.16.0.tgz", "resolved": "https://registry.npmjs.org/@mui/x-date-pickers/-/x-date-pickers-7.16.0.tgz",
@ -1711,7 +1854,7 @@
} }
} }
}, },
"node_modules/@mui/x-date-pickers/node_modules/@mui/x-internals": { "node_modules/@mui/x-internals": {
"version": "7.16.0", "version": "7.16.0",
"resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-7.16.0.tgz", "resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-7.16.0.tgz",
"integrity": "sha512-ijer5XYmWlJqWaTmF6TGH1odG7EAupv8iDWYmDm2yVR9IQ+L2nQSuhiFClI+wmGx40KS2VKOlzDMPpF0t7/HCg==", "integrity": "sha512-ijer5XYmWlJqWaTmF6TGH1odG7EAupv8iDWYmDm2yVR9IQ+L2nQSuhiFClI+wmGx40KS2VKOlzDMPpF0t7/HCg==",
@ -1731,35 +1874,15 @@
"react": "^17.0.0 || ^18.0.0" "react": "^17.0.0 || ^18.0.0"
} }
}, },
"node_modules/@mui/x-internals": {
"version": "7.15.0",
"resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-7.15.0.tgz",
"integrity": "sha512-Q/IZvZhHpe64Ost1mRbdp6ML8KQQBprwwgzqo6pZbrCaWMPB2gk2jcUwdCwnLsc+gutaEPVhZ8N7it8VZcHtbg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.25.4",
"@mui/utils": "^5.16.6"
},
"engines": {
"node": ">=14.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
}
},
"node_modules/@mui/x-tree-view": { "node_modules/@mui/x-tree-view": {
"version": "7.15.0", "version": "7.16.0",
"resolved": "https://registry.npmjs.org/@mui/x-tree-view/-/x-tree-view-7.15.0.tgz", "resolved": "https://registry.npmjs.org/@mui/x-tree-view/-/x-tree-view-7.16.0.tgz",
"integrity": "sha512-iMhI+ktZWnWMB60uCToGwTIGpmC17LT6o+fV1QSLgh8gWHjTKxJHHVIJnwX4GGeg+CDZQrodkAcGwu54txlStQ==", "integrity": "sha512-C/XCMtBs5jZSiCJG7hgRufcjj1fh60ea8COzgrcNG09bKVPkkfCP2Hp1L5ZXiTJJJ1GcFwQ3wVwy/1ln2+LuHg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.25.4", "@babel/runtime": "^7.25.6",
"@mui/utils": "^5.16.6", "@mui/utils": "^5.16.6",
"@mui/x-internals": "7.15.0", "@mui/x-internals": "7.16.0",
"@types/react-transition-group": "^4.4.11", "@types/react-transition-group": "^4.4.11",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
@ -1799,9 +1922,9 @@
} }
}, },
"node_modules/@remix-run/router": { "node_modules/@remix-run/router": {
"version": "1.19.1", "version": "1.19.2",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.2.tgz",
"integrity": "sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==", "integrity": "sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
@ -2368,9 +2491,10 @@
"optional": true "optional": true
}, },
"node_modules/@types/react": { "node_modules/@types/react": {
"version": "18.3.2", "version": "18.3.5",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.2.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz",
"integrity": "sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==", "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==",
"license": "MIT",
"dependencies": { "dependencies": {
"@types/prop-types": "*", "@types/prop-types": "*",
"csstype": "^3.0.2" "csstype": "^3.0.2"
@ -3845,12 +3969,12 @@
} }
}, },
"node_modules/react-router": { "node_modules/react-router": {
"version": "6.26.1", "version": "6.26.2",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.2.tgz",
"integrity": "sha512-kIwJveZNwp7teQRI5QmwWo39A5bXRyqpH0COKKmPnyD2vBvDwgFXSqDUYtt1h+FEyfnE8eXr7oe0MxRzVwCcvQ==", "integrity": "sha512-tvN1iuT03kHgOFnLPfLJ8V95eijteveqdOSk+srqfePtQvqCExB8eHOYnlilbOcyJyKnYkr1vJvf7YqotAJu1A==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@remix-run/router": "1.19.1" "@remix-run/router": "1.19.2"
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
@ -3860,13 +3984,13 @@
} }
}, },
"node_modules/react-router-dom": { "node_modules/react-router-dom": {
"version": "6.26.1", "version": "6.26.2",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.2.tgz",
"integrity": "sha512-veut7m41S1fLql4pLhxeSW3jlqs+4MtjRLj0xvuCEXsxusJCbs6I8yn9BxzzDX2XDgafrccY6hwjmd/bL54tFw==", "integrity": "sha512-z7YkaEW0Dy35T3/QKPYB1LjMK2R1fxnHO8kWpUMTBdfVzZrWOiY9a7CtN8HqdWtDUWd5FY6Dl8HFsqVwH4uOtQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@remix-run/router": "1.19.1", "@remix-run/router": "1.19.2",
"react-router": "6.26.1" "react-router": "6.26.2"
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
@ -4196,9 +4320,9 @@
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.5.4", "version": "5.6.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz",
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",

View File

@ -5,45 +5,45 @@
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@emotion/react": "^11.11.4", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.13.0",
"@fontsource/roboto": "^5.0.13", "@fontsource/roboto": "^5.0.15",
"@fullcalendar/core": "^6.1.14", "@fullcalendar/core": "^6.1.15",
"@fullcalendar/daygrid": "^6.1.14", "@fullcalendar/daygrid": "^6.1.15",
"@fullcalendar/interaction": "^6.1.14", "@fullcalendar/interaction": "^6.1.15",
"@fullcalendar/list": "^6.1.14", "@fullcalendar/list": "^6.1.15",
"@fullcalendar/react": "^6.1.14", "@fullcalendar/react": "^6.1.15",
"@mdi/js": "^7.2.96", "@mdi/js": "^7.2.96",
"@mdi/react": "^1.6.1", "@mdi/react": "^1.6.1",
"@mui/icons-material": "^5.15.17", "@mui/icons-material": "^6.0.2",
"@mui/lab": "^5.0.0-alpha.140", "@mui/lab": "^6.0.0-beta.9",
"@mui/material": "^5.15.17", "@mui/material": "^6.0.2",
"@mui/x-data-grid": "^7.1.1", "@mui/x-data-grid": "^7.16.0",
"@mui/x-date-pickers": "^7.7.0", "@mui/x-date-pickers": "^7.16.0",
"@mui/x-tree-view": "^7.4.0", "@mui/x-tree-view": "^7.16.0",
"@testing-library/jest-dom": "^6.4.5", "@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0", "@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.0.0", "@testing-library/user-event": "^14.0.0",
"@types/jest": "^29.0.0", "@types/jest": "^29.0.0",
"@types/react": "^18.3.2", "@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.2.1",
"date-and-time": "^3.2.0", "date-and-time": "^3.5.0",
"dayjs": "^1.11.11", "dayjs": "^1.11.13",
"email-validator": "^2.0.4", "email-validator": "^2.0.4",
"filesize": "^10.1.2", "filesize": "^10.1.6",
"jspdf": "^2.5.1", "jspdf": "^2.5.1",
"mui-color-input": "^4.0.0", "mui-color-input": "^4.0.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-easy-crop": "^5.0.7", "react-easy-crop": "^5.0.8",
"react-qr-code": "^2.0.14", "react-qr-code": "^2.0.14",
"react-router-dom": "^6.23.1", "react-router-dom": "^6.26.2",
"react-zoom-pan-pinch": "^3.4.4", "react-zoom-pan-pinch": "^3.4.4",
"svg2pdf.js": "^2.2.3", "svg2pdf.js": "^2.2.3",
"typescript": "^5.4.5", "typescript": "^5.6.2",
"vite": "^5.2.11", "vite": "^5.4.3",
"vite-tsconfig-paths": "^5.0.0", "vite-tsconfig-paths": "^5.0.1",
"web-vitals": "^3.5.2" "web-vitals": "^3.5.2"
}, },
"scripts": { "scripts": {

View File

@ -11,7 +11,7 @@ import {
} from "@mui/material"; } from "@mui/material";
import Box from "@mui/material/Box"; import Box from "@mui/material/Box";
import Button from "@mui/material/Button"; import Button from "@mui/material/Button";
import Grid from "@mui/material/Grid"; import Grid from "@mui/material/Grid2";
import TextField from "@mui/material/TextField"; import TextField from "@mui/material/TextField";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import * as React from "react"; import * as React from "react";
@ -167,7 +167,7 @@ export function LoginRoute(): React.ReactElement {
</Button> </Button>
<Grid container> <Grid container>
<Grid item xs> <Grid>
<Typography variant="body2" color={"primary"}> <Typography variant="body2" color={"primary"}>
<Link <Link
to="/password_forgotten" to="/password_forgotten"
@ -177,7 +177,7 @@ export function LoginRoute(): React.ReactElement {
</Link> </Link>
</Typography> </Typography>
</Grid> </Grid>
<Grid item> <Grid>
<Typography variant="body2" color={"primary"}> <Typography variant="body2" color={"primary"}>
<Link <Link
to="/new-account" to="/new-account"

View File

@ -3,7 +3,8 @@ import DeleteIcon from "@mui/icons-material/Delete";
import EditIcon from "@mui/icons-material/Edit"; import EditIcon from "@mui/icons-material/Edit";
import FileDownloadIcon from "@mui/icons-material/FileDownload"; import FileDownloadIcon from "@mui/icons-material/FileDownload";
import SaveIcon from "@mui/icons-material/Save"; import SaveIcon from "@mui/icons-material/Save";
import { Button, Grid, Stack } from "@mui/material"; import { Button, Stack } from "@mui/material";
import Grid from "@mui/material/Grid2";
import React from "react"; import React from "react";
import { useNavigate, useParams } from "react-router-dom"; import { useNavigate, useParams } from "react-router-dom";
import { ServerApi } from "../../../api/ServerApi"; import { ServerApi } from "../../../api/ServerApi";
@ -352,7 +353,7 @@ export function CouplePage(p: {
<Grid container spacing={2}> <Grid container spacing={2}>
{/* General info */} {/* General info */}
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Informations générales"> <PropertiesBox title="Informations générales">
{/* Husband */} {/* Husband */}
<br /> <br />
@ -427,7 +428,7 @@ export function CouplePage(p: {
{ {
/* Photo */ !family.family.disable_couple_photos && ( /* Photo */ !family.family.disable_couple_photos && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Photo"> <PropertiesBox title="Photo">
<div style={{ textAlign: "center" }}> <div style={{ textAlign: "center" }}>
<CouplePhoto couple={couple} width={150} /> <CouplePhoto couple={couple} width={150} />
@ -474,7 +475,7 @@ export function CouplePage(p: {
{/* Children */} {/* Children */}
{p.children && ( {p.children && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Enfants"> <PropertiesBox title="Enfants">
{p.children.length === 0 ? ( {p.children.length === 0 ? (
<>Aucun enfant</> <>Aucun enfant</>

View File

@ -7,12 +7,12 @@ import FileDownloadIcon from "@mui/icons-material/FileDownload";
import SaveIcon from "@mui/icons-material/Save"; import SaveIcon from "@mui/icons-material/Save";
import { import {
Button, Button,
Grid,
ListItemAvatar, ListItemAvatar,
ListItemButton, ListItemButton,
ListItemText, ListItemText,
Stack, Stack,
} from "@mui/material"; } from "@mui/material";
import Grid from "@mui/material/Grid2";
import * as EmailValidator from "email-validator"; import * as EmailValidator from "email-validator";
import React from "react"; import React from "react";
import { useNavigate, useParams } from "react-router-dom"; import { useNavigate, useParams } from "react-router-dom";
@ -384,7 +384,7 @@ export function MemberPage(p: {
<Grid container spacing={2}> <Grid container spacing={2}>
{/* General info */} {/* General info */}
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Informations générales"> <PropertiesBox title="Informations générales">
{/* Sex */} {/* Sex */}
<SexSelection <SexSelection
@ -504,7 +504,7 @@ export function MemberPage(p: {
</Grid> </Grid>
{/* Photo */} {/* Photo */}
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Photo"> <PropertiesBox title="Photo">
<div style={{ textAlign: "center" }}> <div style={{ textAlign: "center" }}>
<MemberPhoto member={member} width={150} /> <MemberPhoto member={member} width={150} />
@ -549,7 +549,7 @@ export function MemberPage(p: {
{/* Contact */} {/* Contact */}
{(p.editing || member.hasContactInfo) && ( {(p.editing || member.hasContactInfo) && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Contact"> <PropertiesBox title="Contact">
{/* Email */} {/* Email */}
<PropEdit <PropEdit
@ -630,7 +630,7 @@ export function MemberPage(p: {
{/* Bio */} {/* Bio */}
{(p.editing || member.hasNote) && ( {(p.editing || member.hasNote) && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Biographie"> <PropertiesBox title="Biographie">
<PropEdit <PropEdit
label="Biographie" label="Biographie"
@ -651,7 +651,7 @@ export function MemberPage(p: {
{/* Couples */} {/* Couples */}
{p.couples && ( {p.couples && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title={member.sex === "F" ? "Époux" : "Épouse"}> <PropertiesBox title={member.sex === "F" ? "Époux" : "Épouse"}>
{p.couples!.length === 0 ? ( {p.couples!.length === 0 ? (
<>{member.sex === "F" ? "Aucun époux" : "Aucune épouse"}</> <>{member.sex === "F" ? "Aucun époux" : "Aucune épouse"}</>
@ -678,7 +678,7 @@ export function MemberPage(p: {
{/* Children */} {/* Children */}
{p.children && ( {p.children && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Enfants"> <PropertiesBox title="Enfants">
{p.children.length === 0 ? ( {p.children.length === 0 ? (
<>Aucun enfant</> <>Aucun enfant</>
@ -707,7 +707,7 @@ export function MemberPage(p: {
{/* Siblings */} {/* Siblings */}
{p.siblings && ( {p.siblings && (
<Grid item sm={12} md={6}> <Grid size={{ sm: 12, md: 6 }}>
<PropertiesBox title="Frères et sœurs"> <PropertiesBox title="Frères et sœurs">
{p.siblings.length === 0 ? ( {p.siblings.length === 0 ? (
<>Aucun frère ou sœur</> <>Aucun frère ou sœur</>

View File

@ -3,7 +3,7 @@ import Icon from "@mdi/react";
import Avatar from "@mui/material/Avatar"; import Avatar from "@mui/material/Avatar";
import Box from "@mui/material/Box"; import Box from "@mui/material/Box";
import CssBaseline from "@mui/material/CssBaseline"; import CssBaseline from "@mui/material/CssBaseline";
import Grid from "@mui/material/Grid"; import Grid from "@mui/material/Grid2";
import Paper from "@mui/material/Paper"; import Paper from "@mui/material/Paper";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import * as React from "react"; import * as React from "react";
@ -40,10 +40,7 @@ export function BaseLoginPage() {
<Grid container component="main" sx={{ height: "100vh" }}> <Grid container component="main" sx={{ height: "100vh" }}>
<CssBaseline /> <CssBaseline />
<Grid <Grid
item size={{ xs: false, sm: 4, md: 7 }}
xs={false}
sm={4}
md={7}
sx={{ sx={{
backgroundImage: "url(/login_splash.jpg)", backgroundImage: "url(/login_splash.jpg)",
backgroundRepeat: "no-repeat", backgroundRepeat: "no-repeat",
@ -55,7 +52,12 @@ export function BaseLoginPage() {
backgroundPosition: "center", backgroundPosition: "center",
}} }}
/> />
<Grid item xs={12} sm={8} md={5} component={Paper} elevation={6} square> <Grid
size={{ xs: 12, sm: 8, md: 5 }}
component={Paper}
elevation={6}
square
>
<Box <Box
sx={{ sx={{
my: 8, my: 8,