uomtiles 0.1.2 → 0.1.3

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 (303) 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/Bpc1HTfh.js +1 -0
  10. package/.output/public/_nuxt/C-b4mqsD.js +1 -0
  11. package/.output/public/_nuxt/C5Y76DD6.js +1 -0
  12. package/.output/public/_nuxt/CD84FXNW.js +1 -0
  13. package/.output/public/_nuxt/CGkIG2vL2.js +1 -0
  14. package/.output/public/_nuxt/CM9IbYJz.js +1 -0
  15. package/.output/public/_nuxt/CUJ4QmLF.js +1 -0
  16. package/.output/public/_nuxt/CUQ3MZqI.js +1 -0
  17. package/.output/public/_nuxt/CVwoxklV.js +1 -0
  18. package/.output/public/_nuxt/CeHZqNQ0.js +1 -0
  19. package/.output/public/_nuxt/CkfS_Wbu.js +3 -0
  20. package/.output/public/_nuxt/CoPjdBwX.js +1 -0
  21. package/.output/public/_nuxt/CxkDmpVY.js +1 -0
  22. package/.output/public/_nuxt/CzRdWh7s2.js +1 -0
  23. package/.output/public/_nuxt/D-IOtyQX.js +1 -0
  24. package/.output/public/_nuxt/D3Us7gX72.js +1 -0
  25. package/.output/public/_nuxt/{DaQqwE3R.js → D8GHPYwQ.js} +44 -44
  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/ad8f3148-5aa4-4a0f-8e7a-e55147c5de1a.json +1 -0
  40. package/.output/public/_nuxt/entry.U-KS0GEu.css +1 -0
  41. package/.output/public/_nuxt/sMWyPZfC2.js +1 -0
  42. package/.output/public/_nuxt/zUWhKXtw2.js +1 -0
  43. package/.output/server/chunks/_/antigravity-nfz.mjs +629 -0
  44. package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -0
  45. package/.output/server/chunks/_/config.mjs +1 -1
  46. package/.output/server/chunks/_/file-workspace.mjs +1 -1
  47. package/.output/server/chunks/_/map-layer-update-manager.mjs +770 -0
  48. package/.output/server/chunks/_/map-layer-update-manager.mjs.map +1 -0
  49. package/.output/server/chunks/_/map-service.mjs +1 -1
  50. package/.output/server/chunks/_/uom-auth.mjs +1 -1
  51. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +6 -7
  52. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs.map → CompletedTaskSelect-Ba03kTs9.mjs.map} +1 -1
  53. package/.output/server/chunks/build/{Empty-BGIn09cL.mjs → Empty-CKvANuoV.mjs} +4 -103
  54. package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
  55. package/.output/server/chunks/build/{FormField-DnJWfrKE.mjs → FormField-BJHVyy1m.mjs} +4 -35
  56. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
  57. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs → Input-DnAric-z.mjs} +1 -1
  58. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs.map → Input-DnAric-z.mjs.map} +1 -1
  59. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs +5720 -0
  60. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs.map +1 -0
  61. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs → Modal-BLhN9Eg2.mjs} +4 -18
  62. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
  63. package/.output/server/chunks/build/{OnlineMap-cFSicmkV.mjs → OnlineMap-B-sCfHkC.mjs} +6 -3
  64. package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +1 -0
  65. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs → Pagination-CUzoLc_-.mjs} +1 -1
  66. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs.map → Pagination-CUzoLc_-.mjs.map} +1 -1
  67. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs +59 -0
  68. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs.map +1 -0
  69. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs → Slider-CrIUK3pl.mjs} +5 -5
  70. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs.map → Slider-CrIUK3pl.mjs.map} +1 -1
  71. package/.output/server/chunks/build/{MapBaseLayerTabs-CRl5Zwlr.mjs → Tabs-cdLsZZoL.mjs} +429 -931
  72. package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
  73. package/.output/server/chunks/build/{Tooltip-DNUdH4oF.mjs → Tooltip-DExIlyhu.mjs} +4 -195
  74. package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
  75. package/.output/server/chunks/build/{advanced-5ZGMUBqC.mjs → advanced-DaSpS8Px.mjs} +31 -34
  76. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
  77. package/.output/server/chunks/build/{compare-CtgF4Anj.mjs → compare-DaE10Dhp.mjs} +56 -37
  78. package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +1 -0
  79. package/.output/server/chunks/build/cookie-CziAmOf1.mjs +175 -0
  80. package/.output/server/chunks/build/cookie-CziAmOf1.mjs.map +1 -0
  81. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs → dashboard-Dq8mphss.mjs} +12 -6
  82. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
  83. package/.output/server/chunks/build/{details-CgufnL1d.mjs → details-DCNvSBgn.mjs} +5 -4
  84. package/.output/server/chunks/build/{details-CgufnL1d.mjs.map → details-DCNvSBgn.mjs.map} +1 -1
  85. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
  86. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
  87. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs +104 -0
  88. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +1 -0
  89. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs → interval-i5OZnTaK.mjs} +2 -2
  90. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs.map → interval-i5OZnTaK.mjs.map} +1 -1
  91. package/.output/server/chunks/build/layers-50nqoWES.mjs +553 -0
  92. package/.output/server/chunks/build/layers-50nqoWES.mjs.map +1 -0
  93. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs → login-BHSHtO-R.mjs} +6 -5
  94. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs.map → login-BHSHtO-R.mjs.map} +1 -1
  95. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs +86 -0
  96. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +1 -0
  97. package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs} +411 -4
  98. package/.output/server/chunks/build/overlay-BS4_B29H.mjs.map +1 -0
  99. package/.output/server/chunks/build/pages-5yYRS5nX.mjs +37 -0
  100. package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +1 -0
  101. package/.output/server/chunks/build/{pages-0c5sp_lv.mjs → pages-DfOPr0fC.mjs} +21 -21
  102. package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
  103. package/.output/server/chunks/build/{services-BB49kSpd.mjs → services-DWlDpsbi.mjs} +45 -41
  104. package/.output/server/chunks/build/{services-BB49kSpd.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
  105. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs → tasks-4b6D39Uy.mjs} +44 -100
  106. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs.map → tasks-4b6D39Uy.mjs.map} +1 -1
  107. package/.output/server/chunks/build/{tasks-Aa8PwjVL.mjs → tasks-BPPx2UMG.mjs} +10 -6
  108. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
  109. package/.output/server/chunks/nitro/nitro.mjs +303 -244
  110. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +29 -0
  111. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -0
  112. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +31 -0
  113. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -0
  114. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +39 -0
  115. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -0
  116. package/.output/server/chunks/routes/api/map/layers/status.get.mjs +60 -0
  117. package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -0
  118. package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
  119. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +1 -1
  120. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +1 -1
  121. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +1 -1
  122. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +1 -1
  123. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +1 -1
  124. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +1 -1
  125. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +1 -1
  126. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +1 -1
  127. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +1 -1
  128. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -1
  129. package/.output/server/chunks/routes/api/workspace/files.post.mjs +1 -1
  130. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +1 -1
  131. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -2
  132. package/.output/server/chunks/routes/renderer.mjs +3 -3
  133. package/.output/server/chunks/routes/services/wms.get.mjs +1 -1
  134. package/.output/server/chunks/routes/services/wmts.get.mjs +1 -1
  135. package/.output/server/chunks/virtual/entry.mjs +320 -443
  136. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  137. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  138. package/.output/server/chunks/virtual/styles.mjs +1 -1
  139. package/.output/server/node_modules/undici/index.js +234 -0
  140. package/.output/server/node_modules/undici/lib/api/abort-signal.js +59 -0
  141. package/.output/server/node_modules/undici/lib/api/api-connect.js +110 -0
  142. package/.output/server/node_modules/undici/lib/api/api-pipeline.js +252 -0
  143. package/.output/server/node_modules/undici/lib/api/api-request.js +214 -0
  144. package/.output/server/node_modules/undici/lib/api/api-stream.js +209 -0
  145. package/.output/server/node_modules/undici/lib/api/api-upgrade.js +111 -0
  146. package/.output/server/node_modules/undici/lib/api/index.js +7 -0
  147. package/.output/server/node_modules/undici/lib/api/readable.js +580 -0
  148. package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  149. package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  150. package/.output/server/node_modules/undici/lib/core/connect.js +153 -0
  151. package/.output/server/node_modules/undici/lib/core/constants.js +143 -0
  152. package/.output/server/node_modules/undici/lib/core/diagnostics.js +227 -0
  153. package/.output/server/node_modules/undici/lib/core/errors.js +477 -0
  154. package/.output/server/node_modules/undici/lib/core/request.js +464 -0
  155. package/.output/server/node_modules/undici/lib/core/socks5-client.js +422 -0
  156. package/.output/server/node_modules/undici/lib/core/socks5-utils.js +212 -0
  157. package/.output/server/node_modules/undici/lib/core/symbols.js +75 -0
  158. package/.output/server/node_modules/undici/lib/core/tree.js +160 -0
  159. package/.output/server/node_modules/undici/lib/core/util.js +992 -0
  160. package/.output/server/node_modules/undici/lib/dispatcher/agent.js +158 -0
  161. package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
  162. package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
  163. package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
  164. package/.output/server/node_modules/undici/lib/dispatcher/client.js +664 -0
  165. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  166. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  167. package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  168. package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  169. package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  170. package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  171. package/.output/server/node_modules/undici/lib/dispatcher/pool.js +118 -0
  172. package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  173. package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  174. package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  175. package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  176. package/.output/server/node_modules/undici/lib/encoding/index.js +33 -0
  177. package/.output/server/node_modules/undici/lib/global.js +59 -0
  178. package/.output/server/node_modules/undici/lib/handler/cache-handler.js +760 -0
  179. package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  180. package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  181. package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  182. package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  183. package/.output/server/node_modules/undici/lib/handler/retry-handler.js +418 -0
  184. package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  185. package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  186. package/.output/server/node_modules/undici/lib/interceptor/cache.js +602 -0
  187. package/.output/server/node_modules/undici/lib/interceptor/decompress.js +259 -0
  188. package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  189. package/.output/server/node_modules/undici/lib/interceptor/dns.js +571 -0
  190. package/.output/server/node_modules/undici/lib/interceptor/dump.js +112 -0
  191. package/.output/server/node_modules/undici/lib/interceptor/redirect.js +21 -0
  192. package/.output/server/node_modules/undici/lib/interceptor/response-error.js +95 -0
  193. package/.output/server/node_modules/undici/lib/interceptor/retry.js +19 -0
  194. package/.output/server/node_modules/undici/lib/llhttp/constants.js +531 -0
  195. package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  196. package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  197. package/.output/server/node_modules/undici/lib/llhttp/utils.js +12 -0
  198. package/.output/server/node_modules/undici/lib/mock/mock-agent.js +232 -0
  199. package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  200. package/.output/server/node_modules/undici/lib/mock/mock-client.js +68 -0
  201. package/.output/server/node_modules/undici/lib/mock/mock-errors.js +29 -0
  202. package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  203. package/.output/server/node_modules/undici/lib/mock/mock-pool.js +68 -0
  204. package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  205. package/.output/server/node_modules/undici/lib/mock/mock-utils.js +486 -0
  206. package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  207. package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  208. package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  209. package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  210. package/.output/server/node_modules/undici/lib/util/cache.js +676 -0
  211. package/.output/server/node_modules/undici/lib/util/date.js +670 -0
  212. package/.output/server/node_modules/undici/lib/util/promise.js +28 -0
  213. package/.output/server/node_modules/undici/lib/util/runtime-features.js +124 -0
  214. package/.output/server/node_modules/undici/lib/util/stats.js +32 -0
  215. package/.output/server/node_modules/undici/lib/util/timers.js +425 -0
  216. package/.output/server/node_modules/undici/lib/web/cache/cache.js +864 -0
  217. package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  218. package/.output/server/node_modules/undici/lib/web/cache/util.js +45 -0
  219. package/.output/server/node_modules/undici/lib/web/cookies/constants.js +12 -0
  220. package/.output/server/node_modules/undici/lib/web/cookies/index.js +199 -0
  221. package/.output/server/node_modules/undici/lib/web/cookies/parse.js +314 -0
  222. package/.output/server/node_modules/undici/lib/web/cookies/util.js +352 -0
  223. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
  224. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  225. package/.output/server/node_modules/undici/lib/web/eventsource/util.js +29 -0
  226. package/.output/server/node_modules/undici/lib/web/fetch/body.js +509 -0
  227. package/.output/server/node_modules/undici/lib/web/fetch/constants.js +131 -0
  228. package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  229. package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  230. package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  231. package/.output/server/node_modules/undici/lib/web/fetch/global.js +40 -0
  232. package/.output/server/node_modules/undici/lib/web/fetch/headers.js +719 -0
  233. package/.output/server/node_modules/undici/lib/web/fetch/index.js +2413 -0
  234. package/.output/server/node_modules/undici/lib/web/fetch/request.js +1115 -0
  235. package/.output/server/node_modules/undici/lib/web/fetch/response.js +641 -0
  236. package/.output/server/node_modules/undici/lib/web/fetch/util.js +1522 -0
  237. package/.output/server/node_modules/undici/lib/web/infra/index.js +229 -0
  238. package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  239. package/.output/server/node_modules/undici/lib/web/webidl/index.js +1006 -0
  240. package/.output/server/node_modules/undici/lib/web/websocket/connection.js +329 -0
  241. package/.output/server/node_modules/undici/lib/web/websocket/constants.js +126 -0
  242. package/.output/server/node_modules/undici/lib/web/websocket/events.js +331 -0
  243. package/.output/server/node_modules/undici/lib/web/websocket/frame.js +133 -0
  244. package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  245. package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  246. package/.output/server/node_modules/undici/lib/web/websocket/sender.js +109 -0
  247. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  248. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
  249. package/.output/server/node_modules/undici/lib/web/websocket/util.js +347 -0
  250. package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  251. package/.output/server/node_modules/undici/package.json +152 -0
  252. package/.output/server/package.json +2 -1
  253. package/LICENSE +201 -2
  254. package/README.md +17 -4
  255. package/dist/package.json +3 -2
  256. package/dist/shared/antigravity-schema.js +45 -0
  257. package/dist/shared/dji-grid.js +62 -0
  258. package/dist/shared/types/map-layers.js +2 -0
  259. package/dist/src/cli.js +63 -5
  260. package/dist/src/core/dji-snapshot.js +135 -0
  261. package/dist/src/core/map-layer-paths.js +11 -0
  262. package/dist/src/map-layer-update.js +646 -0
  263. package/package.json +3 -2
  264. package/.output/public/_nuxt/BNfSclJ4.js +0 -1
  265. package/.output/public/_nuxt/BYzlinOr2.js +0 -1
  266. package/.output/public/_nuxt/Be4dNlar.js +0 -1
  267. package/.output/public/_nuxt/C7fHMLd7.js +0 -1
  268. package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
  269. package/.output/public/_nuxt/CQ8inUdm.js +0 -1
  270. package/.output/public/_nuxt/Cc_JfSB1.js +0 -1
  271. package/.output/public/_nuxt/CyZDc0eO2.js +0 -1
  272. package/.output/public/_nuxt/CzFefJH0.js +0 -1
  273. package/.output/public/_nuxt/D-t0hXHB.js +0 -1
  274. package/.output/public/_nuxt/D3Pl7yw22.js +0 -1
  275. package/.output/public/_nuxt/D4gbGuiW.js +0 -1
  276. package/.output/public/_nuxt/DDp9lK3g.js +0 -1
  277. package/.output/public/_nuxt/DIIXHC50.js +0 -1
  278. package/.output/public/_nuxt/DWFUvzz0.js +0 -1
  279. package/.output/public/_nuxt/D_VoD6-f.js +0 -1
  280. package/.output/public/_nuxt/DfXX-x_z.js +0 -1
  281. package/.output/public/_nuxt/Dgyf2aNY.js +0 -1
  282. package/.output/public/_nuxt/GM5myUL22.js +0 -1
  283. package/.output/public/_nuxt/IC4wc76W.js +0 -1
  284. package/.output/public/_nuxt/IfL46N3Z.js +0 -1
  285. package/.output/public/_nuxt/KEU2l6zJ.js +0 -3
  286. package/.output/public/_nuxt/SEETjfdJ.js +0 -1
  287. package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +0 -1
  288. package/.output/public/_nuxt/entry.CZ_dkjcs.css +0 -1
  289. package/.output/public/_nuxt/nGp0t_eD.js +0 -1
  290. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +0 -1074
  291. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +0 -1
  292. package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +0 -1
  293. package/.output/server/chunks/build/Empty-BGIn09cL.mjs.map +0 -1
  294. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs +0 -207
  295. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs.map +0 -1
  296. package/.output/server/chunks/build/FormField-DnJWfrKE.mjs.map +0 -1
  297. package/.output/server/chunks/build/MapBaseLayerTabs-CRl5Zwlr.mjs.map +0 -1
  298. package/.output/server/chunks/build/OnlineMap-cFSicmkV.mjs.map +0 -1
  299. package/.output/server/chunks/build/Tooltip-DNUdH4oF.mjs.map +0 -1
  300. package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +0 -1
  301. package/.output/server/chunks/build/compare-CtgF4Anj.mjs.map +0 -1
  302. package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +0 -1
  303. package/.output/server/chunks/build/tasks-Aa8PwjVL.mjs.map +0 -1
