create-swdg-frontend 0.1.7 → 0.2.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 +31 -13
- package/bin/index.js +3 -244
- package/lib/argv.js +43 -0
- package/lib/cli.js +141 -0
- package/lib/constants.js +24 -0
- package/lib/gis.js +92 -0
- package/lib/manifest.js +23 -0
- package/lib/prompts.js +55 -0
- package/lib/scaffold.js +118 -0
- package/package.json +6 -2
- package/scripts/sync-template.js +120 -0
- package/scripts/validate-template.mjs +74 -0
- package/stubs/tsconfig.node.json +11 -0
- package/stubs/types-env.d.ts +9 -0
- package/stubs/vite.config.ts +64 -0
- package/template/.env.example +6 -0
- package/template/.github/workflows/ci.yml +23 -0
- package/template/.github/workflows/release.yml +69 -0
- package/template/.stylelintrc.json +7 -1
- package/template/README.md +95 -32
- package/template/auto-imports.d.ts +10 -0
- package/template/docs/MAINTAINER.md +77 -0
- package/template/docs/ONBOARDING.md +284 -0
- package/template/docs/TESTING.md +104 -0
- package/template/package.json +48 -41
- package/template/pnpm-lock.yaml +6360 -0
- package/template/scripts/gen-api.cjs +20 -7
- package/template/scripts/release.mjs +22 -28
- package/template/scripts/set-release-version.mjs +46 -0
- package/template/scripts/test-pipeline.mjs +85 -0
- package/template/scripts/test-scaffold.mjs +197 -0
- package/template/scripts/test-template.mjs +52 -0
- package/template/scripts/verify.mjs +28 -0
- package/template/scripts/vite-plugin-cesium-dev.ts +56 -0
- package/template/src/api/README.md +4 -0
- package/template/src/components/Body/index.vue +65 -35
- package/template/src/components/CesiumViewer/index.vue +36 -0
- package/template/src/components/Header/index.vue +16 -5
- package/template/src/components/OnboardingDeck/index.vue +449 -0
- package/template/src/data/onboardingSlides.ts +208 -0
- package/template/src/main.ts +1 -0
- package/template/src/router/index.ts +20 -14
- package/template/src/router/routeUtils.ts +13 -0
- package/template/src/styles/shell.css +232 -0
- package/template/src/utils/axios-middleware.js +1 -1
- package/template/src/utils/cesium/index.ts +71 -0
- package/template/src/utils/composables/useFeatureGis.ts +24 -0
- package/template/src/views/examples/cesium/index.vue +85 -0
- package/template/src/views/examples/guide/index.vue +42 -0
- package/template/src/views/examples/test/index.vue +63 -0
- package/template/src/views/index.vue +2 -3
- package/template/tests/README.md +1 -0
- package/template/tests/unit/onboardingSlides.test.ts +20 -0
- package/template/tests/unit/router.utils.test.ts +21 -0
- package/template/tests/unit/scaffold.lib.test.ts +44 -0
- package/template/tests/unit/useFeatureGis.test.ts +14 -0
- package/template/tsconfig.json +17 -17
- package/template/tsconfig.node.json +1 -1
- package/template/types/env.d.ts +13 -0
- package/template/vite.config.ts +26 -5
- package/template/vitest.config.ts +13 -0
- package/template/.env +0 -1
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -438
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1012
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1012
- 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 +0 -14
- 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 +0 -1
- 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 +0 -10924
- package/template/public/Cesium1.119/Cesium.js +0 -185772
- package/template/public/Cesium1.119/ThirdParty/Workers/package.json +0 -3
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +0 -1681
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +0 -1489
- package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +0 -1070
- 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 +0 -11424
- package/template/public/Cesium1.119/Widgets/Animation/Animation.css +0 -127
- package/template/public/Cesium1.119/Widgets/Animation/lighter.css +0 -78
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -112
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +0 -28
- package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -104
- package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +0 -115
- package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +0 -119
- package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +0 -14
- package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +0 -8
- package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +0 -72
- package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +0 -17
- package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
- 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 +0 -84
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +0 -120
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
- 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 +0 -94
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +0 -178
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -95
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +0 -38
- package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
- package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +0 -46
- package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +0 -72
- package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +0 -22
- package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +0 -103
- package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +0 -18
- package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +0 -8
- package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +0 -107
- package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +0 -18
- package/template/public/Cesium1.119/Widgets/lighter.css +0 -246
- package/template/public/Cesium1.119/Widgets/lighterShared.css +0 -46
- package/template/public/Cesium1.119/Widgets/shared.css +0 -103
- package/template/public/Cesium1.119/Widgets/widgets.css +0 -1376
- package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +0 -611
- package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +0 -166
- package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +0 -264
- package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +0 -128
- package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +0 -8046
- package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +0 -341
- package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +0 -269
- package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +0 -28
- package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +0 -199
- package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +0 -1102
- package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +0 -485
- package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +0 -76
- package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +0 -91
- package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +0 -42
- package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +0 -2678
- package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +0 -516
- package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +0 -399
- package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +0 -65
- package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +0 -92
- package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +0 -672
- package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +0 -287
- package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +0 -50
- package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +0 -28
- package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +0 -124
- package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +0 -31
- package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +0 -331
- package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +0 -258
- package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +0 -162
- package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +0 -773
- package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +0 -162
- package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +0 -857
- package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +0 -183
- package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +0 -85
- package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +0 -108
- package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +0 -73
- package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +0 -2372
- package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +0 -73
- package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +0 -538
- package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +0 -1670
- package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +0 -392
- package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +0 -57
- package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +0 -72
- package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +0 -37
- package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +0 -814
- package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +0 -579
- package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +0 -376
- package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +0 -111
- package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +0 -573
- package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +0 -633
- package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +0 -271
- package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +0 -173
- package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +0 -217
- package/template/public/Cesium1.119/Workers/combineGeometry.js +0 -53
- package/template/public/Cesium1.119/Workers/createBoxGeometry.js +0 -45
- package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +0 -189
- package/template/public/Cesium1.119/Workers/createCircleGeometry.js +0 -148
- package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +0 -105
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +0 -293
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +0 -143
- package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +0 -830
- package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +0 -417
- package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +0 -47
- package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +0 -170
- package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +0 -58
- package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +0 -51
- package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +0 -46
- package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +0 -45
- package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +0 -45
- package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +0 -164
- package/template/public/Cesium1.119/Workers/createGeometry.js +0 -159
- package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +0 -911
- package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +0 -185
- package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +0 -93
- package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +0 -884
- package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +0 -359
- package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +0 -349
- package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +0 -262
- package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +0 -177
- package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +0 -787
- package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +0 -299
- package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +0 -294
- package/template/public/Cesium1.119/Workers/createSphereGeometry.js +0 -84
- package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +0 -83
- package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +0 -28
- package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +0 -289
- package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +0 -258
- package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +0 -79
- package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +0 -275
- package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +0 -176
- package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -375
- package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +0 -1772
- package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -425
- package/template/public/Cesium1.119/Workers/createWallGeometry.js +0 -320
- package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +0 -229
- package/template/public/Cesium1.119/Workers/decodeDraco.js +0 -227
- package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1836
- package/template/public/Cesium1.119/Workers/decodeI3S.js +0 -924
- package/template/public/Cesium1.119/Workers/transcodeKTX2.js +0 -3180
- package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +0 -34
- package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +0 -534
- package/template/public/Cesium1.119/index.cjs +0 -185632
- package/template/public/Cesium1.119/index.js +0 -182874
- package/template/src/views/Test/index.vue +0 -56
- package/template/tests/unit/example.test.ts +0 -7
|
@@ -1,183 +0,0 @@
|
|
|
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 z } from "./chunk-TMSETF7M.js";
|
|
27
|
-
import { h as I, i as b } from "./chunk-7Z5IIKOJ.js";
|
|
28
|
-
import { a as W, b as O, d as L } from "./chunk-POASMU2N.js";
|
|
29
|
-
import { a as m } from "./chunk-R6KGAEF6.js";
|
|
30
|
-
import { a as v } from "./chunk-UH2WFNTA.js";
|
|
31
|
-
import { e as k } from "./chunk-PEYJTJPE.js";
|
|
32
|
-
var Z = Math.cos,
|
|
33
|
-
B = Math.sin,
|
|
34
|
-
p = Math.sqrt,
|
|
35
|
-
N = {};
|
|
36
|
-
N.computePosition = function (t, M, g, u, G, h, a) {
|
|
37
|
-
let e = M.radiiSquared,
|
|
38
|
-
i = t.nwCorner,
|
|
39
|
-
r = t.boundingRectangle,
|
|
40
|
-
n = i.latitude - t.granYCos * u + G * t.granXSin,
|
|
41
|
-
d = Z(n),
|
|
42
|
-
X = B(n),
|
|
43
|
-
Y = e.z * X,
|
|
44
|
-
s = i.longitude + u * t.granYSin + G * t.granXCos,
|
|
45
|
-
S = d * Z(s),
|
|
46
|
-
f = d * B(s),
|
|
47
|
-
w = e.x * S,
|
|
48
|
-
R = e.y * f,
|
|
49
|
-
_ = p(w * S + R * f + Y * X);
|
|
50
|
-
if (((h.x = w / _), (h.y = R / _), (h.z = Y / _), g)) {
|
|
51
|
-
let o = t.stNwCorner;
|
|
52
|
-
k(o)
|
|
53
|
-
? ((n = o.latitude - t.stGranYCos * u + G * t.stGranXSin),
|
|
54
|
-
(s = o.longitude + u * t.stGranYSin + G * t.stGranXCos),
|
|
55
|
-
(a.x = (s - t.stWest) * t.lonScalar),
|
|
56
|
-
(a.y = (n - t.stSouth) * t.latScalar))
|
|
57
|
-
: ((a.x = (s - r.west) * t.lonScalar),
|
|
58
|
-
(a.y = (n - r.south) * t.latScalar));
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
var A = new b(),
|
|
62
|
-
l = new W(),
|
|
63
|
-
F = new O(),
|
|
64
|
-
j = new W(),
|
|
65
|
-
y = new z();
|
|
66
|
-
function D(t, M, g, u, G, h, a) {
|
|
67
|
-
let e = Math.cos(M),
|
|
68
|
-
i = u * e,
|
|
69
|
-
r = g * e,
|
|
70
|
-
n = Math.sin(M),
|
|
71
|
-
d = u * n,
|
|
72
|
-
X = g * n;
|
|
73
|
-
((y._ellipsoid = L.default),
|
|
74
|
-
(l = y.project(t, l)),
|
|
75
|
-
(l = W.subtract(l, j, l)));
|
|
76
|
-
let Y = b.fromRotation(M, A);
|
|
77
|
-
((l = b.multiplyByVector(Y, l, l)),
|
|
78
|
-
(l = W.add(l, j, l)),
|
|
79
|
-
(t = y.unproject(l, t)),
|
|
80
|
-
(h -= 1),
|
|
81
|
-
(a -= 1));
|
|
82
|
-
let s = t.latitude,
|
|
83
|
-
S = s + h * X,
|
|
84
|
-
f = s - i * a,
|
|
85
|
-
w = s - i * a + h * X,
|
|
86
|
-
R = Math.max(s, S, f, w),
|
|
87
|
-
_ = Math.min(s, S, f, w),
|
|
88
|
-
o = t.longitude,
|
|
89
|
-
E = o + h * r,
|
|
90
|
-
T = o + a * d,
|
|
91
|
-
V = o + a * d + h * r,
|
|
92
|
-
q = Math.max(o, E, T, V),
|
|
93
|
-
x = Math.min(o, E, T, V);
|
|
94
|
-
return {
|
|
95
|
-
north: R,
|
|
96
|
-
south: _,
|
|
97
|
-
east: q,
|
|
98
|
-
west: x,
|
|
99
|
-
granYCos: i,
|
|
100
|
-
granYSin: d,
|
|
101
|
-
granXCos: r,
|
|
102
|
-
granXSin: X,
|
|
103
|
-
nwCorner: t,
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
N.computeOptions = function (t, M, g, u, G, h, a) {
|
|
107
|
-
let e = t.east,
|
|
108
|
-
i = t.west,
|
|
109
|
-
r = t.north,
|
|
110
|
-
n = t.south,
|
|
111
|
-
d = !1,
|
|
112
|
-
X = !1;
|
|
113
|
-
(r === m.PI_OVER_TWO && (d = !0), n === -m.PI_OVER_TWO && (X = !0));
|
|
114
|
-
let Y,
|
|
115
|
-
s = r - n;
|
|
116
|
-
i > e ? (Y = m.TWO_PI - i + e) : (Y = e - i);
|
|
117
|
-
let S = Math.ceil(Y / M) + 1,
|
|
118
|
-
f = Math.ceil(s / M) + 1,
|
|
119
|
-
w = Y / (S - 1),
|
|
120
|
-
R = s / (f - 1),
|
|
121
|
-
_ = I.northwest(t, h),
|
|
122
|
-
o = I.center(t, F);
|
|
123
|
-
(g !== 0 || u !== 0) &&
|
|
124
|
-
(o.longitude < _.longitude && (o.longitude += m.TWO_PI),
|
|
125
|
-
(y._ellipsoid = L.default),
|
|
126
|
-
(j = y.project(o, j)));
|
|
127
|
-
let E = R,
|
|
128
|
-
T = w,
|
|
129
|
-
V = 0,
|
|
130
|
-
q = 0,
|
|
131
|
-
x = I.clone(t, G),
|
|
132
|
-
c = {
|
|
133
|
-
granYCos: E,
|
|
134
|
-
granYSin: V,
|
|
135
|
-
granXCos: T,
|
|
136
|
-
granXSin: q,
|
|
137
|
-
nwCorner: _,
|
|
138
|
-
boundingRectangle: x,
|
|
139
|
-
width: S,
|
|
140
|
-
height: f,
|
|
141
|
-
northCap: d,
|
|
142
|
-
southCap: X,
|
|
143
|
-
};
|
|
144
|
-
if (g !== 0) {
|
|
145
|
-
let C = D(_, g, w, R, o, S, f);
|
|
146
|
-
if (
|
|
147
|
-
((r = C.north),
|
|
148
|
-
(n = C.south),
|
|
149
|
-
(e = C.east),
|
|
150
|
-
(i = C.west),
|
|
151
|
-
r < -m.PI_OVER_TWO ||
|
|
152
|
-
r > m.PI_OVER_TWO ||
|
|
153
|
-
n < -m.PI_OVER_TWO ||
|
|
154
|
-
n > m.PI_OVER_TWO)
|
|
155
|
-
)
|
|
156
|
-
throw new v(
|
|
157
|
-
"Rotated rectangle is invalid. It crosses over either the north or south pole.",
|
|
158
|
-
);
|
|
159
|
-
((c.granYCos = C.granYCos),
|
|
160
|
-
(c.granYSin = C.granYSin),
|
|
161
|
-
(c.granXCos = C.granXCos),
|
|
162
|
-
(c.granXSin = C.granXSin),
|
|
163
|
-
(x.north = r),
|
|
164
|
-
(x.south = n),
|
|
165
|
-
(x.east = e),
|
|
166
|
-
(x.west = i));
|
|
167
|
-
}
|
|
168
|
-
if (u !== 0) {
|
|
169
|
-
g = g - u;
|
|
170
|
-
let C = I.northwest(x, a),
|
|
171
|
-
P = D(C, g, w, R, o, S, f);
|
|
172
|
-
((c.stGranYCos = P.granYCos),
|
|
173
|
-
(c.stGranXCos = P.granXCos),
|
|
174
|
-
(c.stGranYSin = P.granYSin),
|
|
175
|
-
(c.stGranXSin = P.granXSin),
|
|
176
|
-
(c.stNwCorner = C),
|
|
177
|
-
(c.stWest = P.west),
|
|
178
|
-
(c.stSouth = P.south));
|
|
179
|
-
}
|
|
180
|
-
return c;
|
|
181
|
-
};
|
|
182
|
-
var st = N;
|
|
183
|
-
export { st as a };
|
|
@@ -1,85 +0,0 @@
|
|
|
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 } from "./chunk-R6KGAEF6.js";
|
|
27
|
-
import { a as N } from "./chunk-3C7WC463.js";
|
|
28
|
-
import { a as t } from "./chunk-UH2WFNTA.js";
|
|
29
|
-
import { e as i } from "./chunk-PEYJTJPE.js";
|
|
30
|
-
var r = {
|
|
31
|
-
UNSIGNED_BYTE: N.UNSIGNED_BYTE,
|
|
32
|
-
UNSIGNED_SHORT: N.UNSIGNED_SHORT,
|
|
33
|
-
UNSIGNED_INT: N.UNSIGNED_INT,
|
|
34
|
-
};
|
|
35
|
-
r.getSizeInBytes = function (e) {
|
|
36
|
-
switch (e) {
|
|
37
|
-
case r.UNSIGNED_BYTE:
|
|
38
|
-
return Uint8Array.BYTES_PER_ELEMENT;
|
|
39
|
-
case r.UNSIGNED_SHORT:
|
|
40
|
-
return Uint16Array.BYTES_PER_ELEMENT;
|
|
41
|
-
case r.UNSIGNED_INT:
|
|
42
|
-
return Uint32Array.BYTES_PER_ELEMENT;
|
|
43
|
-
}
|
|
44
|
-
throw new t(
|
|
45
|
-
"indexDatatype is required and must be a valid IndexDatatype constant.",
|
|
46
|
-
);
|
|
47
|
-
};
|
|
48
|
-
r.fromSizeInBytes = function (e) {
|
|
49
|
-
switch (e) {
|
|
50
|
-
case 2:
|
|
51
|
-
return r.UNSIGNED_SHORT;
|
|
52
|
-
case 4:
|
|
53
|
-
return r.UNSIGNED_INT;
|
|
54
|
-
case 1:
|
|
55
|
-
return r.UNSIGNED_BYTE;
|
|
56
|
-
default:
|
|
57
|
-
throw new t("Size in bytes cannot be mapped to an IndexDatatype");
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
r.validate = function (e) {
|
|
61
|
-
return (
|
|
62
|
-
i(e) &&
|
|
63
|
-
(e === r.UNSIGNED_BYTE || e === r.UNSIGNED_SHORT || e === r.UNSIGNED_INT)
|
|
64
|
-
);
|
|
65
|
-
};
|
|
66
|
-
r.createTypedArray = function (e, n) {
|
|
67
|
-
if (!i(e)) throw new t("numberOfVertices is required.");
|
|
68
|
-
return e >= a.SIXTY_FOUR_KILOBYTES ? new Uint32Array(n) : new Uint16Array(n);
|
|
69
|
-
};
|
|
70
|
-
r.createTypedArrayFromArrayBuffer = function (e, n, E, o) {
|
|
71
|
-
if (!i(e)) throw new t("numberOfVertices is required.");
|
|
72
|
-
if (!i(n)) throw new t("sourceArray is required.");
|
|
73
|
-
if (!i(E)) throw new t("byteOffset is required.");
|
|
74
|
-
return e >= a.SIXTY_FOUR_KILOBYTES
|
|
75
|
-
? new Uint32Array(n, E, o)
|
|
76
|
-
: new Uint16Array(n, E, o);
|
|
77
|
-
};
|
|
78
|
-
r.fromTypedArray = function (e) {
|
|
79
|
-
if (e instanceof Uint8Array) return r.UNSIGNED_BYTE;
|
|
80
|
-
if (e instanceof Uint16Array) return r.UNSIGNED_SHORT;
|
|
81
|
-
if (e instanceof Uint32Array) return r.UNSIGNED_INT;
|
|
82
|
-
throw new t("array must be a Uint8Array, Uint16Array, or Uint32Array.");
|
|
83
|
-
};
|
|
84
|
-
var u = Object.freeze(r);
|
|
85
|
-
export { u as a };
|
|
@@ -1,108 +0,0 @@
|
|
|
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 l, b as d } from "./chunk-7Z5IIKOJ.js";
|
|
27
|
-
import { a as t } from "./chunk-POASMU2N.js";
|
|
28
|
-
import { a as s } from "./chunk-R6KGAEF6.js";
|
|
29
|
-
import { a as f, b as r } from "./chunk-UH2WFNTA.js";
|
|
30
|
-
import { e as m } from "./chunk-PEYJTJPE.js";
|
|
31
|
-
function o(e, n) {
|
|
32
|
-
if (
|
|
33
|
-
(r.typeOf.object("normal", e),
|
|
34
|
-
!s.equalsEpsilon(t.magnitude(e), 1, s.EPSILON6))
|
|
35
|
-
)
|
|
36
|
-
throw new f("normal must be normalized.");
|
|
37
|
-
(r.typeOf.number("distance", n),
|
|
38
|
-
(this.normal = t.clone(e)),
|
|
39
|
-
(this.distance = n));
|
|
40
|
-
}
|
|
41
|
-
o.fromPointNormal = function (e, n, a) {
|
|
42
|
-
if (
|
|
43
|
-
(r.typeOf.object("point", e),
|
|
44
|
-
r.typeOf.object("normal", n),
|
|
45
|
-
!s.equalsEpsilon(t.magnitude(n), 1, s.EPSILON6))
|
|
46
|
-
)
|
|
47
|
-
throw new f("normal must be normalized.");
|
|
48
|
-
let c = -t.dot(n, e);
|
|
49
|
-
return m(a) ? (t.clone(n, a.normal), (a.distance = c), a) : new o(n, c);
|
|
50
|
-
};
|
|
51
|
-
var b = new t();
|
|
52
|
-
o.fromCartesian4 = function (e, n) {
|
|
53
|
-
r.typeOf.object("coefficients", e);
|
|
54
|
-
let a = t.fromCartesian4(e, b),
|
|
55
|
-
c = e.w;
|
|
56
|
-
if (!s.equalsEpsilon(t.magnitude(a), 1, s.EPSILON6))
|
|
57
|
-
throw new f("normal must be normalized.");
|
|
58
|
-
return m(n) ? (t.clone(a, n.normal), (n.distance = c), n) : new o(a, c);
|
|
59
|
-
};
|
|
60
|
-
o.getPointDistance = function (e, n) {
|
|
61
|
-
return (
|
|
62
|
-
r.typeOf.object("plane", e),
|
|
63
|
-
r.typeOf.object("point", n),
|
|
64
|
-
t.dot(e.normal, n) + e.distance
|
|
65
|
-
);
|
|
66
|
-
};
|
|
67
|
-
var y = new t();
|
|
68
|
-
o.projectPointOntoPlane = function (e, n, a) {
|
|
69
|
-
(r.typeOf.object("plane", e),
|
|
70
|
-
r.typeOf.object("point", n),
|
|
71
|
-
m(a) || (a = new t()));
|
|
72
|
-
let c = o.getPointDistance(e, n),
|
|
73
|
-
p = t.multiplyByScalar(e.normal, c, y);
|
|
74
|
-
return t.subtract(n, p, a);
|
|
75
|
-
};
|
|
76
|
-
var w = new d(),
|
|
77
|
-
j = new l(),
|
|
78
|
-
N = new t();
|
|
79
|
-
o.transform = function (e, n, a) {
|
|
80
|
-
(r.typeOf.object("plane", e), r.typeOf.object("transform", n));
|
|
81
|
-
let c = e.normal,
|
|
82
|
-
p = e.distance,
|
|
83
|
-
u = d.inverseTranspose(n, w),
|
|
84
|
-
i = l.fromElements(c.x, c.y, c.z, p, j);
|
|
85
|
-
i = d.multiplyByVector(u, i, i);
|
|
86
|
-
let O = t.fromCartesian4(i, N);
|
|
87
|
-
return ((i = l.divideByScalar(i, t.magnitude(O), i)), o.fromCartesian4(i, a));
|
|
88
|
-
};
|
|
89
|
-
o.clone = function (e, n) {
|
|
90
|
-
return (
|
|
91
|
-
r.typeOf.object("plane", e),
|
|
92
|
-
m(n)
|
|
93
|
-
? (t.clone(e.normal, n.normal), (n.distance = e.distance), n)
|
|
94
|
-
: new o(e.normal, e.distance)
|
|
95
|
-
);
|
|
96
|
-
};
|
|
97
|
-
o.equals = function (e, n) {
|
|
98
|
-
return (
|
|
99
|
-
r.typeOf.object("left", e),
|
|
100
|
-
r.typeOf.object("right", n),
|
|
101
|
-
e.distance === n.distance && t.equals(e.normal, n.normal)
|
|
102
|
-
);
|
|
103
|
-
};
|
|
104
|
-
o.ORIGIN_XY_PLANE = Object.freeze(new o(t.UNIT_Z, 0));
|
|
105
|
-
o.ORIGIN_YZ_PLANE = Object.freeze(new o(t.UNIT_X, 0));
|
|
106
|
-
o.ORIGIN_ZX_PLANE = Object.freeze(new o(t.UNIT_Y, 0));
|
|
107
|
-
var T = o;
|
|
108
|
-
export { T as a };
|
|
@@ -1,73 +0,0 @@
|
|
|
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
|
-
var i = Object.create;
|
|
27
|
-
var u = Object.defineProperty;
|
|
28
|
-
var r = Object.getOwnPropertyDescriptor;
|
|
29
|
-
var l = Object.getOwnPropertyNames;
|
|
30
|
-
var o = Object.getPrototypeOf,
|
|
31
|
-
c = Object.prototype.hasOwnProperty;
|
|
32
|
-
var a = ((n) =>
|
|
33
|
-
typeof require < "u"
|
|
34
|
-
? require
|
|
35
|
-
: typeof Proxy < "u"
|
|
36
|
-
? new Proxy(n, {
|
|
37
|
-
get: (e, d) => (typeof require < "u" ? require : e)[d],
|
|
38
|
-
})
|
|
39
|
-
: n)(function (n) {
|
|
40
|
-
if (typeof require < "u") return require.apply(this, arguments);
|
|
41
|
-
throw Error('Dynamic require of "' + n + '" is not supported');
|
|
42
|
-
}),
|
|
43
|
-
b = (n) => (e) => {
|
|
44
|
-
var d = n[e];
|
|
45
|
-
if (d) return d();
|
|
46
|
-
throw new Error("Module not found in bundle: " + e);
|
|
47
|
-
};
|
|
48
|
-
var g = (n, e) => () => (e || n((e = { exports: {} }).exports, e), e.exports);
|
|
49
|
-
var p = (n, e, d, t) => {
|
|
50
|
-
if ((e && typeof e == "object") || typeof e == "function")
|
|
51
|
-
for (let f of l(e))
|
|
52
|
-
!c.call(n, f) &&
|
|
53
|
-
f !== d &&
|
|
54
|
-
u(n, f, {
|
|
55
|
-
get: () => e[f],
|
|
56
|
-
enumerable: !(t = r(e, f)) || t.enumerable,
|
|
57
|
-
});
|
|
58
|
-
return n;
|
|
59
|
-
};
|
|
60
|
-
var h = (n, e, d) => (
|
|
61
|
-
(d = n != null ? i(o(n)) : {}),
|
|
62
|
-
p(
|
|
63
|
-
e || !n || !n.__esModule
|
|
64
|
-
? u(d, "default", { value: n, enumerable: !0 })
|
|
65
|
-
: d,
|
|
66
|
-
n,
|
|
67
|
-
)
|
|
68
|
-
);
|
|
69
|
-
function x(n) {
|
|
70
|
-
return n != null;
|
|
71
|
-
}
|
|
72
|
-
var k = x;
|
|
73
|
-
export { a, b, g as c, h as d, k as e };
|