uomtiles 0.1.1 → 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/{B2648adu2.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/CgcnoKpi.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/{54er8ZVX.js → D8GHPYwQ.js} +44 -44
- package/.output/public/_nuxt/DLIy3f3M.js +1 -0
- package/.output/public/_nuxt/{dj2oMyB1.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/{DC3bhq63.js → DnVJUY7B.js} +1 -1
- package/.output/public/_nuxt/{BiWblTbb.js → DuGgjt-h2.js} +1 -1
- package/.output/public/_nuxt/GEOST6As.js +1 -0
- package/.output/public/_nuxt/GqgcWtrL.js +1 -0
- package/.output/public/_nuxt/{BQlj8Xoe.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 +53 -6
- package/.output/server/chunks/_/config.mjs.map +1 -1
- package/.output/server/chunks/_/export.mjs +7 -0
- package/.output/server/chunks/_/export.mjs.map +1 -0
- package/.output/server/chunks/_/file-workspace.mjs +131 -36
- package/.output/server/chunks/_/file-workspace.mjs.map +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/_/pixel-diff.mjs +1 -1
- package/.output/server/chunks/_/uom-auth.mjs +1 -1
- package/.output/server/chunks/build/{Alert-CBMepLwP.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +30 -725
- package/.output/server/chunks/build/CompletedTaskSelect-Ba03kTs9.mjs.map +1 -0
- package/.output/server/chunks/build/{Empty-CkW3mADt.mjs → Empty-CKvANuoV.mjs} +4 -103
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
- package/.output/server/chunks/build/{FormField-CEUZHcv7.mjs → FormField-BJHVyy1m.mjs} +4 -35
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
- package/.output/server/chunks/build/{Input-BeNavYXb.mjs → Input-DnAric-z.mjs} +1 -1
- package/.output/server/chunks/build/{Input-BeNavYXb.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-D-dPQW3w.mjs → Modal-BLhN9Eg2.mjs} +12 -18
- package/.output/server/chunks/build/{Modal-D-dPQW3w.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-CKwiuqUY.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-CkUsaatC.mjs → Pagination-CUzoLc_-.mjs} +1 -1
- package/.output/server/chunks/build/{Pagination-CkUsaatC.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-CRpk8Y2j.mjs → Slider-CrIUK3pl.mjs} +10 -25
- package/.output/server/chunks/build/Slider-CrIUK3pl.mjs.map +1 -0
- package/.output/server/chunks/build/{MapBaseLayerTabs-Xu5bXAvH.mjs → Tabs-cdLsZZoL.mjs} +429 -931
- package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
- package/.output/server/chunks/build/{Tooltip-BQHl07T-.mjs → Tooltip-DExIlyhu.mjs} +4 -196
- package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
- package/.output/server/chunks/build/{advanced-C2aEmUTl.mjs → advanced-DaSpS8Px.mjs} +31 -35
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs +65 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-NMjjryG_.mjs → compare-DaE10Dhp.mjs} +59 -40
- 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-DYapNywh.mjs → dashboard-Dq8mphss.mjs} +21 -8
- package/.output/server/chunks/build/{dashboard-DYapNywh.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-Cyq3FQAG.mjs → details-DCNvSBgn.mjs} +5 -4
- package/.output/server/chunks/build/{details-Cyq3FQAG.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-BxUMpo78.mjs → interval-i5OZnTaK.mjs} +2 -2
- package/.output/server/chunks/build/{interval-BxUMpo78.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-gQQfuSWN.mjs → login-BHSHtO-R.mjs} +6 -5
- package/.output/server/chunks/build/{login-gQQfuSWN.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/{PopperArrow-xcjACqm-.mjs → overlay-BS4_B29H.mjs} +974 -5
- 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-CLVitjz2.mjs → pages-DfOPr0fC.mjs} +21 -22
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
- package/.output/server/chunks/build/{services-C9oQ6UZi.mjs → services-DWlDpsbi.mjs} +46 -42
- package/.output/server/chunks/build/{services-C9oQ6UZi.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
- package/.output/server/chunks/build/tasks-4b6D39Uy.mjs +6065 -0
- package/.output/server/chunks/build/tasks-4b6D39Uy.mjs.map +1 -0
- package/.output/server/chunks/build/{tasks-HCUoEUbh.mjs → tasks-BPPx2UMG.mjs} +10 -6
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +305 -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/map-service/config.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +10 -3
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +3 -2
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +3 -2
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/routes/services/wms.get.mjs +2 -1
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +2 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +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 +23 -5
- 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/export.js +4 -0
- package/dist/shared/types/export.js +1 -0
- package/dist/shared/types/map-layers.js +2 -0
- package/dist/src/cli.js +67 -6
- package/dist/src/core/dji-snapshot.js +135 -0
- package/dist/src/core/grid-renderer.js +29 -15
- package/dist/src/core/map-layer-paths.js +11 -0
- package/dist/src/core/png.js +59 -6
- package/dist/src/core/uomtiles.js +96 -13
- package/dist/src/map-layer-update.js +646 -0
- package/package.json +3 -2
- package/.output/public/_nuxt/BBJwRf9k.js +0 -1
- package/.output/public/_nuxt/BWYASl8D.js +0 -1
- package/.output/public/_nuxt/B_S8P0kE2.js +0 -1
- package/.output/public/_nuxt/BalC97Hq2.js +0 -1
- package/.output/public/_nuxt/Bd0XS-K-.js +0 -1
- package/.output/public/_nuxt/BdQwPExE.js +0 -1
- package/.output/public/_nuxt/Bt5oyQw_.js +0 -1
- package/.output/public/_nuxt/BuYkCss52.js +0 -1
- package/.output/public/_nuxt/BvQDTQww.js +0 -1
- package/.output/public/_nuxt/By4gkuDZ.js +0 -1
- package/.output/public/_nuxt/ByRlKR9F.js +0 -1
- package/.output/public/_nuxt/C4qlzA4o.js +0 -1
- package/.output/public/_nuxt/C6YoBcbT.js +0 -1
- package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
- package/.output/public/_nuxt/D4tzFemo.js +0 -1
- package/.output/public/_nuxt/DCT2aLwC.js +0 -1
- package/.output/public/_nuxt/DIt0vOP7.js +0 -1
- package/.output/public/_nuxt/DV5CwoOP2.js +0 -1
- package/.output/public/_nuxt/DkcySee1.js +0 -1
- package/.output/public/_nuxt/Dq-XSsAz.js +0 -1
- package/.output/public/_nuxt/DrLbKQlJ.js +0 -3
- package/.output/public/_nuxt/DtFVCXI9.js +0 -1
- package/.output/public/_nuxt/Dz7VMlHR.js +0 -1
- package/.output/public/_nuxt/P_icVLkX.js +0 -1
- package/.output/public/_nuxt/XZ59tThl.js +0 -1
- package/.output/public/_nuxt/builds/meta/0e6b25d2-67d5-42d2-8971-b7374bfbdda5.json +0 -1
- package/.output/public/_nuxt/entry.BmEdVIZg.css +0 -1
- package/.output/public/_nuxt/yq0nsLQU.js +0 -1
- package/.output/server/chunks/build/Alert-CBMepLwP.mjs.map +0 -1
- package/.output/server/chunks/build/DashboardSidebarToggle-D24DGyKq.mjs +0 -569
- package/.output/server/chunks/build/DashboardSidebarToggle-D24DGyKq.mjs.map +0 -1
- package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +0 -1
- package/.output/server/chunks/build/FocusScope-BJ-B0nKb.mjs +0 -207
- package/.output/server/chunks/build/FocusScope-BJ-B0nKb.mjs.map +0 -1
- package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +0 -1
- package/.output/server/chunks/build/MapBaseLayerTabs-Xu5bXAvH.mjs.map +0 -1
- package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +0 -1
- package/.output/server/chunks/build/PopperArrow-xcjACqm-.mjs.map +0 -1
- package/.output/server/chunks/build/ScrollArea-QgwoohKb.mjs +0 -379
- package/.output/server/chunks/build/ScrollArea-QgwoohKb.mjs.map +0 -1
- package/.output/server/chunks/build/Slider-CRpk8Y2j.mjs.map +0 -1
- package/.output/server/chunks/build/Tooltip-BQHl07T-.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-C2aEmUTl.mjs.map +0 -1
- package/.output/server/chunks/build/compare-NMjjryG_.mjs.map +0 -1
- package/.output/server/chunks/build/pages-CLVitjz2.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-Cr8nWwss.mjs +0 -915
- package/.output/server/chunks/build/tasks-Cr8nWwss.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-HCUoEUbh.mjs.map +0 -1
|
@@ -1,8 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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';
|
|
3
3
|
import * as vue from 'vue';
|
|
4
|
-
import {
|
|
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';
|
|
5
|
+
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
|
5
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
|
|
8
|
+
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
9
|
+
const target = detail.originalEvent.target;
|
|
10
|
+
const event = new CustomEvent(name, {
|
|
11
|
+
bubbles: false,
|
|
12
|
+
cancelable: true,
|
|
13
|
+
detail
|
|
14
|
+
});
|
|
15
|
+
if (handler) target.addEventListener(name, handler, { once: true });
|
|
16
|
+
target.dispatchEvent(event);
|
|
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
|
|
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
|
|
47
|
+
/**
|
|
48
|
+
* The `useDirection` function provides a way to access the current direction in your application.
|
|
49
|
+
* @param {Ref<Direction | undefined>} [dir] - An optional ref containing the direction (ltr or rtl).
|
|
50
|
+
* @returns computed value that combines with the resolved direction.
|
|
51
|
+
*/
|
|
52
|
+
function useDirection(dir) {
|
|
53
|
+
const context = injectConfigProviderContext({ dir: ref("ltr") });
|
|
54
|
+
return computed(() => dir?.value || context.dir?.value || "ltr");
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
6
57
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js
|
|
7
58
|
function useForwardPropsEmits(props, emit) {
|
|
8
59
|
const parsedProps = useForwardProps$1(props);
|
|
@@ -13,6 +64,249 @@ function useForwardPropsEmits(props, emit) {
|
|
|
13
64
|
}));
|
|
14
65
|
}
|
|
15
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
|
|
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
|
|
292
|
+
var count = 0;
|
|
293
|
+
/**
|
|
294
|
+
* The `useId` function generates a unique identifier using a provided deterministic ID,
|
|
295
|
+
* a configured `<ConfigProvider>` ID source, Vue's native `useId`, or a fallback counter.
|
|
296
|
+
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
297
|
+
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
298
|
+
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
299
|
+
* the configured ID source.
|
|
300
|
+
*/
|
|
301
|
+
function useId$1(deterministicId, prefix = "reka") {
|
|
302
|
+
let id;
|
|
303
|
+
const configProviderContext = injectConfigProviderContext({ useId: void 0 });
|
|
304
|
+
if (configProviderContext.useId) id = configProviderContext.useId();
|
|
305
|
+
else if ("useId" in vue) id = vue.useId?.();
|
|
306
|
+
else id = `${++count}`;
|
|
307
|
+
return prefix ? `${prefix}-${id}` : id;
|
|
308
|
+
}
|
|
309
|
+
//#endregion
|
|
16
310
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useSize.js
|
|
17
311
|
function useSize(element) {
|
|
18
312
|
const size = ref();
|
|
@@ -21,6 +315,314 @@ function useSize(element) {
|
|
|
21
315
|
height: computed(() => size.value?.height ?? 0)
|
|
22
316
|
};
|
|
23
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Listens for `pointerdown` outside a DOM subtree. We use `pointerdown` rather than `pointerup`
|
|
320
|
+
* to mimic layer dismissing behaviour present in OS.
|
|
321
|
+
* Returns props to pass to the node we want to check for outside events.
|
|
322
|
+
*/
|
|
323
|
+
function usePointerDownOutside(onPointerDownOutside, element, enabled = true) {
|
|
324
|
+
element?.value?.ownerDocument ?? globalThis?.document;
|
|
325
|
+
const isPointerInsideDOMTree = ref(false);
|
|
326
|
+
ref(() => {});
|
|
327
|
+
watchEffect((cleanupFn) => {});
|
|
328
|
+
return { onPointerDownCapture: () => {
|
|
329
|
+
if (!toValue(enabled)) return;
|
|
330
|
+
isPointerInsideDOMTree.value = true;
|
|
331
|
+
} };
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Listens for when focus happens outside a DOM subtree.
|
|
335
|
+
* Returns props to pass to the root (node) of the subtree we want to check.
|
|
336
|
+
*/
|
|
337
|
+
function useFocusOutside(onFocusOutside, element, enabled = true) {
|
|
338
|
+
element?.value?.ownerDocument ?? globalThis?.document;
|
|
339
|
+
const isFocusInsideDOMTree = ref(false);
|
|
340
|
+
watchEffect((cleanupFn) => {});
|
|
341
|
+
return {
|
|
342
|
+
onFocusCapture: () => {
|
|
343
|
+
if (!toValue(enabled)) return;
|
|
344
|
+
isFocusInsideDOMTree.value = true;
|
|
345
|
+
},
|
|
346
|
+
onBlurCapture: () => {
|
|
347
|
+
if (!toValue(enabled)) return;
|
|
348
|
+
isFocusInsideDOMTree.value = false;
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
|
|
354
|
+
var context = /*#__PURE__*/ reactive({
|
|
355
|
+
layersRoot: /* @__PURE__ */ new Set(),
|
|
356
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
357
|
+
originalBodyPointerEvents: void 0,
|
|
358
|
+
branches: /* @__PURE__ */ new Set()
|
|
359
|
+
});
|
|
360
|
+
var DismissableLayer_default = /* @__PURE__ */ defineComponent({
|
|
361
|
+
__name: "DismissableLayer",
|
|
362
|
+
props: {
|
|
363
|
+
disableOutsidePointerEvents: {
|
|
364
|
+
type: Boolean,
|
|
365
|
+
required: false,
|
|
366
|
+
default: false
|
|
367
|
+
},
|
|
368
|
+
asChild: {
|
|
369
|
+
type: Boolean,
|
|
370
|
+
required: false
|
|
371
|
+
},
|
|
372
|
+
as: {
|
|
373
|
+
type: null,
|
|
374
|
+
required: false
|
|
375
|
+
},
|
|
376
|
+
present: {
|
|
377
|
+
type: Boolean,
|
|
378
|
+
required: false,
|
|
379
|
+
default: true
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
emits: [
|
|
383
|
+
"escapeKeyDown",
|
|
384
|
+
"pointerDownOutside",
|
|
385
|
+
"focusOutside",
|
|
386
|
+
"interactOutside",
|
|
387
|
+
"dismiss"
|
|
388
|
+
],
|
|
389
|
+
setup(__props, { emit: __emit }) {
|
|
390
|
+
const props = __props;
|
|
391
|
+
const emits = __emit;
|
|
392
|
+
const { forwardRef, currentElement: layerElement } = useForwardExpose();
|
|
393
|
+
const ownerDocument = computed(() => layerElement.value?.ownerDocument ?? globalThis.document);
|
|
394
|
+
const layers = computed(() => context.layersRoot);
|
|
395
|
+
const index = computed(() => {
|
|
396
|
+
return layerElement.value ? Array.from(layers.value).indexOf(layerElement.value) : -1;
|
|
397
|
+
});
|
|
398
|
+
const isBodyPointerEventsDisabled = computed(() => {
|
|
399
|
+
return context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
400
|
+
});
|
|
401
|
+
const isPointerEventsEnabled = computed(() => {
|
|
402
|
+
const localLayers = Array.from(layers.value);
|
|
403
|
+
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
404
|
+
const highestLayerWithOutsidePointerEventsDisabledIndex = localLayers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
405
|
+
return index.value >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
406
|
+
});
|
|
407
|
+
const pointerDownOutside = usePointerDownOutside(async (event) => {
|
|
408
|
+
const isPointerDownOnBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
409
|
+
if (!props.present || !isPointerEventsEnabled.value || isPointerDownOnBranch) return;
|
|
410
|
+
emits("pointerDownOutside", event);
|
|
411
|
+
emits("interactOutside", event);
|
|
412
|
+
await nextTick();
|
|
413
|
+
if (!event.defaultPrevented) emits("dismiss");
|
|
414
|
+
}, layerElement);
|
|
415
|
+
const focusOutside = useFocusOutside((event) => {
|
|
416
|
+
const isFocusInBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
417
|
+
if (!props.present || isFocusInBranch) return;
|
|
418
|
+
emits("focusOutside", event);
|
|
419
|
+
emits("interactOutside", event);
|
|
420
|
+
if (!event.defaultPrevented) emits("dismiss");
|
|
421
|
+
}, layerElement);
|
|
422
|
+
onKeyStroke("Escape", (event) => {
|
|
423
|
+
if (!props.present) return;
|
|
424
|
+
if (!(index.value === layers.value.size - 1)) return;
|
|
425
|
+
emits("escapeKeyDown", event);
|
|
426
|
+
if (!event.defaultPrevented) emits("dismiss");
|
|
427
|
+
});
|
|
428
|
+
watch([
|
|
429
|
+
layerElement,
|
|
430
|
+
() => props.disableOutsidePointerEvents,
|
|
431
|
+
() => props.present
|
|
432
|
+
], ([element, disableOutsidePointerEvents, present], _, onCleanup) => {
|
|
433
|
+
if (!element || !present) return;
|
|
434
|
+
if (disableOutsidePointerEvents) {
|
|
435
|
+
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
436
|
+
context.originalBodyPointerEvents = ownerDocument.value.body.style.pointerEvents;
|
|
437
|
+
ownerDocument.value.body.style.pointerEvents = "none";
|
|
438
|
+
}
|
|
439
|
+
context.layersWithOutsidePointerEventsDisabled.add(element);
|
|
440
|
+
onCleanup(() => {
|
|
441
|
+
context.layersWithOutsidePointerEventsDisabled.delete(element);
|
|
442
|
+
if (context.layersWithOutsidePointerEventsDisabled.size === 0 && !isNullish(context.originalBodyPointerEvents)) ownerDocument.value.body.style.pointerEvents = context.originalBodyPointerEvents;
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
}, { immediate: true });
|
|
446
|
+
watch([layerElement, () => props.present], ([element, present], _, onCleanup) => {
|
|
447
|
+
if (!element || !present) return;
|
|
448
|
+
layers.value.add(element);
|
|
449
|
+
onCleanup(() => {
|
|
450
|
+
layers.value.delete(element);
|
|
451
|
+
});
|
|
452
|
+
}, { immediate: true });
|
|
453
|
+
watchEffect((cleanupFn) => {
|
|
454
|
+
cleanupFn(() => {
|
|
455
|
+
if (!layerElement.value) return;
|
|
456
|
+
layers.value.delete(layerElement.value);
|
|
457
|
+
context.layersWithOutsidePointerEventsDisabled.delete(layerElement.value);
|
|
458
|
+
});
|
|
459
|
+
});
|
|
460
|
+
return (_ctx, _cache) => {
|
|
461
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
462
|
+
ref: unref(forwardRef),
|
|
463
|
+
"as-child": _ctx.asChild,
|
|
464
|
+
as: _ctx.as,
|
|
465
|
+
"data-dismissable-layer": "",
|
|
466
|
+
style: normalizeStyle({ pointerEvents: isBodyPointerEventsDisabled.value ? isPointerEventsEnabled.value ? "auto" : "none" : void 0 }),
|
|
467
|
+
onFocusCapture: unref(focusOutside).onFocusCapture,
|
|
468
|
+
onBlurCapture: unref(focusOutside).onBlurCapture,
|
|
469
|
+
onPointerdownCapture: unref(pointerDownOutside).onPointerDownCapture
|
|
470
|
+
}, {
|
|
471
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
472
|
+
_: 3
|
|
473
|
+
}, 8, [
|
|
474
|
+
"as-child",
|
|
475
|
+
"as",
|
|
476
|
+
"style",
|
|
477
|
+
"onFocusCapture",
|
|
478
|
+
"onBlurCapture",
|
|
479
|
+
"onPointerdownCapture"
|
|
480
|
+
]);
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
});
|
|
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
|
+
});
|
|
24
626
|
//#endregion
|
|
25
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
|
|
26
628
|
var [injectPopperRootContext, providePopperRootContext] = /*#__PURE__*/ createContext("PopperRoot");
|
|
@@ -2061,6 +2663,373 @@ var PopperArrow_default = /* @__PURE__ */ defineComponent({
|
|
|
2061
2663
|
};
|
|
2062
2664
|
}
|
|
2063
2665
|
});
|
|
2666
|
+
//#endregion
|
|
2667
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/dashboard.js
|
|
2668
|
+
var [useDashboard, provideDashboardContext] = createContext("DashboardGroup");
|
|
2669
|
+
//#endregion
|
|
2670
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useResizable.js
|
|
2671
|
+
function useResizable(key, options = {}, { collapsed = ref(false) } = {}) {
|
|
2672
|
+
const el = ref(null);
|
|
2673
|
+
const opts = computed(() => ({
|
|
2674
|
+
side: "left",
|
|
2675
|
+
minSize: 0,
|
|
2676
|
+
maxSize: 100,
|
|
2677
|
+
defaultSize: 0,
|
|
2678
|
+
storage: "cookie",
|
|
2679
|
+
persistent: true,
|
|
2680
|
+
collapsible: false,
|
|
2681
|
+
collapsedSize: 0,
|
|
2682
|
+
resizable: true,
|
|
2683
|
+
unit: "%",
|
|
2684
|
+
...isRef(options) ? options.value : options
|
|
2685
|
+
}));
|
|
2686
|
+
const { dir } = useLocale();
|
|
2687
|
+
const defaultStorageValue = {
|
|
2688
|
+
size: opts.value.defaultSize,
|
|
2689
|
+
collapsed: unref(collapsed) ?? false
|
|
2690
|
+
};
|
|
2691
|
+
const storageData = opts.value.persistent && (opts.value.resizable || opts.value.collapsible) ? opts.value.storage === "cookie" ? useCookie(key, {
|
|
2692
|
+
...opts.value.storageOptions,
|
|
2693
|
+
default: () => defaultStorageValue
|
|
2694
|
+
}) : useStorage(key, defaultStorageValue, void 0, opts.value.storageOptions) : ref(defaultStorageValue);
|
|
2695
|
+
const writeStorage = (patch) => {
|
|
2696
|
+
if (storageData.value) Object.assign(storageData.value, patch);
|
|
2697
|
+
else storageData.value = {
|
|
2698
|
+
...defaultStorageValue,
|
|
2699
|
+
...patch
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
const isCollapsed = computed({
|
|
2703
|
+
get: () => storageData.value?.collapsed ?? defaultStorageValue.collapsed,
|
|
2704
|
+
set: (value) => {
|
|
2705
|
+
if (!opts.value.collapsible) return;
|
|
2706
|
+
if (isRef(collapsed)) collapsed.value = value;
|
|
2707
|
+
writeStorage({ collapsed: value });
|
|
2708
|
+
}
|
|
2709
|
+
});
|
|
2710
|
+
const previousSize = ref(opts.value.defaultSize);
|
|
2711
|
+
const size = computed({
|
|
2712
|
+
get: () => storageData.value?.size ?? opts.value.defaultSize,
|
|
2713
|
+
set: (value) => {
|
|
2714
|
+
writeStorage({ size: value });
|
|
2715
|
+
}
|
|
2716
|
+
});
|
|
2717
|
+
const currentSize = computed(() => isCollapsed.value ? opts.value.collapsedSize : size.value);
|
|
2718
|
+
const isDragging = ref(false);
|
|
2719
|
+
const getRootFontSize = () => opts.value.unit === "rem" ? Number.parseFloat(getComputedStyle((void 0).documentElement).fontSize) : 1;
|
|
2720
|
+
const resize = (clientX, initialPos, initialSize, rootFontSize) => {
|
|
2721
|
+
if (!el.value || !opts.value.resizable) return;
|
|
2722
|
+
const parentSize = el.value.parentElement?.offsetWidth || 1;
|
|
2723
|
+
const isRtl = dir.value === "rtl";
|
|
2724
|
+
let delta;
|
|
2725
|
+
if (isRtl) delta = opts.value.side === "left" ? initialPos - clientX : clientX - initialPos;
|
|
2726
|
+
else delta = opts.value.side === "left" ? clientX - initialPos : initialPos - clientX;
|
|
2727
|
+
const newSize = initialSize + delta;
|
|
2728
|
+
let newValue;
|
|
2729
|
+
if (opts.value.unit === "rem") newValue = newSize / rootFontSize;
|
|
2730
|
+
else if (opts.value.unit === "px") newValue = newSize;
|
|
2731
|
+
else newValue = newSize / parentSize * 100;
|
|
2732
|
+
if (opts.value.collapsible && newValue < opts.value.collapsedSize + 4) {
|
|
2733
|
+
collapse(true);
|
|
2734
|
+
return;
|
|
2735
|
+
} else if (isCollapsed.value) collapse(false);
|
|
2736
|
+
size.value = Math.min(opts.value.maxSize, Math.max(opts.value.minSize, newValue));
|
|
2737
|
+
};
|
|
2738
|
+
const onMouseDown = (e) => {
|
|
2739
|
+
if (!el.value || !opts.value.resizable) return;
|
|
2740
|
+
e.preventDefault();
|
|
2741
|
+
e.stopPropagation();
|
|
2742
|
+
const elWidth = el.value.getBoundingClientRect().width;
|
|
2743
|
+
if (!elWidth) return;
|
|
2744
|
+
const initialX = e.clientX;
|
|
2745
|
+
const initialWidth = elWidth;
|
|
2746
|
+
const rootFontSize = getRootFontSize();
|
|
2747
|
+
isDragging.value = true;
|
|
2748
|
+
const handleMouseMove = (e2) => {
|
|
2749
|
+
resize(e2.clientX, initialX, initialWidth, rootFontSize);
|
|
2750
|
+
};
|
|
2751
|
+
const handleMouseUp = () => {
|
|
2752
|
+
isDragging.value = false;
|
|
2753
|
+
(void 0).removeEventListener("mousemove", handleMouseMove);
|
|
2754
|
+
(void 0).removeEventListener("mouseup", handleMouseUp);
|
|
2755
|
+
};
|
|
2756
|
+
(void 0).addEventListener("mousemove", handleMouseMove);
|
|
2757
|
+
(void 0).addEventListener("mouseup", handleMouseUp);
|
|
2758
|
+
};
|
|
2759
|
+
const onTouchStart = (e) => {
|
|
2760
|
+
if (!el.value || !opts.value.resizable || !e.touches[0]) return;
|
|
2761
|
+
e.preventDefault();
|
|
2762
|
+
e.stopPropagation();
|
|
2763
|
+
const elWidth = el.value.getBoundingClientRect().width;
|
|
2764
|
+
if (!elWidth) return;
|
|
2765
|
+
const initialX = e.touches[0].clientX;
|
|
2766
|
+
const initialWidth = elWidth;
|
|
2767
|
+
const rootFontSize = getRootFontSize();
|
|
2768
|
+
isDragging.value = true;
|
|
2769
|
+
const handleTouchMove = (e2) => {
|
|
2770
|
+
if (e2.touches[0]) resize(e2.touches[0].clientX, initialX, initialWidth, rootFontSize);
|
|
2771
|
+
};
|
|
2772
|
+
const handleTouchEnd = () => {
|
|
2773
|
+
isDragging.value = false;
|
|
2774
|
+
(void 0).removeEventListener("touchmove", handleTouchMove);
|
|
2775
|
+
(void 0).removeEventListener("touchend", handleTouchEnd);
|
|
2776
|
+
(void 0).removeEventListener("touchcancel", handleTouchEnd);
|
|
2777
|
+
};
|
|
2778
|
+
(void 0).addEventListener("touchmove", handleTouchMove, { passive: false });
|
|
2779
|
+
(void 0).addEventListener("touchend", handleTouchEnd);
|
|
2780
|
+
(void 0).addEventListener("touchcancel", handleTouchEnd);
|
|
2781
|
+
};
|
|
2782
|
+
const onDoubleClick = (e) => {
|
|
2783
|
+
if (!el.value || !opts.value.resizable) return;
|
|
2784
|
+
e.preventDefault();
|
|
2785
|
+
e.stopPropagation();
|
|
2786
|
+
if (isCollapsed.value) collapse(false);
|
|
2787
|
+
size.value = opts.value.defaultSize;
|
|
2788
|
+
};
|
|
2789
|
+
const collapse = (value) => {
|
|
2790
|
+
if (!opts.value.collapsible) return;
|
|
2791
|
+
const newCollapsed = value ?? !isCollapsed.value;
|
|
2792
|
+
if (newCollapsed && !isCollapsed.value) previousSize.value = size.value;
|
|
2793
|
+
else if (!newCollapsed && isCollapsed.value) size.value = previousSize.value;
|
|
2794
|
+
isCollapsed.value = newCollapsed;
|
|
2795
|
+
};
|
|
2796
|
+
if (isRef(collapsed) && storageData.value?.collapsed) collapsed.value = storageData.value.collapsed;
|
|
2797
|
+
if (isRef(collapsed)) watch(collapsed, (value) => {
|
|
2798
|
+
if (!opts.value.collapsible) return;
|
|
2799
|
+
if (storageData.value?.collapsed !== value) isCollapsed.value = value;
|
|
2800
|
+
});
|
|
2801
|
+
return {
|
|
2802
|
+
el,
|
|
2803
|
+
size: currentSize,
|
|
2804
|
+
isDragging,
|
|
2805
|
+
isCollapsed,
|
|
2806
|
+
onMouseDown,
|
|
2807
|
+
onTouchStart,
|
|
2808
|
+
onDoubleClick,
|
|
2809
|
+
collapse
|
|
2810
|
+
};
|
|
2811
|
+
}
|
|
2812
|
+
//#endregion
|
|
2813
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-resize-handle.ts
|
|
2814
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_resize_handle_default = { "base": "hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1" };
|
|
2815
|
+
//#endregion
|
|
2816
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue
|
|
2817
|
+
var _sfc_main$1 = {
|
|
2818
|
+
__name: "UDashboardResizeHandle",
|
|
2819
|
+
__ssrInlineRender: true,
|
|
2820
|
+
props: {
|
|
2821
|
+
as: {
|
|
2822
|
+
type: null,
|
|
2823
|
+
required: false
|
|
2824
|
+
},
|
|
2825
|
+
class: {
|
|
2826
|
+
type: null,
|
|
2827
|
+
required: false
|
|
2828
|
+
},
|
|
2829
|
+
ui: {
|
|
2830
|
+
type: Object,
|
|
2831
|
+
required: false
|
|
2832
|
+
}
|
|
2833
|
+
},
|
|
2834
|
+
setup(__props) {
|
|
2835
|
+
const props = useComponentProps("dashboardResizeHandle", __props);
|
|
2836
|
+
const appConfig = useAppConfig();
|
|
2837
|
+
const ui = computed(() => tv({
|
|
2838
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_resize_handle_default,
|
|
2839
|
+
...appConfig.ui?.dashboardResizeHandle || {}
|
|
2840
|
+
}));
|
|
2841
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2842
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
2843
|
+
as: unref(props).as,
|
|
2844
|
+
role: "separator",
|
|
2845
|
+
class: ui.value({ class: [unref(props).ui?.base, unref(props).class] })
|
|
2846
|
+
}, _attrs), {
|
|
2847
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
2848
|
+
if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
|
|
2849
|
+
else return [renderSlot(_ctx.$slots, "default")];
|
|
2850
|
+
}),
|
|
2851
|
+
_: 3
|
|
2852
|
+
}, _parent));
|
|
2853
|
+
};
|
|
2854
|
+
}
|
|
2855
|
+
};
|
|
2856
|
+
var _sfc_setup$1 = _sfc_main$1.setup;
|
|
2857
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
2858
|
+
const ssrContext = useSSRContext();
|
|
2859
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue");
|
|
2860
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
2861
|
+
};
|
|
2862
|
+
//#endregion
|
|
2863
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-sidebar-toggle.ts
|
|
2864
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_toggle_default = {
|
|
2865
|
+
"base": "lg:hidden",
|
|
2866
|
+
"variants": { "side": {
|
|
2867
|
+
"left": "",
|
|
2868
|
+
"right": ""
|
|
2869
|
+
} }
|
|
2870
|
+
};
|
|
2871
|
+
//#endregion
|
|
2872
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue
|
|
2873
|
+
var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
2874
|
+
__name: "UDashboardSidebarToggle",
|
|
2875
|
+
__ssrInlineRender: true,
|
|
2876
|
+
props: {
|
|
2877
|
+
color: {
|
|
2878
|
+
type: null,
|
|
2879
|
+
required: false,
|
|
2880
|
+
default: "neutral"
|
|
2881
|
+
},
|
|
2882
|
+
variant: {
|
|
2883
|
+
type: null,
|
|
2884
|
+
required: false,
|
|
2885
|
+
default: "ghost"
|
|
2886
|
+
},
|
|
2887
|
+
side: {
|
|
2888
|
+
type: String,
|
|
2889
|
+
required: false,
|
|
2890
|
+
default: "left"
|
|
2891
|
+
},
|
|
2892
|
+
ui: {
|
|
2893
|
+
type: Object,
|
|
2894
|
+
required: false
|
|
2895
|
+
},
|
|
2896
|
+
label: {
|
|
2897
|
+
type: String,
|
|
2898
|
+
required: false
|
|
2899
|
+
},
|
|
2900
|
+
activeColor: {
|
|
2901
|
+
type: null,
|
|
2902
|
+
required: false
|
|
2903
|
+
},
|
|
2904
|
+
activeVariant: {
|
|
2905
|
+
type: null,
|
|
2906
|
+
required: false
|
|
2907
|
+
},
|
|
2908
|
+
size: {
|
|
2909
|
+
type: null,
|
|
2910
|
+
required: false
|
|
2911
|
+
},
|
|
2912
|
+
square: {
|
|
2913
|
+
type: Boolean,
|
|
2914
|
+
required: false
|
|
2915
|
+
},
|
|
2916
|
+
block: {
|
|
2917
|
+
type: Boolean,
|
|
2918
|
+
required: false
|
|
2919
|
+
},
|
|
2920
|
+
loadingAuto: {
|
|
2921
|
+
type: Boolean,
|
|
2922
|
+
required: false
|
|
2923
|
+
},
|
|
2924
|
+
onClick: {
|
|
2925
|
+
type: [Function, Array],
|
|
2926
|
+
required: false
|
|
2927
|
+
},
|
|
2928
|
+
class: {
|
|
2929
|
+
type: null,
|
|
2930
|
+
required: false
|
|
2931
|
+
},
|
|
2932
|
+
icon: {
|
|
2933
|
+
type: null,
|
|
2934
|
+
required: false
|
|
2935
|
+
},
|
|
2936
|
+
avatar: {
|
|
2937
|
+
type: Object,
|
|
2938
|
+
required: false
|
|
2939
|
+
},
|
|
2940
|
+
leading: {
|
|
2941
|
+
type: Boolean,
|
|
2942
|
+
required: false
|
|
2943
|
+
},
|
|
2944
|
+
leadingIcon: {
|
|
2945
|
+
type: null,
|
|
2946
|
+
required: false
|
|
2947
|
+
},
|
|
2948
|
+
trailing: {
|
|
2949
|
+
type: Boolean,
|
|
2950
|
+
required: false
|
|
2951
|
+
},
|
|
2952
|
+
trailingIcon: {
|
|
2953
|
+
type: null,
|
|
2954
|
+
required: false
|
|
2955
|
+
},
|
|
2956
|
+
loading: {
|
|
2957
|
+
type: Boolean,
|
|
2958
|
+
required: false
|
|
2959
|
+
},
|
|
2960
|
+
loadingIcon: {
|
|
2961
|
+
type: null,
|
|
2962
|
+
required: false
|
|
2963
|
+
},
|
|
2964
|
+
as: {
|
|
2965
|
+
type: null,
|
|
2966
|
+
required: false
|
|
2967
|
+
},
|
|
2968
|
+
type: {
|
|
2969
|
+
type: null,
|
|
2970
|
+
required: false
|
|
2971
|
+
},
|
|
2972
|
+
disabled: {
|
|
2973
|
+
type: Boolean,
|
|
2974
|
+
required: false
|
|
2975
|
+
},
|
|
2976
|
+
exactActiveClass: {
|
|
2977
|
+
type: String,
|
|
2978
|
+
required: false
|
|
2979
|
+
},
|
|
2980
|
+
viewTransition: {
|
|
2981
|
+
type: Boolean,
|
|
2982
|
+
required: false
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
setup(__props) {
|
|
2986
|
+
const props = useComponentProps("dashboardSidebarToggle", __props);
|
|
2987
|
+
const buttonProps = useForwardProps(reactiveOmit(props, "icon", "side", "class"));
|
|
2988
|
+
const { t } = useLocale();
|
|
2989
|
+
const appConfig = useAppConfig();
|
|
2990
|
+
const { sidebarOpen, toggleSidebar } = useDashboard({
|
|
2991
|
+
sidebarOpen: ref(false),
|
|
2992
|
+
toggleSidebar: () => {}
|
|
2993
|
+
});
|
|
2994
|
+
const ui = computed(() => tv({
|
|
2995
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_toggle_default,
|
|
2996
|
+
...appConfig.ui?.dashboardSidebarToggle || {}
|
|
2997
|
+
}));
|
|
2998
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2999
|
+
_push(ssrRenderComponent(_sfc_main$2, mergeProps({
|
|
3000
|
+
...unref(buttonProps),
|
|
3001
|
+
"icon": unref(props).icon || (unref(sidebarOpen) ? unref(appConfig).ui.icons.close : unref(appConfig).ui.icons.menu),
|
|
3002
|
+
"aria-label": unref(sidebarOpen) ? unref(t)("dashboardSidebarToggle.close") : unref(t)("dashboardSidebarToggle.open"),
|
|
3003
|
+
..._ctx.$attrs
|
|
3004
|
+
}, {
|
|
3005
|
+
class: ui.value({
|
|
3006
|
+
class: [unref(props).ui?.base, unref(props).class],
|
|
3007
|
+
side: unref(props).side
|
|
3008
|
+
}),
|
|
3009
|
+
onClick: unref(toggleSidebar)
|
|
3010
|
+
}, _attrs), null, _parent));
|
|
3011
|
+
};
|
|
3012
|
+
}
|
|
3013
|
+
});
|
|
3014
|
+
var _sfc_setup = _sfc_main.setup;
|
|
3015
|
+
_sfc_main.setup = (props, ctx) => {
|
|
3016
|
+
const ssrContext = useSSRContext();
|
|
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");
|
|
3018
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
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
|
+
}
|
|
2064
3033
|
|
|
2065
|
-
export { PopperRoot_default as P,
|
|
2066
|
-
//# 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
|