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.
Files changed (440) hide show
  1. package/README.md +31 -13
  2. package/bin/index.js +3 -244
  3. package/lib/argv.js +43 -0
  4. package/lib/cli.js +141 -0
  5. package/lib/constants.js +24 -0
  6. package/lib/gis.js +92 -0
  7. package/lib/manifest.js +23 -0
  8. package/lib/prompts.js +55 -0
  9. package/lib/scaffold.js +118 -0
  10. package/package.json +6 -2
  11. package/scripts/sync-template.js +120 -0
  12. package/scripts/validate-template.mjs +74 -0
  13. package/stubs/tsconfig.node.json +11 -0
  14. package/stubs/types-env.d.ts +9 -0
  15. package/stubs/vite.config.ts +64 -0
  16. package/template/.env.example +6 -0
  17. package/template/.github/workflows/ci.yml +23 -0
  18. package/template/.github/workflows/release.yml +69 -0
  19. package/template/.stylelintrc.json +7 -1
  20. package/template/README.md +95 -32
  21. package/template/auto-imports.d.ts +10 -0
  22. package/template/docs/MAINTAINER.md +77 -0
  23. package/template/docs/ONBOARDING.md +284 -0
  24. package/template/docs/TESTING.md +104 -0
  25. package/template/package.json +48 -41
  26. package/template/pnpm-lock.yaml +6360 -0
  27. package/template/scripts/gen-api.cjs +20 -7
  28. package/template/scripts/release.mjs +22 -28
  29. package/template/scripts/set-release-version.mjs +46 -0
  30. package/template/scripts/test-pipeline.mjs +85 -0
  31. package/template/scripts/test-scaffold.mjs +197 -0
  32. package/template/scripts/test-template.mjs +52 -0
  33. package/template/scripts/verify.mjs +28 -0
  34. package/template/scripts/vite-plugin-cesium-dev.ts +56 -0
  35. package/template/src/api/README.md +4 -0
  36. package/template/src/components/Body/index.vue +65 -35
  37. package/template/src/components/CesiumViewer/index.vue +36 -0
  38. package/template/src/components/Header/index.vue +16 -5
  39. package/template/src/components/OnboardingDeck/index.vue +449 -0
  40. package/template/src/data/onboardingSlides.ts +208 -0
  41. package/template/src/main.ts +1 -0
  42. package/template/src/router/index.ts +20 -14
  43. package/template/src/router/routeUtils.ts +13 -0
  44. package/template/src/styles/shell.css +232 -0
  45. package/template/src/utils/axios-middleware.js +1 -1
  46. package/template/src/utils/cesium/index.ts +71 -0
  47. package/template/src/utils/composables/useFeatureGis.ts +24 -0
  48. package/template/src/views/examples/cesium/index.vue +85 -0
  49. package/template/src/views/examples/guide/index.vue +42 -0
  50. package/template/src/views/examples/test/index.vue +63 -0
  51. package/template/src/views/index.vue +2 -3
  52. package/template/tests/README.md +1 -0
  53. package/template/tests/unit/onboardingSlides.test.ts +20 -0
  54. package/template/tests/unit/router.utils.test.ts +21 -0
  55. package/template/tests/unit/scaffold.lib.test.ts +44 -0
  56. package/template/tests/unit/useFeatureGis.test.ts +14 -0
  57. package/template/tsconfig.json +17 -17
  58. package/template/tsconfig.node.json +1 -1
  59. package/template/types/env.d.ts +13 -0
  60. package/template/vite.config.ts +26 -5
  61. package/template/vitest.config.ts +13 -0
  62. package/template/.env +0 -1
  63. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1012
  64. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1012
  65. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1012
  66. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1012
  67. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1012
  68. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1012
  69. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1012
  70. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1012
  71. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1012
  72. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1012
  73. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1012
  74. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1012
  75. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1012
  76. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1012
  77. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1012
  78. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1012
  79. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1012
  80. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1012
  81. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1012
  82. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1012
  83. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -438
  84. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1012
  85. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1012
  86. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1012
  87. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1012
  88. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1012
  89. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1012
  90. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1012
  91. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  92. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  93. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  94. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  95. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  96. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  97. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  98. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  99. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  100. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  101. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  102. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  103. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  104. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  105. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  106. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  107. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  108. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  109. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  110. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  111. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  112. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  113. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  114. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  115. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  116. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  117. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  118. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  119. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  120. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  121. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  122. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  123. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
  140. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  169. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  220. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  222. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  223. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  224. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  225. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  226. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  227. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  228. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  229. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  230. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  231. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  232. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  233. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  234. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  235. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  236. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  237. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  238. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  239. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  240. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  241. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  242. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  243. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  244. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  245. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  246. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  247. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  248. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  249. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  250. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  251. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  252. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  253. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  254. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  255. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  256. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  257. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  258. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  259. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  260. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  261. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  262. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  263. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  264. package/template/public/Cesium1.119/Assets/Textures/pin.svg +0 -1
  265. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  266. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  267. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +0 -10924
  268. package/template/public/Cesium1.119/Cesium.js +0 -185772
  269. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +0 -3
  270. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +0 -1681
  271. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +0 -1489
  272. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +0 -1070
  273. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  274. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  275. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +0 -11424
  276. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +0 -127
  277. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +0 -78
  278. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -112
  279. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +0 -28
  280. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -104
  281. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +0 -115
  282. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +0 -119
  283. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +0 -14
  284. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +0 -8
  285. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +0 -72
  286. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +0 -17
  287. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
  288. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  289. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  290. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  291. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  292. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  293. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  294. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  295. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  296. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  297. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  298. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  299. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  300. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  301. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  302. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  303. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  304. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  305. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  306. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  307. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
  308. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
  309. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
  310. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
  311. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +0 -120
  312. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
  313. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
  314. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
  315. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
  316. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  317. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  318. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  319. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  320. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +0 -94
  321. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +0 -178
  322. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -95
  323. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +0 -38
  324. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
  325. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +0 -46
  326. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +0 -72
  327. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +0 -22
  328. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +0 -103
  329. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +0 -18
  330. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +0 -8
  331. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +0 -107
  332. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +0 -18
  333. package/template/public/Cesium1.119/Widgets/lighter.css +0 -246
  334. package/template/public/Cesium1.119/Widgets/lighterShared.css +0 -46
  335. package/template/public/Cesium1.119/Widgets/shared.css +0 -103
  336. package/template/public/Cesium1.119/Widgets/widgets.css +0 -1376
  337. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +0 -611
  338. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +0 -166
  339. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +0 -264
  340. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +0 -128
  341. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +0 -8046
  342. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +0 -341
  343. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +0 -269
  344. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +0 -28
  345. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +0 -199
  346. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +0 -1102
  347. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +0 -485
  348. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +0 -76
  349. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +0 -91
  350. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +0 -42
  351. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +0 -2678
  352. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +0 -516
  353. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +0 -399
  354. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +0 -65
  355. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +0 -92
  356. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +0 -672
  357. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +0 -287
  358. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +0 -50
  359. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +0 -28
  360. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +0 -124
  361. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +0 -31
  362. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +0 -331
  363. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +0 -258
  364. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +0 -162
  365. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +0 -773
  366. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +0 -162
  367. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +0 -857
  368. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +0 -183
  369. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +0 -85
  370. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +0 -108
  371. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +0 -73
  372. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +0 -2372
  373. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +0 -73
  374. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +0 -538
  375. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +0 -1670
  376. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +0 -392
  377. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +0 -57
  378. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +0 -72
  379. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +0 -37
  380. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +0 -814
  381. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +0 -579
  382. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +0 -376
  383. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +0 -111
  384. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +0 -573
  385. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +0 -633
  386. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +0 -271
  387. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +0 -173
  388. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +0 -217
  389. package/template/public/Cesium1.119/Workers/combineGeometry.js +0 -53
  390. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +0 -45
  391. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +0 -189
  392. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +0 -148
  393. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +0 -105
  394. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +0 -293
  395. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +0 -143
  396. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +0 -830
  397. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +0 -417
  398. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +0 -47
  399. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +0 -170
  400. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +0 -58
  401. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +0 -51
  402. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +0 -46
  403. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +0 -45
  404. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +0 -45
  405. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +0 -164
  406. package/template/public/Cesium1.119/Workers/createGeometry.js +0 -159
  407. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +0 -911
  408. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +0 -185
  409. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +0 -93
  410. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +0 -884
  411. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +0 -359
  412. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +0 -349
  413. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +0 -262
  414. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +0 -177
  415. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +0 -787
  416. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +0 -299
  417. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +0 -294
  418. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +0 -84
  419. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +0 -83
  420. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +0 -28
  421. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +0 -289
  422. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +0 -258
  423. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +0 -79
  424. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +0 -275
  425. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +0 -176
  426. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -375
  427. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +0 -1772
  428. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -425
  429. package/template/public/Cesium1.119/Workers/createWallGeometry.js +0 -320
  430. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +0 -229
  431. package/template/public/Cesium1.119/Workers/decodeDraco.js +0 -227
  432. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1836
  433. package/template/public/Cesium1.119/Workers/decodeI3S.js +0 -924
  434. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +0 -3180
  435. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +0 -34
  436. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +0 -534
  437. package/template/public/Cesium1.119/index.cjs +0 -185632
  438. package/template/public/Cesium1.119/index.js +0 -182874
  439. package/template/src/views/Test/index.vue +0 -56
  440. package/template/tests/unit/example.test.ts +0 -7
