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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/7KYNy7kZ.js +1 -0
- package/.output/public/_nuxt/7Rgc2iDI2.js +1 -0
- package/.output/public/_nuxt/BA52uD81.js +1 -0
- package/.output/public/_nuxt/{CU486JdV2.js → BHSn2vP72.js} +2 -2
- package/.output/public/_nuxt/BRsHq3Fz2.js +1 -0
- package/.output/public/_nuxt/Bh2Uv1S7.js +1 -0
- package/.output/public/_nuxt/BiRI-vq-.js +1 -0
- package/.output/public/_nuxt/Bpc1HTfh.js +1 -0
- package/.output/public/_nuxt/C-b4mqsD.js +1 -0
- package/.output/public/_nuxt/C5Y76DD6.js +1 -0
- package/.output/public/_nuxt/CD84FXNW.js +1 -0
- package/.output/public/_nuxt/CGkIG2vL2.js +1 -0
- package/.output/public/_nuxt/CM9IbYJz.js +1 -0
- package/.output/public/_nuxt/CUJ4QmLF.js +1 -0
- package/.output/public/_nuxt/CUQ3MZqI.js +1 -0
- package/.output/public/_nuxt/CVwoxklV.js +1 -0
- package/.output/public/_nuxt/CeHZqNQ0.js +1 -0
- package/.output/public/_nuxt/CkfS_Wbu.js +3 -0
- package/.output/public/_nuxt/CoPjdBwX.js +1 -0
- package/.output/public/_nuxt/CxkDmpVY.js +1 -0
- package/.output/public/_nuxt/CzRdWh7s2.js +1 -0
- package/.output/public/_nuxt/D-IOtyQX.js +1 -0
- package/.output/public/_nuxt/D3Us7gX72.js +1 -0
- package/.output/public/_nuxt/{DaQqwE3R.js → D8GHPYwQ.js} +44 -44
- package/.output/public/_nuxt/DLIy3f3M.js +1 -0
- package/.output/public/_nuxt/{CovBj6WN.js → DQ8r1OSk.js} +1 -1
- package/.output/public/_nuxt/D_9SjQFe.js +1 -0
- package/.output/public/_nuxt/D_Ggu6R_2.js +1 -0
- package/.output/public/_nuxt/{Q79ec-Ro.js → DnVJUY7B.js} +1 -1
- package/.output/public/_nuxt/{Bd1EvHmY.js → DuGgjt-h2.js} +1 -1
- package/.output/public/_nuxt/GEOST6As.js +1 -0
- package/.output/public/_nuxt/{DpIPeY5m.js → GqgcWtrL.js} +1 -1
- package/.output/public/_nuxt/{0hm88Oke.js → Hbp_Okvs.js} +1 -1
- package/.output/public/_nuxt/JdUwgqKv.js +1 -0
- package/.output/public/_nuxt/KttxEAyP2.js +1 -0
- package/.output/public/_nuxt/L0GXeO1Y2.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/ad8f3148-5aa4-4a0f-8e7a-e55147c5de1a.json +1 -0
- package/.output/public/_nuxt/entry.U-KS0GEu.css +1 -0
- package/.output/public/_nuxt/sMWyPZfC2.js +1 -0
- package/.output/public/_nuxt/zUWhKXtw2.js +1 -0
- package/.output/server/chunks/_/antigravity-nfz.mjs +629 -0
- package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -0
- package/.output/server/chunks/_/config.mjs +1 -1
- package/.output/server/chunks/_/file-workspace.mjs +1 -1
- package/.output/server/chunks/_/map-layer-update-manager.mjs +770 -0
- package/.output/server/chunks/_/map-layer-update-manager.mjs.map +1 -0
- package/.output/server/chunks/_/map-service.mjs +1 -1
- package/.output/server/chunks/_/uom-auth.mjs +1 -1
- package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +6 -7
- package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs.map → CompletedTaskSelect-Ba03kTs9.mjs.map} +1 -1
- package/.output/server/chunks/build/{Empty-BGIn09cL.mjs → Empty-CKvANuoV.mjs} +4 -103
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
- package/.output/server/chunks/build/{FormField-DnJWfrKE.mjs → FormField-BJHVyy1m.mjs} +4 -35
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
- package/.output/server/chunks/build/{Input-AdlINKtJ.mjs → Input-DnAric-z.mjs} +1 -1
- package/.output/server/chunks/build/{Input-AdlINKtJ.mjs.map → Input-DnAric-z.mjs.map} +1 -1
- package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs +5720 -0
- package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs.map +1 -0
- package/.output/server/chunks/build/{Modal-CozaqIp1.mjs → Modal-BLhN9Eg2.mjs} +4 -18
- package/.output/server/chunks/build/{Modal-CozaqIp1.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-cFSicmkV.mjs → OnlineMap-B-sCfHkC.mjs} +6 -3
- package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +1 -0
- package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs → Pagination-CUzoLc_-.mjs} +1 -1
- package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs.map → Pagination-CUzoLc_-.mjs.map} +1 -1
- package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs +59 -0
- package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs.map +1 -0
- package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs → Slider-CrIUK3pl.mjs} +5 -5
- package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs.map → Slider-CrIUK3pl.mjs.map} +1 -1
- package/.output/server/chunks/build/{MapBaseLayerTabs-CRl5Zwlr.mjs → Tabs-cdLsZZoL.mjs} +429 -931
- package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
- package/.output/server/chunks/build/{Tooltip-DNUdH4oF.mjs → Tooltip-DExIlyhu.mjs} +4 -195
- package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
- package/.output/server/chunks/build/{advanced-5ZGMUBqC.mjs → advanced-DaSpS8Px.mjs} +31 -34
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-CtgF4Anj.mjs → compare-DaE10Dhp.mjs} +56 -37
- package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +1 -0
- package/.output/server/chunks/build/cookie-CziAmOf1.mjs +175 -0
- package/.output/server/chunks/build/cookie-CziAmOf1.mjs.map +1 -0
- package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs → dashboard-Dq8mphss.mjs} +12 -6
- package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-CgufnL1d.mjs → details-DCNvSBgn.mjs} +5 -4
- package/.output/server/chunks/build/{details-CgufnL1d.mjs.map → details-DCNvSBgn.mjs.map} +1 -1
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
- package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs +104 -0
- package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +1 -0
- package/.output/server/chunks/build/{interval-9B2MrM2e.mjs → interval-i5OZnTaK.mjs} +2 -2
- package/.output/server/chunks/build/{interval-9B2MrM2e.mjs.map → interval-i5OZnTaK.mjs.map} +1 -1
- package/.output/server/chunks/build/layers-50nqoWES.mjs +553 -0
- package/.output/server/chunks/build/layers-50nqoWES.mjs.map +1 -0
- package/.output/server/chunks/build/{login-Cf5EiCE4.mjs → login-BHSHtO-R.mjs} +6 -5
- package/.output/server/chunks/build/{login-Cf5EiCE4.mjs.map → login-BHSHtO-R.mjs.map} +1 -1
- package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs +86 -0
- package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +1 -0
- package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs} +411 -4
- package/.output/server/chunks/build/overlay-BS4_B29H.mjs.map +1 -0
- package/.output/server/chunks/build/pages-5yYRS5nX.mjs +37 -0
- package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-0c5sp_lv.mjs → pages-DfOPr0fC.mjs} +21 -21
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
- package/.output/server/chunks/build/{services-BB49kSpd.mjs → services-DWlDpsbi.mjs} +45 -41
- package/.output/server/chunks/build/{services-BB49kSpd.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs → tasks-4b6D39Uy.mjs} +44 -100
- package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs.map → tasks-4b6D39Uy.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-Aa8PwjVL.mjs → tasks-BPPx2UMG.mjs} +10 -6
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +303 -244
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +29 -0
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +31 -0
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +39 -0
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs +60 -0
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -2
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/routes/services/wms.get.mjs +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +1 -1
- package/.output/server/chunks/virtual/entry.mjs +320 -443
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/chunks/virtual/styles.mjs +1 -1
- package/.output/server/node_modules/undici/index.js +234 -0
- package/.output/server/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/.output/server/node_modules/undici/lib/api/api-connect.js +110 -0
- package/.output/server/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/.output/server/node_modules/undici/lib/api/api-request.js +214 -0
- package/.output/server/node_modules/undici/lib/api/api-stream.js +209 -0
- package/.output/server/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/.output/server/node_modules/undici/lib/api/index.js +7 -0
- package/.output/server/node_modules/undici/lib/api/readable.js +580 -0
- package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
- package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
- package/.output/server/node_modules/undici/lib/core/connect.js +153 -0
- package/.output/server/node_modules/undici/lib/core/constants.js +143 -0
- package/.output/server/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/.output/server/node_modules/undici/lib/core/errors.js +477 -0
- package/.output/server/node_modules/undici/lib/core/request.js +464 -0
- package/.output/server/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/.output/server/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/.output/server/node_modules/undici/lib/core/symbols.js +75 -0
- package/.output/server/node_modules/undici/lib/core/tree.js +160 -0
- package/.output/server/node_modules/undici/lib/core/util.js +992 -0
- package/.output/server/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
- package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
- package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
- package/.output/server/node_modules/undici/lib/dispatcher/client.js +664 -0
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/.output/server/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
- package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
- package/.output/server/node_modules/undici/lib/encoding/index.js +33 -0
- package/.output/server/node_modules/undici/lib/global.js +59 -0
- package/.output/server/node_modules/undici/lib/handler/cache-handler.js +760 -0
- package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/.output/server/node_modules/undici/lib/handler/retry-handler.js +418 -0
- package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/.output/server/node_modules/undici/lib/interceptor/cache.js +602 -0
- package/.output/server/node_modules/undici/lib/interceptor/decompress.js +259 -0
- package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/.output/server/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/.output/server/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/.output/server/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/.output/server/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/.output/server/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/.output/server/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/.output/server/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/.output/server/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/.output/server/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/.output/server/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/.output/server/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/.output/server/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/.output/server/node_modules/undici/lib/util/cache.js +676 -0
- package/.output/server/node_modules/undici/lib/util/date.js +670 -0
- package/.output/server/node_modules/undici/lib/util/promise.js +28 -0
- package/.output/server/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/.output/server/node_modules/undici/lib/util/stats.js +32 -0
- package/.output/server/node_modules/undici/lib/util/timers.js +425 -0
- package/.output/server/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/.output/server/node_modules/undici/lib/web/cache/util.js +45 -0
- package/.output/server/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/.output/server/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/.output/server/node_modules/undici/lib/web/cookies/parse.js +314 -0
- package/.output/server/node_modules/undici/lib/web/cookies/util.js +352 -0
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/.output/server/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/.output/server/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/.output/server/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/.output/server/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/.output/server/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/.output/server/node_modules/undici/lib/web/fetch/index.js +2413 -0
- package/.output/server/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/.output/server/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/.output/server/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/.output/server/node_modules/undici/lib/web/infra/index.js +229 -0
- package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/.output/server/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/.output/server/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/.output/server/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/.output/server/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/.output/server/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +507 -0
- package/.output/server/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
- package/.output/server/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +758 -0
- package/.output/server/node_modules/undici/package.json +152 -0
- package/.output/server/package.json +2 -1
- package/LICENSE +201 -2
- package/README.md +17 -4
- package/dist/package.json +3 -2
- package/dist/shared/antigravity-schema.js +45 -0
- package/dist/shared/dji-grid.js +62 -0
- package/dist/shared/types/map-layers.js +2 -0
- package/dist/src/cli.js +63 -5
- package/dist/src/core/dji-snapshot.js +135 -0
- package/dist/src/core/map-layer-paths.js +11 -0
- package/dist/src/map-layer-update.js +646 -0
- package/package.json +3 -2
- package/.output/public/_nuxt/BNfSclJ4.js +0 -1
- package/.output/public/_nuxt/BYzlinOr2.js +0 -1
- package/.output/public/_nuxt/Be4dNlar.js +0 -1
- package/.output/public/_nuxt/C7fHMLd7.js +0 -1
- package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
- package/.output/public/_nuxt/CQ8inUdm.js +0 -1
- package/.output/public/_nuxt/Cc_JfSB1.js +0 -1
- package/.output/public/_nuxt/CyZDc0eO2.js +0 -1
- package/.output/public/_nuxt/CzFefJH0.js +0 -1
- package/.output/public/_nuxt/D-t0hXHB.js +0 -1
- package/.output/public/_nuxt/D3Pl7yw22.js +0 -1
- package/.output/public/_nuxt/D4gbGuiW.js +0 -1
- package/.output/public/_nuxt/DDp9lK3g.js +0 -1
- package/.output/public/_nuxt/DIIXHC50.js +0 -1
- package/.output/public/_nuxt/DWFUvzz0.js +0 -1
- package/.output/public/_nuxt/D_VoD6-f.js +0 -1
- package/.output/public/_nuxt/DfXX-x_z.js +0 -1
- package/.output/public/_nuxt/Dgyf2aNY.js +0 -1
- package/.output/public/_nuxt/GM5myUL22.js +0 -1
- package/.output/public/_nuxt/IC4wc76W.js +0 -1
- package/.output/public/_nuxt/IfL46N3Z.js +0 -1
- package/.output/public/_nuxt/KEU2l6zJ.js +0 -3
- package/.output/public/_nuxt/SEETjfdJ.js +0 -1
- package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +0 -1
- package/.output/public/_nuxt/entry.CZ_dkjcs.css +0 -1
- package/.output/public/_nuxt/nGp0t_eD.js +0 -1
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +0 -1074
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +0 -1
- package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +0 -1
- package/.output/server/chunks/build/Empty-BGIn09cL.mjs.map +0 -1
- package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs +0 -207
- package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs.map +0 -1
- package/.output/server/chunks/build/FormField-DnJWfrKE.mjs.map +0 -1
- package/.output/server/chunks/build/MapBaseLayerTabs-CRl5Zwlr.mjs.map +0 -1
- package/.output/server/chunks/build/OnlineMap-cFSicmkV.mjs.map +0 -1
- package/.output/server/chunks/build/Tooltip-DNUdH4oF.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +0 -1
- package/.output/server/chunks/build/compare-CtgF4Anj.mjs.map +0 -1
- package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-Aa8PwjVL.mjs.map +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { I as useState } from '../virtual/entry.mjs';
|
|
2
|
+
import { u as useCookie } from './cookie-CziAmOf1.mjs';
|
|
3
|
+
import { computed, readonly } from 'vue';
|
|
4
|
+
|
|
5
|
+
const MAP_BASE_LAYER_IDS = ["osm", "tianditu"];
|
|
6
|
+
const MAP_OVERLAY_LAYER_IDS = ["dji-nfz", "antigravity-nfz"];
|
|
7
|
+
|
|
8
|
+
const DEFAULT_MAP_LAYER_SELECTION = {
|
|
9
|
+
baseLayer: "osm"};
|
|
10
|
+
const MAP_BASE_LAYER_LABELS = {
|
|
11
|
+
osm: "OSM",
|
|
12
|
+
tianditu: "\u5929\u5730\u56FE"
|
|
13
|
+
};
|
|
14
|
+
const MAP_OVERLAY_LAYER_LABELS = {
|
|
15
|
+
"dji-nfz": "DJI Flysafe",
|
|
16
|
+
"antigravity-nfz": "Antigravity"
|
|
17
|
+
};
|
|
18
|
+
function isMapBaseLayerId(value) {
|
|
19
|
+
return typeof value === "string" && MAP_BASE_LAYER_IDS.includes(value);
|
|
20
|
+
}
|
|
21
|
+
function isMapOverlayLayerId(value) {
|
|
22
|
+
return typeof value === "string" && MAP_OVERLAY_LAYER_IDS.includes(value);
|
|
23
|
+
}
|
|
24
|
+
function normalizeMapBaseLayer(value) {
|
|
25
|
+
return isMapBaseLayerId(value) ? value : DEFAULT_MAP_LAYER_SELECTION.baseLayer;
|
|
26
|
+
}
|
|
27
|
+
function normalizeMapOverlayLayers(value) {
|
|
28
|
+
if (!Array.isArray(value)) return [];
|
|
29
|
+
return [...new Set(value.filter(isMapOverlayLayerId))];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#region app/composables/map-layers.ts
|
|
33
|
+
function useMapLayers() {
|
|
34
|
+
const baseLayerCookie = useCookie("uom-map-base-layer", {
|
|
35
|
+
default: () => "osm",
|
|
36
|
+
sameSite: "lax",
|
|
37
|
+
maxAge: 31536e3
|
|
38
|
+
});
|
|
39
|
+
const overlayLayersCookie = useCookie("uom-map-overlay-layers", {
|
|
40
|
+
default: () => [],
|
|
41
|
+
sameSite: "lax",
|
|
42
|
+
maxAge: 31536e3
|
|
43
|
+
});
|
|
44
|
+
const baseLayerState = useState("map-base-layer", () => normalizeMapBaseLayer(baseLayerCookie.value));
|
|
45
|
+
const overlayLayersState = useState("map-overlay-layers", () => normalizeMapOverlayLayers(overlayLayersCookie.value));
|
|
46
|
+
const overlayErrors = useState("map-overlay-errors", () => ({}));
|
|
47
|
+
const baseLayer = computed({
|
|
48
|
+
get: () => baseLayerState.value,
|
|
49
|
+
set: (value) => {
|
|
50
|
+
const normalized = normalizeMapBaseLayer(value);
|
|
51
|
+
baseLayerState.value = normalized;
|
|
52
|
+
baseLayerCookie.value = normalized;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const overlayLayers = computed({
|
|
56
|
+
get: () => overlayLayersState.value,
|
|
57
|
+
set: (value) => {
|
|
58
|
+
const normalized = normalizeMapOverlayLayers(value);
|
|
59
|
+
overlayLayersState.value = normalized;
|
|
60
|
+
overlayLayersCookie.value = normalized;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
function applyAvailability(status) {
|
|
64
|
+
if (!status) return;
|
|
65
|
+
if (baseLayer.value === "tianditu" && !status.baseLayers.tianditu.available) baseLayer.value = "osm";
|
|
66
|
+
}
|
|
67
|
+
function setOverlayError(id, message) {
|
|
68
|
+
const next = { ...overlayErrors.value };
|
|
69
|
+
if (message) next[id] = {
|
|
70
|
+
message,
|
|
71
|
+
occurredAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
72
|
+
};
|
|
73
|
+
else delete next[id];
|
|
74
|
+
overlayErrors.value = next;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
baseLayer,
|
|
78
|
+
overlayLayers,
|
|
79
|
+
overlayErrors: readonly(overlayErrors),
|
|
80
|
+
applyAvailability,
|
|
81
|
+
setOverlayError
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { MAP_BASE_LAYER_LABELS as M, MAP_OVERLAY_LAYER_LABELS as a, useMapLayers as u };
|
|
86
|
+
//# sourceMappingURL=map-layers-C3HJoCLw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-layers-C3HJoCLw.mjs","sources":["../../../../shared/types/map-layers.ts","../../../../shared/map-layers.ts","../../../../app/composables/map-layers.ts"],"names":[],"mappings":"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"}
|
package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { A as createContext, e as useLocale,
|
|
1
|
+
import { A as createContext, e as useLocale, Z as useStorage, d as useComponentProps, g as useForwardProps, M as reactiveOmit, f as useAppConfig, t as tv, b as _sfc_main$2, P as Primitive, v as useForwardExpose, H as getActiveElement, a0 as AUTOFOCUS_ON_UNMOUNT, a1 as focus, a2 as injectConfigProviderContext, D as useForwardProps$1, a3 as useEmitAsProps, a4 as AUTOFOCUS_ON_MOUNT, a5 as focusFirst, a6 as getTabbableCandidates, a7 as EVENT_OPTIONS, a8 as getTabbableEdges, a9 as onKeyStroke, O as isNullish, G as refAutoReset, aa as tryOnScopeDispose, ab as tryOnBeforeUnmount, J as unrefElement, ac as createGlobalState, C as createEventHook, ad as createSharedComposable, ae as __exportAll, af as __reExport } from '../virtual/entry.mjs';
|
|
2
|
+
import { u as useCookie } from './cookie-CziAmOf1.mjs';
|
|
2
3
|
import * as vue from 'vue';
|
|
3
|
-
import { ref, computed, isRef, unref, watch, mergeProps, withCtx, renderSlot, defineComponent,
|
|
4
|
+
import { ref, computed, isRef, unref, watch, mergeProps, withCtx, renderSlot, defineComponent, watchEffect, nextTick, openBlock, createBlock, watchPostEffect, createElementBlock, normalizeStyle, createVNode, reactive, withMemo, mergeDefaults, toValue, useSSRContext } from 'vue';
|
|
4
5
|
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
|
5
6
|
|
|
6
7
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
|
|
@@ -15,6 +16,33 @@ function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
|
15
16
|
target.dispatchEvent(event);
|
|
16
17
|
}
|
|
17
18
|
//#endregion
|
|
19
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useBodyScrollLock.js
|
|
20
|
+
var useBodyLockStackCount = createSharedComposable(() => {
|
|
21
|
+
const map = ref(/* @__PURE__ */ new Map());
|
|
22
|
+
ref();
|
|
23
|
+
const locked = computed(() => {
|
|
24
|
+
for (const value of map.value.values()) if (value) return true;
|
|
25
|
+
return false;
|
|
26
|
+
});
|
|
27
|
+
injectConfigProviderContext({ scrollBody: ref(true) });
|
|
28
|
+
watch(locked, (val, oldVal) => {}, {
|
|
29
|
+
immediate: true,
|
|
30
|
+
flush: "sync"
|
|
31
|
+
});
|
|
32
|
+
return map;
|
|
33
|
+
});
|
|
34
|
+
function useBodyScrollLock(initialState) {
|
|
35
|
+
const id = Math.random().toString(36).substring(2, 7);
|
|
36
|
+
const map = useBodyLockStackCount();
|
|
37
|
+
map.value.set(id, initialState ?? false);
|
|
38
|
+
const locked = computed({
|
|
39
|
+
get: () => map.value.get(id) ?? false,
|
|
40
|
+
set: (value) => map.value.set(id, value)
|
|
41
|
+
});
|
|
42
|
+
tryOnBeforeUnmount();
|
|
43
|
+
return locked;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
18
46
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useDirection.js
|
|
19
47
|
/**
|
|
20
48
|
* The `useDirection` function provides a way to access the current direction in your application.
|
|
@@ -36,6 +64,230 @@ function useForwardPropsEmits(props, emit) {
|
|
|
36
64
|
}));
|
|
37
65
|
}
|
|
38
66
|
//#endregion
|
|
67
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useGraceArea.js
|
|
68
|
+
function useGraceArea(triggerElement, containerElement) {
|
|
69
|
+
const isPointerInTransit = refAutoReset(false, 300);
|
|
70
|
+
tryOnScopeDispose(() => {
|
|
71
|
+
isPointerInTransit.value = false;
|
|
72
|
+
});
|
|
73
|
+
const pointerGraceArea = ref(null);
|
|
74
|
+
const pointerExit = createEventHook();
|
|
75
|
+
function handleRemoveGraceArea() {
|
|
76
|
+
pointerGraceArea.value = null;
|
|
77
|
+
isPointerInTransit.value = false;
|
|
78
|
+
}
|
|
79
|
+
function handleCreateGraceArea(event, hoverTarget) {
|
|
80
|
+
if (!hoverTarget) return;
|
|
81
|
+
const currentTarget = event.currentTarget;
|
|
82
|
+
const exitPoint = {
|
|
83
|
+
x: event.clientX,
|
|
84
|
+
y: event.clientY
|
|
85
|
+
};
|
|
86
|
+
const paddedExitPoints = getPaddedExitPoints(exitPoint, getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect()), 1);
|
|
87
|
+
const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());
|
|
88
|
+
const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);
|
|
89
|
+
pointerGraceArea.value = graceArea;
|
|
90
|
+
isPointerInTransit.value = true;
|
|
91
|
+
}
|
|
92
|
+
watchEffect((cleanupFn) => {
|
|
93
|
+
if (triggerElement.value && containerElement.value) {
|
|
94
|
+
const handleTriggerLeave = (event) => handleCreateGraceArea(event, containerElement.value);
|
|
95
|
+
const handleContentLeave = (event) => handleCreateGraceArea(event, triggerElement.value);
|
|
96
|
+
triggerElement.value.addEventListener("pointerleave", handleTriggerLeave);
|
|
97
|
+
containerElement.value.addEventListener("pointerleave", handleContentLeave);
|
|
98
|
+
cleanupFn(() => {
|
|
99
|
+
triggerElement.value?.removeEventListener("pointerleave", handleTriggerLeave);
|
|
100
|
+
containerElement.value?.removeEventListener("pointerleave", handleContentLeave);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
watchEffect((cleanupFn) => {
|
|
105
|
+
if (pointerGraceArea.value) {
|
|
106
|
+
const handleTrackPointerGrace = (event) => {
|
|
107
|
+
if (!pointerGraceArea.value || !(event.target instanceof Element)) return;
|
|
108
|
+
const target = event.target;
|
|
109
|
+
const pointerPosition = {
|
|
110
|
+
x: event.clientX,
|
|
111
|
+
y: event.clientY
|
|
112
|
+
};
|
|
113
|
+
const hasEnteredTarget = triggerElement.value?.contains(target) || containerElement.value?.contains(target);
|
|
114
|
+
const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea.value);
|
|
115
|
+
const isAnotherGraceAreaTrigger = !!target.closest("[data-grace-area-trigger]");
|
|
116
|
+
if (hasEnteredTarget) handleRemoveGraceArea();
|
|
117
|
+
else if (isPointerOutsideGraceArea || isAnotherGraceAreaTrigger) {
|
|
118
|
+
handleRemoveGraceArea();
|
|
119
|
+
pointerExit.trigger();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
triggerElement.value?.ownerDocument.addEventListener("pointermove", handleTrackPointerGrace);
|
|
123
|
+
cleanupFn(() => triggerElement.value?.ownerDocument.removeEventListener("pointermove", handleTrackPointerGrace));
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
return {
|
|
127
|
+
isPointerInTransit,
|
|
128
|
+
onPointerExit: pointerExit.on
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function getExitSideFromRect(point, rect) {
|
|
132
|
+
const top = Math.abs(rect.top - point.y);
|
|
133
|
+
const bottom = Math.abs(rect.bottom - point.y);
|
|
134
|
+
const right = Math.abs(rect.right - point.x);
|
|
135
|
+
const left = Math.abs(rect.left - point.x);
|
|
136
|
+
switch (Math.min(top, bottom, right, left)) {
|
|
137
|
+
case left: return "left";
|
|
138
|
+
case right: return "right";
|
|
139
|
+
case top: return "top";
|
|
140
|
+
case bottom: return "bottom";
|
|
141
|
+
default: throw new Error("unreachable");
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function getPaddedExitPoints(exitPoint, exitSide, padding = 5) {
|
|
145
|
+
const paddedExitPoints = [];
|
|
146
|
+
switch (exitSide) {
|
|
147
|
+
case "top":
|
|
148
|
+
paddedExitPoints.push({
|
|
149
|
+
x: exitPoint.x - padding,
|
|
150
|
+
y: exitPoint.y + padding
|
|
151
|
+
}, {
|
|
152
|
+
x: exitPoint.x + padding,
|
|
153
|
+
y: exitPoint.y + padding
|
|
154
|
+
});
|
|
155
|
+
break;
|
|
156
|
+
case "bottom":
|
|
157
|
+
paddedExitPoints.push({
|
|
158
|
+
x: exitPoint.x - padding,
|
|
159
|
+
y: exitPoint.y - padding
|
|
160
|
+
}, {
|
|
161
|
+
x: exitPoint.x + padding,
|
|
162
|
+
y: exitPoint.y - padding
|
|
163
|
+
});
|
|
164
|
+
break;
|
|
165
|
+
case "left":
|
|
166
|
+
paddedExitPoints.push({
|
|
167
|
+
x: exitPoint.x + padding,
|
|
168
|
+
y: exitPoint.y - padding
|
|
169
|
+
}, {
|
|
170
|
+
x: exitPoint.x + padding,
|
|
171
|
+
y: exitPoint.y + padding
|
|
172
|
+
});
|
|
173
|
+
break;
|
|
174
|
+
case "right": paddedExitPoints.push({
|
|
175
|
+
x: exitPoint.x - padding,
|
|
176
|
+
y: exitPoint.y - padding
|
|
177
|
+
}, {
|
|
178
|
+
x: exitPoint.x - padding,
|
|
179
|
+
y: exitPoint.y + padding
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
return paddedExitPoints;
|
|
183
|
+
}
|
|
184
|
+
function getPointsFromRect(rect) {
|
|
185
|
+
const { top, right, bottom, left } = rect;
|
|
186
|
+
return [
|
|
187
|
+
{
|
|
188
|
+
x: left,
|
|
189
|
+
y: top
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
x: right,
|
|
193
|
+
y: top
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
x: right,
|
|
197
|
+
y: bottom
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
x: left,
|
|
201
|
+
y: bottom
|
|
202
|
+
}
|
|
203
|
+
];
|
|
204
|
+
}
|
|
205
|
+
function isPointInPolygon(point, polygon) {
|
|
206
|
+
const { x, y } = point;
|
|
207
|
+
let inside = false;
|
|
208
|
+
for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
|
|
209
|
+
const xi = polygon[i].x;
|
|
210
|
+
const yi = polygon[i].y;
|
|
211
|
+
const xj = polygon[j].x;
|
|
212
|
+
const yj = polygon[j].y;
|
|
213
|
+
if (yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi) inside = !inside;
|
|
214
|
+
}
|
|
215
|
+
return inside;
|
|
216
|
+
}
|
|
217
|
+
function getHull(points) {
|
|
218
|
+
const newPoints = points.slice();
|
|
219
|
+
newPoints.sort((a, b) => {
|
|
220
|
+
if (a.x < b.x) return -1;
|
|
221
|
+
else if (a.x > b.x) return 1;
|
|
222
|
+
else if (a.y < b.y) return -1;
|
|
223
|
+
else if (a.y > b.y) return 1;
|
|
224
|
+
else return 0;
|
|
225
|
+
});
|
|
226
|
+
return getHullPresorted(newPoints);
|
|
227
|
+
}
|
|
228
|
+
function getHullPresorted(points) {
|
|
229
|
+
if (points.length <= 1) return points.slice();
|
|
230
|
+
const upperHull = [];
|
|
231
|
+
for (let i = 0; i < points.length; i++) {
|
|
232
|
+
const p = points[i];
|
|
233
|
+
while (upperHull.length >= 2) {
|
|
234
|
+
const q = upperHull.at(-1);
|
|
235
|
+
const r = upperHull[upperHull.length - 2];
|
|
236
|
+
if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();
|
|
237
|
+
else break;
|
|
238
|
+
}
|
|
239
|
+
upperHull.push(p);
|
|
240
|
+
}
|
|
241
|
+
upperHull.pop();
|
|
242
|
+
const lowerHull = [];
|
|
243
|
+
for (let i = points.length - 1; i >= 0; i--) {
|
|
244
|
+
const p = points[i];
|
|
245
|
+
while (lowerHull.length >= 2) {
|
|
246
|
+
const q = lowerHull.at(-1);
|
|
247
|
+
const r = lowerHull[lowerHull.length - 2];
|
|
248
|
+
if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();
|
|
249
|
+
else break;
|
|
250
|
+
}
|
|
251
|
+
lowerHull.push(p);
|
|
252
|
+
}
|
|
253
|
+
lowerHull.pop();
|
|
254
|
+
if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) return upperHull;
|
|
255
|
+
else return upperHull.concat(lowerHull);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Marks everything except given node(or nodes) as aria-hidden
|
|
259
|
+
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
260
|
+
* @param [parentNode] - top element, defaults to document.body
|
|
261
|
+
* @param {String} [markerName] - a special attribute to mark every node
|
|
262
|
+
* @return {Undo} undo command
|
|
263
|
+
*/
|
|
264
|
+
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
265
|
+
Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
266
|
+
return function() {
|
|
267
|
+
return null;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useHideOthers.js
|
|
272
|
+
/**
|
|
273
|
+
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
|
|
274
|
+
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
|
|
275
|
+
* hidden elements when the target element is removed.
|
|
276
|
+
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
|
|
277
|
+
* to hide other elements when it is clicked or focused.
|
|
278
|
+
*/
|
|
279
|
+
function useHideOthers(target) {
|
|
280
|
+
let undo;
|
|
281
|
+
watch(() => unrefElement(target), (el) => {
|
|
282
|
+
let isInsideClosedPopover = false;
|
|
283
|
+
try {
|
|
284
|
+
isInsideClosedPopover = !!el?.closest("[popover]:not(:popover-open)");
|
|
285
|
+
} catch {}
|
|
286
|
+
if (el && !isInsideClosedPopover) undo = hideOthers(el);
|
|
287
|
+
else if (undo) undo();
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
//#endregion
|
|
39
291
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useId.js
|
|
40
292
|
var count = 0;
|
|
41
293
|
/**
|
|
@@ -230,6 +482,148 @@ var DismissableLayer_default = /* @__PURE__ */ defineComponent({
|
|
|
230
482
|
}
|
|
231
483
|
});
|
|
232
484
|
//#endregion
|
|
485
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/FocusScope/stack.js
|
|
486
|
+
var useFocusStackState = createGlobalState(() => {
|
|
487
|
+
return ref([]);
|
|
488
|
+
});
|
|
489
|
+
function createFocusScopesStack() {
|
|
490
|
+
/** A stack of focus scopes, with the active one at the top */
|
|
491
|
+
const stack = useFocusStackState();
|
|
492
|
+
return {
|
|
493
|
+
add(focusScope) {
|
|
494
|
+
const activeFocusScope = stack.value[0];
|
|
495
|
+
if (focusScope !== activeFocusScope) activeFocusScope?.pause();
|
|
496
|
+
stack.value = arrayRemove(stack.value, focusScope);
|
|
497
|
+
stack.value.unshift(focusScope);
|
|
498
|
+
},
|
|
499
|
+
remove(focusScope) {
|
|
500
|
+
stack.value = arrayRemove(stack.value, focusScope);
|
|
501
|
+
stack.value[0]?.resume();
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
function arrayRemove(array, item) {
|
|
506
|
+
const updatedArray = [...array];
|
|
507
|
+
const index = updatedArray.indexOf(item);
|
|
508
|
+
if (index !== -1) updatedArray.splice(index, 1);
|
|
509
|
+
return updatedArray;
|
|
510
|
+
}
|
|
511
|
+
//#endregion
|
|
512
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/FocusScope/FocusScope.js
|
|
513
|
+
var FocusScope_default = /* @__PURE__ */ defineComponent({
|
|
514
|
+
__name: "FocusScope",
|
|
515
|
+
props: {
|
|
516
|
+
loop: {
|
|
517
|
+
type: Boolean,
|
|
518
|
+
required: false,
|
|
519
|
+
default: false
|
|
520
|
+
},
|
|
521
|
+
trapped: {
|
|
522
|
+
type: Boolean,
|
|
523
|
+
required: false,
|
|
524
|
+
default: false
|
|
525
|
+
},
|
|
526
|
+
present: {
|
|
527
|
+
type: Boolean,
|
|
528
|
+
required: false,
|
|
529
|
+
default: true
|
|
530
|
+
},
|
|
531
|
+
asChild: {
|
|
532
|
+
type: Boolean,
|
|
533
|
+
required: false
|
|
534
|
+
},
|
|
535
|
+
as: {
|
|
536
|
+
type: null,
|
|
537
|
+
required: false
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
emits: ["mountAutoFocus", "unmountAutoFocus"],
|
|
541
|
+
setup(__props, { emit: __emit }) {
|
|
542
|
+
const props = __props;
|
|
543
|
+
const emits = __emit;
|
|
544
|
+
const { currentRef, currentElement } = useForwardExpose();
|
|
545
|
+
ref(null);
|
|
546
|
+
const focusScopesStack = createFocusScopesStack();
|
|
547
|
+
const focusScope = /*#__PURE__*/ reactive({
|
|
548
|
+
paused: false,
|
|
549
|
+
pause() {
|
|
550
|
+
this.paused = true;
|
|
551
|
+
},
|
|
552
|
+
resume() {
|
|
553
|
+
this.paused = false;
|
|
554
|
+
}
|
|
555
|
+
});
|
|
556
|
+
watchEffect((cleanupFn) => {});
|
|
557
|
+
function dispatchMountAutoFocus(container, previouslyFocusedElement) {
|
|
558
|
+
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
559
|
+
const handleMountAutoFocus = (ev) => emits("mountAutoFocus", ev);
|
|
560
|
+
container.addEventListener(AUTOFOCUS_ON_MOUNT, handleMountAutoFocus);
|
|
561
|
+
container.dispatchEvent(mountEvent);
|
|
562
|
+
container.removeEventListener(AUTOFOCUS_ON_MOUNT, handleMountAutoFocus);
|
|
563
|
+
if (!mountEvent.defaultPrevented) {
|
|
564
|
+
focusFirst(getTabbableCandidates(container), { select: true });
|
|
565
|
+
if (getActiveElement() === previouslyFocusedElement) focus(container);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
watchEffect(async (cleanupFn) => {
|
|
569
|
+
const container = currentElement.value;
|
|
570
|
+
await nextTick();
|
|
571
|
+
if (!container) return;
|
|
572
|
+
if (props.present !== false) focusScopesStack.add(focusScope);
|
|
573
|
+
const previouslyFocusedElement = getActiveElement();
|
|
574
|
+
if (!container.contains(previouslyFocusedElement) && props.present !== false) dispatchMountAutoFocus(container, previouslyFocusedElement);
|
|
575
|
+
cleanupFn(() => {
|
|
576
|
+
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
577
|
+
const unmountEventHandler = (ev) => {
|
|
578
|
+
emits("unmountAutoFocus", ev);
|
|
579
|
+
};
|
|
580
|
+
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
581
|
+
container.dispatchEvent(unmountEvent);
|
|
582
|
+
container.setAttribute("data-focus-scope-unmounting", "");
|
|
583
|
+
setTimeout(() => {
|
|
584
|
+
if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? (void 0).body, { select: true });
|
|
585
|
+
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
586
|
+
focusScopesStack.remove(focusScope);
|
|
587
|
+
container.removeAttribute("data-focus-scope-unmounting");
|
|
588
|
+
}, 0);
|
|
589
|
+
});
|
|
590
|
+
});
|
|
591
|
+
watch(() => props.present, async (present, prevPresent) => {});
|
|
592
|
+
function handleKeyDown(event) {
|
|
593
|
+
if (!props.loop && !props.trapped) return;
|
|
594
|
+
if (focusScope.paused) return;
|
|
595
|
+
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
596
|
+
const focusedElement = getActiveElement();
|
|
597
|
+
if (isTabKey && focusedElement) {
|
|
598
|
+
const container = event.currentTarget;
|
|
599
|
+
const [first, last] = getTabbableEdges(container);
|
|
600
|
+
if (!(first && last)) {
|
|
601
|
+
if (focusedElement === container) event.preventDefault();
|
|
602
|
+
} else if (!event.shiftKey && focusedElement === last) {
|
|
603
|
+
event.preventDefault();
|
|
604
|
+
if (props.loop) focus(first, { select: true });
|
|
605
|
+
} else if (event.shiftKey && focusedElement === first) {
|
|
606
|
+
event.preventDefault();
|
|
607
|
+
if (props.loop) focus(last, { select: true });
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
return (_ctx, _cache) => {
|
|
612
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
613
|
+
ref_key: "currentRef",
|
|
614
|
+
ref: currentRef,
|
|
615
|
+
tabindex: "-1",
|
|
616
|
+
"as-child": _ctx.asChild,
|
|
617
|
+
as: _ctx.as,
|
|
618
|
+
onKeydown: handleKeyDown
|
|
619
|
+
}, {
|
|
620
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
621
|
+
_: 3
|
|
622
|
+
}, 8, ["as-child", "as"]);
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
});
|
|
626
|
+
//#endregion
|
|
233
627
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js
|
|
234
628
|
var [injectPopperRootContext, providePopperRootContext] = /*#__PURE__*/ createContext("PopperRoot");
|
|
235
629
|
var PopperRoot_default = /* @__PURE__ */ defineComponent({
|
|
@@ -2623,6 +3017,19 @@ _sfc_main.setup = (props, ctx) => {
|
|
|
2623
3017
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue");
|
|
2624
3018
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
2625
3019
|
};
|
|
3020
|
+
//#endregion
|
|
3021
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/overlay.js
|
|
3022
|
+
function pointerDownOutside(e, options = {}) {
|
|
3023
|
+
const originalEvent = e.detail.originalEvent;
|
|
3024
|
+
const target = originalEvent.target;
|
|
3025
|
+
if (!target?.isConnected) {
|
|
3026
|
+
e.preventDefault();
|
|
3027
|
+
return;
|
|
3028
|
+
}
|
|
3029
|
+
if (options.scrollable) {
|
|
3030
|
+
if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) e.preventDefault();
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
2626
3033
|
|
|
2627
|
-
export { DismissableLayer_default as D, PopperRoot_default as P, _sfc_main$1 as _, useDirection as a, PopperAnchor_default as b, useForwardPropsEmits as c, PopperArrow_default as d,
|
|
2628
|
-
//# sourceMappingURL=
|
|
3034
|
+
export { DismissableLayer_default as D, FocusScope_default as F, PopperRoot_default as P, _sfc_main$1 as _, useDirection as a, PopperAnchor_default as b, useForwardPropsEmits as c, PopperArrow_default as d, useBodyScrollLock as e, useHideOthers as f, PopperContent_default as g, handleAndDispatchCustomEvent as h, useDashboard as i, useResizable as j, _sfc_main as k, useGraceArea as l, useSize as m, provideDashboardContext as n, pointerDownOutside as p, useId$1 as u };
|
|
3035
|
+
//# sourceMappingURL=overlay-BS4_B29H.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-BS4_B29H.mjs","sources":["../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useBodyScrollLock.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useDirection.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useGraceArea.js","../../../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useHideOthers.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useId.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useSize.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/utils.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/FocusScope/stack.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/FocusScope/FocusScope.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/component/Arrow.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/utils.js","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../../../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","../../../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../../../../node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_e8b326918adce583caf1abc0a3047151/node_modules/nuxt/dist/app/compat/capi.js","../../../../node_modules/.pnpm/@floating-ui+vue@1.1.11_vue@3.5.41_typescript@6.0.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperContent.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperArrow.js","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/dashboard.js","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useResizable.js","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-resize-handle.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-sidebar-toggle.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/overlay.js"],"names":["useForwardProps","useId","_hoisted_1","computePosition","arrow","flip","hide","offset","shift","limitShift","size","getComputedStyle","unwrapElement","arrow$1","toValue","unref","computed","ref","shallowRef","getCurrentScope","shallowReadonly","useForwardProps$1","$attrs"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { v as useForwardExpose, P as Primitive } from '../virtual/entry.mjs';
|
|
2
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Label/Label.js
|
|
5
|
+
var Label_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Label",
|
|
7
|
+
props: {
|
|
8
|
+
for: {
|
|
9
|
+
type: String,
|
|
10
|
+
required: false
|
|
11
|
+
},
|
|
12
|
+
asChild: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
required: false
|
|
15
|
+
},
|
|
16
|
+
as: {
|
|
17
|
+
type: null,
|
|
18
|
+
required: false,
|
|
19
|
+
default: "label"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
useForwardExpose();
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { onMousedown: _cache[0] || (_cache[0] = (event) => {
|
|
27
|
+
if (!event.defaultPrevented && event.detail > 1) event.preventDefault();
|
|
28
|
+
}) }), {
|
|
29
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 16);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { Label_default as L };
|
|
37
|
+
//# sourceMappingURL=pages-5yYRS5nX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages-5yYRS5nX.mjs","sources":["../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Label/Label.js"],"names":[],"mappings":"","x_google_ignoreList":[0]}
|