create-swdg-frontend 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/bin/index.js +248 -0
- package/package.json +29 -0
- package/template/.husky/commit-msg +42 -0
- package/template/.husky/pre-commit +2 -0
- package/template/.husky/prepare-commit-msg +1 -0
- package/template/.lintstagedrc +5 -0
- package/template/.prettierignore +26 -0
- package/template/.prettierrc.cjs +10 -0
- package/template/.stylelintignore +1 -0
- package/template/.stylelintrc.json +6 -0
- package/template/README.md +36 -0
- package/template/commitlint.config.cjs +64 -0
- package/template/eslint.config.js +96 -0
- package/template/index.html +17 -0
- package/template/interface/user.ts +5 -0
- package/template/package.json +84 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +438 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1012 -0
- package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/pin.svg +1 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +10924 -0
- package/template/public/Cesium1.119/Cesium.js +185772 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/package.json +3 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +1681 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +1489 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +1070 -0
- package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +11424 -0
- package/template/public/Cesium1.119/Widgets/Animation/Animation.css +127 -0
- package/template/public/Cesium1.119/Widgets/Animation/lighter.css +78 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +112 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +28 -0
- package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +104 -0
- package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +115 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +14 -0
- package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +72 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +17 -0
- package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +94 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +95 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +46 -0
- package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +72 -0
- package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +22 -0
- package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +103 -0
- package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +18 -0
- package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +107 -0
- package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +18 -0
- package/template/public/Cesium1.119/Widgets/lighter.css +246 -0
- package/template/public/Cesium1.119/Widgets/lighterShared.css +46 -0
- package/template/public/Cesium1.119/Widgets/shared.css +103 -0
- package/template/public/Cesium1.119/Widgets/widgets.css +1376 -0
- package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +611 -0
- package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +166 -0
- package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +264 -0
- package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +128 -0
- package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +8046 -0
- package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +341 -0
- package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +269 -0
- package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +199 -0
- package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +1102 -0
- package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +485 -0
- package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +76 -0
- package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +91 -0
- package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +42 -0
- package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +2678 -0
- package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +516 -0
- package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +399 -0
- package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +65 -0
- package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +92 -0
- package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +672 -0
- package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +287 -0
- package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +50 -0
- package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +124 -0
- package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +31 -0
- package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +331 -0
- package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +258 -0
- package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +773 -0
- package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +857 -0
- package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +183 -0
- package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +85 -0
- package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +108 -0
- package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +2372 -0
- package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +538 -0
- package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +1670 -0
- package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +392 -0
- package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +57 -0
- package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +72 -0
- package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +37 -0
- package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +814 -0
- package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +579 -0
- package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +376 -0
- package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +111 -0
- package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +573 -0
- package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +633 -0
- package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +271 -0
- package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +173 -0
- package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +217 -0
- package/template/public/Cesium1.119/Workers/combineGeometry.js +53 -0
- package/template/public/Cesium1.119/Workers/createBoxGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +189 -0
- package/template/public/Cesium1.119/Workers/createCircleGeometry.js +148 -0
- package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +105 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +293 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +143 -0
- package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +830 -0
- package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +417 -0
- package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +47 -0
- package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +170 -0
- package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +58 -0
- package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +51 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +46 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +164 -0
- package/template/public/Cesium1.119/Workers/createGeometry.js +159 -0
- package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +911 -0
- package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +185 -0
- package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +93 -0
- package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +884 -0
- package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +359 -0
- package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +349 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +262 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +177 -0
- package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +787 -0
- package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +299 -0
- package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +294 -0
- package/template/public/Cesium1.119/Workers/createSphereGeometry.js +84 -0
- package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +83 -0
- package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +28 -0
- package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +289 -0
- package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +258 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +79 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +275 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +176 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +375 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +1772 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +425 -0
- package/template/public/Cesium1.119/Workers/createWallGeometry.js +320 -0
- package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +229 -0
- package/template/public/Cesium1.119/Workers/decodeDraco.js +227 -0
- package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +1836 -0
- package/template/public/Cesium1.119/Workers/decodeI3S.js +924 -0
- package/template/public/Cesium1.119/Workers/transcodeKTX2.js +3180 -0
- package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +34 -0
- package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +534 -0
- package/template/public/Cesium1.119/index.cjs +185632 -0
- package/template/public/Cesium1.119/index.js +182874 -0
- package/template/public/vite.svg +1 -0
- package/template/scripts/gen-api.cjs +178 -0
- package/template/src/App.vue +6 -0
- package/template/src/api/README.md +3 -0
- package/template/src/assets/favicon.svg +49 -0
- package/template/src/components/Body/index.vue +16 -0
- package/template/src/components/Header/index.vue +8 -0
- package/template/src/directive/focus.ts +9 -0
- package/template/src/layout/BasicLayout.vue +28 -0
- package/template/src/main.ts +33 -0
- package/template/src/router/index.ts +24 -0
- package/template/src/stores/README.md +3 -0
- package/template/src/stores/useCounter.ts +12 -0
- package/template/src/styles/alerts.less +85 -0
- package/template/src/styles/global.css +326 -0
- package/template/src/utils/alert.ts +58 -0
- package/template/src/utils/components.ts +21 -0
- package/template/src/utils/composables/useAlert.ts +14 -0
- package/template/src/views/Test/index.vue +23 -0
- package/template/src/views/index.vue +9 -0
- package/template/src/vite-env.d.ts +1 -0
- package/template/swdg/bin/index.js +23 -0
- package/template/swdg/package.json +27 -0
- package/template/tests/README.md +6 -0
- package/template/tests/e2e/README.md +3 -0
- package/template/tests/setup.ts +1 -0
- package/template/tests/unit/example.test.ts +7 -0
- package/template/tests/utils/helpers.ts +1 -0
- package/template/tsconfig.json +51 -0
- package/template/tsconfig.node.json +11 -0
- package/template/types/README.md +3 -0
- package/template/types/global.d.ts +9 -0
- package/template/vite.config.ts +75 -0
- package/template/vitest.config.ts +9 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import { a as x } from "./chunk-PXCJYT2S.js";
|
|
27
|
+
import { a as w } from "./chunk-ABGXSJNX.js";
|
|
28
|
+
import { h as c } from "./chunk-7Z5IIKOJ.js";
|
|
29
|
+
import "./chunk-KZNJOCYU.js";
|
|
30
|
+
import { a as h, b as l, d as p } from "./chunk-POASMU2N.js";
|
|
31
|
+
import { a as i } from "./chunk-R6KGAEF6.js";
|
|
32
|
+
import "./chunk-3C7WC463.js";
|
|
33
|
+
import "./chunk-II4VNKYR.js";
|
|
34
|
+
import "./chunk-IUA6FAOZ.js";
|
|
35
|
+
import "./chunk-UH2WFNTA.js";
|
|
36
|
+
import "./chunk-PEYJTJPE.js";
|
|
37
|
+
var u = 32767,
|
|
38
|
+
F = new l(),
|
|
39
|
+
L = new h(),
|
|
40
|
+
b = new c(),
|
|
41
|
+
y = new p(),
|
|
42
|
+
a = { min: void 0, max: void 0 };
|
|
43
|
+
function V(t) {
|
|
44
|
+
t = new Float64Array(t);
|
|
45
|
+
let o = 0;
|
|
46
|
+
((a.min = t[o++]),
|
|
47
|
+
(a.max = t[o++]),
|
|
48
|
+
c.unpack(t, o, b),
|
|
49
|
+
(o += c.packedLength),
|
|
50
|
+
p.unpack(t, o, y));
|
|
51
|
+
}
|
|
52
|
+
function z(t, o) {
|
|
53
|
+
let s = new Uint16Array(t.positions);
|
|
54
|
+
V(t.packedBuffer);
|
|
55
|
+
let e = b,
|
|
56
|
+
C = y,
|
|
57
|
+
A = a.min,
|
|
58
|
+
P = a.max,
|
|
59
|
+
n = s.length / 3,
|
|
60
|
+
f = s.subarray(0, n),
|
|
61
|
+
g = s.subarray(n, 2 * n),
|
|
62
|
+
d = s.subarray(2 * n, 3 * n);
|
|
63
|
+
w.zigZagDeltaDecode(f, g, d);
|
|
64
|
+
let m = new Float64Array(s.length);
|
|
65
|
+
for (let r = 0; r < n; ++r) {
|
|
66
|
+
let k = f[r],
|
|
67
|
+
E = g[r],
|
|
68
|
+
H = d[r],
|
|
69
|
+
M = i.lerp(e.west, e.east, k / u),
|
|
70
|
+
R = i.lerp(e.south, e.north, E / u),
|
|
71
|
+
T = i.lerp(A, P, H / u),
|
|
72
|
+
v = l.fromRadians(M, R, T, F),
|
|
73
|
+
D = C.cartographicToCartesian(v, L);
|
|
74
|
+
h.pack(D, m, r * 3);
|
|
75
|
+
}
|
|
76
|
+
return (o.push(m.buffer), { positions: m.buffer });
|
|
77
|
+
}
|
|
78
|
+
var G = x(z);
|
|
79
|
+
export { G as default };
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import { a as R } from "./chunk-V7JEDBOE.js";
|
|
27
|
+
import { a as It } from "./chunk-PXCJYT2S.js";
|
|
28
|
+
import { a as M } from "./chunk-Q6L7X3LP.js";
|
|
29
|
+
import { a as bt } from "./chunk-ABGXSJNX.js";
|
|
30
|
+
import "./chunk-KF5NF354.js";
|
|
31
|
+
import "./chunk-4WRMLZA7.js";
|
|
32
|
+
import "./chunk-TAMCUKAR.js";
|
|
33
|
+
import "./chunk-PDMQLSBL.js";
|
|
34
|
+
import { a as W } from "./chunk-P37AI2DW.js";
|
|
35
|
+
import "./chunk-TMSETF7M.js";
|
|
36
|
+
import { h as z } from "./chunk-7Z5IIKOJ.js";
|
|
37
|
+
import "./chunk-KZNJOCYU.js";
|
|
38
|
+
import { a as o, b as nt, d as j } from "./chunk-POASMU2N.js";
|
|
39
|
+
import { a as et } from "./chunk-R6KGAEF6.js";
|
|
40
|
+
import "./chunk-3C7WC463.js";
|
|
41
|
+
import "./chunk-II4VNKYR.js";
|
|
42
|
+
import "./chunk-IUA6FAOZ.js";
|
|
43
|
+
import "./chunk-UH2WFNTA.js";
|
|
44
|
+
import { e as A } from "./chunk-PEYJTJPE.js";
|
|
45
|
+
var kt = new o(),
|
|
46
|
+
Bt = new j(),
|
|
47
|
+
Nt = new z(),
|
|
48
|
+
E = { min: void 0, max: void 0, indexBytesPerElement: void 0 };
|
|
49
|
+
function Pt(s) {
|
|
50
|
+
let u = new Float64Array(s),
|
|
51
|
+
n = 0;
|
|
52
|
+
((E.indexBytesPerElement = u[n++]),
|
|
53
|
+
(E.min = u[n++]),
|
|
54
|
+
(E.max = u[n++]),
|
|
55
|
+
o.unpack(u, n, kt),
|
|
56
|
+
(n += o.packedLength),
|
|
57
|
+
j.unpack(u, n, Bt),
|
|
58
|
+
(n += j.packedLength),
|
|
59
|
+
z.unpack(u, n, Nt));
|
|
60
|
+
}
|
|
61
|
+
function Tt(s) {
|
|
62
|
+
let u = s.length,
|
|
63
|
+
n = 0;
|
|
64
|
+
for (let y = 0; y < u; ++y) n += R.packedLength + 3 + s[y].batchIds.length;
|
|
65
|
+
return n;
|
|
66
|
+
}
|
|
67
|
+
function Ct(s, u, n) {
|
|
68
|
+
let y = u.length,
|
|
69
|
+
O = 2 + y * M.packedLength + 1 + Tt(n),
|
|
70
|
+
c = new Float64Array(O),
|
|
71
|
+
i = 0;
|
|
72
|
+
((c[i++] = s), (c[i++] = y));
|
|
73
|
+
for (let x = 0; x < y; ++x) (M.pack(u[x], c, i), (i += M.packedLength));
|
|
74
|
+
let V = n.length;
|
|
75
|
+
c[i++] = V;
|
|
76
|
+
for (let x = 0; x < V; ++x) {
|
|
77
|
+
let B = n[x];
|
|
78
|
+
(R.pack(B.color, c, i),
|
|
79
|
+
(i += R.packedLength),
|
|
80
|
+
(c[i++] = B.offset),
|
|
81
|
+
(c[i++] = B.count));
|
|
82
|
+
let P = B.batchIds,
|
|
83
|
+
w = P.length;
|
|
84
|
+
c[i++] = w;
|
|
85
|
+
for (let h = 0; h < w; ++h) c[i++] = P[h];
|
|
86
|
+
}
|
|
87
|
+
return c;
|
|
88
|
+
}
|
|
89
|
+
var yt = 32767,
|
|
90
|
+
wt = new o(),
|
|
91
|
+
Ht = new o(),
|
|
92
|
+
St = new o(),
|
|
93
|
+
Ut = new o(),
|
|
94
|
+
Ft = new o(),
|
|
95
|
+
Lt = new nt(),
|
|
96
|
+
Mt = new z();
|
|
97
|
+
function Rt(s, u) {
|
|
98
|
+
Pt(s.packedBuffer);
|
|
99
|
+
let n;
|
|
100
|
+
E.indexBytesPerElement === 2
|
|
101
|
+
? (n = new Uint16Array(s.indices))
|
|
102
|
+
: (n = new Uint32Array(s.indices));
|
|
103
|
+
let O = new Uint16Array(s.positions),
|
|
104
|
+
c = new Uint32Array(s.counts),
|
|
105
|
+
i = new Uint32Array(s.indexCounts),
|
|
106
|
+
V = new Uint32Array(s.batchIds),
|
|
107
|
+
x = new Uint32Array(s.batchTableColors),
|
|
108
|
+
B = new Array(c.length),
|
|
109
|
+
P = kt,
|
|
110
|
+
w = Bt,
|
|
111
|
+
h = Nt,
|
|
112
|
+
ot = E.min,
|
|
113
|
+
st = E.max,
|
|
114
|
+
T = s.minimumHeights,
|
|
115
|
+
C = s.maximumHeights;
|
|
116
|
+
A(T) && A(C) && ((T = new Float32Array(T)), (C = new Float32Array(C)));
|
|
117
|
+
let t,
|
|
118
|
+
f,
|
|
119
|
+
l,
|
|
120
|
+
N = O.length / 2,
|
|
121
|
+
ct = O.subarray(0, N),
|
|
122
|
+
it = O.subarray(N, 2 * N);
|
|
123
|
+
bt.zigZagDeltaDecode(ct, it);
|
|
124
|
+
let rt = new Float64Array(N * 3);
|
|
125
|
+
for (t = 0; t < N; ++t) {
|
|
126
|
+
let e = ct[t],
|
|
127
|
+
p = it[t],
|
|
128
|
+
L = et.lerp(h.west, h.east, e / yt),
|
|
129
|
+
k = et.lerp(h.south, h.north, p / yt),
|
|
130
|
+
b = nt.fromRadians(L, k, 0, Lt),
|
|
131
|
+
Y = w.cartographicToCartesian(b, wt);
|
|
132
|
+
o.pack(Y, rt, t * 3);
|
|
133
|
+
}
|
|
134
|
+
let H = c.length,
|
|
135
|
+
at = new Array(H),
|
|
136
|
+
Z = new Array(H),
|
|
137
|
+
ft = 0,
|
|
138
|
+
lt = 0;
|
|
139
|
+
for (t = 0; t < H; ++t)
|
|
140
|
+
((at[t] = ft), (Z[t] = lt), (ft += c[t]), (lt += i[t]));
|
|
141
|
+
let S = new Float32Array(N * 3 * 2),
|
|
142
|
+
_ = new Uint16Array(N * 2),
|
|
143
|
+
D = new Uint32Array(Z.length),
|
|
144
|
+
G = new Uint32Array(i.length),
|
|
145
|
+
r = [],
|
|
146
|
+
g = {};
|
|
147
|
+
for (t = 0; t < H; ++t)
|
|
148
|
+
((l = x[t]),
|
|
149
|
+
A(g[l])
|
|
150
|
+
? ((g[l].positionLength += c[t]),
|
|
151
|
+
(g[l].indexLength += i[t]),
|
|
152
|
+
g[l].batchIds.push(t))
|
|
153
|
+
: (g[l] = {
|
|
154
|
+
positionLength: c[t],
|
|
155
|
+
indexLength: i[t],
|
|
156
|
+
offset: 0,
|
|
157
|
+
indexOffset: 0,
|
|
158
|
+
batchIds: [t],
|
|
159
|
+
}));
|
|
160
|
+
let a,
|
|
161
|
+
dt = 0,
|
|
162
|
+
ht = 0;
|
|
163
|
+
for (l in g)
|
|
164
|
+
if (g.hasOwnProperty(l)) {
|
|
165
|
+
((a = g[l]), (a.offset = dt), (a.indexOffset = ht));
|
|
166
|
+
let e = a.positionLength * 2,
|
|
167
|
+
p = a.indexLength * 2 + a.positionLength * 6;
|
|
168
|
+
((dt += e), (ht += p), (a.indexLength = p));
|
|
169
|
+
}
|
|
170
|
+
let U = [];
|
|
171
|
+
for (l in g)
|
|
172
|
+
g.hasOwnProperty(l) &&
|
|
173
|
+
((a = g[l]),
|
|
174
|
+
U.push({
|
|
175
|
+
color: R.fromRgba(parseInt(l)),
|
|
176
|
+
offset: a.indexOffset,
|
|
177
|
+
count: a.indexLength,
|
|
178
|
+
batchIds: a.batchIds,
|
|
179
|
+
}));
|
|
180
|
+
for (t = 0; t < H; ++t) {
|
|
181
|
+
((l = x[t]), (a = g[l]));
|
|
182
|
+
let e = a.offset,
|
|
183
|
+
p = e * 3,
|
|
184
|
+
L = e,
|
|
185
|
+
k = at[t],
|
|
186
|
+
b = c[t],
|
|
187
|
+
Y = V[t],
|
|
188
|
+
mt = ot,
|
|
189
|
+
gt = st;
|
|
190
|
+
A(T) && A(C) && ((mt = T[t]), (gt = C[t]));
|
|
191
|
+
let q = Number.POSITIVE_INFINITY,
|
|
192
|
+
J = Number.NEGATIVE_INFINITY,
|
|
193
|
+
K = Number.POSITIVE_INFINITY,
|
|
194
|
+
Q = Number.NEGATIVE_INFINITY;
|
|
195
|
+
for (f = 0; f < b; ++f) {
|
|
196
|
+
let m = o.unpack(rt, k * 3 + f * 3, wt);
|
|
197
|
+
w.scaleToGeodeticSurface(m, m);
|
|
198
|
+
let I = w.cartesianToCartographic(m, Lt),
|
|
199
|
+
F = I.latitude,
|
|
200
|
+
pt = I.longitude;
|
|
201
|
+
((q = Math.min(F, q)),
|
|
202
|
+
(J = Math.max(F, J)),
|
|
203
|
+
(K = Math.min(pt, K)),
|
|
204
|
+
(Q = Math.max(pt, Q)));
|
|
205
|
+
let xt = w.geodeticSurfaceNormal(m, Ht),
|
|
206
|
+
v = o.multiplyByScalar(xt, mt, St),
|
|
207
|
+
$ = o.add(m, v, Ut);
|
|
208
|
+
v = o.multiplyByScalar(xt, gt, v);
|
|
209
|
+
let tt = o.add(m, v, Ft);
|
|
210
|
+
(o.subtract(tt, P, tt),
|
|
211
|
+
o.subtract($, P, $),
|
|
212
|
+
o.pack(tt, S, p),
|
|
213
|
+
o.pack($, S, p + 3),
|
|
214
|
+
(_[L] = Y),
|
|
215
|
+
(_[L + 1] = Y),
|
|
216
|
+
(p += 6),
|
|
217
|
+
(L += 2));
|
|
218
|
+
}
|
|
219
|
+
((h = Mt),
|
|
220
|
+
(h.west = K),
|
|
221
|
+
(h.east = Q),
|
|
222
|
+
(h.south = q),
|
|
223
|
+
(h.north = J),
|
|
224
|
+
(B[t] = M.fromRectangle(h, ot, st, w)));
|
|
225
|
+
let d = a.indexOffset,
|
|
226
|
+
X = Z[t],
|
|
227
|
+
Ot = i[t];
|
|
228
|
+
for (D[t] = d, f = 0; f < Ot; f += 3) {
|
|
229
|
+
let m = n[X + f] - k,
|
|
230
|
+
I = n[X + f + 1] - k,
|
|
231
|
+
F = n[X + f + 2] - k;
|
|
232
|
+
((r[d++] = m * 2 + e),
|
|
233
|
+
(r[d++] = I * 2 + e),
|
|
234
|
+
(r[d++] = F * 2 + e),
|
|
235
|
+
(r[d++] = F * 2 + 1 + e),
|
|
236
|
+
(r[d++] = I * 2 + 1 + e),
|
|
237
|
+
(r[d++] = m * 2 + 1 + e));
|
|
238
|
+
}
|
|
239
|
+
for (f = 0; f < b; ++f) {
|
|
240
|
+
let m = f,
|
|
241
|
+
I = (f + 1) % b;
|
|
242
|
+
((r[d++] = m * 2 + 1 + e),
|
|
243
|
+
(r[d++] = I * 2 + e),
|
|
244
|
+
(r[d++] = m * 2 + e),
|
|
245
|
+
(r[d++] = m * 2 + 1 + e),
|
|
246
|
+
(r[d++] = I * 2 + 1 + e),
|
|
247
|
+
(r[d++] = I * 2 + e));
|
|
248
|
+
}
|
|
249
|
+
((a.offset += b * 2), (a.indexOffset = d), (G[t] = d - D[t]));
|
|
250
|
+
}
|
|
251
|
+
r = W.createTypedArray(S.length / 3, r);
|
|
252
|
+
let At = U.length;
|
|
253
|
+
for (let e = 0; e < At; ++e) {
|
|
254
|
+
let p = U[e].batchIds,
|
|
255
|
+
L = 0,
|
|
256
|
+
k = p.length;
|
|
257
|
+
for (let b = 0; b < k; ++b) L += G[p[b]];
|
|
258
|
+
U[e].count = L;
|
|
259
|
+
}
|
|
260
|
+
let Et = r.BYTES_PER_ELEMENT === 2 ? W.UNSIGNED_SHORT : W.UNSIGNED_INT,
|
|
261
|
+
ut = Ct(Et, B, U);
|
|
262
|
+
return (
|
|
263
|
+
u.push(S.buffer, r.buffer, D.buffer, G.buffer, _.buffer, ut.buffer),
|
|
264
|
+
{
|
|
265
|
+
positions: S.buffer,
|
|
266
|
+
indices: r.buffer,
|
|
267
|
+
indexOffsets: D.buffer,
|
|
268
|
+
indexCounts: G.buffer,
|
|
269
|
+
batchIds: _.buffer,
|
|
270
|
+
packedBuffer: ut.buffer,
|
|
271
|
+
}
|
|
272
|
+
);
|
|
273
|
+
}
|
|
274
|
+
var Jt = It(Rt);
|
|
275
|
+
export { Jt as default };
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import { a as K } from "./chunk-PXCJYT2S.js";
|
|
27
|
+
import { a as G } from "./chunk-ABGXSJNX.js";
|
|
28
|
+
import { a as S } from "./chunk-P37AI2DW.js";
|
|
29
|
+
import { c as B, h as R } from "./chunk-7Z5IIKOJ.js";
|
|
30
|
+
import "./chunk-KZNJOCYU.js";
|
|
31
|
+
import { a as t, b as _, d as L } from "./chunk-POASMU2N.js";
|
|
32
|
+
import { a as F } from "./chunk-R6KGAEF6.js";
|
|
33
|
+
import "./chunk-3C7WC463.js";
|
|
34
|
+
import "./chunk-II4VNKYR.js";
|
|
35
|
+
import "./chunk-IUA6FAOZ.js";
|
|
36
|
+
import "./chunk-UH2WFNTA.js";
|
|
37
|
+
import "./chunk-PEYJTJPE.js";
|
|
38
|
+
var O = 32767,
|
|
39
|
+
ct = new _(),
|
|
40
|
+
rt = new t();
|
|
41
|
+
function it(n, o, p, m, s) {
|
|
42
|
+
let d = n.length / 3,
|
|
43
|
+
U = n.subarray(0, d),
|
|
44
|
+
v = n.subarray(d, 2 * d),
|
|
45
|
+
P = n.subarray(2 * d, 3 * d);
|
|
46
|
+
G.zigZagDeltaDecode(U, v, P);
|
|
47
|
+
let D = new Float64Array(n.length);
|
|
48
|
+
for (let u = 0; u < d; ++u) {
|
|
49
|
+
let e = U[u],
|
|
50
|
+
A = v[u],
|
|
51
|
+
l = P[u],
|
|
52
|
+
k = F.lerp(o.west, o.east, e / O),
|
|
53
|
+
I = F.lerp(o.south, o.north, A / O),
|
|
54
|
+
E = F.lerp(p, m, l / O),
|
|
55
|
+
g = _.fromRadians(k, I, E, ct),
|
|
56
|
+
C = s.cartographicToCartesian(g, rt);
|
|
57
|
+
t.pack(C, D, u * 3);
|
|
58
|
+
}
|
|
59
|
+
return D;
|
|
60
|
+
}
|
|
61
|
+
var Y = it;
|
|
62
|
+
var X = new R(),
|
|
63
|
+
$ = new L(),
|
|
64
|
+
j = new t(),
|
|
65
|
+
H = { min: void 0, max: void 0 };
|
|
66
|
+
function at(n) {
|
|
67
|
+
n = new Float64Array(n);
|
|
68
|
+
let o = 0;
|
|
69
|
+
((H.min = n[o++]),
|
|
70
|
+
(H.max = n[o++]),
|
|
71
|
+
R.unpack(n, o, X),
|
|
72
|
+
(o += R.packedLength),
|
|
73
|
+
L.unpack(n, o, $),
|
|
74
|
+
(o += L.packedLength),
|
|
75
|
+
t.unpack(n, o, j));
|
|
76
|
+
}
|
|
77
|
+
function ft(n) {
|
|
78
|
+
let o = n.length,
|
|
79
|
+
p = new Uint32Array(o + 1),
|
|
80
|
+
m = 0;
|
|
81
|
+
for (let s = 0; s < o; ++s) ((p[s] = m), (m += n[s]));
|
|
82
|
+
return ((p[o] = m), p);
|
|
83
|
+
}
|
|
84
|
+
var Z = new t(),
|
|
85
|
+
q = new t(),
|
|
86
|
+
J = new t(),
|
|
87
|
+
dt = new t(),
|
|
88
|
+
Q = new t();
|
|
89
|
+
function ut(n, o) {
|
|
90
|
+
let p = new Uint16Array(n.positions),
|
|
91
|
+
m = new Uint16Array(n.widths),
|
|
92
|
+
s = new Uint32Array(n.counts),
|
|
93
|
+
d = new Uint16Array(n.batchIds);
|
|
94
|
+
at(n.packedBuffer);
|
|
95
|
+
let U = X,
|
|
96
|
+
v = $,
|
|
97
|
+
P = j,
|
|
98
|
+
D = H.min,
|
|
99
|
+
u = H.max,
|
|
100
|
+
e = Y(p, U, D, u, v),
|
|
101
|
+
A = e.length / 3,
|
|
102
|
+
l = A * 4 - 4,
|
|
103
|
+
k = new Float32Array(l * 3),
|
|
104
|
+
I = new Float32Array(l * 3),
|
|
105
|
+
E = new Float32Array(l * 3),
|
|
106
|
+
g = new Float32Array(l * 2),
|
|
107
|
+
C = new Uint16Array(l),
|
|
108
|
+
N = 0,
|
|
109
|
+
z = 0,
|
|
110
|
+
tt = 0,
|
|
111
|
+
r,
|
|
112
|
+
h = 0,
|
|
113
|
+
M = s.length;
|
|
114
|
+
for (r = 0; r < M; ++r) {
|
|
115
|
+
let a = s[r],
|
|
116
|
+
nt = m[r],
|
|
117
|
+
ot = d[r];
|
|
118
|
+
for (let f = 0; f < a; ++f) {
|
|
119
|
+
let w;
|
|
120
|
+
if (f === 0) {
|
|
121
|
+
let c = t.unpack(e, h * 3, Z),
|
|
122
|
+
T = t.unpack(e, (h + 1) * 3, q);
|
|
123
|
+
((w = t.subtract(c, T, J)), t.add(c, w, w));
|
|
124
|
+
} else w = t.unpack(e, (h + f - 1) * 3, J);
|
|
125
|
+
let W = t.unpack(e, (h + f) * 3, dt),
|
|
126
|
+
x;
|
|
127
|
+
if (f === a - 1) {
|
|
128
|
+
let c = t.unpack(e, (h + a - 1) * 3, Z),
|
|
129
|
+
T = t.unpack(e, (h + a - 2) * 3, q);
|
|
130
|
+
((x = t.subtract(c, T, Q)), t.add(c, x, x));
|
|
131
|
+
} else x = t.unpack(e, (h + f + 1) * 3, Q);
|
|
132
|
+
(t.subtract(w, P, w), t.subtract(W, P, W), t.subtract(x, P, x));
|
|
133
|
+
let et = f === 0 ? 2 : 0,
|
|
134
|
+
st = f === a - 1 ? 2 : 4;
|
|
135
|
+
for (let c = et; c < st; ++c) {
|
|
136
|
+
(t.pack(W, k, N), t.pack(w, I, N), t.pack(x, E, N), (N += 3));
|
|
137
|
+
let T = c - 2 < 0 ? -1 : 1;
|
|
138
|
+
((g[z++] = 2 * (c % 2) - 1), (g[z++] = T * nt), (C[tt++] = ot));
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
h += a;
|
|
142
|
+
}
|
|
143
|
+
let i = S.createTypedArray(l, A * 6 - 6),
|
|
144
|
+
b = 0,
|
|
145
|
+
y = 0;
|
|
146
|
+
for (M = A - 1, r = 0; r < M; ++r)
|
|
147
|
+
((i[y++] = b),
|
|
148
|
+
(i[y++] = b + 2),
|
|
149
|
+
(i[y++] = b + 1),
|
|
150
|
+
(i[y++] = b + 1),
|
|
151
|
+
(i[y++] = b + 2),
|
|
152
|
+
(i[y++] = b + 3),
|
|
153
|
+
(b += 4));
|
|
154
|
+
(o.push(k.buffer, I.buffer, E.buffer), o.push(g.buffer, C.buffer, i.buffer));
|
|
155
|
+
let V = {
|
|
156
|
+
indexDatatype:
|
|
157
|
+
i.BYTES_PER_ELEMENT === 2 ? S.UNSIGNED_SHORT : S.UNSIGNED_INT,
|
|
158
|
+
currentPositions: k.buffer,
|
|
159
|
+
previousPositions: I.buffer,
|
|
160
|
+
nextPositions: E.buffer,
|
|
161
|
+
expandAndWidth: g.buffer,
|
|
162
|
+
batchIds: C.buffer,
|
|
163
|
+
indices: i.buffer,
|
|
164
|
+
};
|
|
165
|
+
if (n.keepDecodedPositions) {
|
|
166
|
+
let a = ft(s);
|
|
167
|
+
(o.push(e.buffer, a.buffer),
|
|
168
|
+
(V = B(V, {
|
|
169
|
+
decodedPositions: e.buffer,
|
|
170
|
+
decodedPositionOffsets: a.buffer,
|
|
171
|
+
})));
|
|
172
|
+
}
|
|
173
|
+
return V;
|
|
174
|
+
}
|
|
175
|
+
var It = K(ut);
|
|
176
|
+
export { It as default };
|