@@ -1,271 +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 y, b as P, d as k } from "./chunk-POASMU2N.js";
27
- import { a as L } from "./chunk-R6KGAEF6.js";
28
- import { a as B } from "./chunk-IUA6FAOZ.js";
29
- import { b as q } from "./chunk-UH2WFNTA.js";
30
- import { e as T } from "./chunk-PEYJTJPE.js";
31
- function Y(n) {
32
- let a = n._uSquared,
33
- t = n._ellipsoid.maximumRadius,
34
- e = n._ellipsoid.minimumRadius,
35
- f = (t - e) / t,
36
- m = Math.cos(n._startHeading),
37
- _ = Math.sin(n._startHeading),
38
- r = (1 - f) * Math.tan(n._start.latitude),
39
- p = 1 / Math.sqrt(1 + r * r),
40
- R = p * r,
41
- M = Math.atan2(r, m),
42
- l = p * _,
43
- U = l * l,
44
- i = 1 - U,
45
- A = Math.sqrt(i),
46
- c = a / 4,
47
- o = c * c,
48
- h = o * c,
49
- S = o * o,
50
- u = 1 + c - (3 * o) / 4 + (5 * h) / 4 - (175 * S) / 64,
51
- C = 1 - c + (15 * o) / 8 - (35 * h) / 8,
52
- d = 1 - 3 * c + (35 * o) / 4,
53
- g = 1 - 5 * c,
54
- w =
55
- u * M -
56
- (C * Math.sin(2 * M) * c) / 2 -
57
- (d * Math.sin(4 * M) * o) / 16 -
58
- (g * Math.sin(6 * M) * h) / 48 -
59
- (Math.sin(8 * M) * 5 * S) / 512,
60
- s = n._constants;
61
- ((s.a = t),
62
- (s.b = e),
63
- (s.f = f),
64
- (s.cosineHeading = m),
65
- (s.sineHeading = _),
66
- (s.tanU = r),
67
- (s.cosineU = p),
68
- (s.sineU = R),
69
- (s.sigma = M),
70
- (s.sineAlpha = l),
71
- (s.sineSquaredAlpha = U),
72
- (s.cosineSquaredAlpha = i),
73
- (s.cosineAlpha = A),
74
- (s.u2Over4 = c),
75
- (s.u4Over16 = o),
76
- (s.u6Over64 = h),
77
- (s.u8Over256 = S),
78
- (s.a0 = u),
79
- (s.a1 = C),
80
- (s.a2 = d),
81
- (s.a3 = g),
82
- (s.distanceRatio = w));
83
- }
84
- function Z(n, a) {
85
- return (n * a * (4 + n * (4 - 3 * a))) / 16;
86
- }
87
- function N(n, a, t, e, f, m, _) {
88
- let r = Z(n, t);
89
- return (1 - r) * n * a * (e + r * f * (_ + r * m * (2 * _ * _ - 1)));
90
- }
91
- function $(n, a, t, e, f, m, _) {
92
- let r = (a - t) / a,
93
- p = m - e,
94
- R = Math.atan((1 - r) * Math.tan(f)),
95
- M = Math.atan((1 - r) * Math.tan(_)),
96
- l = Math.cos(R),
97
- U = Math.sin(R),
98
- i = Math.cos(M),
99
- A = Math.sin(M),
100
- c = l * i,
101
- o = l * A,
102
- h = U * A,
103
- S = U * i,
104
- u = p,
105
- C = L.TWO_PI,
106
- d = Math.cos(u),
107
- g = Math.sin(u),
108
- w,
109
- s,
110
- O,
111
- H,
112
- b;
113
- do {
114
- ((d = Math.cos(u)), (g = Math.sin(u)));
115
- let z = o - S * d;
116
- ((O = Math.sqrt(i * i * g * g + z * z)),
117
- (s = h + c * d),
118
- (w = Math.atan2(O, s)));
119
- let D;
120
- (O === 0 ? ((D = 0), (H = 1)) : ((D = (c * g) / O), (H = 1 - D * D)),
121
- (C = u),
122
- (b = s - (2 * h) / H),
123
- isFinite(b) || (b = 0),
124
- (u = p + N(r, D, H, w, O, s, b)));
125
- } while (Math.abs(u - C) > L.EPSILON12);
126
- let v = (H * (a * a - t * t)) / (t * t),
127
- W = 1 + (v * (4096 + v * (v * (320 - 175 * v) - 768))) / 16384,
128
- I = (v * (256 + v * (v * (74 - 47 * v) - 128))) / 1024,
129
- F = b * b,
130
- J =
131
- I *
132
- O *
133
- (b +
134
- (I * (s * (2 * F - 1) - (I * b * (4 * O * O - 3) * (4 * F - 3)) / 6)) /
135
- 4),
136
- K = t * W * (w - J),
137
- Q = Math.atan2(i * g, o - S * d),
138
- X = Math.atan2(l * g, o * d - S);
139
- ((n._distance = K),
140
- (n._startHeading = Q),
141
- (n._endHeading = X),
142
- (n._uSquared = v));
143
- }
144
- var j = new y(),
145
- x = new y();
146
- function V(n, a, t, e) {
147
- let f = y.normalize(e.cartographicToCartesian(a, x), j),
148
- m = y.normalize(e.cartographicToCartesian(t, x), x);
149
- (q.typeOf.number.greaterThanOrEquals(
150
- "value",
151
- Math.abs(Math.abs(y.angleBetween(f, m)) - Math.PI),
152
- 0.0125,
153
- ),
154
- $(
155
- n,
156
- e.maximumRadius,
157
- e.minimumRadius,
158
- a.longitude,
159
- a.latitude,
160
- t.longitude,
161
- t.latitude,
162
- ),
163
- (n._start = P.clone(a, n._start)),
164
- (n._end = P.clone(t, n._end)),
165
- (n._start.height = 0),
166
- (n._end.height = 0),
167
- Y(n));
168
- }
169
- function E(n, a, t) {
170
- let e = B(t, k.default);
171
- ((this._ellipsoid = e),
172
- (this._start = new P()),
173
- (this._end = new P()),
174
- (this._constants = {}),
175
- (this._startHeading = void 0),
176
- (this._endHeading = void 0),
177
- (this._distance = void 0),
178
- (this._uSquared = void 0),
179
- T(n) && T(a) && V(this, n, a, e));
180
- }
181
- Object.defineProperties(E.prototype, {
182
- ellipsoid: {
183
- get: function () {
184
- return this._ellipsoid;
185
- },
186
- },
187
- surfaceDistance: {
188
- get: function () {
189
- return (q.defined("distance", this._distance), this._distance);
190
- },
191
- },
192
- start: {
193
- get: function () {
194
- return this._start;
195
- },
196
- },
197
- end: {
198
- get: function () {
199
- return this._end;
200
- },
201
- },
202
- startHeading: {
203
- get: function () {
204
- return (q.defined("distance", this._distance), this._startHeading);
205
- },
206
- },
207
- endHeading: {
208
- get: function () {
209
- return (q.defined("distance", this._distance), this._endHeading);
210
- },
211
- },
212
- });
213
- E.prototype.setEndPoints = function (n, a) {
214
- (q.defined("start", n), q.defined("end", a), V(this, n, a, this._ellipsoid));
215
- };
216
- E.prototype.interpolateUsingFraction = function (n, a) {
217
- return this.interpolateUsingSurfaceDistance(this._distance * n, a);
218
- };
219
- E.prototype.interpolateUsingSurfaceDistance = function (n, a) {
220
- q.defined("distance", this._distance);
221
- let t = this._constants,
222
- e = t.distanceRatio + n / t.b,
223
- f = Math.cos(2 * e),
224
- m = Math.cos(4 * e),
225
- _ = Math.cos(6 * e),
226
- r = Math.sin(2 * e),
227
- p = Math.sin(4 * e),
228
- R = Math.sin(6 * e),
229
- M = Math.sin(8 * e),
230
- l = e * e,
231
- U = e * l,
232
- i = t.u8Over256,
233
- A = t.u2Over4,
234
- c = t.u6Over64,
235
- o = t.u4Over16,
236
- h =
237
- (2 * U * i * f) / 3 +
238
- e *
239
- (1 -
240
- A +
241
- (7 * o) / 4 -
242
- (15 * c) / 4 +
243
- (579 * i) / 64 -
244
- (o - (15 * c) / 4 + (187 * i) / 16) * f -
245
- ((5 * c) / 4 - (115 * i) / 16) * m -
246
- (29 * i * _) / 16) +
247
- (A / 2 - o + (71 * c) / 32 - (85 * i) / 16) * r +
248
- ((5 * o) / 16 - (5 * c) / 4 + (383 * i) / 96) * p -
249
- l * ((c - (11 * i) / 2) * r + (5 * i * p) / 2) +
250
- ((29 * c) / 96 - (29 * i) / 16) * R +
251
- (539 * i * M) / 1536,
252
- S = Math.asin(Math.sin(h) * t.cosineAlpha),
253
- u = Math.atan((t.a / t.b) * Math.tan(S));
254
- h = h - t.sigma;
255
- let C = Math.cos(2 * t.sigma + h),
256
- d = Math.sin(h),
257
- g = Math.cos(h),
258
- w = t.cosineU * g,
259
- s = t.sineU * d,
260
- H =
261
- Math.atan2(d * t.sineHeading, w - s * t.cosineHeading) -
262
- N(t.f, t.sineAlpha, t.cosineSquaredAlpha, h, d, g, C);
263
- return T(a)
264
- ? ((a.longitude = this._start.longitude + H),
265
- (a.latitude = u),
266
- (a.height = 0),
267
- a)
268
- : new P(this._start.longitude + H, u, 0);
269
- };
270
- var ct = E;
271
- export { ct as a };
@@ -1,173 +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 l, f as O, g as R, h as G, i as L } from "./chunk-7Z5IIKOJ.js";
27
- import { a as A, b as h, c as a, e as y } from "./chunk-POASMU2N.js";
28
- import { a as c } from "./chunk-3C7WC463.js";
29
- import { a as s } from "./chunk-IUA6FAOZ.js";
30
- import { a as N, b as w } from "./chunk-UH2WFNTA.js";
31
- import { e as I } from "./chunk-PEYJTJPE.js";
32
- var U = { NONE: 0, TRIANGLES: 1, LINES: 2, POLYLINES: 3 },
33
- M = Object.freeze(U);
34
- var r = {
35
- POINTS: c.POINTS,
36
- LINES: c.LINES,
37
- LINE_LOOP: c.LINE_LOOP,
38
- LINE_STRIP: c.LINE_STRIP,
39
- TRIANGLES: c.TRIANGLES,
40
- TRIANGLE_STRIP: c.TRIANGLE_STRIP,
41
- TRIANGLE_FAN: c.TRIANGLE_FAN,
42
- };
43
- r.isLines = function (t) {
44
- return t === r.LINES || t === r.LINE_LOOP || t === r.LINE_STRIP;
45
- };
46
- r.isTriangles = function (t) {
47
- return t === r.TRIANGLES || t === r.TRIANGLE_STRIP || t === r.TRIANGLE_FAN;
48
- };
49
- r.validate = function (t) {
50
- return (
51
- t === r.POINTS ||
52
- t === r.LINES ||
53
- t === r.LINE_LOOP ||
54
- t === r.LINE_STRIP ||
55
- t === r.TRIANGLES ||
56
- t === r.TRIANGLE_STRIP ||
57
- t === r.TRIANGLE_FAN
58
- );
59
- };
60
- var F = Object.freeze(r);
61
- function _(t) {
62
- ((t = s(t, s.EMPTY_OBJECT)),
63
- w.typeOf.object("options.attributes", t.attributes),
64
- (this.attributes = t.attributes),
65
- (this.indices = t.indices),
66
- (this.primitiveType = s(t.primitiveType, F.TRIANGLES)),
67
- (this.boundingSphere = t.boundingSphere),
68
- (this.geometryType = s(t.geometryType, M.NONE)),
69
- (this.boundingSphereCV = t.boundingSphereCV),
70
- (this.offsetAttribute = t.offsetAttribute));
71
- }
72
- _.computeNumberOfVertices = function (t) {
73
- w.typeOf.object("geometry", t);
74
- let m = -1;
75
- for (let u in t.attributes)
76
- if (
77
- t.attributes.hasOwnProperty(u) &&
78
- I(t.attributes[u]) &&
79
- I(t.attributes[u].values)
80
- ) {
81
- let o = t.attributes[u],
82
- e = o.values.length / o.componentsPerAttribute;
83
- if (m !== e && m !== -1)
84
- throw new N(
85
- "All attribute lists must have the same number of attributes.",
86
- );
87
- m = e;
88
- }
89
- return m;
90
- };
91
- var W = new h(),
92
- H = new A(),
93
- V = new l(),
94
- Z = [new h(), new h(), new h()],
95
- K = [new a(), new a(), new a()],
96
- $ = [new a(), new a(), new a()],
97
- tt = new A(),
98
- et = new O(),
99
- rt = new l(),
100
- nt = new L();
101
- _._textureCoordinateRotationPoints = function (t, m, u, o) {
102
- let e,
103
- g = G.center(o, W),
104
- D = h.toCartesian(g, u, H),
105
- Y = R.eastNorthUpToFixedFrame(D, u, V),
106
- C = l.inverse(Y, V),
107
- b = K,
108
- f = Z;
109
- ((f[0].longitude = o.west),
110
- (f[0].latitude = o.south),
111
- (f[1].longitude = o.west),
112
- (f[1].latitude = o.north),
113
- (f[2].longitude = o.east),
114
- (f[2].latitude = o.south));
115
- let n = tt;
116
- for (e = 0; e < 3; e++)
117
- (h.toCartesian(f[e], u, n),
118
- (n = l.multiplyByPointAsVector(C, n, n)),
119
- (b[e].x = n.x),
120
- (b[e].y = n.y));
121
- let B = O.fromAxisAngle(A.UNIT_Z, -m, et),
122
- v = y.fromQuaternion(B, rt),
123
- j = t.length,
124
- T = Number.POSITIVE_INFINITY,
125
- p = Number.POSITIVE_INFINITY,
126
- d = Number.NEGATIVE_INFINITY,
127
- x = Number.NEGATIVE_INFINITY;
128
- for (e = 0; e < j; e++)
129
- ((n = l.multiplyByPointAsVector(C, t[e], n)),
130
- (n = y.multiplyByVector(v, n, n)),
131
- (T = Math.min(T, n.x)),
132
- (p = Math.min(p, n.y)),
133
- (d = Math.max(d, n.x)),
134
- (x = Math.max(x, n.y)));
135
- let k = L.fromRotation(m, nt),
136
- i = $;
137
- ((i[0].x = T),
138
- (i[0].y = p),
139
- (i[1].x = T),
140
- (i[1].y = x),
141
- (i[2].x = d),
142
- (i[2].y = p));
143
- let P = b[0],
144
- z = b[2].x - P.x,
145
- X = b[1].y - P.y;
146
- for (e = 0; e < 3; e++) {
147
- let E = i[e];
148
- (L.multiplyByVector(k, E, E),
149
- (E.x = (E.x - P.x) / z),
150
- (E.y = (E.y - P.y) / X));
151
- }
152
- let q = i[0],
153
- J = i[1],
154
- Q = i[2],
155
- S = new Array(6);
156
- return (a.pack(q, S), a.pack(J, S, 2), a.pack(Q, S, 4), S);
157
- };
158
- var Lt = _;
159
- function ot(t) {
160
- if (((t = s(t, s.EMPTY_OBJECT)), !I(t.componentDatatype)))
161
- throw new N("options.componentDatatype is required.");
162
- if (!I(t.componentsPerAttribute))
163
- throw new N("options.componentsPerAttribute is required.");
164
- if (t.componentsPerAttribute < 1 || t.componentsPerAttribute > 4)
165
- throw new N("options.componentsPerAttribute must be between 1 and 4.");
166
- if (!I(t.values)) throw new N("options.values is required.");
167
- ((this.componentDatatype = t.componentDatatype),
168
- (this.componentsPerAttribute = t.componentsPerAttribute),
169
- (this.normalize = s(t.normalize, !1)),
170
- (this.values = t.values));
171
- }
172
- var Ot = ot;
173
- export { M as a, F as b, Lt as c, Ot as d };
@@ -1,217 +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, c as q } from "./chunk-K4ASOM65.js";
27
- import { a as U } from "./chunk-AMQUWUD4.js";
28
- import { f as I } from "./chunk-7Z5IIKOJ.js";
29
- import { a as e, e as C } from "./chunk-POASMU2N.js";
30
- import { a as O } from "./chunk-R6KGAEF6.js";
31
- import { e as j } from "./chunk-PEYJTJPE.js";
32
- var G = {},
33
- B = new e(),
34
- J = new e(),
35
- _ = new e(),
36
- v = new e(),
37
- g = [new e(), new e()],
38
- K = new e(),
39
- W = new e(),
40
- X = new e(),
41
- $ = new e(),
42
- ee = new e(),
43
- te = new e(),
44
- ne = new e(),
45
- oe = new e(),
46
- re = new e(),
47
- se = new e(),
48
- F = new I(),
49
- k = new C();
50
- function V(o, s, a, c, r) {
51
- let d = e.angleBetween(e.subtract(s, o, B), e.subtract(a, o, J)),
52
- y = c === z.BEVELED ? 1 : Math.ceil(d / O.toRadians(5)) + 1,
53
- n = y * 3,
54
- l = new Array(n);
55
- ((l[n - 3] = a.x), (l[n - 2] = a.y), (l[n - 1] = a.z));
56
- let m;
57
- r
58
- ? (m = C.fromQuaternion(I.fromAxisAngle(e.negate(o, B), d / y, F), k))
59
- : (m = C.fromQuaternion(I.fromAxisAngle(o, d / y, F), k));
60
- let t = 0;
61
- s = e.clone(s, B);
62
- for (let i = 0; i < y; i++)
63
- ((s = C.multiplyByVector(m, s, s)),
64
- (l[t++] = s.x),
65
- (l[t++] = s.y),
66
- (l[t++] = s.z));
67
- return l;
68
- }
69
- function ae(o) {
70
- let s = K,
71
- a = W,
72
- c = X,
73
- r = o[1];
74
- ((a = e.fromArray(o[1], r.length - 3, a)),
75
- (c = e.fromArray(o[0], 0, c)),
76
- (s = e.midpoint(a, c, s)));
77
- let d = V(s, a, c, z.ROUNDED, !1),
78
- y = o.length - 1,
79
- n = o[y - 1];
80
- ((r = o[y]),
81
- (a = e.fromArray(n, n.length - 3, a)),
82
- (c = e.fromArray(r, 0, c)),
83
- (s = e.midpoint(a, c, s)));
84
- let l = V(s, a, c, z.ROUNDED, !1);
85
- return [d, l];
86
- }
87
- function H(o, s, a, c) {
88
- let r = B;
89
- return (
90
- c ? (r = e.add(o, s, r)) : ((s = e.negate(s, s)), (r = e.add(o, s, r))),
91
- [r.x, r.y, r.z, a.x, a.y, a.z]
92
- );
93
- }
94
- function T(o, s, a, c) {
95
- let r = new Array(o.length),
96
- d = new Array(o.length),
97
- y = e.multiplyByScalar(s, a, B),
98
- n = e.negate(y, J),
99
- l = 0,
100
- m = o.length - 1;
101
- for (let t = 0; t < o.length; t += 3) {
102
- let i = e.fromArray(o, t, _),
103
- w = e.add(i, n, v);
104
- ((r[l++] = w.x), (r[l++] = w.y), (r[l++] = w.z));
105
- let f = e.add(i, y, v);
106
- ((d[m--] = f.z), (d[m--] = f.y), (d[m--] = f.x));
107
- }
108
- return (c.push(r, d), c);
109
- }
110
- G.addAttribute = function (o, s, a, c) {
111
- let r = s.x,
112
- d = s.y,
113
- y = s.z;
114
- (j(a) && ((o[a] = r), (o[a + 1] = d), (o[a + 2] = y)),
115
- j(c) && ((o[c] = y), (o[c - 1] = d), (o[c - 2] = r)));
116
- };
117
- var le = new e(),
118
- ce = new e();
119
- G.computePositions = function (o) {
120
- let s = o.granularity,
121
- a = o.positions,
122
- c = o.ellipsoid,
123
- r = o.width / 2,
124
- d = o.cornerType,
125
- y = o.saveAttributes,
126
- n = K,
127
- l = W,
128
- m = X,
129
- t = $,
130
- i = ee,
131
- w = te,
132
- f = ne,
133
- u = oe,
134
- p = re,
135
- x = se,
136
- E = [],
137
- S = y ? [] : void 0,
138
- D = y ? [] : void 0,
139
- h = a[0],
140
- N = a[1];
141
- ((l = e.normalize(e.subtract(N, h, l), l)),
142
- (n = c.geodeticSurfaceNormal(h, n)),
143
- (t = e.normalize(e.cross(n, l, t), t)),
144
- y && (S.push(t.x, t.y, t.z), D.push(n.x, n.y, n.z)),
145
- (f = e.clone(h, f)),
146
- (h = N),
147
- (m = e.negate(l, m)));
148
- let A,
149
- P = [],
150
- M,
151
- Y = a.length;
152
- for (M = 1; M < Y - 1; M++) {
153
- ((n = c.geodeticSurfaceNormal(h, n)),
154
- (N = a[M + 1]),
155
- (l = e.normalize(e.subtract(N, h, l), l)),
156
- (i = e.normalize(e.add(l, m, i), i)));
157
- let L = e.multiplyByScalar(n, e.dot(l, n), le);
158
- (e.subtract(l, L, L), e.normalize(L, L));
159
- let R = e.multiplyByScalar(n, e.dot(m, n), ce);
160
- if (
161
- (e.subtract(m, R, R),
162
- e.normalize(R, R),
163
- !O.equalsEpsilon(Math.abs(e.dot(L, R)), 1, O.EPSILON7))
164
- ) {
165
- ((i = e.cross(i, n, i)), (i = e.cross(n, i, i)), (i = e.normalize(i, i)));
166
- let Z = r / Math.max(0.25, e.magnitude(e.cross(i, m, B))),
167
- b = q.angleIsGreaterThanPi(l, m, h, c);
168
- ((i = e.multiplyByScalar(i, Z, i)),
169
- b
170
- ? ((u = e.add(h, i, u)),
171
- (x = e.add(u, e.multiplyByScalar(t, r, x), x)),
172
- (p = e.add(u, e.multiplyByScalar(t, r * 2, p), p)),
173
- (g[0] = e.clone(f, g[0])),
174
- (g[1] = e.clone(x, g[1])),
175
- (A = U.generateArc({ positions: g, granularity: s, ellipsoid: c })),
176
- (E = T(A, t, r, E)),
177
- y && (S.push(t.x, t.y, t.z), D.push(n.x, n.y, n.z)),
178
- (w = e.clone(p, w)),
179
- (t = e.normalize(e.cross(n, l, t), t)),
180
- (p = e.add(u, e.multiplyByScalar(t, r * 2, p), p)),
181
- (f = e.add(u, e.multiplyByScalar(t, r, f), f)),
182
- d === z.ROUNDED || d === z.BEVELED
183
- ? P.push({ leftPositions: V(u, w, p, d, b) })
184
- : P.push({ leftPositions: H(h, e.negate(i, i), p, b) }))
185
- : ((p = e.add(h, i, p)),
186
- (x = e.add(p, e.negate(e.multiplyByScalar(t, r, x), x), x)),
187
- (u = e.add(p, e.negate(e.multiplyByScalar(t, r * 2, u), u), u)),
188
- (g[0] = e.clone(f, g[0])),
189
- (g[1] = e.clone(x, g[1])),
190
- (A = U.generateArc({ positions: g, granularity: s, ellipsoid: c })),
191
- (E = T(A, t, r, E)),
192
- y && (S.push(t.x, t.y, t.z), D.push(n.x, n.y, n.z)),
193
- (w = e.clone(u, w)),
194
- (t = e.normalize(e.cross(n, l, t), t)),
195
- (u = e.add(p, e.negate(e.multiplyByScalar(t, r * 2, u), u), u)),
196
- (f = e.add(p, e.negate(e.multiplyByScalar(t, r, f), f), f)),
197
- d === z.ROUNDED || d === z.BEVELED
198
- ? P.push({ rightPositions: V(p, w, u, d, b) })
199
- : P.push({ rightPositions: H(h, i, u, b) })),
200
- (m = e.negate(l, m)));
201
- }
202
- h = N;
203
- }
204
- ((n = c.geodeticSurfaceNormal(h, n)),
205
- (g[0] = e.clone(f, g[0])),
206
- (g[1] = e.clone(h, g[1])),
207
- (A = U.generateArc({ positions: g, granularity: s, ellipsoid: c })),
208
- (E = T(A, t, r, E)),
209
- y && (S.push(t.x, t.y, t.z), D.push(n.x, n.y, n.z)));
210
- let Q;
211
- return (
212
- d === z.ROUNDED && (Q = ae(E)),
213
- { positions: E, corners: P, lefts: S, normals: D, endPositions: Q }
214
- );
215
- };
216
- var we = G;
217
- export { we as a };
@@ -1,53 +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 e } from "./chunk-FKRG4HDY.js";
27
- import { a as r } from "./chunk-PXCJYT2S.js";
28
- import "./chunk-SB224QGV.js";
29
- import "./chunk-QB3MDM4J.js";
30
- import "./chunk-ABGXSJNX.js";
31
- import "./chunk-DQO6B4EQ.js";
32
- import "./chunk-TAMCUKAR.js";
33
- import "./chunk-PDMQLSBL.js";
34
- import "./chunk-P37AI2DW.js";
35
- import "./chunk-T6BE4RZK.js";
36
- import "./chunk-X5IHHI6X.js";
37
- import "./chunk-TMSETF7M.js";
38
- import "./chunk-7Z5IIKOJ.js";
39
- import "./chunk-KZNJOCYU.js";
40
- import "./chunk-POASMU2N.js";
41
- import "./chunk-R6KGAEF6.js";
42
- import "./chunk-3C7WC463.js";
43
- import "./chunk-II4VNKYR.js";
44
- import "./chunk-IUA6FAOZ.js";
45
- import "./chunk-UH2WFNTA.js";
46
- import "./chunk-PEYJTJPE.js";
47
- function n(o, t) {
48
- let m = e.unpackCombineGeometryParameters(o),
49
- i = e.combineGeometry(m);
50
- return e.packCombineGeometryResults(i, t);
51
- }
52
- var c = r(n);
53
- export { c as default };