uomtiles 0.1.2 → 0.1.4

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 (305) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/7KYNy7kZ.js +1 -0
  3. package/.output/public/_nuxt/7Rgc2iDI2.js +1 -0
  4. package/.output/public/_nuxt/BA52uD81.js +1 -0
  5. package/.output/public/_nuxt/{CU486JdV2.js → BHSn2vP72.js} +2 -2
  6. package/.output/public/_nuxt/BRsHq3Fz2.js +1 -0
  7. package/.output/public/_nuxt/Bh2Uv1S7.js +1 -0
  8. package/.output/public/_nuxt/BiRI-vq-.js +1 -0
  9. package/.output/public/_nuxt/{DaQqwE3R.js → BndUkSHF.js} +44 -44
  10. package/.output/public/_nuxt/Bpc1HTfh.js +1 -0
  11. package/.output/public/_nuxt/C-b4mqsD.js +1 -0
  12. package/.output/public/_nuxt/C5Y76DD6.js +1 -0
  13. package/.output/public/_nuxt/CD84FXNW.js +1 -0
  14. package/.output/public/_nuxt/CGkIG2vL2.js +1 -0
  15. package/.output/public/_nuxt/CM9IbYJz.js +1 -0
  16. package/.output/public/_nuxt/CUJ4QmLF.js +1 -0
  17. package/.output/public/_nuxt/CUQ3MZqI.js +1 -0
  18. package/.output/public/_nuxt/CVwoxklV.js +1 -0
  19. package/.output/public/_nuxt/CeHZqNQ0.js +1 -0
  20. package/.output/public/_nuxt/CkfS_Wbu.js +3 -0
  21. package/.output/public/_nuxt/CoPjdBwX.js +1 -0
  22. package/.output/public/_nuxt/CxkDmpVY.js +1 -0
  23. package/.output/public/_nuxt/CzRdWh7s2.js +1 -0
  24. package/.output/public/_nuxt/D-IOtyQX.js +1 -0
  25. package/.output/public/_nuxt/D3Us7gX72.js +1 -0
  26. package/.output/public/_nuxt/DLIy3f3M.js +1 -0
  27. package/.output/public/_nuxt/{CovBj6WN.js → DQ8r1OSk.js} +1 -1
  28. package/.output/public/_nuxt/D_9SjQFe.js +1 -0
  29. package/.output/public/_nuxt/D_Ggu6R_2.js +1 -0
  30. package/.output/public/_nuxt/{Q79ec-Ro.js → DnVJUY7B.js} +1 -1
  31. package/.output/public/_nuxt/{Bd1EvHmY.js → DuGgjt-h2.js} +1 -1
  32. package/.output/public/_nuxt/GEOST6As.js +1 -0
  33. package/.output/public/_nuxt/{DpIPeY5m.js → GqgcWtrL.js} +1 -1
  34. package/.output/public/_nuxt/{0hm88Oke.js → Hbp_Okvs.js} +1 -1
  35. package/.output/public/_nuxt/JdUwgqKv.js +1 -0
  36. package/.output/public/_nuxt/KttxEAyP2.js +1 -0
  37. package/.output/public/_nuxt/L0GXeO1Y2.js +1 -0
  38. package/.output/public/_nuxt/builds/latest.json +1 -1
  39. package/.output/public/_nuxt/builds/meta/78b9349b-da32-49d9-b6c7-85727e6d8129.json +1 -0
  40. package/.output/public/_nuxt/entry.U-KS0GEu.css +1 -0
  41. package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
  42. package/.output/public/_nuxt/sMWyPZfC2.js +1 -0
  43. package/.output/public/_nuxt/zUWhKXtw2.js +1 -0
  44. package/.output/server/chunks/_/antigravity-nfz.mjs +629 -0
  45. package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -0
  46. package/.output/server/chunks/_/config.mjs +1 -1
  47. package/.output/server/chunks/_/file-workspace.mjs +1 -1
  48. package/.output/server/chunks/_/map-layer-update-manager.mjs +770 -0
  49. package/.output/server/chunks/_/map-layer-update-manager.mjs.map +1 -0
  50. package/.output/server/chunks/_/map-service.mjs +1 -1
  51. package/.output/server/chunks/_/uom-auth.mjs +1 -1
  52. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +6 -7
  53. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs.map → CompletedTaskSelect-Ba03kTs9.mjs.map} +1 -1
  54. package/.output/server/chunks/build/{Empty-BGIn09cL.mjs → Empty-CKvANuoV.mjs} +4 -103
  55. package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
  56. package/.output/server/chunks/build/{FormField-DnJWfrKE.mjs → FormField-BJHVyy1m.mjs} +4 -35
  57. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
  58. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs → Input-DnAric-z.mjs} +1 -1
  59. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs.map → Input-DnAric-z.mjs.map} +1 -1
  60. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs +5720 -0
  61. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs.map +1 -0
  62. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs → Modal-BLhN9Eg2.mjs} +4 -18
  63. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
  64. package/.output/server/chunks/build/{OnlineMap-cFSicmkV.mjs → OnlineMap-B-sCfHkC.mjs} +6 -3
  65. package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +1 -0
  66. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs → Pagination-CUzoLc_-.mjs} +1 -1
  67. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs.map → Pagination-CUzoLc_-.mjs.map} +1 -1
  68. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs +59 -0
  69. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs.map +1 -0
  70. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs → Slider-CrIUK3pl.mjs} +5 -5
  71. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs.map → Slider-CrIUK3pl.mjs.map} +1 -1
  72. package/.output/server/chunks/build/{MapBaseLayerTabs-CRl5Zwlr.mjs → Tabs-cdLsZZoL.mjs} +429 -931
  73. package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
  74. package/.output/server/chunks/build/{Tooltip-DNUdH4oF.mjs → Tooltip-DExIlyhu.mjs} +4 -195
  75. package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
  76. package/.output/server/chunks/build/{advanced-5ZGMUBqC.mjs → advanced-DaSpS8Px.mjs} +31 -34
  77. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
  78. package/.output/server/chunks/build/{compare-CtgF4Anj.mjs → compare-DaE10Dhp.mjs} +56 -37
  79. package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +1 -0
  80. package/.output/server/chunks/build/cookie-CziAmOf1.mjs +175 -0
  81. package/.output/server/chunks/build/cookie-CziAmOf1.mjs.map +1 -0
  82. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs → dashboard-Dq8mphss.mjs} +12 -6
  83. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
  84. package/.output/server/chunks/build/{details-CgufnL1d.mjs → details-DCNvSBgn.mjs} +5 -4
  85. package/.output/server/chunks/build/{details-CgufnL1d.mjs.map → details-DCNvSBgn.mjs.map} +1 -1
  86. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
  87. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
  88. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs +104 -0
  89. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +1 -0
  90. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs → interval-i5OZnTaK.mjs} +2 -2
  91. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs.map → interval-i5OZnTaK.mjs.map} +1 -1
  92. package/.output/server/chunks/build/layers-50nqoWES.mjs +553 -0
  93. package/.output/server/chunks/build/layers-50nqoWES.mjs.map +1 -0
  94. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs → login-BHSHtO-R.mjs} +6 -5
  95. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs.map → login-BHSHtO-R.mjs.map} +1 -1
  96. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs +86 -0
  97. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +1 -0
  98. package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs} +411 -4
  99. package/.output/server/chunks/build/overlay-BS4_B29H.mjs.map +1 -0
  100. package/.output/server/chunks/build/pages-5yYRS5nX.mjs +37 -0
  101. package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +1 -0
  102. package/.output/server/chunks/build/{pages-0c5sp_lv.mjs → pages-DfOPr0fC.mjs} +21 -21
  103. package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
  104. package/.output/server/chunks/build/{services-BB49kSpd.mjs → services-DWlDpsbi.mjs} +45 -41
  105. package/.output/server/chunks/build/{services-BB49kSpd.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
  106. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs → tasks-4b6D39Uy.mjs} +44 -100
  107. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs.map → tasks-4b6D39Uy.mjs.map} +1 -1
  108. package/.output/server/chunks/build/{tasks-Aa8PwjVL.mjs → tasks-BPPx2UMG.mjs} +10 -6
  109. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
  110. package/.output/server/chunks/nitro/nitro.mjs +309 -250
  111. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +29 -0
  112. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -0
  113. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +31 -0
  114. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -0
  115. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +39 -0
  116. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -0
  117. package/.output/server/chunks/routes/api/map/layers/status.get.mjs +60 -0
  118. package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -0
  119. package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
  120. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +1 -1
  121. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +1 -1
  122. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +1 -1
  123. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +1 -1
  124. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +1 -1
  125. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +1 -1
  126. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +1 -1
  127. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +1 -1
  128. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +1 -1
  129. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -1
  130. package/.output/server/chunks/routes/api/workspace/files.post.mjs +1 -1
  131. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +1 -1
  132. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -2
  133. package/.output/server/chunks/routes/renderer.mjs +3 -3
  134. package/.output/server/chunks/routes/services/wms.get.mjs +1 -1
  135. package/.output/server/chunks/routes/services/wmts.get.mjs +1 -1
  136. package/.output/server/chunks/virtual/entry.mjs +320 -443
  137. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  138. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  139. package/.output/server/chunks/virtual/styles.mjs +1 -1
  140. package/.output/server/node_modules/undici/index.js +234 -0
  141. package/.output/server/node_modules/undici/lib/api/abort-signal.js +59 -0
  142. package/.output/server/node_modules/undici/lib/api/api-connect.js +110 -0
  143. package/.output/server/node_modules/undici/lib/api/api-pipeline.js +252 -0
  144. package/.output/server/node_modules/undici/lib/api/api-request.js +214 -0
  145. package/.output/server/node_modules/undici/lib/api/api-stream.js +209 -0
  146. package/.output/server/node_modules/undici/lib/api/api-upgrade.js +111 -0
  147. package/.output/server/node_modules/undici/lib/api/index.js +7 -0
  148. package/.output/server/node_modules/undici/lib/api/readable.js +580 -0
  149. package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  150. package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  151. package/.output/server/node_modules/undici/lib/core/connect.js +153 -0
  152. package/.output/server/node_modules/undici/lib/core/constants.js +143 -0
  153. package/.output/server/node_modules/undici/lib/core/diagnostics.js +227 -0
  154. package/.output/server/node_modules/undici/lib/core/errors.js +477 -0
  155. package/.output/server/node_modules/undici/lib/core/request.js +464 -0
  156. package/.output/server/node_modules/undici/lib/core/socks5-client.js +422 -0
  157. package/.output/server/node_modules/undici/lib/core/socks5-utils.js +212 -0
  158. package/.output/server/node_modules/undici/lib/core/symbols.js +75 -0
  159. package/.output/server/node_modules/undici/lib/core/tree.js +160 -0
  160. package/.output/server/node_modules/undici/lib/core/util.js +992 -0
  161. package/.output/server/node_modules/undici/lib/dispatcher/agent.js +158 -0
  162. package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
  163. package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
  164. package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
  165. package/.output/server/node_modules/undici/lib/dispatcher/client.js +664 -0
  166. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  167. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  168. package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  169. package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  170. package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  171. package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  172. package/.output/server/node_modules/undici/lib/dispatcher/pool.js +118 -0
  173. package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  174. package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  175. package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  176. package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  177. package/.output/server/node_modules/undici/lib/encoding/index.js +33 -0
  178. package/.output/server/node_modules/undici/lib/global.js +59 -0
  179. package/.output/server/node_modules/undici/lib/handler/cache-handler.js +760 -0
  180. package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  181. package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  182. package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  183. package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  184. package/.output/server/node_modules/undici/lib/handler/retry-handler.js +418 -0
  185. package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  186. package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  187. package/.output/server/node_modules/undici/lib/interceptor/cache.js +602 -0
  188. package/.output/server/node_modules/undici/lib/interceptor/decompress.js +259 -0
  189. package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  190. package/.output/server/node_modules/undici/lib/interceptor/dns.js +571 -0
  191. package/.output/server/node_modules/undici/lib/interceptor/dump.js +112 -0
  192. package/.output/server/node_modules/undici/lib/interceptor/redirect.js +21 -0
  193. package/.output/server/node_modules/undici/lib/interceptor/response-error.js +95 -0
  194. package/.output/server/node_modules/undici/lib/interceptor/retry.js +19 -0
  195. package/.output/server/node_modules/undici/lib/llhttp/constants.js +531 -0
  196. package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  197. package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  198. package/.output/server/node_modules/undici/lib/llhttp/utils.js +12 -0
  199. package/.output/server/node_modules/undici/lib/mock/mock-agent.js +232 -0
  200. package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  201. package/.output/server/node_modules/undici/lib/mock/mock-client.js +68 -0
  202. package/.output/server/node_modules/undici/lib/mock/mock-errors.js +29 -0
  203. package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  204. package/.output/server/node_modules/undici/lib/mock/mock-pool.js +68 -0
  205. package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  206. package/.output/server/node_modules/undici/lib/mock/mock-utils.js +486 -0
  207. package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  208. package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  209. package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  210. package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  211. package/.output/server/node_modules/undici/lib/util/cache.js +676 -0
  212. package/.output/server/node_modules/undici/lib/util/date.js +670 -0
  213. package/.output/server/node_modules/undici/lib/util/promise.js +28 -0
  214. package/.output/server/node_modules/undici/lib/util/runtime-features.js +124 -0
  215. package/.output/server/node_modules/undici/lib/util/stats.js +32 -0
  216. package/.output/server/node_modules/undici/lib/util/timers.js +425 -0
  217. package/.output/server/node_modules/undici/lib/web/cache/cache.js +864 -0
  218. package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  219. package/.output/server/node_modules/undici/lib/web/cache/util.js +45 -0
  220. package/.output/server/node_modules/undici/lib/web/cookies/constants.js +12 -0
  221. package/.output/server/node_modules/undici/lib/web/cookies/index.js +199 -0
  222. package/.output/server/node_modules/undici/lib/web/cookies/parse.js +314 -0
  223. package/.output/server/node_modules/undici/lib/web/cookies/util.js +352 -0
  224. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
  225. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  226. package/.output/server/node_modules/undici/lib/web/eventsource/util.js +29 -0
  227. package/.output/server/node_modules/undici/lib/web/fetch/body.js +509 -0
  228. package/.output/server/node_modules/undici/lib/web/fetch/constants.js +131 -0
  229. package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  230. package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  231. package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  232. package/.output/server/node_modules/undici/lib/web/fetch/global.js +40 -0
  233. package/.output/server/node_modules/undici/lib/web/fetch/headers.js +719 -0
  234. package/.output/server/node_modules/undici/lib/web/fetch/index.js +2413 -0
  235. package/.output/server/node_modules/undici/lib/web/fetch/request.js +1115 -0
  236. package/.output/server/node_modules/undici/lib/web/fetch/response.js +641 -0
  237. package/.output/server/node_modules/undici/lib/web/fetch/util.js +1522 -0
  238. package/.output/server/node_modules/undici/lib/web/infra/index.js +229 -0
  239. package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  240. package/.output/server/node_modules/undici/lib/web/webidl/index.js +1006 -0
  241. package/.output/server/node_modules/undici/lib/web/websocket/connection.js +329 -0
  242. package/.output/server/node_modules/undici/lib/web/websocket/constants.js +126 -0
  243. package/.output/server/node_modules/undici/lib/web/websocket/events.js +331 -0
  244. package/.output/server/node_modules/undici/lib/web/websocket/frame.js +133 -0
  245. package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  246. package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  247. package/.output/server/node_modules/undici/lib/web/websocket/sender.js +109 -0
  248. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  249. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
  250. package/.output/server/node_modules/undici/lib/web/websocket/util.js +347 -0
  251. package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  252. package/.output/server/node_modules/undici/package.json +152 -0
  253. package/.output/server/package.json +2 -1
  254. package/LICENSE +201 -2
  255. package/README.md +23 -34
  256. package/dist/package.json +3 -2
  257. package/dist/shared/antigravity-schema.js +45 -0
  258. package/dist/shared/dji-grid.js +62 -0
  259. package/dist/shared/types/map-layers.js +2 -0
  260. package/dist/src/cli.js +63 -5
  261. package/dist/src/core/dji-snapshot.js +135 -0
  262. package/dist/src/core/map-layer-paths.js +11 -0
  263. package/dist/src/map-layer-update.js +646 -0
  264. package/package.json +3 -2
  265. package/.output/public/_nuxt/BNfSclJ4.js +0 -1
  266. package/.output/public/_nuxt/BYzlinOr2.js +0 -1
  267. package/.output/public/_nuxt/Be4dNlar.js +0 -1
  268. package/.output/public/_nuxt/C7fHMLd7.js +0 -1
  269. package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
  270. package/.output/public/_nuxt/CQ8inUdm.js +0 -1
  271. package/.output/public/_nuxt/Cc_JfSB1.js +0 -1
  272. package/.output/public/_nuxt/CyZDc0eO2.js +0 -1
  273. package/.output/public/_nuxt/CzFefJH0.js +0 -1
  274. package/.output/public/_nuxt/D-t0hXHB.js +0 -1
  275. package/.output/public/_nuxt/D3Pl7yw22.js +0 -1
  276. package/.output/public/_nuxt/D4gbGuiW.js +0 -1
  277. package/.output/public/_nuxt/DDp9lK3g.js +0 -1
  278. package/.output/public/_nuxt/DIIXHC50.js +0 -1
  279. package/.output/public/_nuxt/DWFUvzz0.js +0 -1
  280. package/.output/public/_nuxt/D_VoD6-f.js +0 -1
  281. package/.output/public/_nuxt/DfXX-x_z.js +0 -1
  282. package/.output/public/_nuxt/Dgyf2aNY.js +0 -1
  283. package/.output/public/_nuxt/GM5myUL22.js +0 -1
  284. package/.output/public/_nuxt/IC4wc76W.js +0 -1
  285. package/.output/public/_nuxt/IfL46N3Z.js +0 -1
  286. package/.output/public/_nuxt/KEU2l6zJ.js +0 -3
  287. package/.output/public/_nuxt/SEETjfdJ.js +0 -1
  288. package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +0 -1
  289. package/.output/public/_nuxt/entry.CZ_dkjcs.css +0 -1
  290. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
  291. package/.output/public/_nuxt/nGp0t_eD.js +0 -1
  292. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +0 -1074
  293. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +0 -1
  294. package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +0 -1
  295. package/.output/server/chunks/build/Empty-BGIn09cL.mjs.map +0 -1
  296. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs +0 -207
  297. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs.map +0 -1
  298. package/.output/server/chunks/build/FormField-DnJWfrKE.mjs.map +0 -1
  299. package/.output/server/chunks/build/MapBaseLayerTabs-CRl5Zwlr.mjs.map +0 -1
  300. package/.output/server/chunks/build/OnlineMap-cFSicmkV.mjs.map +0 -1
  301. package/.output/server/chunks/build/Tooltip-DNUdH4oF.mjs.map +0 -1
  302. package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +0 -1
  303. package/.output/server/chunks/build/compare-CtgF4Anj.mjs.map +0 -1
  304. package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +0 -1
  305. package/.output/server/chunks/build/tasks-Aa8PwjVL.mjs.map +0 -1
