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,166 +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 x } from "./chunk-TMSETF7M.js";
|
|
27
|
-
import { h as R } from "./chunk-7Z5IIKOJ.js";
|
|
28
|
-
import { b as d, c as O, d as g } from "./chunk-POASMU2N.js";
|
|
29
|
-
import { a as w } from "./chunk-IUA6FAOZ.js";
|
|
30
|
-
import { b as m } from "./chunk-UH2WFNTA.js";
|
|
31
|
-
import { e as f } from "./chunk-PEYJTJPE.js";
|
|
32
|
-
function t(i, h, o, n) {
|
|
33
|
-
((this.x = w(i, 0)),
|
|
34
|
-
(this.y = w(h, 0)),
|
|
35
|
-
(this.width = w(o, 0)),
|
|
36
|
-
(this.height = w(n, 0)));
|
|
37
|
-
}
|
|
38
|
-
t.packedLength = 4;
|
|
39
|
-
t.pack = function (i, h, o) {
|
|
40
|
-
return (
|
|
41
|
-
m.typeOf.object("value", i),
|
|
42
|
-
m.defined("array", h),
|
|
43
|
-
(o = w(o, 0)),
|
|
44
|
-
(h[o++] = i.x),
|
|
45
|
-
(h[o++] = i.y),
|
|
46
|
-
(h[o++] = i.width),
|
|
47
|
-
(h[o] = i.height),
|
|
48
|
-
h
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
t.unpack = function (i, h, o) {
|
|
52
|
-
return (
|
|
53
|
-
m.defined("array", i),
|
|
54
|
-
(h = w(h, 0)),
|
|
55
|
-
f(o) || (o = new t()),
|
|
56
|
-
(o.x = i[h++]),
|
|
57
|
-
(o.y = i[h++]),
|
|
58
|
-
(o.width = i[h++]),
|
|
59
|
-
(o.height = i[h]),
|
|
60
|
-
o
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
t.fromPoints = function (i, h) {
|
|
64
|
-
if ((f(h) || (h = new t()), !f(i) || i.length === 0))
|
|
65
|
-
return ((h.x = 0), (h.y = 0), (h.width = 0), (h.height = 0), h);
|
|
66
|
-
let o = i.length,
|
|
67
|
-
n = i[0].x,
|
|
68
|
-
c = i[0].y,
|
|
69
|
-
e = i[0].x,
|
|
70
|
-
y = i[0].y;
|
|
71
|
-
for (let p = 1; p < o; p++) {
|
|
72
|
-
let b = i[p],
|
|
73
|
-
j = b.x,
|
|
74
|
-
M = b.y;
|
|
75
|
-
((n = Math.min(j, n)),
|
|
76
|
-
(e = Math.max(j, e)),
|
|
77
|
-
(c = Math.min(M, c)),
|
|
78
|
-
(y = Math.max(M, y)));
|
|
79
|
-
}
|
|
80
|
-
return ((h.x = n), (h.y = c), (h.width = e - n), (h.height = y - c), h);
|
|
81
|
-
};
|
|
82
|
-
var X = new L(),
|
|
83
|
-
Y = new d(),
|
|
84
|
-
k = new d();
|
|
85
|
-
t.fromRectangle = function (i, h, o) {
|
|
86
|
-
if ((f(o) || (o = new t()), !f(i)))
|
|
87
|
-
return ((o.x = 0), (o.y = 0), (o.width = 0), (o.height = 0), o);
|
|
88
|
-
((X._ellipsoid = g.default), (h = w(h, X)));
|
|
89
|
-
let n = h.project(R.southwest(i, Y)),
|
|
90
|
-
c = h.project(R.northeast(i, k));
|
|
91
|
-
return (
|
|
92
|
-
O.subtract(c, n, c),
|
|
93
|
-
(o.x = n.x),
|
|
94
|
-
(o.y = n.y),
|
|
95
|
-
(o.width = c.x),
|
|
96
|
-
(o.height = c.y),
|
|
97
|
-
o
|
|
98
|
-
);
|
|
99
|
-
};
|
|
100
|
-
t.clone = function (i, h) {
|
|
101
|
-
if (f(i))
|
|
102
|
-
return f(h)
|
|
103
|
-
? ((h.x = i.x),
|
|
104
|
-
(h.y = i.y),
|
|
105
|
-
(h.width = i.width),
|
|
106
|
-
(h.height = i.height),
|
|
107
|
-
h)
|
|
108
|
-
: new t(i.x, i.y, i.width, i.height);
|
|
109
|
-
};
|
|
110
|
-
t.union = function (i, h, o) {
|
|
111
|
-
(m.typeOf.object("left", i),
|
|
112
|
-
m.typeOf.object("right", h),
|
|
113
|
-
f(o) || (o = new t()));
|
|
114
|
-
let n = Math.min(i.x, h.x),
|
|
115
|
-
c = Math.min(i.y, h.y),
|
|
116
|
-
e = Math.max(i.x + i.width, h.x + h.width),
|
|
117
|
-
y = Math.max(i.y + i.height, h.y + h.height);
|
|
118
|
-
return ((o.x = n), (o.y = c), (o.width = e - n), (o.height = y - c), o);
|
|
119
|
-
};
|
|
120
|
-
t.expand = function (i, h, o) {
|
|
121
|
-
(m.typeOf.object("rectangle", i),
|
|
122
|
-
m.typeOf.object("point", h),
|
|
123
|
-
(o = t.clone(i, o)));
|
|
124
|
-
let n = h.x - o.x,
|
|
125
|
-
c = h.y - o.y;
|
|
126
|
-
return (
|
|
127
|
-
n > o.width ? (o.width = n) : n < 0 && ((o.width -= n), (o.x = h.x)),
|
|
128
|
-
c > o.height ? (o.height = c) : c < 0 && ((o.height -= c), (o.y = h.y)),
|
|
129
|
-
o
|
|
130
|
-
);
|
|
131
|
-
};
|
|
132
|
-
t.intersect = function (i, h) {
|
|
133
|
-
(m.typeOf.object("left", i), m.typeOf.object("right", h));
|
|
134
|
-
let o = i.x,
|
|
135
|
-
n = i.y,
|
|
136
|
-
c = h.x,
|
|
137
|
-
e = h.y;
|
|
138
|
-
return o > c + h.width ||
|
|
139
|
-
o + i.width < c ||
|
|
140
|
-
n + i.height < e ||
|
|
141
|
-
n > e + h.height
|
|
142
|
-
? x.OUTSIDE
|
|
143
|
-
: x.INTERSECTING;
|
|
144
|
-
};
|
|
145
|
-
t.equals = function (i, h) {
|
|
146
|
-
return (
|
|
147
|
-
i === h ||
|
|
148
|
-
(f(i) &&
|
|
149
|
-
f(h) &&
|
|
150
|
-
i.x === h.x &&
|
|
151
|
-
i.y === h.y &&
|
|
152
|
-
i.width === h.width &&
|
|
153
|
-
i.height === h.height)
|
|
154
|
-
);
|
|
155
|
-
};
|
|
156
|
-
t.prototype.clone = function (i) {
|
|
157
|
-
return t.clone(this, i);
|
|
158
|
-
};
|
|
159
|
-
t.prototype.intersect = function (i) {
|
|
160
|
-
return t.intersect(this, i);
|
|
161
|
-
};
|
|
162
|
-
t.prototype.equals = function (i) {
|
|
163
|
-
return t.equals(this, i);
|
|
164
|
-
};
|
|
165
|
-
var a = t;
|
|
166
|
-
export { a };
|
|
@@ -1,264 +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 S } from "./chunk-BMHPVZ4H.js";
|
|
27
|
-
import { a as j } from "./chunk-ILGBPNP6.js";
|
|
28
|
-
import { a as D } from "./chunk-P37AI2DW.js";
|
|
29
|
-
import { a as V } from "./chunk-T6BE4RZK.js";
|
|
30
|
-
import { b as T, c as B, d as L } from "./chunk-X5IHHI6X.js";
|
|
31
|
-
import { d as O } from "./chunk-TMSETF7M.js";
|
|
32
|
-
import { a as x } from "./chunk-KZNJOCYU.js";
|
|
33
|
-
import { a as c, d as l } from "./chunk-POASMU2N.js";
|
|
34
|
-
import { a as E } from "./chunk-R6KGAEF6.js";
|
|
35
|
-
import { a as m } from "./chunk-IUA6FAOZ.js";
|
|
36
|
-
import { a as _ } from "./chunk-UH2WFNTA.js";
|
|
37
|
-
import { e as d } from "./chunk-PEYJTJPE.js";
|
|
38
|
-
var q = new c(),
|
|
39
|
-
M = new c();
|
|
40
|
-
function U(e) {
|
|
41
|
-
let t = e.center;
|
|
42
|
-
((M = c.multiplyByScalar(
|
|
43
|
-
e.ellipsoid.geodeticSurfaceNormal(t, M),
|
|
44
|
-
e.height,
|
|
45
|
-
M,
|
|
46
|
-
)),
|
|
47
|
-
(M = c.add(t, M, M)));
|
|
48
|
-
let i = new O(M, e.semiMajorAxis),
|
|
49
|
-
f = S.computeEllipsePositions(e, !1, !0).outerPositions,
|
|
50
|
-
o = new V({
|
|
51
|
-
position: new L({
|
|
52
|
-
componentDatatype: x.DOUBLE,
|
|
53
|
-
componentsPerAttribute: 3,
|
|
54
|
-
values: S.raisePositionsToHeight(f, e, !1),
|
|
55
|
-
}),
|
|
56
|
-
}),
|
|
57
|
-
r = f.length / 3,
|
|
58
|
-
u = D.createTypedArray(r, r * 2),
|
|
59
|
-
h = 0;
|
|
60
|
-
for (let n = 0; n < r; ++n) ((u[h++] = n), (u[h++] = (n + 1) % r));
|
|
61
|
-
return { boundingSphere: i, attributes: o, indices: u };
|
|
62
|
-
}
|
|
63
|
-
var N = new O(),
|
|
64
|
-
P = new O();
|
|
65
|
-
function R(e) {
|
|
66
|
-
let t = e.center,
|
|
67
|
-
i = e.ellipsoid,
|
|
68
|
-
f = e.semiMajorAxis,
|
|
69
|
-
o = c.multiplyByScalar(i.geodeticSurfaceNormal(t, q), e.height, q);
|
|
70
|
-
((N.center = c.add(t, o, N.center)),
|
|
71
|
-
(N.radius = f),
|
|
72
|
-
(o = c.multiplyByScalar(
|
|
73
|
-
i.geodeticSurfaceNormal(t, o),
|
|
74
|
-
e.extrudedHeight,
|
|
75
|
-
o,
|
|
76
|
-
)),
|
|
77
|
-
(P.center = c.add(t, o, P.center)),
|
|
78
|
-
(P.radius = f));
|
|
79
|
-
let r = S.computeEllipsePositions(e, !1, !0).outerPositions,
|
|
80
|
-
u = new V({
|
|
81
|
-
position: new L({
|
|
82
|
-
componentDatatype: x.DOUBLE,
|
|
83
|
-
componentsPerAttribute: 3,
|
|
84
|
-
values: S.raisePositionsToHeight(r, e, !0),
|
|
85
|
-
}),
|
|
86
|
-
});
|
|
87
|
-
r = u.position.values;
|
|
88
|
-
let h = O.union(N, P),
|
|
89
|
-
n = r.length / 3;
|
|
90
|
-
if (d(e.offsetAttribute)) {
|
|
91
|
-
let g = new Uint8Array(n);
|
|
92
|
-
if (e.offsetAttribute === j.TOP) g = g.fill(1, 0, n / 2);
|
|
93
|
-
else {
|
|
94
|
-
let H = e.offsetAttribute === j.NONE ? 0 : 1;
|
|
95
|
-
g = g.fill(H);
|
|
96
|
-
}
|
|
97
|
-
u.applyOffset = new L({
|
|
98
|
-
componentDatatype: x.UNSIGNED_BYTE,
|
|
99
|
-
componentsPerAttribute: 1,
|
|
100
|
-
values: g,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
let p = m(e.numberOfVerticalLines, 16);
|
|
104
|
-
p = E.clamp(p, 0, n / 2);
|
|
105
|
-
let a = D.createTypedArray(n, n * 2 + p * 2);
|
|
106
|
-
n /= 2;
|
|
107
|
-
let A = 0,
|
|
108
|
-
s;
|
|
109
|
-
for (s = 0; s < n; ++s)
|
|
110
|
-
((a[A++] = s),
|
|
111
|
-
(a[A++] = (s + 1) % n),
|
|
112
|
-
(a[A++] = s + n),
|
|
113
|
-
(a[A++] = ((s + 1) % n) + n));
|
|
114
|
-
let k;
|
|
115
|
-
if (p > 0) {
|
|
116
|
-
let g = Math.min(p, n);
|
|
117
|
-
k = Math.round(n / g);
|
|
118
|
-
let H = Math.min(k * p, n);
|
|
119
|
-
for (s = 0; s < H; s += k) ((a[A++] = s), (a[A++] = s + n));
|
|
120
|
-
}
|
|
121
|
-
return { boundingSphere: h, attributes: u, indices: a };
|
|
122
|
-
}
|
|
123
|
-
function w(e) {
|
|
124
|
-
e = m(e, m.EMPTY_OBJECT);
|
|
125
|
-
let t = e.center,
|
|
126
|
-
i = m(e.ellipsoid, l.default),
|
|
127
|
-
f = e.semiMajorAxis,
|
|
128
|
-
o = e.semiMinorAxis,
|
|
129
|
-
r = m(e.granularity, E.RADIANS_PER_DEGREE);
|
|
130
|
-
if (!d(t)) throw new _("center is required.");
|
|
131
|
-
if (!d(f)) throw new _("semiMajorAxis is required.");
|
|
132
|
-
if (!d(o)) throw new _("semiMinorAxis is required.");
|
|
133
|
-
if (f < o)
|
|
134
|
-
throw new _(
|
|
135
|
-
"semiMajorAxis must be greater than or equal to the semiMinorAxis.",
|
|
136
|
-
);
|
|
137
|
-
if (r <= 0) throw new _("granularity must be greater than zero.");
|
|
138
|
-
let u = m(e.height, 0),
|
|
139
|
-
h = m(e.extrudedHeight, u);
|
|
140
|
-
((this._center = c.clone(t)),
|
|
141
|
-
(this._semiMajorAxis = f),
|
|
142
|
-
(this._semiMinorAxis = o),
|
|
143
|
-
(this._ellipsoid = l.clone(i)),
|
|
144
|
-
(this._rotation = m(e.rotation, 0)),
|
|
145
|
-
(this._height = Math.max(h, u)),
|
|
146
|
-
(this._granularity = r),
|
|
147
|
-
(this._extrudedHeight = Math.min(h, u)),
|
|
148
|
-
(this._numberOfVerticalLines = Math.max(m(e.numberOfVerticalLines, 16), 0)),
|
|
149
|
-
(this._offsetAttribute = e.offsetAttribute),
|
|
150
|
-
(this._workerName = "createEllipseOutlineGeometry"));
|
|
151
|
-
}
|
|
152
|
-
w.packedLength = c.packedLength + l.packedLength + 8;
|
|
153
|
-
w.pack = function (e, t, i) {
|
|
154
|
-
if (!d(e)) throw new _("value is required");
|
|
155
|
-
if (!d(t)) throw new _("array is required");
|
|
156
|
-
return (
|
|
157
|
-
(i = m(i, 0)),
|
|
158
|
-
c.pack(e._center, t, i),
|
|
159
|
-
(i += c.packedLength),
|
|
160
|
-
l.pack(e._ellipsoid, t, i),
|
|
161
|
-
(i += l.packedLength),
|
|
162
|
-
(t[i++] = e._semiMajorAxis),
|
|
163
|
-
(t[i++] = e._semiMinorAxis),
|
|
164
|
-
(t[i++] = e._rotation),
|
|
165
|
-
(t[i++] = e._height),
|
|
166
|
-
(t[i++] = e._granularity),
|
|
167
|
-
(t[i++] = e._extrudedHeight),
|
|
168
|
-
(t[i++] = e._numberOfVerticalLines),
|
|
169
|
-
(t[i] = m(e._offsetAttribute, -1)),
|
|
170
|
-
t
|
|
171
|
-
);
|
|
172
|
-
};
|
|
173
|
-
var y = new c(),
|
|
174
|
-
C = new l(),
|
|
175
|
-
b = {
|
|
176
|
-
center: y,
|
|
177
|
-
ellipsoid: C,
|
|
178
|
-
semiMajorAxis: void 0,
|
|
179
|
-
semiMinorAxis: void 0,
|
|
180
|
-
rotation: void 0,
|
|
181
|
-
height: void 0,
|
|
182
|
-
granularity: void 0,
|
|
183
|
-
extrudedHeight: void 0,
|
|
184
|
-
numberOfVerticalLines: void 0,
|
|
185
|
-
offsetAttribute: void 0,
|
|
186
|
-
};
|
|
187
|
-
w.unpack = function (e, t, i) {
|
|
188
|
-
if (!d(e)) throw new _("array is required");
|
|
189
|
-
t = m(t, 0);
|
|
190
|
-
let f = c.unpack(e, t, y);
|
|
191
|
-
t += c.packedLength;
|
|
192
|
-
let o = l.unpack(e, t, C);
|
|
193
|
-
t += l.packedLength;
|
|
194
|
-
let r = e[t++],
|
|
195
|
-
u = e[t++],
|
|
196
|
-
h = e[t++],
|
|
197
|
-
n = e[t++],
|
|
198
|
-
p = e[t++],
|
|
199
|
-
a = e[t++],
|
|
200
|
-
A = e[t++],
|
|
201
|
-
s = e[t];
|
|
202
|
-
return d(i)
|
|
203
|
-
? ((i._center = c.clone(f, i._center)),
|
|
204
|
-
(i._ellipsoid = l.clone(o, i._ellipsoid)),
|
|
205
|
-
(i._semiMajorAxis = r),
|
|
206
|
-
(i._semiMinorAxis = u),
|
|
207
|
-
(i._rotation = h),
|
|
208
|
-
(i._height = n),
|
|
209
|
-
(i._granularity = p),
|
|
210
|
-
(i._extrudedHeight = a),
|
|
211
|
-
(i._numberOfVerticalLines = A),
|
|
212
|
-
(i._offsetAttribute = s === -1 ? void 0 : s),
|
|
213
|
-
i)
|
|
214
|
-
: ((b.height = n),
|
|
215
|
-
(b.extrudedHeight = a),
|
|
216
|
-
(b.granularity = p),
|
|
217
|
-
(b.rotation = h),
|
|
218
|
-
(b.semiMajorAxis = r),
|
|
219
|
-
(b.semiMinorAxis = u),
|
|
220
|
-
(b.numberOfVerticalLines = A),
|
|
221
|
-
(b.offsetAttribute = s === -1 ? void 0 : s),
|
|
222
|
-
new w(b));
|
|
223
|
-
};
|
|
224
|
-
w.createGeometry = function (e) {
|
|
225
|
-
if (e._semiMajorAxis <= 0 || e._semiMinorAxis <= 0) return;
|
|
226
|
-
let t = e._height,
|
|
227
|
-
i = e._extrudedHeight,
|
|
228
|
-
f = !E.equalsEpsilon(t, i, 0, E.EPSILON2);
|
|
229
|
-
e._center = e._ellipsoid.scaleToGeodeticSurface(e._center, e._center);
|
|
230
|
-
let o = {
|
|
231
|
-
center: e._center,
|
|
232
|
-
semiMajorAxis: e._semiMajorAxis,
|
|
233
|
-
semiMinorAxis: e._semiMinorAxis,
|
|
234
|
-
ellipsoid: e._ellipsoid,
|
|
235
|
-
rotation: e._rotation,
|
|
236
|
-
height: t,
|
|
237
|
-
granularity: e._granularity,
|
|
238
|
-
numberOfVerticalLines: e._numberOfVerticalLines,
|
|
239
|
-
},
|
|
240
|
-
r;
|
|
241
|
-
if (f)
|
|
242
|
-
((o.extrudedHeight = i),
|
|
243
|
-
(o.offsetAttribute = e._offsetAttribute),
|
|
244
|
-
(r = R(o)));
|
|
245
|
-
else if (((r = U(o)), d(e._offsetAttribute))) {
|
|
246
|
-
let u = r.attributes.position.values.length,
|
|
247
|
-
h = e._offsetAttribute === j.NONE ? 0 : 1,
|
|
248
|
-
n = new Uint8Array(u / 3).fill(h);
|
|
249
|
-
r.attributes.applyOffset = new L({
|
|
250
|
-
componentDatatype: x.UNSIGNED_BYTE,
|
|
251
|
-
componentsPerAttribute: 1,
|
|
252
|
-
values: n,
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
return new B({
|
|
256
|
-
attributes: r.attributes,
|
|
257
|
-
indices: r.indices,
|
|
258
|
-
primitiveType: T.LINES,
|
|
259
|
-
boundingSphere: r.boundingSphere,
|
|
260
|
-
offsetAttribute: e._offsetAttribute,
|
|
261
|
-
});
|
|
262
|
-
};
|
|
263
|
-
var ie = w;
|
|
264
|
-
export { ie as a };
|
|
@@ -1,128 +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 { b as d } from "./chunk-TMSETF7M.js";
|
|
27
|
-
import { a as i } from "./chunk-POASMU2N.js";
|
|
28
|
-
import { a as z } from "./chunk-IUA6FAOZ.js";
|
|
29
|
-
import { b as r } from "./chunk-UH2WFNTA.js";
|
|
30
|
-
import { e as c } from "./chunk-PEYJTJPE.js";
|
|
31
|
-
function t(m, n, e) {
|
|
32
|
-
((this.minimum = i.clone(z(m, i.ZERO))),
|
|
33
|
-
(this.maximum = i.clone(z(n, i.ZERO))),
|
|
34
|
-
c(e)
|
|
35
|
-
? (e = i.clone(e))
|
|
36
|
-
: (e = i.midpoint(this.minimum, this.maximum, new i())),
|
|
37
|
-
(this.center = e));
|
|
38
|
-
}
|
|
39
|
-
t.fromCorners = function (m, n, e) {
|
|
40
|
-
return (
|
|
41
|
-
r.defined("minimum", m),
|
|
42
|
-
r.defined("maximum", n),
|
|
43
|
-
c(e) || (e = new t()),
|
|
44
|
-
(e.minimum = i.clone(m, e.minimum)),
|
|
45
|
-
(e.maximum = i.clone(n, e.maximum)),
|
|
46
|
-
(e.center = i.midpoint(m, n, e.center)),
|
|
47
|
-
e
|
|
48
|
-
);
|
|
49
|
-
};
|
|
50
|
-
t.fromPoints = function (m, n) {
|
|
51
|
-
if ((c(n) || (n = new t()), !c(m) || m.length === 0))
|
|
52
|
-
return (
|
|
53
|
-
(n.minimum = i.clone(i.ZERO, n.minimum)),
|
|
54
|
-
(n.maximum = i.clone(i.ZERO, n.maximum)),
|
|
55
|
-
(n.center = i.clone(i.ZERO, n.center)),
|
|
56
|
-
n
|
|
57
|
-
);
|
|
58
|
-
let e = m[0].x,
|
|
59
|
-
a = m[0].y,
|
|
60
|
-
u = m[0].z,
|
|
61
|
-
o = m[0].x,
|
|
62
|
-
y = m[0].y,
|
|
63
|
-
l = m[0].z,
|
|
64
|
-
I = m.length;
|
|
65
|
-
for (let E = 1; E < I; E++) {
|
|
66
|
-
let M = m[E],
|
|
67
|
-
p = M.x,
|
|
68
|
-
Z = M.y,
|
|
69
|
-
q = M.z;
|
|
70
|
-
((e = Math.min(p, e)),
|
|
71
|
-
(o = Math.max(p, o)),
|
|
72
|
-
(a = Math.min(Z, a)),
|
|
73
|
-
(y = Math.max(Z, y)),
|
|
74
|
-
(u = Math.min(q, u)),
|
|
75
|
-
(l = Math.max(q, l)));
|
|
76
|
-
}
|
|
77
|
-
let f = n.minimum;
|
|
78
|
-
((f.x = e), (f.y = a), (f.z = u));
|
|
79
|
-
let x = n.maximum;
|
|
80
|
-
return (
|
|
81
|
-
(x.x = o),
|
|
82
|
-
(x.y = y),
|
|
83
|
-
(x.z = l),
|
|
84
|
-
(n.center = i.midpoint(f, x, n.center)),
|
|
85
|
-
n
|
|
86
|
-
);
|
|
87
|
-
};
|
|
88
|
-
t.clone = function (m, n) {
|
|
89
|
-
if (c(m))
|
|
90
|
-
return c(n)
|
|
91
|
-
? ((n.minimum = i.clone(m.minimum, n.minimum)),
|
|
92
|
-
(n.maximum = i.clone(m.maximum, n.maximum)),
|
|
93
|
-
(n.center = i.clone(m.center, n.center)),
|
|
94
|
-
n)
|
|
95
|
-
: new t(m.minimum, m.maximum, m.center);
|
|
96
|
-
};
|
|
97
|
-
t.equals = function (m, n) {
|
|
98
|
-
return (
|
|
99
|
-
m === n ||
|
|
100
|
-
(c(m) &&
|
|
101
|
-
c(n) &&
|
|
102
|
-
i.equals(m.center, n.center) &&
|
|
103
|
-
i.equals(m.minimum, n.minimum) &&
|
|
104
|
-
i.equals(m.maximum, n.maximum))
|
|
105
|
-
);
|
|
106
|
-
};
|
|
107
|
-
var h = new i();
|
|
108
|
-
t.intersectPlane = function (m, n) {
|
|
109
|
-
(r.defined("box", m),
|
|
110
|
-
r.defined("plane", n),
|
|
111
|
-
(h = i.subtract(m.maximum, m.minimum, h)));
|
|
112
|
-
let e = i.multiplyByScalar(h, 0.5, h),
|
|
113
|
-
a = n.normal,
|
|
114
|
-
u = e.x * Math.abs(a.x) + e.y * Math.abs(a.y) + e.z * Math.abs(a.z),
|
|
115
|
-
o = i.dot(m.center, a) + n.distance;
|
|
116
|
-
return o - u > 0 ? d.INSIDE : o + u < 0 ? d.OUTSIDE : d.INTERSECTING;
|
|
117
|
-
};
|
|
118
|
-
t.prototype.clone = function (m) {
|
|
119
|
-
return t.clone(this, m);
|
|
120
|
-
};
|
|
121
|
-
t.prototype.intersectPlane = function (m) {
|
|
122
|
-
return t.intersectPlane(this, m);
|
|
123
|
-
};
|
|
124
|
-
t.prototype.equals = function (m) {
|
|
125
|
-
return t.equals(this, m);
|
|
126
|
-
};
|
|
127
|
-
var P = t;
|
|
128
|
-
export { P as a };
|