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,158 @@
1
+ 'use strict'
2
+
3
+ const { InvalidArgumentError, MaxOriginsReachedError } = require('../core/errors')
4
+ const { kClients, kRunning, kClose, kDestroy, kDispatch, kUrl } = require('../core/symbols')
5
+ const DispatcherBase = require('./dispatcher-base')
6
+ const Pool = require('./pool')
7
+ const Client = require('./client')
8
+ const util = require('../core/util')
9
+
10
+ const kOnConnect = Symbol('onConnect')
11
+ const kOnDisconnect = Symbol('onDisconnect')
12
+ const kOnConnectionError = Symbol('onConnectionError')
13
+ const kOnDrain = Symbol('onDrain')
14
+ const kFactory = Symbol('factory')
15
+ const kOptions = Symbol('options')
16
+ const kOrigins = Symbol('origins')
17
+
18
+ function defaultFactory (origin, opts) {
19
+ return opts && opts.connections === 1
20
+ ? new Client(origin, opts)
21
+ : new Pool(origin, opts)
22
+ }
23
+
24
+ class Agent extends DispatcherBase {
25
+ constructor ({ factory = defaultFactory, maxOrigins = Infinity, connect, ...options } = {}) {
26
+ if (typeof factory !== 'function') {
27
+ throw new InvalidArgumentError('factory must be a function.')
28
+ }
29
+
30
+ if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {
31
+ throw new InvalidArgumentError('connect must be a function or an object')
32
+ }
33
+
34
+ if (typeof maxOrigins !== 'number' || Number.isNaN(maxOrigins) || maxOrigins <= 0) {
35
+ throw new InvalidArgumentError('maxOrigins must be a number greater than 0')
36
+ }
37
+
38
+ super(options)
39
+
40
+ if (connect && typeof connect !== 'function') {
41
+ connect = { ...connect }
42
+ }
43
+
44
+ this[kOptions] = { ...util.deepClone(options), maxOrigins, connect }
45
+ this[kFactory] = factory
46
+ this[kClients] = new Map()
47
+ this[kOrigins] = new Set()
48
+
49
+ this[kOnDrain] = (origin, targets) => {
50
+ this.emit('drain', origin, [this, ...targets])
51
+ }
52
+
53
+ this[kOnConnect] = (origin, targets) => {
54
+ this.emit('connect', origin, [this, ...targets])
55
+ }
56
+
57
+ this[kOnDisconnect] = (origin, targets, err) => {
58
+ this.emit('disconnect', origin, [this, ...targets], err)
59
+ }
60
+
61
+ this[kOnConnectionError] = (origin, targets, err) => {
62
+ this.emit('connectionError', origin, [this, ...targets], err)
63
+ }
64
+ }
65
+
66
+ get [kRunning] () {
67
+ let ret = 0
68
+ for (const { dispatcher } of this[kClients].values()) {
69
+ ret += dispatcher[kRunning]
70
+ }
71
+ return ret
72
+ }
73
+
74
+ [kDispatch] (opts, handler) {
75
+ let key
76
+ if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) {
77
+ key = String(opts.origin)
78
+ } else {
79
+ throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')
80
+ }
81
+
82
+ if (this[kOrigins].size >= this[kOptions].maxOrigins && !this[kOrigins].has(key)) {
83
+ throw new MaxOriginsReachedError()
84
+ }
85
+
86
+ const result = this[kClients].get(key)
87
+ let dispatcher = result && result.dispatcher
88
+ if (!dispatcher) {
89
+ const closeClientIfUnused = (connected) => {
90
+ const result = this[kClients].get(key)
91
+ if (result) {
92
+ if (connected) result.count -= 1
93
+ if (result.count <= 0) {
94
+ this[kClients].delete(key)
95
+ if (!result.dispatcher.destroyed) {
96
+ result.dispatcher.close()
97
+ }
98
+ }
99
+ this[kOrigins].delete(key)
100
+ }
101
+ }
102
+ dispatcher = this[kFactory](opts.origin, this[kOptions])
103
+ .on('drain', this[kOnDrain])
104
+ .on('connect', (origin, targets) => {
105
+ const result = this[kClients].get(key)
106
+ if (result) {
107
+ result.count += 1
108
+ }
109
+ this[kOnConnect](origin, targets)
110
+ })
111
+ .on('disconnect', (origin, targets, err) => {
112
+ closeClientIfUnused(true)
113
+ this[kOnDisconnect](origin, targets, err)
114
+ })
115
+ .on('connectionError', (origin, targets, err) => {
116
+ closeClientIfUnused(false)
117
+ this[kOnConnectionError](origin, targets, err)
118
+ })
119
+
120
+ this[kClients].set(key, { count: 0, dispatcher })
121
+ this[kOrigins].add(key)
122
+ }
123
+
124
+ return dispatcher.dispatch(opts, handler)
125
+ }
126
+
127
+ [kClose] () {
128
+ const closePromises = []
129
+ for (const { dispatcher } of this[kClients].values()) {
130
+ closePromises.push(dispatcher.close())
131
+ }
132
+ this[kClients].clear()
133
+
134
+ return Promise.all(closePromises)
135
+ }
136
+
137
+ [kDestroy] (err) {
138
+ const destroyPromises = []
139
+ for (const { dispatcher } of this[kClients].values()) {
140
+ destroyPromises.push(dispatcher.destroy(err))
141
+ }
142
+ this[kClients].clear()
143
+
144
+ return Promise.all(destroyPromises)
145
+ }
146
+
147
+ get stats () {
148
+ const allClientStats = {}
149
+ for (const { dispatcher } of this[kClients].values()) {
150
+ if (dispatcher.stats) {
151
+ allClientStats[dispatcher[kUrl].origin] = dispatcher.stats
152
+ }
153
+ }
154
+ return allClientStats
155
+ }
156
+ }
157
+
158
+ module.exports = Agent
@@ -0,0 +1,219 @@
1
+ 'use strict'
2
+
3
+ const {
4
+ BalancedPoolMissingUpstreamError,
5
+ InvalidArgumentError
6
+ } = require('../core/errors')
7
+ const {
8
+ PoolBase,
9
+ kClients,
10
+ kNeedDrain,
11
+ kAddClient,
12
+ kRemoveClient,
13
+ kGetDispatcher
14
+ } = require('./pool-base')
15
+ const Pool = require('./pool')
16
+ const { kUrl } = require('../core/symbols')
17
+ const util = require('../core/util')
18
+ const kFactory = Symbol('factory')
19
+
20
+ const kOptions = Symbol('options')
21
+ const kGreatestCommonDivisor = Symbol('kGreatestCommonDivisor')
22
+ const kCurrentWeight = Symbol('kCurrentWeight')
23
+ const kIndex = Symbol('kIndex')
24
+ const kWeight = Symbol('kWeight')
25
+ const kMaxWeightPerServer = Symbol('kMaxWeightPerServer')
26
+ const kErrorPenalty = Symbol('kErrorPenalty')
27
+
28
+ /**
29
+ * Calculate the greatest common divisor of two numbers by
30
+ * using the Euclidean algorithm.
31
+ *
32
+ * @param {number} a
33
+ * @param {number} b
34
+ * @returns {number}
35
+ */
36
+ function getGreatestCommonDivisor (a, b) {
37
+ if (a === 0) return b
38
+
39
+ while (b !== 0) {
40
+ const t = b
41
+ b = a % b
42
+ a = t
43
+ }
44
+ return a
45
+ }
46
+
47
+ function defaultFactory (origin, opts) {
48
+ return new Pool(origin, opts)
49
+ }
50
+
51
+ class BalancedPool extends PoolBase {
52
+ constructor (upstreams = [], { factory = defaultFactory, ...opts } = {}) {
53
+ if (typeof factory !== 'function') {
54
+ throw new InvalidArgumentError('factory must be a function.')
55
+ }
56
+
57
+ super(opts)
58
+
59
+ this[kOptions] = { ...util.deepClone(opts) }
60
+ this[kOptions].interceptors = opts.interceptors
61
+ ? { ...opts.interceptors }
62
+ : undefined
63
+ this[kIndex] = -1
64
+ this[kCurrentWeight] = 0
65
+
66
+ this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100
67
+ this[kErrorPenalty] = this[kOptions].errorPenalty || 15
68
+
69
+ if (!Array.isArray(upstreams)) {
70
+ upstreams = [upstreams]
71
+ }
72
+
73
+ this[kFactory] = factory
74
+
75
+ for (const upstream of upstreams) {
76
+ this.addUpstream(upstream)
77
+ }
78
+ this._updateBalancedPoolStats()
79
+ }
80
+
81
+ addUpstream (upstream) {
82
+ const upstreamOrigin = util.parseOrigin(upstream).origin
83
+
84
+ if (this[kClients].find((pool) => (
85
+ pool[kUrl].origin === upstreamOrigin &&
86
+ pool.closed !== true &&
87
+ pool.destroyed !== true
88
+ ))) {
89
+ return this
90
+ }
91
+ const pool = this[kFactory](upstreamOrigin, this[kOptions])
92
+
93
+ this[kAddClient](pool)
94
+ pool.on('connect', () => {
95
+ pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty])
96
+ })
97
+
98
+ pool.on('connectionError', () => {
99
+ pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])
100
+ this._updateBalancedPoolStats()
101
+ })
102
+
103
+ pool.on('disconnect', (...args) => {
104
+ const err = args[2]
105
+ if (err && err.code === 'UND_ERR_SOCKET') {
106
+ // decrease the weight of the pool.
107
+ pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])
108
+ this._updateBalancedPoolStats()
109
+ }
110
+ })
111
+
112
+ for (const client of this[kClients]) {
113
+ client[kWeight] = this[kMaxWeightPerServer]
114
+ }
115
+
116
+ this._updateBalancedPoolStats()
117
+
118
+ return this
119
+ }
120
+
121
+ _updateBalancedPoolStats () {
122
+ let result = 0
123
+ for (let i = 0; i < this[kClients].length; i++) {
124
+ result = getGreatestCommonDivisor(this[kClients][i][kWeight], result)
125
+ }
126
+
127
+ this[kGreatestCommonDivisor] = result
128
+ }
129
+
130
+ removeUpstream (upstream) {
131
+ const upstreamOrigin = util.parseOrigin(upstream).origin
132
+
133
+ const pool = this[kClients].find((pool) => (
134
+ pool[kUrl].origin === upstreamOrigin &&
135
+ pool.closed !== true &&
136
+ pool.destroyed !== true
137
+ ))
138
+
139
+ if (pool) {
140
+ this[kRemoveClient](pool)
141
+ }
142
+
143
+ return this
144
+ }
145
+
146
+ getUpstream (upstream) {
147
+ const upstreamOrigin = util.parseOrigin(upstream).origin
148
+
149
+ return this[kClients].find((pool) => (
150
+ pool[kUrl].origin === upstreamOrigin &&
151
+ pool.closed !== true &&
152
+ pool.destroyed !== true
153
+ ))
154
+ }
155
+
156
+ get upstreams () {
157
+ return this[kClients]
158
+ .filter(dispatcher => dispatcher.closed !== true && dispatcher.destroyed !== true)
159
+ .map((p) => p[kUrl].origin)
160
+ }
161
+
162
+ [kGetDispatcher] () {
163
+ // We validate that pools is greater than 0,
164
+ // otherwise we would have to wait until an upstream
165
+ // is added, which might never happen.
166
+ if (this[kClients].length === 0) {
167
+ throw new BalancedPoolMissingUpstreamError()
168
+ }
169
+
170
+ const dispatcher = this[kClients].find(dispatcher => (
171
+ !dispatcher[kNeedDrain] &&
172
+ dispatcher.closed !== true &&
173
+ dispatcher.destroyed !== true
174
+ ))
175
+
176
+ if (!dispatcher) {
177
+ return
178
+ }
179
+
180
+ const allClientsBusy = this[kClients].map(pool => pool[kNeedDrain]).reduce((a, b) => a && b, true)
181
+
182
+ if (allClientsBusy) {
183
+ return
184
+ }
185
+
186
+ let counter = 0
187
+
188
+ let maxWeightIndex = this[kClients].findIndex(pool => !pool[kNeedDrain])
189
+
190
+ while (counter++ < this[kClients].length) {
191
+ this[kIndex] = (this[kIndex] + 1) % this[kClients].length
192
+ const pool = this[kClients][this[kIndex]]
193
+
194
+ // find pool index with the largest weight
195
+ if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain]) {
196
+ maxWeightIndex = this[kIndex]
197
+ }
198
+
199
+ // decrease the current weight every `this[kClients].length`.
200
+ if (this[kIndex] === 0) {
201
+ // Set the current weight to the next lower weight.
202
+ this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor]
203
+
204
+ if (this[kCurrentWeight] <= 0) {
205
+ this[kCurrentWeight] = this[kMaxWeightPerServer]
206
+ }
207
+ }
208
+ if (pool[kWeight] >= this[kCurrentWeight] && (!pool[kNeedDrain])) {
209
+ return pool
210
+ }
211
+ }
212
+
213
+ this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight]
214
+ this[kIndex] = maxWeightIndex
215
+ return this[kClients][maxWeightIndex]
216
+ }
217
+ }
218
+
219
+ module.exports = BalancedPool