package/dist/src/cli.js CHANGED
@@ -9,6 +9,7 @@ import { isSea } from 'node:sea';
9
9
  import { defineCommand, runMain } from 'citty';
10
10
  import { accountFile, uomtilesDataDir, workspaceDirectory } from "./core/paths.js";
11
11
  import { DEFAULT_GRID_CRAWL_OPTIONS, runGridCrawl } from "./grid-crawl.js";
12
+ import { DEFAULT_DJI_CONCURRENCY, updateMapLayers } from "./map-layer-update.js";
12
13
  import { FETCH_PROCESS_ENV } from "./core/fetch-process.js";
13
14
  import { shellEnvironmentHint } from "./core/shell.js";
14
15
  import { diffUomtiles, exportTiles, inspectUomtiles, migrateToUomtiles } from "./core/uomtiles.js";
@@ -146,16 +147,22 @@ function openUrl(url) {
146
147
  child.unref();
147
148
  }
148
149
  function loadWebEnvironment() {
149
- const environmentFile = resolve(process.cwd(), '.env');
150
- if (existsSync(environmentFile))
151
- loadEnvFile(environmentFile);
150
+ loadProjectEnvironment();
152
151
  if (process.env.NUXT_TIANDITU_TOKEN?.trim())
153
152
  return;
154
153
  const shell = shellEnvironmentHint(process.platform, process.env);
155
154
  console.warn('天地图令牌未配置,工作台将使用 OSM,天地图选项不可用。');
156
- console.warn(`持久配置:在 ${environmentFile} 中添加 NUXT_TIANDITU_TOKEN=你的天地图令牌`);
155
+ console.warn(`持久配置:在 ${projectEnvironmentFile()} 中添加 NUXT_TIANDITU_TOKEN=你的天地图令牌`);
157
156
  console.warn(`当前 ${shell.name} 临时配置:${shell.command}`);
158
157
  }
