diff --git a/package-lock.json b/package-lock.json index 9afe1cdc55..8d358eb4dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,14 +11,14 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@gridsuite/commons-ui": "0.296.0", + "@gridsuite/commons-ui": "0.297.0", "@hello-pangea/dnd": "^18.0.1", "@hookform/resolvers": "^4.1.3", - "@mui/icons-material": "^7.3.11", - "@mui/lab": "7.0.1-beta.25", - "@mui/material": "^7.3.11", - "@mui/x-charts": "^8.21.0", - "@mui/x-tree-view": "^8.21.0", + "@mui/icons-material": "^9.4.0", + "@mui/lab": "^9.0.0-beta.9", + "@mui/material": "^9.4.0", + "@mui/x-charts": "^9.13.0", + "@mui/x-tree-view": "^9.13.0", "@powsybl/network-viewer": "3.7.0", "@reduxjs/toolkit": "^2.9.0", "@svgdotjs/svg.js": "^3.2.4", @@ -1851,12 +1851,14 @@ } }, "node_modules/@base-ui/utils": { - "version": "0.2.9", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.3.2.tgz", + "integrity": "sha512-oWy1aq/I2GmYjpl4PhEAhzflF8VPGKgZeq0xAWTbfD5KBWyxcN0ZP2+WHSUm/5Z6lVMBDLReLcoXwSYoRc/zNQ==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.29.2", - "@floating-ui/utils": "^0.2.11", - "reselect": "^5.1.1", + "@floating-ui/utils": "^0.2.12", + "reselect": "^5.2.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { @@ -2881,6 +2883,8 @@ }, "node_modules/@floating-ui/utils": { "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", + "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", "license": "MIT" }, "node_modules/@formatjs/ecma402-abstract": { @@ -2944,9 +2948,9 @@ } }, "node_modules/@gridsuite/commons-ui": { - "version": "0.296.0", - "resolved": "https://registry.npmjs.org/@gridsuite/commons-ui/-/commons-ui-0.296.0.tgz", - "integrity": "sha512-XTWHc36oGuA17KeqVPj/BqhPW7CuX8pbbkQGrl60Kw2ofQMsxLRi6TcsVBM7SZJiZtk4MxpqHTgRQ7uHIVG8iQ==", + "version": "0.297.0", + "resolved": "https://registry.npmjs.org/@gridsuite/commons-ui/-/commons-ui-0.297.0.tgz", + "integrity": "sha512-5r65R2ghjwyv+FSGeZsXA8xKR2plY2qTNB4NjFNZDkZCHPI+0hluWq21IoygtAmQhDgHxVagbW8XzClERL4fjA==", "license": "MPL-2.0", "dependencies": { "@ag-grid-community/locale": "^35.3.1", @@ -2961,7 +2965,7 @@ "jwt-decode": "^4.0.0", "localized-countries": "^2.0.0", "mathjs": "^14.7.0", - "mui-nested-menu": "^4.0.1", + "mui-nested-menu": "^4.0.3", "oidc-client-ts": "^3.5.0", "prop-types": "^15.8.1", "react-dnd": "^16.0.1", @@ -2981,11 +2985,11 @@ "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", "@hookform/resolvers": "^4.0.0", - "@mui/icons-material": "^7.3.11", - "@mui/lab": "7.0.1-beta.25", - "@mui/material": "^7.3.11", - "@mui/x-charts": "^8.21.0", - "@mui/x-tree-view": "^8.21.0", + "@mui/icons-material": "^9.4.0", + "@mui/lab": "^9.0.0-beta.9", + "@mui/material": "^9.4.0", + "@mui/x-charts": "^9.13.0", + "@mui/x-tree-view": "^9.13.0", "ag-grid-community": "^35.3.1", "ag-grid-react": "^35.3.1", "notistack": "^3.0.2", @@ -3864,7 +3868,9 @@ } }, "node_modules/@mui/core-downloads-tracker": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-9.4.0.tgz", + "integrity": "sha512-d+gIYM1raJP87yrVQcVg+Q3vycVMArMkgu/TjJLi2vTvO9FHKWNRR1xs9nnN4eLpM9nGxxm02UMvc9BrmcUKvQ==", "license": "MIT", "funding": { "type": "opencollective", @@ -3872,10 +3878,12 @@ } }, "node_modules/@mui/icons-material": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-9.4.0.tgz", + "integrity": "sha512-5PVgBYtLOXTk6u0YUAjoV9GoTUQDbeZ8g+pus2h0GphLT/rpmftRnB5D/Kw6QCAovB7EyBX7UxKdZqPBBAHUKw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6" + "@babel/runtime": "^7.29.7" }, "engines": { "node": ">=14.0.0" @@ -3885,7 +3893,7 @@ "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "@mui/material": "^7.3.11", + "@mui/material": "^9.4.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, @@ -3896,13 +3904,15 @@ } }, "node_modules/@mui/lab": { - "version": "7.0.1-beta.25", + "version": "9.0.0-beta.9", + "resolved": "https://registry.npmjs.org/@mui/lab/-/lab-9.0.0-beta.9.tgz", + "integrity": "sha512-LaYavRlbnsjGi09EYuRUpxUe4iqK1zWQHioxjJ0SXH7QBcYgmnUmHrMCwzsYb21VhpX5wjJ2ovLmX/CajGmvmw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", - "@mui/system": "^7.3.11", - "@mui/types": "^7.4.12", - "@mui/utils": "^7.3.11", + "@babel/runtime": "^7.29.7", + "@mui/system": "^9.4.0", + "@mui/types": "^9.4.0", + "@mui/utils": "^9.4.0", "clsx": "^2.1.1", "prop-types": "^15.8.1" }, @@ -3916,8 +3926,8 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@mui/material": "^7.3.11", - "@mui/material-pigment-css": "^7.3.11", + "@mui/material": "^9.4.0", + "@mui/material-pigment-css": "^9.4.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" @@ -3938,20 +3948,22 @@ } }, "node_modules/@mui/material": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-9.4.0.tgz", + "integrity": "sha512-6KKUIvkQ2r/s48s9VZV9JEZ1W2dRa7RndVsF+Ipx4CYxDOQeozeRsS5r9NiheFf8A5hpbqJJIGoX7hjg5X4XUw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", - "@mui/core-downloads-tracker": "^7.3.11", - "@mui/system": "^7.3.11", - "@mui/types": "^7.4.12", - "@mui/utils": "^7.3.11", + "@babel/runtime": "^7.29.7", + "@mui/core-downloads-tracker": "^9.4.0", + "@mui/system": "^9.4.0", + "@mui/types": "^9.4.0", + "@mui/utils": "^9.4.0", "@popperjs/core": "^2.11.8", "@types/react-transition-group": "^4.4.12", "clsx": "^2.1.1", "csstype": "^3.2.3", "prop-types": "^15.8.1", - "react-is": "^19.2.3", + "react-is": "^19.2.8", "react-transition-group": "^4.4.5" }, "engines": { @@ -3964,7 +3976,7 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@mui/material-pigment-css": "^7.3.11", + "@mui/material-pigment-css": "^9.4.0", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" @@ -3985,11 +3997,13 @@ } }, "node_modules/@mui/private-theming": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-9.4.0.tgz", + "integrity": "sha512-qQpX/2XPGDz5F2OIWzo4kkorURlDeXGKytRQudXCdLS5TuwKsMKaZyx77LZEVSB73c7o3UrLWwQ/goRuHBdtjw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", - "@mui/utils": "^7.3.11", + "@babel/runtime": "^7.29.7", + "@mui/utils": "^9.4.0", "prop-types": "^15.8.1" }, "engines": { @@ -4010,10 +4024,12 @@ } }, "node_modules/@mui/styled-engine": { - "version": "7.3.10", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-9.4.0.tgz", + "integrity": "sha512-SlqVEYqnyEgXMFW4JuIDMelyhKzoWBJ85v2mNCQd0XtU0uk7U9E1zaJZ06XqodhA8oJrb+4Q+3E/JlwBe4jWkw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", + "@babel/runtime": "^7.29.7", "@emotion/cache": "^11.14.0", "@emotion/serialize": "^1.3.3", "@emotion/sheet": "^1.4.0", @@ -4042,14 +4058,16 @@ } }, "node_modules/@mui/system": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-9.4.0.tgz", + "integrity": "sha512-AZz9z13oGS1J0BYeAFHTbV7PegCtPiE/uMEIi7TJ1kTx3Vkt+jUpLyXF/2uV8B6Y79iTh98kVeOH9fX3x3zXXg==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", - "@mui/private-theming": "^7.3.11", - "@mui/styled-engine": "^7.3.10", - "@mui/types": "^7.4.12", - "@mui/utils": "^7.3.11", + "@babel/runtime": "^7.29.7", + "@mui/private-theming": "^9.4.0", + "@mui/styled-engine": "^9.4.0", + "@mui/types": "^9.4.0", + "@mui/utils": "^9.4.0", "clsx": "^2.1.1", "csstype": "^3.2.3", "prop-types": "^15.8.1" @@ -4080,10 +4098,12 @@ } }, "node_modules/@mui/types": { - "version": "7.4.12", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-9.4.0.tgz", + "integrity": "sha512-13DH0Oniua4WmGqeYbQAZqmiN7r4nfd0zwIoGJ5QeJwyIHgEmf+LkRw/jV1HZb6AiUoHX8Oxf4xgalq3vYHcIw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6" + "@babel/runtime": "^7.29.7" }, "peerDependencies": { "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" @@ -4095,15 +4115,17 @@ } }, "node_modules/@mui/utils": { - "version": "7.3.11", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-9.4.0.tgz", + "integrity": "sha512-WkzY8uYtqUDyGKPShrRQRBomfMQHddlsyKu/gRRESYO24tDPD2z0xRE8CBoUsWqpBa+YrFs9KixiS7kQRjsPAQ==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.6", - "@mui/types": "^7.4.12", + "@babel/runtime": "^7.29.7", + "@mui/types": "^9.4.0", "@types/prop-types": "^15.7.15", "clsx": "^2.1.1", "prop-types": "^15.8.1", - "react-is": "^19.2.3" + "react-is": "^19.2.8" }, "engines": { "node": ">=14.0.0" @@ -4123,19 +4145,21 @@ } }, "node_modules/@mui/x-charts": { - "version": "8.29.2", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@mui/x-charts/-/x-charts-9.14.0.tgz", + "integrity": "sha512-10YMiD0XEnqoolMTegjFHy5qDOnmh95qXwUwTQPjVmKsYEQRcDDIvr4KY/y+UT7+ZOwMUGRXqxuS3X8HuDh+9Q==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4", - "@mui/utils": "^7.3.5", - "@mui/x-charts-vendor": "8.29.0", - "@mui/x-internal-gestures": "0.5.0", - "@mui/x-internals": "8.29.2", - "bezier-easing": "^2.1.0", + "@babel/runtime": "^7.29.7", + "@mui/utils": "^9.4.0", + "@mui/x-charts-vendor": "^9.13.0", + "@mui/x-internal-gestures": "^9.14.0", + "@mui/x-internals": "^9.14.0", + "bezier-easing": "^3.1.0", "clsx": "^2.1.1", "prop-types": "^15.8.1", - "reselect": "^5.1.1", - "use-sync-external-store": "^1.6.0" + "reselect": "^5.2.0", + "use-sync-external-store": "^1.7.0" }, "engines": { "node": ">=14.0.0" @@ -4143,8 +4167,8 @@ "peerDependencies": { "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", - "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0", - "@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0", + "@mui/material": "^7.3.0 || ^9.0.0", + "@mui/system": "^7.3.0 || ^9.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, @@ -4158,23 +4182,27 @@ } }, "node_modules/@mui/x-charts-vendor": { - "version": "8.29.0", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@mui/x-charts-vendor/-/x-charts-vendor-9.13.0.tgz", + "integrity": "sha512-Pp3lTklKjQX0SEobj8qbdgWEH2KXFMjAmUYUYT/DSDogXyNZmMIsyiCaN3stroQ2QZ30BaTa4fL0K/RVzNGnBA==", "license": "MIT AND ISC", "dependencies": { - "@babel/runtime": "^7.28.4", + "@babel/runtime": "^7.29.7", "@types/d3-array": "^3.2.2", "@types/d3-color": "^3.1.3", "@types/d3-format": "^3.0.4", + "@types/d3-geo": "^3.1.1", "@types/d3-interpolate": "^3.0.4", "@types/d3-path": "^3.1.1", "@types/d3-scale": "^4.0.9", - "@types/d3-shape": "^3.1.8", + "@types/d3-shape": "^3.2.0", "@types/d3-time": "^3.0.4", "@types/d3-time-format": "^4.0.3", "@types/d3-timer": "^3.0.2", "d3-array": "^3.2.4", "d3-color": "^3.1.0", "d3-format": "^3.1.2", + "d3-geo": "^3.1.1", "d3-interpolate": "^3.0.1", "d3-path": "^3.1.0", "d3-scale": "^4.0.2", @@ -4182,25 +4210,47 @@ "d3-time": "^3.1.0", "d3-time-format": "^4.1.0", "d3-timer": "^3.0.1", - "flatqueue": "^3.0.0", + "flatqueue": "^3.1.0", "internmap": "^2.0.3" } }, + "node_modules/@mui/x-charts-vendor/node_modules/d3-geo": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz", + "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==", + "license": "ISC", + "dependencies": { + "d3-array": "2.5.0 - 3" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@mui/x-internal-gestures": { - "version": "0.5.0", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@mui/x-internal-gestures/-/x-internal-gestures-9.14.0.tgz", + "integrity": "sha512-JmpByr4Dho5AI811QlLSiKTa1+yp61m5BHE2SsQzLC6y8kGcerzDHoae0JHZkirnbHWs4unvEjs7GK1/bgdQ8g==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4" + "@babel/runtime": "^7.29.7", + "@base-ui/utils": "^0.3.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@mui/x-internals": { - "version": "8.29.2", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@mui/x-internals/-/x-internals-9.14.0.tgz", + "integrity": "sha512-m4XkKIihP+uWvz18BgSOHtwxCBWtE3Qi2X9hZUdEGW5mk50umziYaCLn9B/3cT9qBU7LirEC8agqpWxDSYjaNw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4", - "@mui/utils": "^7.3.5", - "reselect": "^5.1.1", - "use-sync-external-store": "^1.6.0" + "@babel/runtime": "^7.29.7", + "@base-ui/utils": "^0.3.2", + "@mui/utils": "^9.4.0", + "reselect": "^5.2.0", + "use-sync-external-store": "^1.7.0" }, "engines": { "node": ">=14.0.0" @@ -4210,21 +4260,22 @@ "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@mui/x-tree-view": { - "version": "8.29.2", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@mui/x-tree-view/-/x-tree-view-9.14.0.tgz", + "integrity": "sha512-oF0X0iR6ZqOd4x1UfMFDGSBMw7FZwmxiy1sGYp2uRy2sBOmsV9JqqvMEAWlDDfEUUJECbWsW9eeJ52QZXwT8kw==", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4", - "@base-ui/utils": "^0.2.3", - "@mui/utils": "^7.3.5", - "@mui/x-internals": "8.29.2", - "@types/react-transition-group": "^4.4.12", + "@babel/runtime": "^7.29.7", + "@base-ui/utils": "^0.3.2", + "@mui/utils": "^9.4.0", + "@mui/x-internals": "^9.14.0", "clsx": "^2.1.1", - "prop-types": "^15.8.1", - "react-transition-group": "^4.4.5" + "prop-types": "^15.8.1" }, "engines": { "node": ">=14.0.0" @@ -4236,8 +4287,8 @@ "peerDependencies": { "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", - "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0", - "@mui/system": "^5.15.14 || ^6.0.0 || ^7.0.0", + "@mui/material": "^7.3.0 || ^9.0.0", + "@mui/system": "^7.3.0 || ^9.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, @@ -5704,6 +5755,8 @@ }, "node_modules/@types/d3-array": { "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz", + "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==", "license": "MIT" }, "node_modules/@types/d3-color": { @@ -5719,8 +5772,19 @@ }, "node_modules/@types/d3-format": { "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz", + "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==", "license": "MIT" }, + "node_modules/@types/d3-geo": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.1.tgz", + "integrity": "sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==", + "license": "MIT", + "dependencies": { + "@types/geojson": "*" + } + }, "node_modules/@types/d3-interpolate": { "version": "3.0.4", "license": "MIT", @@ -5730,10 +5794,14 @@ }, "node_modules/@types/d3-path": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", "license": "MIT" }, "node_modules/@types/d3-scale": { "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz", + "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", "license": "MIT", "dependencies": { "@types/d3-time": "*" @@ -5744,7 +5812,9 @@ "license": "MIT" }, "node_modules/@types/d3-shape": { - "version": "3.1.8", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==", "license": "MIT", "dependencies": { "@types/d3-path": "*" @@ -5752,14 +5822,20 @@ }, "node_modules/@types/d3-time": { "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz", + "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", "license": "MIT" }, "node_modules/@types/d3-time-format": { "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz", + "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==", "license": "MIT" }, "node_modules/@types/d3-timer": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", "license": "MIT" }, "node_modules/@types/d3-transition": { @@ -5938,6 +6014,8 @@ }, "node_modules/@types/prop-types": { "version": "15.7.15", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", + "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", "license": "MIT" }, "node_modules/@types/qs": { @@ -7377,7 +7455,9 @@ } }, "node_modules/bezier-easing": { - "version": "2.1.0", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-3.1.0.tgz", + "integrity": "sha512-o8E/9YIVAzS6S2i5Icp/DUjQXiP9ma6viSef0b8LpyTvoJw/al+jMhH8tllA18n8VY9M0J1CeWqNs2Ym5PSjOQ==", "license": "MIT" }, "node_modules/binary-search-bounds": { @@ -8025,6 +8105,8 @@ }, "node_modules/d3-array": { "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", "license": "ISC", "dependencies": { "internmap": "1 - 2" @@ -8093,6 +8175,8 @@ }, "node_modules/d3-format": { "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz", + "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==", "license": "ISC", "engines": { "node": ">=12" @@ -8151,6 +8235,8 @@ }, "node_modules/d3-path": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", "license": "ISC", "engines": { "node": ">=12" @@ -8163,6 +8249,8 @@ }, "node_modules/d3-scale": { "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", "license": "ISC", "dependencies": { "d3-array": "2.10.0 - 3", @@ -8184,6 +8272,8 @@ }, "node_modules/d3-shape": { "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", "license": "ISC", "dependencies": { "d3-path": "^3.1.0" @@ -8194,6 +8284,8 @@ }, "node_modules/d3-time": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", "license": "ISC", "dependencies": { "d3-array": "2 - 3" @@ -8204,6 +8296,8 @@ }, "node_modules/d3-time-format": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", "license": "ISC", "dependencies": { "d3-time": "1 - 3" @@ -9694,6 +9788,8 @@ }, "node_modules/flatqueue": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flatqueue/-/flatqueue-3.1.0.tgz", + "integrity": "sha512-Ia4qIYrrsEqIRx3c3XhkT+QDLQuUV5ovsr6ah1rIgKT5wclhoGK3lAMS1bWRAWxlx7wtlTBpV7QXB5d9fOSRxA==", "license": "ISC" }, "node_modules/flatted": { @@ -10633,6 +10729,8 @@ }, "node_modules/internmap": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", "license": "ISC", "engines": { "node": ">=12" @@ -13454,7 +13552,9 @@ } }, "node_modules/react-is": { - "version": "19.2.8", + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.3.0.tgz", + "integrity": "sha512-UpMYezM4v5/18F28aC66AEsjXIgE02kyEMH6yLdgLXu/UTfa1Ntwck/nNLrbqJsEXW7gPb0coNO9FQse9WTovA==", "license": "MIT" }, "node_modules/react-is-18": { @@ -15588,7 +15688,9 @@ } }, "node_modules/use-sync-external-store": { - "version": "1.6.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", + "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" diff --git a/package.json b/package.json index 8dd953e0f2..0142d12d66 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,14 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@gridsuite/commons-ui": "0.296.0", + "@gridsuite/commons-ui": "0.297.0", "@hello-pangea/dnd": "^18.0.1", "@hookform/resolvers": "^4.1.3", - "@mui/icons-material": "^7.3.11", - "@mui/lab": "7.0.1-beta.25", - "@mui/material": "^7.3.11", - "@mui/x-charts": "^8.21.0", - "@mui/x-tree-view": "^8.21.0", + "@mui/icons-material": "^9.4.0", + "@mui/lab": "^9.0.0-beta.9", + "@mui/material": "^9.4.0", + "@mui/x-charts": "^9.13.0", + "@mui/x-tree-view": "^9.13.0", "@powsybl/network-viewer": "3.7.0", "@reduxjs/toolkit": "^2.9.0", "@svgdotjs/svg.js": "^3.2.4", @@ -58,12 +58,17 @@ }, "overrides": { "@powsybl/network-viewer": { - "react-intl": "$react-intl" + "react-intl": "$react-intl", + "@mui/icons-material": "$@mui/icons-material", + "@mui/material": "$@mui/material" }, "react-plotly.js": { "plotly.js": { "esbuild-style-plugin": "npm:dry-uninstall@^0.3.0" } + }, + "mui-nested-menu": { + "@mui/material": ">=5.0.0" } }, "scripts": { diff --git a/src/components/custom-aggrid/custom-aggrid-filters/custom-aggrid-duration-filter.tsx b/src/components/custom-aggrid/custom-aggrid-filters/custom-aggrid-duration-filter.tsx index 990c50519f..689e491cf2 100644 --- a/src/components/custom-aggrid/custom-aggrid-filters/custom-aggrid-duration-filter.tsx +++ b/src/components/custom-aggrid/custom-aggrid-filters/custom-aggrid-duration-filter.tsx @@ -135,14 +135,23 @@ const CustomAggridDurationFilter: FunctionComponent = }, [handleClearFilter]); return ( - + - + = : - + = /> {selectedFilterData !== undefined && selectedFilterData !== '' && ( - + {isDataFetching && } - + - + {onOpenCatalogDialog && {catalogButton}} {searchCopy && {copyEquipmentButton}} diff --git a/src/components/dialogs/dynamicsimulation/event/dynamic-simulation-event-form.tsx b/src/components/dialogs/dynamicsimulation/event/dynamic-simulation-event-form.tsx index a453956dfb..ac888a2afc 100644 --- a/src/components/dialogs/dynamicsimulation/event/dynamic-simulation-event-form.tsx +++ b/src/components/dialogs/dynamicsimulation/event/dynamic-simulation-event-form.tsx @@ -44,7 +44,14 @@ export const DynamicSimulationEventForm = (props: DynamicSimulationBasicEventFor ); return ( - + {EquipmentIdField} diff --git a/src/components/dialogs/equipment-id/equipment-id-selector.tsx b/src/components/dialogs/equipment-id/equipment-id-selector.tsx index a04cd4315e..328ccaa98b 100644 --- a/src/components/dialogs/equipment-id/equipment-id-selector.tsx +++ b/src/components/dialogs/equipment-id/equipment-id-selector.tsx @@ -103,17 +103,21 @@ export function EquipmentIdSelector({ onInputChange={(_, data, reason) => handleChange(data, reason)} options={equipmentOptions} autoHighlight={autoHighlightEnabled} - renderInput={({ inputProps, ...rest }) => ( + renderInput={(params) => ( )} /> diff --git a/src/components/dialogs/equipment-search-dialog.tsx b/src/components/dialogs/equipment-search-dialog.tsx index cebd14805f..8a4e4d8712 100644 --- a/src/components/dialogs/equipment-search-dialog.tsx +++ b/src/components/dialogs/equipment-search-dialog.tsx @@ -19,7 +19,7 @@ import { useSearchMatchingEquipments } from '../top-bar-equipment-seach-dialog/u import type { UUID } from 'node:crypto'; import { useSelector } from 'react-redux'; import { AppState } from 'redux/reducer.type'; -import { TextField } from '@mui/material'; +import { Paper, TextField } from '@mui/material'; import { Search } from '@mui/icons-material'; interface EquipmentSearchDialogProps { @@ -74,6 +74,7 @@ const EquipmentSearchDialog: FC = ({ loading={isLoading} getOptionLabel={(equipment) => equipment.label} isOptionEqualToValue={(equipment1, equipment2) => equipment1.id === equipment2.id} + PaperComponent={Paper} renderInput={(displayedValue, params) => ( = ({ })} value={displayedValue} slotProps={{ + ...params.slotProps, input: { - ...params.InputProps, + ...params.slotProps.input, startAdornment: ( <> - {params.InputProps.startAdornment} + {params.slotProps.input.startAdornment} ), }, diff --git a/src/components/dialogs/export-network/flat-parameters-input.tsx b/src/components/dialogs/export-network/flat-parameters-input.tsx index ee1b58cc14..069e50da1f 100644 --- a/src/components/dialogs/export-network/flat-parameters-input.tsx +++ b/src/components/dialogs/export-network/flat-parameters-input.tsx @@ -58,7 +58,14 @@ export function FlatParametersInput({ name, parameters }: Readonly - + setMouseHover(false)} > - + diff --git a/src/components/dialogs/import-composite/insert-name-cell.tsx b/src/components/dialogs/import-composite/insert-name-cell.tsx index bf162fbe4e..99189e52e7 100644 --- a/src/components/dialogs/import-composite/insert-name-cell.tsx +++ b/src/components/dialogs/import-composite/insert-name-cell.tsx @@ -25,7 +25,13 @@ const InsertNameCell = ({ rowIndex }: Readonly): JSX.Elemen return ( {isShared ? ( - + {originalName} ) : ( diff --git a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-advanced-content.tsx b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-advanced-content.tsx index dfc6d43edf..834b5a4c14 100644 --- a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-advanced-content.tsx +++ b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-advanced-content.tsx @@ -45,7 +45,12 @@ export default function BalancesAdjustmentAdvancedContent() { }); return ( - + diff --git a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx index 2bfc96b55c..96f03a8bad 100644 --- a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx +++ b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx @@ -307,10 +307,20 @@ export function BalancesAdjustmentDialog({ isDataFetching={isUpdate && editDataFetchStatus === FetchStatus.RUNNING} {...dialogProps} > -