@@ -0,0 +1,580 @@
1
+ 'use strict'
2
+
3
+ const assert = require('node:assert')
4
+ const { Readable } = require('node:stream')
5
+ const { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require('../core/errors')
6
+ const util = require('../core/util')
7
+ const { ReadableStreamFrom } = require('../core/util')
8
+
9
+ const kConsume = Symbol('kConsume')
10
+ const kReading = Symbol('kReading')
11
+ const kBody = Symbol('kBody')
12
+ const kAbort = Symbol('kAbort')
13
+ const kContentType = Symbol('kContentType')
14
+ const kContentLength = Symbol('kContentLength')
15
+ const kUsed = Symbol('kUsed')
16
+ const kBytesRead = Symbol('kBytesRead')
17
+
18
+ const noop = () => {}
19
+
20
+ /**
21
+ * @class
22
+ * @extends {Readable}
23
+ * @see https://fetch.spec.whatwg.org/#body
24
+ */
25
+ class BodyReadable extends Readable {
26
+ /**
27
+ * @param {object} opts
28
+ * @param {(this: Readable, size: number) => void} opts.resume
29
+ * @param {() => (void | null)} opts.abort
30
+ * @param {string} [opts.contentType = '']
31
+ * @param {number} [opts.contentLength]
32
+ * @param {number} [opts.highWaterMark = 64 * 1024]
33
+ */
34
+ constructor ({
35
+ resume,
36
+ abort,
37
+ contentType = '',
38
+ contentLength,
39
+ highWaterMark = 64 * 1024 // Same as nodejs fs streams.
40
+ }) {
41
+ super({
42
+ autoDestroy: true,
43
+ read: resume,
44
+ highWaterMark
45
+ })
46
+
47
+ this._readableState.dataEmitted = false
48
+
49
+ this[kAbort] = abort
50
+
51
+ /** @type {Consume | null} */
52
+ this[kConsume] = null
53
+
54
+ /** @type {number} */
55
+ this[kBytesRead] = 0
56
+
57
+ /** @type {ReadableStream|null} */
58
+ this[kBody] = null
59
+
60
+ /** @type {boolean} */
61
+ this[kUsed] = false
62
+
63
+ /** @type {string} */
64
+ this[kContentType] = contentType
65
+
66
+ /** @type {number|null} */
67
+ this[kContentLength] = Number.isFinite(contentLength) ? contentLength : null
68
+
69
+ /**
70
+ * Is stream being consumed through Readable API?
71
+ * This is an optimization so that we avoid checking
72
+ * for 'data' and 'readable' listeners in the hot path
73
+ * inside push().
74
+ *
75
+ * @type {boolean}
76
+ */
77
+ this[kReading] = false
78
+ }
79
+
80
+ /**
81
+ * @param {Error|null} err
82
+ * @param {(error:(Error|null)) => void} callback
83
+ * @returns {void}
84
+ */
85
+ _destroy (err, callback) {
86
+ if (!err && !this._readableState.endEmitted) {
87
+ err = new RequestAbortedError()
88
+ }
89
+
90
+ if (err) {
91
+ this[kAbort]()
92
+ }
93
+
94
+ // Workaround for Node "bug". If the stream is destroyed in same
95
+ // tick as it is created, then a user who is waiting for a
96
+ // promise (i.e micro tick) for installing an 'error' listener will
97
+ // never get a chance and will always encounter an unhandled exception.
98
+ if (!this[kUsed]) {
99
+ setImmediate(callback, err)
100
+ } else {
101
+ callback(err)
102
+ }
103
+ }
104
+
105
+ /**
106
+ * @param {string|symbol} event
107
+ * @param {(...args: any[]) => void} listener
108
+ * @returns {this}
109
+ */
110
+ on (event, listener) {
111
+ if (event === 'data' || event === 'readable') {
112
+ this[kReading] = true
113
+ this[kUsed] = true
114
+ }
115
+ return super.on(event, listener)
116
+ }
117
+
118
+ /**
119
+ * @param {string|symbol} event
120
+ * @param {(...args: any[]) => void} listener
121
+ * @returns {this}
122
+ */
123
+ addListener (event, listener) {
124
+ return this.on(event, listener)
125
+ }
126
+
127
+ /**
128
+ * @param {string|symbol} event
129
+ * @param {(...args: any[]) => void} listener
130
+ * @returns {this}
131
+ */
132
+ off (event, listener) {
133
+ const ret = super.off(event, listener)
134
+ if (event === 'data' || event === 'readable') {
135
+ this[kReading] = (
136
+ this.listenerCount('data') > 0 ||
137
+ this.listenerCount('readable') > 0
138
+ )
139
+ }
140
+ return ret
141
+ }
142
+
143
+ /**
144
+ * @param {string|symbol} event
145
+ * @param {(...args: any[]) => void} listener
146
+ * @returns {this}
147
+ */
148
+ removeListener (event, listener) {
149
+ return this.off(event, listener)
150
+ }
151
+
152
+ /**
153
+ * @param {Buffer|null} chunk
154
+ * @returns {boolean}
155
+ */
156
+ push (chunk) {
157
+ if (chunk) {
158
+ this[kBytesRead] += chunk.length
159
+ if (this[kConsume]) {
160
+ consumePush(this[kConsume], chunk)
161
+ return this[kReading] ? super.push(chunk) : true
162
+ }
163
+ }
164
+
165
+ return super.push(chunk)
166
+ }
167
+
168
+ /**
169
+ * Consumes and returns the body as a string.
170
+ *
171
+ * @see https://fetch.spec.whatwg.org/#dom-body-text
172
+ * @returns {Promise<string>}
173
+ */
174
+ text () {
175
+ return consume(this, 'text')
176
+ }
177
+
178
+ /**
179
+ * Consumes and returns the body as a JavaScript Object.
180
+ *
181
+ * @see https://fetch.spec.whatwg.org/#dom-body-json
182
+ * @returns {Promise<unknown>}
183
+ */
184
+ json () {
185
+ return consume(this, 'json')
186
+ }
187
+
188
+ /**
189
+ * Consumes and returns the body as a Blob
190
+ *
191
+ * @see https://fetch.spec.whatwg.org/#dom-body-blob
192
+ * @returns {Promise<Blob>}
193
+ */
194
+ blob () {
195
+ return consume(this, 'blob')
196
+ }
197
+
198
+ /**
199
+ * Consumes and returns the body as an Uint8Array.
200
+ *
201
+ * @see https://fetch.spec.whatwg.org/#dom-body-bytes
202
+ * @returns {Promise<Uint8Array>}
203
+ */
204
+ bytes () {
205
+ return consume(this, 'bytes')
206
+ }
207
+
208
+ /**
209
+ * Consumes and returns the body as an ArrayBuffer.
210
+ *
211
+ * @see https://fetch.spec.whatwg.org/#dom-body-arraybuffer
212
+ * @returns {Promise<ArrayBuffer>}
213
+ */
214
+ arrayBuffer () {
215
+ return consume(this, 'arrayBuffer')
216
+ }
217
+
218
+ /**
219
+ * Not implemented
220
+ *
221
+ * @see https://fetch.spec.whatwg.org/#dom-body-formdata
222
+ * @throws {NotSupportedError}
223
+ */
224
+ async formData () {
225
+ // TODO: Implement.
226
+ throw new NotSupportedError()
227
+ }
228
+
229
+ /**
230
+ * Returns true if the body is not null and the body has been consumed.
231
+ * Otherwise, returns false.
232
+ *
233
+ * @see https://fetch.spec.whatwg.org/#dom-body-bodyused
234
+ * @readonly
235
+ * @returns {boolean}
236
+ */
237
+ get bodyUsed () {
238
+ return util.isDisturbed(this)
239
+ }
240
+
241
+ /**
242
+ * @see https://fetch.spec.whatwg.org/#dom-body-body
243
+ * @readonly
244
+ * @returns {ReadableStream}
245
+ */
246
+ get body () {
247
+ if (!this[kBody]) {
248
+ this[kBody] = ReadableStreamFrom(this)
249
+ if (this[kConsume]) {
250
+ // TODO: Is this the best way to force a lock?
251
+ this[kBody].getReader() // Ensure stream is locked.
252
+ assert(this[kBody].locked)
253
+ }
254
+ }
255
+ return this[kBody]
256
+ }
257
+
258
+ /**
259
+ * Dumps the response body by reading `limit` number of bytes.
260
+ * @param {object} opts
261
+ * @param {number} [opts.limit = 131072] Number of bytes to read.
262
+ * @param {AbortSignal} [opts.signal] An AbortSignal to cancel the dump.
263
+ * @returns {Promise<null>}
264
+ */
265
+ dump (opts) {
266
+ const signal = opts?.signal
267
+
268
+ if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {
269
+ return Promise.reject(new InvalidArgumentError('signal must be an AbortSignal'))
270
+ }
271
+
272
+ const limit = opts?.limit && Number.isFinite(opts.limit)
273
+ ? opts.limit
274
+ : 128 * 1024
275
+
276
+ if (signal?.aborted) {
277
+ return Promise.reject(signal.reason ?? new AbortError())
278
+ }
279
+
280
+ if (this._readableState.closeEmitted) {
281
+ return Promise.resolve(null)
282
+ }
283
+
284
+ return new Promise((resolve, reject) => {
285
+ if (
286
+ (this[kContentLength] && (this[kContentLength] > limit)) ||
287
+ this[kBytesRead] > limit
288
+ ) {
289
+ this.destroy(new AbortError())
290
+ }
291
+
292
+ if (signal) {
293
+ const onAbort = () => {
294
+ this.destroy(signal.reason ?? new AbortError())
295
+ }
296
+ signal.addEventListener('abort', onAbort)
297
+ this
298
+ .on('close', function () {
299
+ signal.removeEventListener('abort', onAbort)
300
+ if (signal.aborted) {
301
+ reject(signal.reason ?? new AbortError())
302
+ } else {
303
+ resolve(null)
304
+ }
305
+ })
306
+ } else {
307
+ this.on('close', resolve)
308
+ }
309
+
310
+ this
311
+ .on('error', noop)
312
+ .on('data', () => {
313
+ if (this[kBytesRead] > limit) {
314
+ this.destroy()
315
+ }
316
+ })
317
+ .resume()
318
+ })
319
+ }
320
+
321
+ /**
322
+ * @param {BufferEncoding} encoding
323
+ * @returns {this}
324
+ */
325
+ setEncoding (encoding) {
326
+ if (Buffer.isEncoding(encoding)) {
327
+ this._readableState.encoding = encoding
328
+ }
329
+ return this
330
+ }
331
+ }
332
+
333
+ /**
334
+ * @see https://streams.spec.whatwg.org/#readablestream-locked
335
+ * @param {BodyReadable} bodyReadable
336
+ * @returns {boolean}
337
+ */
338
+ function isLocked (bodyReadable) {
339
+ // Consume is an implicit lock.
340
+ return bodyReadable[kBody]?.locked === true || bodyReadable[kConsume] !== null
341
+ }
342
+
343
+ /**
344
+ * @see https://fetch.spec.whatwg.org/#body-unusable
345
+ * @param {BodyReadable} bodyReadable
346
+ * @returns {boolean}
347
+ */
348
+ function isUnusable (bodyReadable) {
349
+ return util.isDisturbed(bodyReadable) || isLocked(bodyReadable)
350
+ }
351
+
352
+ /**
353
+ * @typedef {'text' | 'json' | 'blob' | 'bytes' | 'arrayBuffer'} ConsumeType
354
+ */
355
+
356
+ /**
357
+ * @template {ConsumeType} T
358
+ * @typedef {T extends 'text' ? string :
359
+ * T extends 'json' ? unknown :
360
+ * T extends 'blob' ? Blob :
361
+ * T extends 'arrayBuffer' ? ArrayBuffer :
362
+ * T extends 'bytes' ? Uint8Array :
363
+ * never
364
+ * } ConsumeReturnType
365
+ */
366
+ /**
367
+ * @typedef {object} Consume
368
+ * @property {ConsumeType} type
369
+ * @property {BodyReadable} stream
370
+ * @property {((value?: any) => void)} resolve
371
+ * @property {((err: Error) => void)} reject
372
+ * @property {number} length
373
+ * @property {Buffer[]} body
374
+ */
375
+
376
+ /**
377
+ * @template {ConsumeType} T
378
+ * @param {BodyReadable} stream
379
+ * @param {T} type
380
+ * @returns {Promise<ConsumeReturnType<T>>}
381
+ */
382
+ function consume (stream, type) {
383
+ assert(!stream[kConsume])
384
+
385
+ return new Promise((resolve, reject) => {
386
+ if (isUnusable(stream)) {
387
+ const rState = stream._readableState
388
+ if (rState.destroyed && rState.closeEmitted === false) {
389
+ stream
390
+ .on('error', reject)
391
+ .on('close', () => {
392
+ reject(new TypeError('unusable'))
393
+ })
394
+ } else {
395
+ reject(rState.errored ?? new TypeError('unusable'))
396
+ }
397
+ } else {
398
+ queueMicrotask(() => {
399
+ stream[kConsume] = {
400
+ type,
401
+ stream,
402
+ resolve,
403
+ reject,
404
+ length: 0,
405
+ body: []
406
+ }
407
+
408
+ stream
409
+ .on('error', function (err) {
410
+ consumeFinish(this[kConsume], err)
411
+ })
412
+ .on('close', function () {
413
+ if (this[kConsume].body !== null) {
414
+ consumeFinish(this[kConsume], new RequestAbortedError())
415
+ }
416
+ })
417
+
418
+ consumeStart(stream[kConsume])
419
+ })
420
+ }
421
+ })
422
+ }
423
+
424
+ /**
425
+ * @param {Consume} consume
426
+ * @returns {void}
427
+ */
428
+ function consumeStart (consume) {
429
+ if (consume.body === null) {
430
+ return
431
+ }
432
+
433
+ const { _readableState: state } = consume.stream
434
+
435
+ if (state.bufferIndex) {
436
+ const start = state.bufferIndex
437
+ const end = state.buffer.length
438
+ for (let n = start; n < end; n++) {
439
+ consumePush(consume, state.buffer[n])
440
+ }
441
+ } else {
442
+ for (const chunk of state.buffer) {
443
+ consumePush(consume, chunk)
444
+ }
445
+ }
446
+
447
+ if (state.endEmitted) {
448
+ consumeEnd(this[kConsume], this._readableState.encoding)
449
+ } else {
450
+ consume.stream.on('end', function () {
451
+ consumeEnd(this[kConsume], this._readableState.encoding)
452
+ })
453
+ }
454
+
455
+ consume.stream.resume()
456
+
457
+ while (consume.stream.read() != null) {
458
+ // Loop
459
+ }
460
+ }
461
+
462
+ /**
463
+ * @param {Buffer[]} chunks
464
+ * @param {number} length
465
+ * @param {BufferEncoding} [encoding='utf8']
466
+ * @returns {string}
467
+ */
468
+ function chunksDecode (chunks, length, encoding) {
469
+ if (chunks.length === 0 || length === 0) {
470
+ return ''
471
+ }
472
+ const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length)
473
+ const bufferLength = buffer.length
474
+
475
+ // Skip BOM.
476
+ const start =
477
+ bufferLength > 2 &&
478
+ buffer[0] === 0xef &&
479
+ buffer[1] === 0xbb &&
480
+ buffer[2] === 0xbf
481
+ ? 3
482
+ : 0
483
+ if (!encoding || encoding === 'utf8' || encoding === 'utf-8') {
484
+ return buffer.utf8Slice(start, bufferLength)
485
+ } else {
486
+ return buffer.subarray(start, bufferLength).toString(encoding)
487
+ }
488
+ }
489
+
490
+ /**
491
+ * @param {Buffer[]} chunks
492
+ * @param {number} length
493
+ * @returns {Uint8Array}
494
+ */
495
+ function chunksConcat (chunks, length) {
496
+ if (chunks.length === 0 || length === 0) {
497
+ return new Uint8Array(0)
498
+ }
499
+ if (chunks.length === 1) {
500
+ // fast-path
501
+ return new Uint8Array(chunks[0])
502
+ }
503
+ const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer)
504
+
505
+ let offset = 0
506
+ for (let i = 0; i < chunks.length; ++i) {
507
+ const chunk = chunks[i]
508
+ buffer.set(chunk, offset)
509
+ offset += chunk.length
510
+ }
511
+
512
+ return buffer
513
+ }
514
+
515
+ /**
516
+ * @param {Consume} consume
517
+ * @param {BufferEncoding} encoding
518
+ * @returns {void}
519
+ */
520
+ function consumeEnd (consume, encoding) {
521
+ const { type, body, resolve, stream, length } = consume
522
+
523
+ try {
524
+ if (type === 'text') {
525
+ resolve(chunksDecode(body, length, encoding))
526
+ } else if (type === 'json') {
527
+ resolve(JSON.parse(chunksDecode(body, length, encoding)))
528
+ } else if (type === 'arrayBuffer') {
529
+ resolve(chunksConcat(body, length).buffer)
530
+ } else if (type === 'blob') {
531
+ resolve(new Blob(body, { type: stream[kContentType] }))
532
+ } else if (type === 'bytes') {
533
+ resolve(chunksConcat(body, length))
534
+ }
535
+
536
+ consumeFinish(consume)
537
+ } catch (err) {
538
+ stream.destroy(err)
539
+ }
540
+ }
541
+
542
+ /**
543
+ * @param {Consume} consume
544
+ * @param {Buffer} chunk
545
+ * @returns {void}
546
+ */
547
+ function consumePush (consume, chunk) {
548
+ consume.length += chunk.length
549
+ consume.body.push(chunk)
550
+ }
551
+
552
+ /**
553
+ * @param {Consume} consume
554
+ * @param {Error} [err]
555
+ * @returns {void}
556
+ */
557
+ function consumeFinish (consume, err) {
558
+ if (consume.body === null) {
559
+ return
560
+ }
561
+
562
+ if (err) {
563
+ consume.reject(err)
564
+ } else {
565
+ consume.resolve()
566
+ }
567
+
568
+ // Reset the consume object to allow for garbage collection.
569
+ consume.type = null
570
+ consume.stream = null
571
+ consume.resolve = null
572
+ consume.reject = null
573
+ consume.length = 0
574
+ consume.body = null
575
+ }
576
+
577
+ module.exports = {
578
+ Readable: BodyReadable,
579
+ chunksDecode
580
+ }