create-swdg-frontend 0.1.6 → 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 (469) 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/.husky/commit-msg +42 -42
  20. package/template/.husky/pre-commit +2 -2
  21. package/template/.husky/prepare-commit-msg +0 -0
  22. package/template/.lintstagedrc +5 -5
  23. package/template/.prettierignore +26 -26
  24. package/template/.prettierrc.cjs +10 -10
  25. package/template/.stylelintignore +1 -1
  26. package/template/.stylelintrc.json +12 -6
  27. package/template/README.md +99 -36
  28. package/template/auto-imports.d.ts +10 -0
  29. package/template/commitlint.config.cjs +64 -64
  30. package/template/docs/MAINTAINER.md +77 -0
  31. package/template/docs/ONBOARDING.md +284 -0
  32. package/template/docs/TESTING.md +104 -0
  33. package/template/eslint.config.js +97 -96
  34. package/template/index.html +17 -17
  35. package/template/interface/user.ts +5 -5
  36. package/template/package.json +88 -86
  37. package/template/pnpm-lock.yaml +6360 -0
  38. package/template/postcss.config.js +5 -0
  39. package/template/scripts/gen-api.cjs +280 -230
  40. package/template/scripts/release.mjs +53 -59
  41. package/template/scripts/set-release-version.mjs +46 -0
  42. package/template/scripts/test-pipeline.mjs +85 -0
  43. package/template/scripts/test-scaffold.mjs +197 -0
  44. package/template/scripts/test-template.mjs +52 -0
  45. package/template/scripts/verify.mjs +28 -0
  46. package/template/scripts/vite-plugin-cesium-dev.ts +56 -0
  47. package/template/src/App.vue +6 -6
  48. package/template/src/api/README.md +7 -3
  49. package/template/src/assets/favicon.svg +49 -49
  50. package/template/src/components/Body/index.vue +80 -16
  51. package/template/src/components/CesiumViewer/index.vue +36 -0
  52. package/template/src/components/Header/index.vue +19 -8
  53. package/template/src/components/OnboardingDeck/index.vue +449 -0
  54. package/template/src/data/onboardingSlides.ts +208 -0
  55. package/template/src/directive/focus.ts +9 -9
  56. package/template/src/layout/BasicLayout.vue +28 -28
  57. package/template/src/main.ts +25 -33
  58. package/template/src/router/index.ts +30 -24
  59. package/template/src/router/routeUtils.ts +13 -0
  60. package/template/src/stores/README.md +3 -3
  61. package/template/src/stores/useCounter.ts +12 -12
  62. package/template/src/styles/alerts.less +85 -85
  63. package/template/src/styles/global.css +326 -326
  64. package/template/src/styles/shell.css +232 -0
  65. package/template/src/utils/alert.ts +58 -58
  66. package/template/src/utils/axios-middleware.js +180 -0
  67. package/template/src/utils/cesium/index.ts +71 -0
  68. package/template/src/utils/components.ts +21 -21
  69. package/template/src/utils/composables/useAlert.ts +14 -14
  70. package/template/src/utils/composables/useFeatureGis.ts +24 -0
  71. package/template/src/utils/http.ts +5 -0
  72. package/template/src/views/examples/cesium/index.vue +85 -0
  73. package/template/src/views/examples/guide/index.vue +42 -0
  74. package/template/src/views/examples/test/index.vue +63 -0
  75. package/template/src/views/index.vue +8 -9
  76. package/template/src/vite-env.d.ts +1 -1
  77. package/template/tests/README.md +7 -6
  78. package/template/tests/e2e/README.md +3 -3
  79. package/template/tests/setup.ts +1 -1
  80. package/template/tests/unit/onboardingSlides.test.ts +20 -0
  81. package/template/tests/unit/router.utils.test.ts +21 -0
  82. package/template/tests/unit/scaffold.lib.test.ts +44 -0
  83. package/template/tests/unit/useFeatureGis.test.ts +14 -0
  84. package/template/tests/utils/helpers.ts +1 -1
  85. package/template/tsconfig.json +51 -51
  86. package/template/tsconfig.node.json +11 -11
  87. package/template/types/README.md +3 -3
  88. package/template/types/env.d.ts +13 -0
  89. package/template/types/global.d.ts +9 -9
  90. package/template/vite.config.ts +89 -75
  91. package/template/vitest.config.ts +22 -9
  92. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1012
  93. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1012
  94. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1012
  95. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1012
  96. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1012
  97. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1012
  98. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1012
  99. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1012
  100. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1012
  101. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1012
  102. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1012
  103. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1012
  104. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1012
  105. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1012
  106. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1012
  107. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1012
  108. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1012
  109. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1012
  110. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1012
  111. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1012
  112. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -438
  113. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1012
  114. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1012
  115. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1012
  116. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1012
  117. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1012
  118. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1012
  119. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1012
  120. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  121. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  122. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  123. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  140. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
  169. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  220. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  222. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  223. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  224. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  225. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  226. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  227. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  228. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  229. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  230. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  231. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  232. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  233. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  234. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  235. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  236. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  237. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  238. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  239. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  240. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  241. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  242. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  243. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  244. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  245. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  246. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  247. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  248. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  249. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  250. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  251. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  252. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  253. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  254. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  255. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  256. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  257. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  258. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  259. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  260. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  261. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  262. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  263. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  264. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  265. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  266. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  267. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  268. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  269. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  270. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  271. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  272. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  273. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  274. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  275. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  276. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  277. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  278. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  279. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  280. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  281. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  282. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  283. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  284. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  285. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  286. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  287. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  288. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  289. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  290. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  291. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  292. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  293. package/template/public/Cesium1.119/Assets/Textures/pin.svg +0 -1
  294. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  295. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  296. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +0 -10924
  297. package/template/public/Cesium1.119/Cesium.js +0 -185772
  298. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +0 -3
  299. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +0 -1681
  300. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +0 -1489
  301. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +0 -1070
  302. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  303. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  304. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +0 -11424
  305. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +0 -127
  306. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +0 -78
  307. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -112
  308. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +0 -28
  309. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -104
  310. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +0 -115
  311. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +0 -119
  312. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +0 -14
  313. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +0 -8
  314. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +0 -72
  315. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +0 -17
  316. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
  317. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  318. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  319. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  320. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  321. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  322. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  323. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  324. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  325. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  326. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  327. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  328. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  329. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  330. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  331. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  332. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  333. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  334. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  335. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  336. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
  337. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
  338. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
  339. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
  340. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +0 -120
  341. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
  342. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
  343. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
  344. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
  345. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  346. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  347. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  348. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  349. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +0 -94
  350. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +0 -178
  351. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -95
  352. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +0 -38
  353. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
  354. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +0 -46
  355. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +0 -72
  356. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +0 -22
  357. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +0 -103
  358. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +0 -18
  359. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +0 -8
  360. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +0 -107
  361. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +0 -18
  362. package/template/public/Cesium1.119/Widgets/lighter.css +0 -246
  363. package/template/public/Cesium1.119/Widgets/lighterShared.css +0 -46
  364. package/template/public/Cesium1.119/Widgets/shared.css +0 -103
  365. package/template/public/Cesium1.119/Widgets/widgets.css +0 -1376
  366. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +0 -611
  367. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +0 -166
  368. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +0 -264
  369. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +0 -128
  370. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +0 -8046
  371. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +0 -341
  372. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +0 -269
  373. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +0 -28
  374. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +0 -199
  375. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +0 -1102
  376. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +0 -485
  377. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +0 -76
  378. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +0 -91
  379. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +0 -42
  380. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +0 -2678
  381. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +0 -516
  382. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +0 -399
  383. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +0 -65
  384. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +0 -92
  385. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +0 -672
  386. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +0 -287
  387. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +0 -50
  388. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +0 -28
  389. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +0 -124
  390. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +0 -31
  391. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +0 -331
  392. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +0 -258
  393. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +0 -162
  394. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +0 -773
  395. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +0 -162
  396. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +0 -857
  397. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +0 -183
  398. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +0 -85
  399. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +0 -108
  400. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +0 -73
  401. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +0 -2372
  402. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +0 -73
  403. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +0 -538
  404. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +0 -1670
  405. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +0 -392
  406. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +0 -57
  407. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +0 -72
  408. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +0 -37
  409. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +0 -814
  410. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +0 -579
  411. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +0 -376
  412. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +0 -111
  413. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +0 -573
  414. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +0 -633
  415. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +0 -271
  416. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +0 -173
  417. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +0 -217
  418. package/template/public/Cesium1.119/Workers/combineGeometry.js +0 -53
  419. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +0 -45
  420. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +0 -189
  421. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +0 -148
  422. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +0 -105
  423. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +0 -293
  424. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +0 -143
  425. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +0 -830
  426. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +0 -417
  427. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +0 -47
  428. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +0 -170
  429. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +0 -58
  430. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +0 -51
  431. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +0 -46
  432. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +0 -45
  433. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +0 -45
  434. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +0 -164
  435. package/template/public/Cesium1.119/Workers/createGeometry.js +0 -159
  436. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +0 -911
  437. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +0 -185
  438. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +0 -93
  439. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +0 -884
  440. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +0 -359
  441. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +0 -349
  442. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +0 -262
  443. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +0 -177
  444. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +0 -787
  445. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +0 -299
  446. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +0 -294
  447. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +0 -84
  448. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +0 -83
  449. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +0 -28
  450. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +0 -289
  451. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +0 -258
  452. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +0 -79
  453. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +0 -275
  454. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +0 -176
  455. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -375
  456. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +0 -1772
  457. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -425
  458. package/template/public/Cesium1.119/Workers/createWallGeometry.js +0 -320
  459. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +0 -229
  460. package/template/public/Cesium1.119/Workers/decodeDraco.js +0 -227
  461. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1836
  462. package/template/public/Cesium1.119/Workers/decodeI3S.js +0 -924
  463. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +0 -3180
  464. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +0 -34
  465. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +0 -534
  466. package/template/public/Cesium1.119/index.cjs +0 -185632
  467. package/template/public/Cesium1.119/index.js +0 -182874
  468. package/template/src/views/Test/index.vue +0 -23
  469. package/template/tests/unit/example.test.ts +0 -7
