From 4d6495491942b4709718a42047f79993e4c84b03 Mon Sep 17 00:00:00 2001 From: Aifeilong <2993607249@qq.com> Date: Thu, 14 Sep 2023 09:48:22 +0800 Subject: [PATCH] fix --- .pnp.cjs | 71 ++++++ package.json | 3 + src/components/HomeLayout/NavBar.jsx | 2 + src/components/HomeLayout/index.module.less | 12 +- src/components/PolygonLayout/Barotorpic.jsx | 30 +++ .../PolygonLayout/CustomFlyTo copy.jsx | 60 +++++ src/components/PolygonLayout/CustomFlyTo.jsx | 38 +-- .../PolygonLayout/CustomToolbar.jsx | 92 ++++++++ src/components/PolygonLayout/Cyclone.jsx | 21 ++ .../InfoLayout/ChartInfoPanel/SstAnnomary.jsx | 131 +++++++++++ .../InfoLayout/ChartInfoPanel/TPTT.jsx | 115 +++++++++ .../ChartInfoPanel/TripolarTemperature.jsx | 184 +++++++++++++++ .../InfoLayout/ChartInfoPanel/index.jsx | 18 ++ .../InfoLayout/TextInfoPanel/First.jsx | 0 .../InfoLayout/TextInfoPanel/Second.jsx | 0 .../InfoLayout/TextInfoPanel/Third.jsx | 0 .../InfoLayout/TextInfoPanel/index.jsx | 5 + .../PolygonLayout/InfoLayout/index.jsx | 14 ++ .../InfoLayout/index.module.less | 52 ++++ .../PolygonLayout/PlateauPolygon.jsx | 2 +- src/components/PolygonLayout/Point copy.jsx | 132 +++++++++++ src/components/PolygonLayout/Point.jsx | 222 +++++++----------- src/components/PolygonLayout/Udraft.jsx | 18 ++ src/components/PolygonLayout/Watervapor.jsx | 33 +++ src/components/PolygonLayout/WavePoint.jsx | 2 + src/components/PolygonLayout/index.jsx | 33 ++- .../PolygonLayout/index.module.less | 2 + yarn.lock | 51 +++- 28 files changed, 1173 insertions(+), 170 deletions(-) create mode 100644 src/components/PolygonLayout/Barotorpic.jsx create mode 100644 src/components/PolygonLayout/CustomFlyTo copy.jsx create mode 100644 src/components/PolygonLayout/CustomToolbar.jsx create mode 100644 src/components/PolygonLayout/Cyclone.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/ChartInfoPanel/SstAnnomary.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/ChartInfoPanel/TPTT.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/ChartInfoPanel/TripolarTemperature.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/ChartInfoPanel/index.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/TextInfoPanel/First.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/TextInfoPanel/Second.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/TextInfoPanel/Third.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/TextInfoPanel/index.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/index.jsx create mode 100644 src/components/PolygonLayout/InfoLayout/index.module.less create mode 100644 src/components/PolygonLayout/Point copy.jsx create mode 100644 src/components/PolygonLayout/Udraft.jsx create mode 100644 src/components/PolygonLayout/Watervapor.jsx diff --git a/.pnp.cjs b/.pnp.cjs index bdb9f9b..78faf36 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -38,6 +38,8 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["cesium", "npm:1.108.0"],\ ["craco-cesium", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:1.2.0"],\ ["craco-less", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.1"],\ + ["echarts", "npm:5.4.3"],\ + ["echarts-for-react", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.2"],\ ["lodash-es", "npm:4.17.21"],\ ["node-polyfill-webpack-plugin", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:2.0.1"],\ ["react", "npm:18.2.0"],\ @@ -46,6 +48,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["react-router-dom", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:6.15.0"],\ ["react-scripts", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:5.0.1"],\ ["resium", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:1.17.1"],\ + ["tslib", "npm:2.6.2"],\ ["web-vitals", "npm:2.1.4"]\ ],\ "linkType": "SOFT"\ @@ -8091,6 +8094,8 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["cesium", "npm:1.108.0"],\ ["craco-cesium", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:1.2.0"],\ ["craco-less", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.1"],\ + ["echarts", "npm:5.4.3"],\ + ["echarts-for-react", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.2"],\ ["lodash-es", "npm:4.17.21"],\ ["node-polyfill-webpack-plugin", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:2.0.1"],\ ["react", "npm:18.2.0"],\ @@ -8099,6 +8104,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["react-router-dom", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:6.15.0"],\ ["react-scripts", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:5.0.1"],\ ["resium", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:1.17.1"],\ + ["tslib", "npm:2.6.2"],\ ["web-vitals", "npm:2.1.4"]\ ],\ "linkType": "SOFT"\ @@ -9993,6 +9999,45 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["echarts", [\ + ["npm:5.4.3", {\ + "packageLocation": "./.yarn/cache/echarts-npm-5.4.3-457e482005-f4f69becf1.zip/node_modules/echarts/",\ + "packageDependencies": [\ + ["echarts", "npm:5.4.3"],\ + ["tslib", "npm:2.3.0"],\ + ["zrender", "npm:5.4.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["echarts-for-react", [\ + ["npm:3.0.2", {\ + "packageLocation": "./.yarn/cache/echarts-for-react-npm-3.0.2-1e95fef430-d3b16325be.zip/node_modules/echarts-for-react/",\ + "packageDependencies": [\ + ["echarts-for-react", "npm:3.0.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.2", {\ + "packageLocation": "./.yarn/__virtual__/echarts-for-react-virtual-17745a9d5c/0/cache/echarts-for-react-npm-3.0.2-1e95fef430-d3b16325be.zip/node_modules/echarts-for-react/",\ + "packageDependencies": [\ + ["echarts-for-react", "virtual:76695216f943c60b10b879e1e542c9b6e80910f801a5dd27c12e0d8f35738fd0876c5aa2a358adcda9729f45063a41698f56ff18e205779bc9465c19ea5a0d5c#npm:3.0.2"],\ + ["@types/echarts", null],\ + ["@types/react", null],\ + ["echarts", "npm:5.4.3"],\ + ["fast-deep-equal", "npm:3.1.3"],\ + ["react", "npm:18.2.0"],\ + ["size-sensor", "npm:1.0.2"]\ + ],\ + "packagePeers": [\ + "@types/echarts",\ + "@types/react",\ + "echarts",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["ee-first", [\ ["npm:1.1.1", {\ "packageLocation": "./.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip/node_modules/ee-first/",\ @@ -20744,6 +20789,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["size-sensor", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/cache/size-sensor-npm-1.0.2-243d2f7d26-de7050178a.zip/node_modules/size-sensor/",\ + "packageDependencies": [\ + ["size-sensor", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["slash", [\ ["npm:1.0.0", {\ "packageLocation": "./.yarn/cache/slash-npm-1.0.0-a244873c30-4b6e21b1fb.zip/node_modules/slash/",\ @@ -22059,6 +22113,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ + ["npm:2.3.0", {\ + "packageLocation": "./.yarn/cache/tslib-npm-2.3.0-277e75e108-8869694c26.zip/node_modules/tslib/",\ + "packageDependencies": [\ + ["tslib", "npm:2.3.0"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:2.6.2", {\ "packageLocation": "./.yarn/cache/tslib-npm-2.6.2-4fc8c068d9-329ea56123.zip/node_modules/tslib/",\ "packageDependencies": [\ @@ -23609,6 +23670,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }]\ + ]],\ + ["zrender", [\ + ["npm:5.4.4", {\ + "packageLocation": "./.yarn/cache/zrender-npm-5.4.4-dc4fac2b7a-4b317346af.zip/node_modules/zrender/",\ + "packageDependencies": [\ + ["zrender", "npm:5.4.4"],\ + ["tslib", "npm:2.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ ]]\ ]\ }'), {basePath: basePath || __dirname}); diff --git a/package.json b/package.json index 4767cff..2997f86 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,8 @@ "cesium": "^1.108.0", "craco-cesium": "^1.2.0", "craco-less": "^3.0.1", + "echarts": "^5.0.2", + "echarts-for-react": "^3.0.2", "lodash-es": "^4.17.21", "node-polyfill-webpack-plugin": "^2.0.1", "react": "^18.2.0", @@ -21,6 +23,7 @@ "react-router-dom": "^6.15.0", "react-scripts": "5.0.1", "resium": "^1.17.1", + "tslib": "^2.6.2", "web-vitals": "^2.1.4" }, "scripts": { diff --git a/src/components/HomeLayout/NavBar.jsx b/src/components/HomeLayout/NavBar.jsx index bc71cd9..cc69e71 100644 --- a/src/components/HomeLayout/NavBar.jsx +++ b/src/components/HomeLayout/NavBar.jsx @@ -14,6 +14,8 @@ function NavBar() { + + ); } diff --git a/src/components/HomeLayout/index.module.less b/src/components/HomeLayout/index.module.less index 4cf50f1..dfc73ca 100644 --- a/src/components/HomeLayout/index.module.less +++ b/src/components/HomeLayout/index.module.less @@ -66,11 +66,15 @@ height: 72px; padding: 0 12px; color: #fff; - display: flex; - align-items: center; - gap: 8px; + // display: flex; + // justify-content: space-evenly; + // align-items: center; + display: grid; + grid-template-columns: repeat(4, 1fr); + // grid-template-columns: repeat(auto-fit, minmax(25%, 1fr)); + grid-auto-flow: row dense; + gap: 16px 0; // justify-content: space-between; - justify-content: space-evenly; .nav-bar-button { // border: 1px solid #4096ff; diff --git a/src/components/PolygonLayout/Barotorpic.jsx b/src/components/PolygonLayout/Barotorpic.jsx new file mode 100644 index 0000000..c21d819 --- /dev/null +++ b/src/components/PolygonLayout/Barotorpic.jsx @@ -0,0 +1,30 @@ +import { + Entity, + PointGraphics, + PolylineGraphics, + useCesium, + PathGraphics, + EllipseGraphics, +} from "resium"; +import { Color, Cartesian3 } from "cesium"; + +function Barotropic() { + return ( + + + + ); +} + +export default Barotropic; diff --git a/src/components/PolygonLayout/CustomFlyTo copy.jsx b/src/components/PolygonLayout/CustomFlyTo copy.jsx new file mode 100644 index 0000000..f21c035 --- /dev/null +++ b/src/components/PolygonLayout/CustomFlyTo copy.jsx @@ -0,0 +1,60 @@ +import { Camera, useCesium } from "resium"; + +function CustomFlyTo() { + const { viewer } = useCesium(); + const { camera } = viewer; + + function cameraFlyToLine(adjustPitch) { + // 南极 + const antarcticalOptions = { + destination: Cesium.Cartesian3.fromDegrees(88, -89, 1600000), + orientation: { + heading: Cesium.Math.toRadians(15.0), + pitch: Cesium.Math.toRadians(-60), + roll: 0.0, + }, + duration: 10, + complete: function () { + setTimeout(() => { + camera.flyTo(plateauOptions); + }, 1000); + }, + }; + + // 青藏高原 + const plateauOptions = { + destination: Cesium.Cartesian3.fromDegrees(90, 20, 1600000), + duration: 10, + orientation: { + heading: Cesium.Math.toRadians(-15.0), + pitch: -Cesium.Math.PI_OVER_FOUR, + roll: 0.0, + }, + complete: function () { + setTimeout(function () { + camera.flyTo(sideViewOptions); + }, 1000); + }, + }; + + // 侧边 + const sideViewOptions = { + destination: Cesium.Cartesian3.fromDegrees(130, -10.5, 20000000), + duration: 5, + complete: () => { + viewer.clock.shouldAnimate = true; + }, + }; + + if (adjustPitch) { + antarcticalOptions.pitchAdjustHeight = 1000; + plateauOptions.pitchAdjustHeight = 1000; + sideViewOptions.pitchAdjustHeight = 1000; + } + camera.flyTo(antarcticalOptions); + } + cameraFlyToLine(); + return ; +} + +export default CustomFlyTo; diff --git a/src/components/PolygonLayout/CustomFlyTo.jsx b/src/components/PolygonLayout/CustomFlyTo.jsx index 4393136..c84678e 100644 --- a/src/components/PolygonLayout/CustomFlyTo.jsx +++ b/src/components/PolygonLayout/CustomFlyTo.jsx @@ -5,21 +5,7 @@ function CustomFlyTo() { const { camera } = viewer; function cameraFlyToLine(adjustPitch) { - const antarcticalOptions = { - destination: Cesium.Cartesian3.fromDegrees(88, -89, 1600000), - orientation: { - heading: Cesium.Math.toRadians(15.0), - pitch: Cesium.Math.toRadians(-60), - roll: 0.0, - }, - duration: 10, - complete: function () { - setTimeout(() => { - camera.flyTo(plateauOptions); - }, 1000); - }, - }; - + // 青藏高原 const plateauOptions = { destination: Cesium.Cartesian3.fromDegrees(90, 20, 1600000), duration: 10, @@ -35,8 +21,25 @@ function CustomFlyTo() { }, }; + // 拉布拉多海 + const labrador = { + destination: Cesium.Cartesian3.fromDegrees(-55, 45, 1600000), + duration: 10, + orientation: { + heading: Cesium.Math.toRadians(-15.0), + pitch: -Cesium.Math.PI_OVER_FOUR, + roll: 0.0, + }, + complete: function () { + setTimeout(function () { + camera.flyTo(plateauOptions); + }, 1000); + }, + }; + + // 侧边 const sideViewOptions = { - destination: Cesium.Cartesian3.fromDegrees(130, -10.5, 20000000), + destination: Cesium.Cartesian3.fromDegrees(-2.5, 32.5, 20000000), duration: 5, complete: () => { viewer.clock.shouldAnimate = true; @@ -44,11 +47,10 @@ function CustomFlyTo() { }; if (adjustPitch) { - antarcticalOptions.pitchAdjustHeight = 1000; plateauOptions.pitchAdjustHeight = 1000; sideViewOptions.pitchAdjustHeight = 1000; } - camera.flyTo(antarcticalOptions); + camera.flyTo(labrador); } cameraFlyToLine(); return ; diff --git a/src/components/PolygonLayout/CustomToolbar.jsx b/src/components/PolygonLayout/CustomToolbar.jsx new file mode 100644 index 0000000..fe1a8f4 --- /dev/null +++ b/src/components/PolygonLayout/CustomToolbar.jsx @@ -0,0 +1,92 @@ +import { useCesium } from "resium"; +import { useCallback, useState } from "react"; +import { useNavigate } from "react-router-dom"; +import { Select } from "antd"; +import styles from "./index.module.less"; + +function CustomToolbar() { + const { viewer } = useCesium(); + const navigate = useNavigate(); + + const [value, setValue] = useState("sideview"); + + const handleChange = (value) => { + setValue(value); + const pointEntity = viewer.entities.getById("point"); + if (!viewer) return; + if (value === "overhead") { + // 俯视 + viewer.trackedEntity = pointEntity; + const destination = pointEntity.position.getValue( + viewer.clock.currentTime + ); + if (!destination) return; + const newDestination = new Cesium.Cartesian3(); + newDestination.x = destination.x; + newDestination.y = destination.y + 13000000; + newDestination.z = destination.z; + viewer.camera.flyTo({ + destination: newDestination, + }); + } else if (value === "sideview") { + // 侧视 + // viewer.trackedEntity = pointEntity; + viewer.trackedEntity = undefined; + viewer.camera.flyTo({ + destination: Cesium.Cartesian3.fromDegrees(130, -10.5, 20000000), + }); + } else { + // 跟随mftata + viewer.trackedEntity = pointEntity; + const destination = pointEntity.position.getValue( + viewer.clock.currentTimes + ); + if (!destination) return; + const newDestination = Cesium.Cartesian3.clone(destination); + newDestination.y = destination.y + 1000000; + viewer.camera.flyTo({ + destination: newDestination, + orientation: { + heading: Cesium.Math.toRadians(0.0), + pitch: -Cesium.Math.PI_OVER_FOUR, + roll: 0.0, + }, + duration: 0, + }); + } + }; + + const navigateHandler = useCallback(() => { + navigate("/home", { replace: true }); + }, [navigate]); + + return ( +
+
+ 返回首页 +
+ node} - options={[ - // { - // value: "overhead", - // label: "俯视视角", - // }, - { - value: "sideview", - label: "侧视视角", - }, - { - value: "follow", - label: "跟随视角", - }, - ]} - /> -
- { - // if ((viewer.trackedEntity = undefined)) - setValue("follow"); - }} - ref={entityRef} - availability={ - new Cesium.TimeIntervalCollection([ - new Cesium.TimeInterval({ - start: start, - stop: stop, - }), - ]) - } - id={"move"} - position={property} - // 朝向 - orientation={new Cesium.VelocityOrientationProperty(property)} - path={{ - resolution: 1, - material: new Cesium.PolylineGlowMaterialProperty({ - glowPower: 0.1, - color: Cesium.Color.YELLOW, + - - - + ]) + } + orientation={new Cesium.VelocityOrientationProperty(property)} + path={{ + resolution: 1, + material: new Cesium.PolylineDashMaterialProperty({ + dashLength: 20, + color: new Cesium.Color(4 / 255, 251 / 255, 253 / 255), + }), + // leadTime、trailTime 不设置 path全显示 + leadTime: 0, // 设置为0时 模型通过后显示path + // trailTime: 0, // 设置为0时 模型通过后隐藏path + width: 2, + }} + > + + ); } diff --git a/src/components/PolygonLayout/Udraft.jsx b/src/components/PolygonLayout/Udraft.jsx new file mode 100644 index 0000000..4304ee5 --- /dev/null +++ b/src/components/PolygonLayout/Udraft.jsx @@ -0,0 +1,18 @@ +import { Entity, PolylineGraphics } from "resium"; +import { Cartesian3 } from "cesium"; + +function Updraft() { + return ( + + + + ); +} + +export default Updraft; diff --git a/src/components/PolygonLayout/Watervapor.jsx b/src/components/PolygonLayout/Watervapor.jsx new file mode 100644 index 0000000..bfdc6e9 --- /dev/null +++ b/src/components/PolygonLayout/Watervapor.jsx @@ -0,0 +1,33 @@ +import { + Entity, + PointGraphics, + PolylineGraphics, + useCesium, + PathGraphics, + EllipseGraphics, +} from "resium"; +import { Color, Cartesian3 } from "cesium"; +import { Fragment } from "react"; + +function Watervapor() { + return ( + + + + + + ); +} + +export default Watervapor; diff --git a/src/components/PolygonLayout/WavePoint.jsx b/src/components/PolygonLayout/WavePoint.jsx index 1cf2e8e..68b0e9d 100644 --- a/src/components/PolygonLayout/WavePoint.jsx +++ b/src/components/PolygonLayout/WavePoint.jsx @@ -42,6 +42,7 @@ function WavePoint({ const point1 = ( + {/* */} + + + + {/* */} + + + ); } diff --git a/src/components/PolygonLayout/index.module.less b/src/components/PolygonLayout/index.module.less index 041508b..5ff6df1 100644 --- a/src/components/PolygonLayout/index.module.less +++ b/src/components/PolygonLayout/index.module.less @@ -1,4 +1,6 @@ .cesiumContainer :global { + pointer-events: auto; + .cesium-viewer { .cesium-viewer-bottom { display: none; diff --git a/yarn.lock b/yarn.lock index 4034285..e19f3e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5474,6 +5474,8 @@ __metadata: cesium: ^1.108.0 craco-cesium: ^1.2.0 craco-less: ^3.0.1 + echarts: ^5.0.2 + echarts-for-react: ^3.0.2 lodash-es: ^4.17.21 node-polyfill-webpack-plugin: ^2.0.1 react: ^18.2.0 @@ -5482,6 +5484,7 @@ __metadata: react-router-dom: ^6.15.0 react-scripts: 5.0.1 resium: ^1.17.1 + tslib: ^2.6.2 web-vitals: ^2.1.4 languageName: unknown linkType: soft @@ -7018,6 +7021,29 @@ __metadata: languageName: node linkType: hard +"echarts-for-react@npm:^3.0.2": + version: 3.0.2 + resolution: "echarts-for-react@npm:3.0.2" + dependencies: + fast-deep-equal: ^3.1.3 + size-sensor: ^1.0.1 + peerDependencies: + echarts: ^3.0.0 || ^4.0.0 || ^5.0.0 + react: ^15.0.0 || >=16.0.0 + checksum: d3b16325befb1294d99f6f089462415be739c1654370945eef2172efd5868596f10e4cd021e0ff65b89a6f9de5e9c331ccf3765d9167ccb12d573f9632b5b7a6 + languageName: node + linkType: hard + +"echarts@npm:^5.0.2": + version: 5.4.3 + resolution: "echarts@npm:5.4.3" + dependencies: + tslib: 2.3.0 + zrender: 5.4.4 + checksum: f4f69becf1cf8f546f9488ffa3bffaa971dcfbd49f5d635f288cbc8c5177839154bd6c325d6ed72c2b822c89c9bba4947ac73400614fd23c6f2f7ace3c939132 + languageName: node + linkType: hard + "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -15382,6 +15408,13 @@ __metadata: languageName: node linkType: hard +"size-sensor@npm:^1.0.1": + version: 1.0.2 + resolution: "size-sensor@npm:1.0.2" + checksum: de7050178ae9afee3388eb9191af0902b30ef83c26e8c9d9c203e1b560e270b947d978e4f56d211802112d09ef296931fa612f69155a483900f3b4717a0750d7 + languageName: node + linkType: hard + "slash@npm:^1.0.0": version: 1.0.0 resolution: "slash@npm:1.0.0" @@ -16518,6 +16551,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:2.3.0": + version: 2.3.0 + resolution: "tslib@npm:2.3.0" + checksum: 8869694c26e4a7b56d449662fd54a4f9ba872c889d991202c74462bd99f10e61d5bd63199566c4284c0f742277736292a969642cc7b590f98727a7cae9529122 + languageName: node + linkType: hard + "tslib@npm:^1.8.1": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -16525,7 +16565,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.3, tslib@npm:^2.3.0, tslib@npm:^2.4.1": +"tslib@npm:^2.0.3, tslib@npm:^2.3.0, tslib@npm:^2.4.1, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad @@ -17844,3 +17884,12 @@ __metadata: checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 languageName: node linkType: hard + +"zrender@npm:5.4.4": + version: 5.4.4 + resolution: "zrender@npm:5.4.4" + dependencies: + tslib: 2.3.0 + checksum: 4b317346af8eca38e62ba029239c3a13e97eac4fa15b3ddadbae23442d8b373f0e937c255dee8080d6bb2fc79c9da54f1106415586ed8942bd8bc684b3890ea9 + languageName: node + linkType: hard