158
+ function projectEnvironmentFile() {
159
+ return resolve(process.cwd(), '.env');
160
+ }
161
+ function loadProjectEnvironment() {
162
+ const environmentFile = projectEnvironmentFile();
163
+ if (existsSync(environmentFile))
164
+ loadEnvFile(environmentFile);
165
+ }
159
166
  async function web() {
160
167
  loadWebEnvironment();
161
168
  const entry = resolve(root, '.output/server/index.mjs');
@@ -251,6 +258,51 @@ const migrateCommand = defineCommand({
251
258
  console.log(JSON.stringify(migrateToUomtiles(args.input, args.output, account?.username || null), null, 2));
252
259
  },
253
260
  });
261
+ const mapLayersUpdateCommand = defineCommand({
262
+ meta: { name: 'map-layers-update', description: '在线更新 DJI Flysafe 与 Antigravity 图层快照' },
263
+ args: () => {
264
+ loadProjectEnvironment();
265
+ return {
266
+ output: {
267
+ type: 'string',
268
+ description: '快照输出目录',
269
+ valueHint: 'PATH',
270
+ default: resolve(uomtilesDataDir(), 'map-layers'),
271
+ },
272
+ 'dji-raw-dir': {
273
+ type: 'string',
274
+ description: '用于断点续传的 DJI 原始响应目录',
275
+ valueHint: 'PATH',
276
+ required: false,
277
+ },
278
+ 'dji-concurrency': {
279
+ type: 'string',
280
+ description: 'DJI 并发请求数',
281
+ valueHint: 'N',
282
+ default: String(DEFAULT_DJI_CONCURRENCY),
283
+ },
284
+ 'dji-resume': {
285
+ type: 'boolean',
286
+ description: '复用当前更新会话中已验证的 DJI 原始响应',
287
+ negativeDescription: '忽略当前 DJI 更新会话并重新下载',
288
+ default: true,
289
+ },
290
+ };
291
+ },
292
+ run: async ({ args }) => {
293
+ const djiConcurrency = Number(args['dji-concurrency']);
294
+ if (!Number.isInteger(djiConcurrency) || djiConcurrency <= 0) {
295
+ throw new Error('--dji-concurrency 必须是正整数');
296
+ }
297
+ const result = await updateMapLayers({
298
+ outputDirectory: args.output,
299
+ djiRawDirectory: args['dji-raw-dir'],
300
+ djiConcurrency,
301
+ djiResume: args['dji-resume'],
302
+ });
303
+ console.log(JSON.stringify(result, null, 2));
304
+ },
305
+ });
254
306
  const mainCommand = defineCommand({
255
307
  meta: {
256
308
  name: 'uomtiles',
@@ -267,6 +319,12 @@ const mainCommand = defineCommand({
267
319
  export: exportCommand,
268
320
  diff: diffCommand,
269
321
  migrate: migrateCommand,
322
+ 'map-layers-update': mapLayersUpdateCommand,
270
323
  },
271
324
  });
272
- await runMain(mainCommand);
325
+ function cliArguments(arguments_) {
326
+ if (arguments_[0] !== 'map-layers-update')
327
+ return arguments_;
328
+ return arguments_.filter(argument => argument !== '--');
329
+ }
330
+ await runMain(mainCommand, { rawArgs: cliArguments(process.argv.slice(2)) });
@@ -0,0 +1,135 @@
1
+ import { createHash } from 'node:crypto';
2
+ import { DJI_COVERAGE, DJI_ENDPOINT, DJI_LEVELS, DJI_MAX_SPLIT_DEPTH, DJI_OVERLAP_DEGREES, DJI_ROW_DEGREES, DJI_SATURATION_LIMIT, DJI_TARGET_DIAGONAL_KM, djiBoundsEqual, makeDjiBaseGrid, splitDjiCell, } from "../../shared/dji-grid.js";
3
+ /**
4
+ * Parse and fully validate a downloaded DJI snapshot.
5
+ *
6
+ * This is intentionally kept independent from Nitro/server runtime code so
7
+ * the updater and the runtime renderer cannot disagree about snapshot validity.
8
+ */
9
+ export function parseDjiSnapshot(contents) {
10
+ const parsed = JSON.parse(contents);
11
+ if (!isRecord(parsed) || parsed.formatVersion !== 2 || parsed.source !== 'DJI FlySafe' || parsed.scope !== 'global')
12
+ invalidSnapshot();
13
+ if (!isIsoDate(parsed.startedAt) || !isIsoDate(parsed.completedAt) || parsed.fetchedAt !== parsed.completedAt)
14
+ invalidSnapshot();
15
+ if (Date.parse(parsed.startedAt) > Date.parse(parsed.completedAt))
16
+ invalidSnapshot();
17
+ const coverage = parsed.coverage;
18
+ if (!isRecord(coverage) || coverage.west !== DJI_COVERAGE.west || coverage.south !== DJI_COVERAGE.south || coverage.east !== DJI_COVERAGE.east || coverage.north !== DJI_COVERAGE.north)
19
+ invalidSnapshot();
20
+ const query = parsed.query;
21
+ if (!isRecord(query) || query.algorithmVersion !== 'global-adaptive-grid-v1' || query.endpoint !== DJI_ENDPOINT || query.zonesMode !== 'flysafe_website' || query.drone !== 'dji-mavic-3' || query.levels !== DJI_LEVELS)
22
+ invalidSnapshot();
23
+ if (query.rowDegrees !== DJI_ROW_DEGREES || query.targetDiagonalKm !== DJI_TARGET_DIAGONAL_KM || query.overlapDegrees !== DJI_OVERLAP_DEGREES || query.saturationLimit !== DJI_SATURATION_LIMIT || query.maxSplitDepth !== DJI_MAX_SPLIT_DEPTH)
24
+ invalidSnapshot();
25
+ if (!positiveInteger(query.queryCount) || !positiveInteger(query.baseQueryCount) || !nonNegativeInteger(query.recursiveQueryCount))
26
+ invalidSnapshot();
27
+ if (!nonNegativeInteger(query.saturatedQueryCount) || !nonNegativeInteger(query.maximumLeafResultCount) || query.allLeafQueriesBelowSaturationLimit !== true)
28
+ invalidSnapshot();
29
+ if (!nonNegativeInteger(query.occurrenceCount) || !nonNegativeInteger(query.uniqueAreaCount) || !nonNegativeInteger(query.duplicateOccurrences) || query.conflictingDuplicateCount !== 0 || !nonNegativeInteger(query.resumedQueryCount) || query.resumedQueryCount > query.queryCount)
30
+ invalidSnapshot();
31
+ if (!Array.isArray(query.queries) || query.queryCount !== query.queries.length || query.queryCount !== query.baseQueryCount + query.recursiveQueryCount)
32
+ invalidSnapshot();
33
+ if (!Array.isArray(parsed.areas) || query.uniqueAreaCount !== parsed.areas.length || query.duplicateOccurrences !== query.occurrenceCount - query.uniqueAreaCount)
34
+ invalidSnapshot();
35
+ if (typeof parsed.areasSha256 !== 'string' || !/^[0-9a-f]{64}$/.test(parsed.areasSha256))
36
+ invalidSnapshot();
37
+ if (createHash('sha256').update(JSON.stringify(parsed.areas)).digest('hex') !== parsed.areasSha256)
38
+ invalidSnapshot();
39
+ const queryIds = new Set();
40
+ const summaries = [];
41
+ let saturatedCount = 0;
42
+ let maximumLeafResultCount = 0;
43
+ let baseQueryCount = 0;
44
+ let occurrenceCount = 0;
45
+ for (const summary of query.queries) {
46
+ if (!isQuerySummary(summary) || queryIds.has(summary.id) || summary.depth > DJI_MAX_SPLIT_DEPTH)
47
+ invalidSnapshot();
48
+ queryIds.add(summary.id);
49
+ summaries.push(summary);
50
+ occurrenceCount += summary.resultCount;
51
+ if (summary.depth === 0)
52
+ baseQueryCount++;
53
+ if (summary.saturated) {
54
+ if (summary.resultCount < query.saturationLimit)
55
+ invalidSnapshot();
56
+ saturatedCount++;
57
+ }
58
+ else {
59
+ if (summary.resultCount >= query.saturationLimit)
60
+ invalidSnapshot();
61
+ maximumLeafResultCount = Math.max(maximumLeafResultCount, summary.resultCount);
62
+ }
63
+ }
64
+ if (baseQueryCount !== query.baseQueryCount || summaries.length - baseQueryCount !== query.recursiveQueryCount || occurrenceCount !== query.occurrenceCount)
65
+ invalidSnapshot();
66
+ if (saturatedCount !== query.saturatedQueryCount || maximumLeafResultCount !== query.maximumLeafResultCount)
67
+ invalidSnapshot();
68
+ const summariesById = new Map(summaries.map(summary => [summary.id, summary]));
69
+ const expectedBaseCells = makeDjiBaseGrid();
70
+ if (query.baseQueryCount !== expectedBaseCells.length)
71
+ invalidSnapshot();
72
+ for (const expected of expectedBaseCells) {
73
+ const actual = summariesById.get(expected.id);
74
+ if (!actual || actual.depth !== 0 || actual.parentId !== undefined || !djiBoundsEqual(actual.bounds, expected.bounds))
75
+ invalidSnapshot();
76
+ }
77
+ for (const summary of summaries) {
78
+ if (summary.depth === 0)
79
+ continue;
80
+ const parent = summary.parentId ? summariesById.get(summary.parentId) : undefined;
81
+ if (!parent?.saturated || parent.depth + 1 !== summary.depth)
82
+ invalidSnapshot();
83
+ }
84
+ for (const parent of summaries) {
85
+ const children = summaries.filter(summary => summary.parentId === parent.id);
86
+ if (!parent.saturated) {
87
+ if (children.length)
88
+ invalidSnapshot();
89
+ continue;
90
+ }
91
+ const expectedChildren = splitDjiCell(parent);
92
+ if (children.length !== expectedChildren.length)
93
+ invalidSnapshot();
94
+ for (const expected of expectedChildren) {
95
+ const actual = summariesById.get(expected.id);
96
+ if (!actual || actual.parentId !== parent.id || actual.depth !== expected.depth || !djiBoundsEqual(actual.bounds, expected.bounds))
97
+ invalidSnapshot();
98
+ }
99
+ }
100
+ const areaIds = new Set();
101
+ for (const area of parsed.areas) {
102
+ if (!isRecord(area) || area.area_id === null || area.area_id === undefined || String(area.area_id).trim() === '')
103
+ invalidSnapshot();
104
+ const id = String(area.area_id);
105
+ if (areaIds.has(id))
106
+ invalidSnapshot();
107
+ areaIds.add(id);
108
+ }
109
+ return parsed;
110
+ }
111
+ function isQuerySummary(value) {
112
+ if (!isRecord(value) || typeof value.id !== 'string' || !value.id || !nonNegativeInteger(value.depth) || !nonNegativeInteger(value.resultCount) || typeof value.saturated !== 'boolean')
113
+ return false;
114
+ if (value.parentId !== undefined && (typeof value.parentId !== 'string' || !value.parentId))
115
+ return false;
116
+ if (!Array.isArray(value.bounds) || value.bounds.length !== 4 || !value.bounds.every(item => typeof item === 'number' && Number.isFinite(item)))
117
+ return false;
118
+ const [west, south, east, north] = value.bounds;
119
+ return west >= -180 && east <= 180 && south >= -90 && north <= 90 && west < east && south < north;
120
+ }
121
+ function isIsoDate(value) {
122
+ return typeof value === 'string' && Number.isFinite(Date.parse(value)) && new Date(value).toISOString() === value;
123
+ }
124
+ function positiveInteger(value) {
125
+ return Number.isInteger(value) && Number(value) > 0;
126
+ }
127
+ function nonNegativeInteger(value) {
128
+ return Number.isInteger(value) && Number(value) >= 0;
129
+ }
130
+ function isRecord(value) {
131
+ return Boolean(value) && typeof value === 'object' && !Array.isArray(value);
132
+ }
133
+ function invalidSnapshot() {
134
+ throw new Error('DJI Flysafe 快照格式或完整性校验失败');
135
+ }
@@ -0,0 +1,11 @@
1
+ import { resolve } from 'node:path';
2
+ export const MAP_LAYER_SNAPSHOT_FILENAMES = {
3
+ dji: 'dji-nfz.json',
4
+ antigravity: 'antigravity-nfz.sqlite',
5
+ };
6
+ export function resolveMapLayerSnapshotPath(options) {
7
+ const explicitPath = options.explicitPath?.trim();
8
+ if (explicitPath)
9
+ return resolve(explicitPath);
10
+ return resolve(options.dataDir, 'map-layers', options.filename);
11
+ }