@@ -1,83 +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 t } from "./chunk-KCIZBVXL.js";
27
- import "./chunk-ILGBPNP6.js";
28
- import "./chunk-P37AI2DW.js";
29
- import "./chunk-T6BE4RZK.js";
30
- import "./chunk-X5IHHI6X.js";
31
- import "./chunk-TMSETF7M.js";
32
- import "./chunk-7Z5IIKOJ.js";
33
- import "./chunk-KZNJOCYU.js";
34
- import { a as d } from "./chunk-POASMU2N.js";
35
- import "./chunk-R6KGAEF6.js";
36
- import "./chunk-3C7WC463.js";
37
- import "./chunk-II4VNKYR.js";
38
- import { a as l } from "./chunk-IUA6FAOZ.js";
39
- import { b as u } from "./chunk-UH2WFNTA.js";
40
- import { e as a } from "./chunk-PEYJTJPE.js";
41
- function s(i) {
42
- let e = l(i.radius, 1),
43
- r = {
44
- radii: new d(e, e, e),
45
- stackPartitions: i.stackPartitions,
46
- slicePartitions: i.slicePartitions,
47
- subdivisions: i.subdivisions,
48
- };
49
- ((this._ellipsoidGeometry = new t(r)),
50
- (this._workerName = "createSphereOutlineGeometry"));
51
- }
52
- s.packedLength = t.packedLength;
53
- s.pack = function (i, e, o) {
54
- return (u.typeOf.object("value", i), t.pack(i._ellipsoidGeometry, e, o));
55
- };
56
- var m = new t(),
57
- n = {
58
- radius: void 0,
59
- radii: new d(),
60
- stackPartitions: void 0,
61
- slicePartitions: void 0,
62
- subdivisions: void 0,
63
- };
64
- s.unpack = function (i, e, o) {
65
- let r = t.unpack(i, e, m);
66
- return (
67
- (n.stackPartitions = r._stackPartitions),
68
- (n.slicePartitions = r._slicePartitions),
69
- (n.subdivisions = r._subdivisions),
70
- a(o)
71
- ? (d.clone(r._radii, n.radii), (o._ellipsoidGeometry = new t(n)), o)
72
- : ((n.radius = r._radii.x), new s(n))
73
- );
74
- };
75
- s.createGeometry = function (i) {
76
- return t.createGeometry(i._ellipsoidGeometry);
77
- };
78
- var c = s;
79
- function p(i, e) {
80
- return (a(e) && (i = c.unpack(i, e)), c.createGeometry(i));
81
- }
82
- var w = p;
83
- export { w as default };
@@ -1,28 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.119
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import { a } from "./chunk-PXCJYT2S.js";
27
- import "./chunk-PEYJTJPE.js";
28
- export { a as default };
@@ -1,289 +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 J } from "./chunk-PXCJYT2S.js";
27
- import { a as Y } from "./chunk-ABGXSJNX.js";
28
- import { a as B } from "./chunk-P37AI2DW.js";
29
- import { c as X, h as W } from "./chunk-7Z5IIKOJ.js";
30
- import "./chunk-KZNJOCYU.js";
31
- import { a as t, b as k, d as _ } from "./chunk-POASMU2N.js";
32
- import { a as v } from "./chunk-R6KGAEF6.js";
33
- import "./chunk-3C7WC463.js";
34
- import "./chunk-II4VNKYR.js";
35
- import "./chunk-IUA6FAOZ.js";
36
- import "./chunk-UH2WFNTA.js";
37
- import "./chunk-PEYJTJPE.js";
38
- var V = 32767,
39
- it = Math.cos(v.toRadians(150)),
40
- ct = new k(),
41
- rt = new t();
42
- function at(e, o, c, i, s, A, h) {
43
- let g = e.length,
44
- f = new Float64Array(g * 3);
45
- for (let d = 0; d < g; ++d) {
46
- let l = e[d],
47
- r = o[d],
48
- E = c[d],
49
- n = v.lerp(i.west, i.east, l / V),
50
- p = v.lerp(i.south, i.north, r / V),
51
- w = v.lerp(s, A, E / V),
52
- x = k.fromRadians(n, p, w, ct),
53
- P = h.cartographicToCartesian(x, rt);
54
- t.pack(P, f, d * 3);
55
- }
56
- return f;
57
- }
58
- function dt(e) {
59
- let o = e.length,
60
- c = new Uint32Array(o + 1),
61
- i = 0;
62
- for (let s = 0; s < o; ++s) ((c[s] = i), (i += e[s]));
63
- return ((c[o] = i), c);
64
- }
65
- var lt = new k(),
66
- ht = new k();
67
- function ft(e, o, c, i) {
68
- let s = i.length,
69
- A = e.length,
70
- h = new Uint8Array(A),
71
- g = lt,
72
- f = ht,
73
- d = 0;
74
- for (let r = 0; r < s; r++) {
75
- let E = i[r],
76
- n = E;
77
- for (let p = 1; p < E; p++) {
78
- let w = d + p,
79
- x = w - 1;
80
- ((f.longitude = e[w]),
81
- (f.latitude = o[w]),
82
- (g.longitude = e[x]),
83
- (g.latitude = o[x]),
84
- k.equals(f, g) && (n--, (h[x] = 1)));
85
- }
86
- ((i[r] = n), (d += E));
87
- }
88
- let l = 0;
89
- for (let r = 0; r < A; r++)
90
- h[r] !== 1 && ((e[l] = e[r]), (o[l] = o[r]), (c[l] = c[r]), l++);
91
- }
92
- function ot(e) {
93
- let o = e * 8,
94
- c = o * 3,
95
- i = o * 4;
96
- ((this.startEllipsoidNormals = new Float32Array(c)),
97
- (this.endEllipsoidNormals = new Float32Array(c)),
98
- (this.startPositionAndHeights = new Float32Array(i)),
99
- (this.startFaceNormalAndVertexCornerIds = new Float32Array(i)),
100
- (this.endPositionAndHeights = new Float32Array(i)),
101
- (this.endFaceNormalAndHalfWidths = new Float32Array(i)),
102
- (this.vertexBatchIds = new Uint16Array(o)),
103
- (this.indices = B.createTypedArray(o, 36 * e)),
104
- (this.vec3Offset = 0),
105
- (this.vec4Offset = 0),
106
- (this.batchIdOffset = 0),
107
- (this.indexOffset = 0),
108
- (this.volumeStartIndex = 0));
109
- }
110
- var Q = new t(),
111
- pt = new t();
112
- function $(e, o, c, i, s) {
113
- let A = t.subtract(c, o, pt),
114
- h = t.subtract(o, e, Q);
115
- return (
116
- t.normalize(A, A),
117
- t.normalize(h, h),
118
- t.dot(A, h) < it && (h = t.multiplyByScalar(h, -1, Q)),
119
- t.add(A, h, s),
120
- t.equals(s, t.ZERO) && (s = t.subtract(e, o)),
121
- t.cross(s, i, s),
122
- t.cross(i, s, s),
123
- t.normalize(s, s),
124
- s
125
- );
126
- }
127
- var st = [
128
- 0, 2, 6, 0, 6, 4, 0, 1, 3, 0, 3, 2, 0, 4, 5, 0, 5, 1, 5, 3, 1, 5, 7, 3, 7,
129
- 5, 4, 7, 4, 6, 7, 6, 2, 7, 2, 3,
130
- ],
131
- j = st.length,
132
- tt = new t(),
133
- ut = new t(),
134
- mt = new t(),
135
- At = new t(),
136
- Nt = new t();
137
- ot.prototype.addVolume = function (e, o, c, i, s, A, h, g, f, d) {
138
- let l = t.add(o, f, tt),
139
- r = d.geodeticSurfaceNormal(l, ut);
140
- l = t.add(c, f, tt);
141
- let E = d.geodeticSurfaceNormal(l, At),
142
- n = $(e, o, c, r, mt),
143
- p = $(i, c, o, E, Nt),
144
- w = this.startEllipsoidNormals,
145
- x = this.endEllipsoidNormals,
146
- P = this.startPositionAndHeights,
147
- H = this.startFaceNormalAndVertexCornerIds,
148
- b = this.endPositionAndHeights,
149
- a = this.endFaceNormalAndHalfWidths,
150
- F = this.vertexBatchIds,
151
- m = this.batchIdOffset,
152
- I = this.vec3Offset,
153
- u = this.vec4Offset,
154
- N;
155
- for (N = 0; N < 8; N++)
156
- (t.pack(r, w, I),
157
- t.pack(E, x, I),
158
- t.pack(o, P, u),
159
- (P[u + 3] = s),
160
- t.pack(c, b, u),
161
- (b[u + 3] = A),
162
- t.pack(n, H, u),
163
- (H[u + 3] = N),
164
- t.pack(p, a, u),
165
- (a[u + 3] = h),
166
- (F[m++] = g),
167
- (I += 3),
168
- (u += 4));
169
- ((this.batchIdOffset = m), (this.vec3Offset = I), (this.vec4Offset = u));
170
- let C = this.indices,
171
- y = this.volumeStartIndex,
172
- z = this.indexOffset;
173
- for (N = 0; N < j; N++) C[z + N] = st[N] + y;
174
- ((this.volumeStartIndex += 8), (this.indexOffset += j));
175
- };
176
- var gt = new W(),
177
- Et = new _(),
178
- wt = new t(),
179
- M = new t(),
180
- It = new t(),
181
- xt = new t(),
182
- T = new t();
183
- function Pt(e, o) {
184
- let c = new Uint16Array(e.positions),
185
- i = new Uint16Array(e.widths),
186
- s = new Uint32Array(e.counts),
187
- A = new Uint16Array(e.batchIds),
188
- h = gt,
189
- g = Et,
190
- f = wt,
191
- d = new Float64Array(e.packedBuffer),
192
- l = 0,
193
- r = d[l++],
194
- E = d[l++];
195
- (W.unpack(d, l, h),
196
- (l += W.packedLength),
197
- _.unpack(d, l, g),
198
- (l += _.packedLength),
199
- t.unpack(d, l, f));
200
- let n,
201
- p = c.length / 3,
202
- w = c.subarray(0, p),
203
- x = c.subarray(p, 2 * p),
204
- P = c.subarray(2 * p, 3 * p);
205
- (Y.zigZagDeltaDecode(w, x, P), ft(w, x, P, s));
206
- let H = s.length,
207
- b = 0;
208
- for (n = 0; n < H; n++) {
209
- let y = s[n];
210
- b += y - 1;
211
- }
212
- let a = new ot(b),
213
- F = at(w, x, P, h, r, E, g, f);
214
- p = w.length;
215
- let m = new Float32Array(p * 3);
216
- for (n = 0; n < p; ++n)
217
- ((m[n * 3] = F[n * 3] - f.x),
218
- (m[n * 3 + 1] = F[n * 3 + 1] - f.y),
219
- (m[n * 3 + 2] = F[n * 3 + 2] - f.z));
220
- let I = 0,
221
- u = 0;
222
- for (n = 0; n < H; n++) {
223
- let y = s[n] - 1,
224
- z = i[n] * 0.5,
225
- et = A[n],
226
- q = I;
227
- for (let D = 0; D < y; D++) {
228
- let S = t.unpack(m, I, It),
229
- O = t.unpack(m, I + 3, xt),
230
- G = P[u],
231
- Z = P[u + 1];
232
- ((G = v.lerp(r, E, G / V)), (Z = v.lerp(r, E, Z / V)), u++);
233
- let L = M,
234
- R = T;
235
- if (D === 0) {
236
- let U = q + y * 3,
237
- K = t.unpack(m, U, M);
238
- if (t.equals(K, S)) t.unpack(m, U - 3, L);
239
- else {
240
- let nt = t.subtract(S, O, M);
241
- L = t.add(nt, S, M);
242
- }
243
- } else t.unpack(m, I - 3, L);
244
- if (D === y - 1) {
245
- let U = t.unpack(m, q, T);
246
- if (t.equals(U, O)) t.unpack(m, q + 3, R);
247
- else {
248
- let K = t.subtract(O, S, T);
249
- R = t.add(K, O, T);
250
- }
251
- } else t.unpack(m, I + 6, R);
252
- (a.addVolume(L, S, O, R, G, Z, z, et, f, g), (I += 3));
253
- }
254
- ((I += 3), u++);
255
- }
256
- let N = a.indices;
257
- (o.push(a.startEllipsoidNormals.buffer),
258
- o.push(a.endEllipsoidNormals.buffer),
259
- o.push(a.startPositionAndHeights.buffer),
260
- o.push(a.startFaceNormalAndVertexCornerIds.buffer),
261
- o.push(a.endPositionAndHeights.buffer),
262
- o.push(a.endFaceNormalAndHalfWidths.buffer),
263
- o.push(a.vertexBatchIds.buffer),
264
- o.push(N.buffer));
265
- let C = {
266
- indexDatatype:
267
- N.BYTES_PER_ELEMENT === 2 ? B.UNSIGNED_SHORT : B.UNSIGNED_INT,
268
- startEllipsoidNormals: a.startEllipsoidNormals.buffer,
269
- endEllipsoidNormals: a.endEllipsoidNormals.buffer,
270
- startPositionAndHeights: a.startPositionAndHeights.buffer,
271
- startFaceNormalAndVertexCornerIds:
272
- a.startFaceNormalAndVertexCornerIds.buffer,
273
- endPositionAndHeights: a.endPositionAndHeights.buffer,
274
- endFaceNormalAndHalfWidths: a.endFaceNormalAndHalfWidths.buffer,
275
- vertexBatchIds: a.vertexBatchIds.buffer,
276
- indices: N.buffer,
277
- };
278
- if (e.keepDecodedPositions) {
279
- let y = dt(s);
280
- (o.push(F.buffer, y.buffer),
281
- (C = X(C, {
282
- decodedPositions: F.buffer,
283
- decodedPositionOffsets: y.buffer,
284
- })));
285
- }
286
- return C;
287
- }
288
- var Vt = J(Pt);
289
- export { Vt as default };
@@ -1,258 +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 P } from "./chunk-V7JEDBOE.js";
27
- import { a as z } from "./chunk-IAC5XVZV.js";
28
- import "./chunk-GFN7NNSJ.js";
29
- import { a as H } from "./chunk-TOGHF3VN.js";
30
- import { a as Y } from "./chunk-PXCJYT2S.js";
31
- import { a as j } from "./chunk-VBIROZR5.js";
32
- import "./chunk-ILGBPNP6.js";
33
- import "./chunk-HEEMUCG6.js";
34
- import { a as W } from "./chunk-P37AI2DW.js";
35
- import "./chunk-T6BE4RZK.js";
36
- import "./chunk-X5IHHI6X.js";
37
- import { d as E } from "./chunk-TMSETF7M.js";
38
- import { b as d } from "./chunk-7Z5IIKOJ.js";
39
- import "./chunk-KZNJOCYU.js";
40
- import { a as o } from "./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 { e as l } from "./chunk-PEYJTJPE.js";
47
- function X(e) {
48
- ((this.offset = e.offset),
49
- (this.count = e.count),
50
- (this.color = e.color),
51
- (this.batchIds = e.batchIds));
52
- }
53
- var J = X;
54
- var S = new o(),
55
- $ = d.packedLength + o.packedLength,
56
- ee = d.packedLength + 2,
57
- ne = d.packedLength + o.packedLength,
58
- te = o.packedLength + 1,
59
- u = { modelMatrix: new d(), boundingVolume: new E() };
60
- function oe(e, c) {
61
- let n = c * $,
62
- i = o.unpack(e, n, S);
63
- n += o.packedLength;
64
- let r = d.unpack(e, n, u.modelMatrix);
65
- d.multiplyByScale(r, i, r);
66
- let t = u.boundingVolume;
67
- return (o.clone(o.ZERO, t.center), (t.radius = Math.sqrt(3)), u);
68
- }
69
- function ce(e, c) {
70
- let n = c * ee,
71
- i = e[n++],
72
- r = e[n++],
73
- t = o.fromElements(i, i, r, S),
74
- s = d.unpack(e, n, u.modelMatrix);
75
- d.multiplyByScale(s, t, s);
76
- let h = u.boundingVolume;
77
- return (o.clone(o.ZERO, h.center), (h.radius = Math.sqrt(2)), u);
78
- }
79
- function se(e, c) {
80
- let n = c * ne,
81
- i = o.unpack(e, n, S);
82
- n += o.packedLength;
83
- let r = d.unpack(e, n, u.modelMatrix);
84
- d.multiplyByScale(r, i, r);
85
- let t = u.boundingVolume;
86
- return (o.clone(o.ZERO, t.center), (t.radius = 1), u);
87
- }
88
- function ie(e, c) {
89
- let n = c * te,
90
- i = e[n++],
91
- r = o.unpack(e, n, S),
92
- t = d.fromTranslation(r, u.modelMatrix);
93
- d.multiplyByUniformScale(t, i, t);
94
- let s = u.boundingVolume;
95
- return (o.clone(o.ZERO, s.center), (s.radius = 1), u);
96
- }
97
- var de = new o();
98
- function R(e, c, n, i, r) {
99
- if (!l(c)) return;
100
- let t = n.length,
101
- s = i.attributes.position.values,
102
- h = i.indices,
103
- a = e.positions,
104
- x = e.vertexBatchIds,
105
- y = e.indices,
106
- I = e.batchIds,
107
- p = e.batchTableColors,
108
- T = e.batchedIndices,
109
- U = e.indexOffsets,
110
- v = e.indexCounts,
111
- L = e.boundingVolumes,
112
- F = e.modelMatrix,
113
- Z = e.center,
114
- V = e.positionOffset,
115
- B = e.batchIdIndex,
116
- O = e.indexOffset,
117
- D = e.batchedIndicesOffset;
118
- for (let w = 0; w < t; ++w) {
119
- let C = r(c, w),
120
- k = C.modelMatrix;
121
- d.multiply(F, k, k);
122
- let M = n[w],
123
- A = s.length;
124
- for (let f = 0; f < A; f += 3) {
125
- let m = o.unpack(s, f, de);
126
- (d.multiplyByPoint(k, m, m),
127
- o.subtract(m, Z, m),
128
- o.pack(m, a, V * 3 + f),
129
- (x[B++] = M));
130
- }
131
- let b = h.length;
132
- for (let f = 0; f < b; ++f) y[O + f] = h[f] + V;
133
- let g = w + D;
134
- ((T[g] = new J({
135
- offset: O,
136
- count: b,
137
- color: P.fromRgba(p[M]),
138
- batchIds: [M],
139
- })),
140
- (I[g] = M),
141
- (U[g] = O),
142
- (v[g] = b),
143
- (L[g] = E.transform(C.boundingVolume, k)),
144
- (V += A / 3),
145
- (O += b));
146
- }
147
- ((e.positionOffset = V),
148
- (e.batchIdIndex = B),
149
- (e.indexOffset = O),
150
- (e.batchedIndicesOffset += t));
151
- }
152
- var K = new o(),
153
- Q = new d();
154
- function re(e) {
155
- let c = new Float64Array(e),
156
- n = 0;
157
- (o.unpack(c, n, K), (n += o.packedLength), d.unpack(c, n, Q));
158
- }
159
- function le(e) {
160
- let c = e.length,
161
- n = 0;
162
- for (let i = 0; i < c; ++i) n += P.packedLength + 3 + e[i].batchIds.length;
163
- return n;
164
- }
165
- function ae(e, c, n) {
166
- let i = n.length,
167
- r = 2 + i * E.packedLength + 1 + le(c),
168
- t = new Float64Array(r),
169
- s = 0;
170
- ((t[s++] = e), (t[s++] = i));
171
- for (let a = 0; a < i; ++a) (E.pack(n[a], t, s), (s += E.packedLength));
172
- let h = c.length;
173
- t[s++] = h;
174
- for (let a = 0; a < h; ++a) {
175
- let x = c[a];
176
- (P.pack(x.color, t, s),
177
- (s += P.packedLength),
178
- (t[s++] = x.offset),
179
- (t[s++] = x.count));
180
- let y = x.batchIds,
181
- I = y.length;
182
- t[s++] = I;
183
- for (let p = 0; p < I; ++p) t[s++] = y[p];
184
- }
185
- return t;
186
- }
187
- function fe(e, c) {
188
- let n = l(e.boxes) ? new Float32Array(e.boxes) : void 0,
189
- i = l(e.boxBatchIds) ? new Uint16Array(e.boxBatchIds) : void 0,
190
- r = l(e.cylinders) ? new Float32Array(e.cylinders) : void 0,
191
- t = l(e.cylinderBatchIds) ? new Uint16Array(e.cylinderBatchIds) : void 0,
192
- s = l(e.ellipsoids) ? new Float32Array(e.ellipsoids) : void 0,
193
- h = l(e.ellipsoidBatchIds) ? new Uint16Array(e.ellipsoidBatchIds) : void 0,
194
- a = l(e.spheres) ? new Float32Array(e.spheres) : void 0,
195
- x = l(e.sphereBatchIds) ? new Uint16Array(e.sphereBatchIds) : void 0,
196
- y = l(n) ? i.length : 0,
197
- I = l(r) ? t.length : 0,
198
- p = l(s) ? h.length : 0,
199
- T = l(a) ? x.length : 0,
200
- U = j.getUnitBox(),
201
- v = z.getUnitCylinder(),
202
- L = H.getUnitEllipsoid(),
203
- F = U.attributes.position.values,
204
- Z = v.attributes.position.values,
205
- V = L.attributes.position.values,
206
- B = F.length * y;
207
- ((B += Z.length * I), (B += V.length * (p + T)));
208
- let O = U.indices,
209
- D = v.indices,
210
- w = L.indices,
211
- C = O.length * y;
212
- ((C += D.length * I), (C += w.length * (p + T)));
213
- let k = new Float32Array(B),
214
- M = new Uint16Array(B / 3),
215
- A = W.createTypedArray(B / 3, C),
216
- b = y + I + p + T,
217
- g = new Uint16Array(b),
218
- f = new Array(b),
219
- m = new Uint32Array(b),
220
- q = new Uint32Array(b),
221
- _ = new Array(b);
222
- re(e.packedBuffer);
223
- let G = {
224
- batchTableColors: new Uint32Array(e.batchTableColors),
225
- positions: k,
226
- vertexBatchIds: M,
227
- indices: A,
228
- batchIds: g,
229
- batchedIndices: f,
230
- indexOffsets: m,
231
- indexCounts: q,
232
- boundingVolumes: _,
233
- positionOffset: 0,
234
- batchIdIndex: 0,
235
- indexOffset: 0,
236
- batchedIndicesOffset: 0,
237
- modelMatrix: Q,
238
- center: K,
239
- };
240
- (R(G, n, i, U, oe), R(G, r, t, v, ce), R(G, s, h, L, se), R(G, a, x, L, ie));
241
- let N = ae(A.BYTES_PER_ELEMENT, f, _);
242
- return (
243
- c.push(k.buffer, M.buffer, A.buffer),
244
- c.push(g.buffer, m.buffer, q.buffer),
245
- c.push(N.buffer),
246
- {
247
- positions: k.buffer,
248
- vertexBatchIds: M.buffer,
249
- indices: A.buffer,
250
- indexOffsets: m.buffer,
251
- indexCounts: q.buffer,
252
- batchIds: g.buffer,
253
- packedBuffer: N.buffer,
254
- }
255
- );
256
- }
257
- var Oe = Y(fe);
258
- export { Oe as default };