Package not found. Please check the package name and try again.
uomtiles 0.1.0
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 +15 -0
- package/.output/public/_nuxt/1d1PDhA4.js +1 -0
- package/.output/public/_nuxt/3B2XYGg4.js +1 -0
- package/.output/public/_nuxt/981KwFWf.js +1 -0
- package/.output/public/_nuxt/B30dSvM4.js +1 -0
- package/.output/public/_nuxt/BN1Gp4Dm.js +1 -0
- package/.output/public/_nuxt/BQlj8Xoe.js +6 -0
- package/.output/public/_nuxt/BRkljK8J.js +1 -0
- package/.output/public/_nuxt/BSdHYVlE2.js +1 -0
- package/.output/public/_nuxt/B_MqTg2k2.js +1 -0
- package/.output/public/_nuxt/BiWblTbb2.js +64 -0
- package/.output/public/_nuxt/BrPwntMr.js +1 -0
- package/.output/public/_nuxt/BskybydR.js +1 -0
- package/.output/public/_nuxt/ByRlKR9F.js +1 -0
- package/.output/public/_nuxt/C0Zdl2EE2.js +1 -0
- package/.output/public/_nuxt/C4qlzA4o.js +1 -0
- package/.output/public/_nuxt/C7HxHbxA.js +1 -0
- package/.output/public/_nuxt/C97TfNgP.js +3 -0
- package/.output/public/_nuxt/CNs_Ozdc.js +1 -0
- package/.output/public/_nuxt/CPuhwLY1.js +1 -0
- package/.output/public/_nuxt/CVE291Pi.js +1 -0
- package/.output/public/_nuxt/C_0VY3Cv2.js +4 -0
- package/.output/public/_nuxt/Ce26t8_Y.js +1 -0
- package/.output/public/_nuxt/CfW544W5.js +1 -0
- package/.output/public/_nuxt/CgMd2Y5s.js +2 -0
- package/.output/public/_nuxt/CgdzV712.js +1 -0
- package/.output/public/_nuxt/D1wVNWS0.js +1 -0
- package/.output/public/_nuxt/DC3bhq63.js +1 -0
- package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
- package/.output/public/_nuxt/DL1MZZLI.js +1 -0
- package/.output/public/_nuxt/DXm-42Fi.js +1 -0
- package/.output/public/_nuxt/Djg3Kzfv.js +1 -0
- package/.output/public/_nuxt/DkcySee1.js +1 -0
- package/.output/public/_nuxt/DmN-PKW1.js +1 -0
- package/.output/public/_nuxt/DtFVCXI9.js +1 -0
- package/.output/public/_nuxt/Dz7VMlHR.js +1 -0
- package/.output/public/_nuxt/NL65vbjG2.js +1 -0
- package/.output/public/_nuxt/Oxy7pKSk.js +3 -0
- package/.output/public/_nuxt/Pik8or8N2.js +1 -0
- package/.output/public/_nuxt/XZ59tThl.js +1 -0
- package/.output/public/_nuxt/ZpWjFsgV.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +1 -0
- package/.output/public/_nuxt/dXz6dFgW2.js +1 -0
- package/.output/public/_nuxt/entry.P6tFNE31.css +1 -0
- package/.output/public/_nuxt/error-404.Biv0P6cJ.css +1 -0
- package/.output/public/_nuxt/error-500.8ok468rV.css +1 -0
- package/.output/public/_nuxt/j0MRD-c3.js +1 -0
- package/.output/public/_nuxt/local-pixel-diff.worker-C6RdZoCq.js +2 -0
- package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +6 -0
- package/.output/public/_nuxt/nearest-area.worker-iSLH0Y_s.js +2 -0
- package/.output/public/_nuxt/q7DkoVkj.js +828 -0
- package/.output/public/_nuxt/raster-tile.worker-BFlOgJig.js +2 -0
- package/.output/public/_nuxt/services._3nQizF8.css +1 -0
- package/.output/public/_nuxt/sql-wasm.DfANybxk.wasm +0 -0
- package/.output/public/_nuxt/tile-diff.worker-CvWWI_eu.js +1 -0
- package/.output/public/_nuxt/zZ1EGR7Y.js +1 -0
- package/.output/public/apple-touch-icon.png +0 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/favicon.svg +8 -0
- package/.output/public/icon-192.png +0 -0
- package/.output/public/icon-512.png +0 -0
- package/.output/public/site.webmanifest +11 -0
- package/.output/server/chunks/_/config.mjs +208 -0
- package/.output/server/chunks/_/config.mjs.map +1 -0
- package/.output/server/chunks/_/data-directory.mjs +24 -0
- package/.output/server/chunks/_/data-directory.mjs.map +1 -0
- package/.output/server/chunks/_/error-500.mjs +20 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/file-workspace.mjs +910 -0
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -0
- package/.output/server/chunks/_/icons.mjs +6269 -0
- package/.output/server/chunks/_/icons.mjs.map +1 -0
- package/.output/server/chunks/_/map-service.mjs +233 -0
- package/.output/server/chunks/_/map-service.mjs.map +1 -0
- package/.output/server/chunks/_/missing-tile.mjs +104 -0
- package/.output/server/chunks/_/missing-tile.mjs.map +1 -0
- package/.output/server/chunks/_/pixel-diff.mjs +78 -0
- package/.output/server/chunks/_/pixel-diff.mjs.map +1 -0
- package/.output/server/chunks/_/uom-auth.mjs +334 -0
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -0
- package/.output/server/chunks/_/uom-map.mjs +265 -0
- package/.output/server/chunks/_/uom-map.mjs.map +1 -0
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs +5076 -0
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +1 -0
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +569 -0
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +1 -0
- package/.output/server/chunks/build/Empty-CkW3mADt.mjs +359 -0
- package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +1 -0
- package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs +207 -0
- package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs.map +1 -0
- package/.output/server/chunks/build/FormField-CEUZHcv7.mjs +278 -0
- package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +1 -0
- package/.output/server/chunks/build/Input-BeNavYXb.mjs +592 -0
- package/.output/server/chunks/build/Input-BeNavYXb.mjs.map +1 -0
- package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs +2003 -0
- package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs.map +1 -0
- package/.output/server/chunks/build/Modal-DNZtVxca.mjs +1326 -0
- package/.output/server/chunks/build/Modal-DNZtVxca.mjs.map +1 -0
- package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs +146 -0
- package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +1 -0
- package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs +1025 -0
- package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs.map +1 -0
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs +2066 -0
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +1 -0
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +379 -0
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +1 -0
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs +1087 -0
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +1 -0
- package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs +1345 -0
- package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs.map +1 -0
- package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs +7 -0
- package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs.map +1 -0
- package/.output/server/chunks/build/advanced-D1onodoF.mjs +1430 -0
- package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +1 -0
- package/.output/server/chunks/build/compare-DmSAW8oA.mjs +1093 -0
- package/.output/server/chunks/build/compare-DmSAW8oA.mjs.map +1 -0
- package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs +3217 -0
- package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs.map +1 -0
- package/.output/server/chunks/build/details-CBMqXYyo.mjs +3714 -0
- package/.output/server/chunks/build/details-CBMqXYyo.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +86 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs +9 -0
- package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +74 -0
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs +9 -0
- package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs.map +1 -0
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +1121 -0
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -0
- package/.output/server/chunks/build/interval-BxUMpo78.mjs +411 -0
- package/.output/server/chunks/build/interval-BxUMpo78.mjs.map +1 -0
- package/.output/server/chunks/build/login-lbtjN0MV.mjs +642 -0
- package/.output/server/chunks/build/login-lbtjN0MV.mjs.map +1 -0
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs +220 -0
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +1 -0
- package/.output/server/chunks/build/services-DuJwjAB8.mjs +3005 -0
- package/.output/server/chunks/build/services-DuJwjAB8.mjs.map +1 -0
- package/.output/server/chunks/build/services-styles.eoO16BY9.mjs +9 -0
- package/.output/server/chunks/build/services-styles.eoO16BY9.mjs.map +1 -0
- package/.output/server/chunks/build/tasks-CyN9x492.mjs +915 -0
- package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +1 -0
- package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs +87 -0
- package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +6215 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs +21 -0
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/login.post.mjs +27 -0
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/logout.post.mjs +22 -0
- package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs +22 -0
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +31 -0
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs +21 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +44 -0
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +32 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +48 -0
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +38 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +41 -0
- package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +35 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +32 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +42 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +48 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +45 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +32 -0
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +422 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/routes/services/wms.get.mjs +54 -0
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -0
- package/.output/server/chunks/routes/services/wmts.get.mjs +54 -0
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/chunks/virtual/entry.mjs +18545 -0
- package/.output/server/chunks/virtual/entry.mjs.map +1 -0
- package/.output/server/chunks/virtual/precomputed.mjs +4 -0
- package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
- package/.output/server/chunks/virtual/styles.mjs +10 -0
- package/.output/server/chunks/virtual/styles.mjs.map +1 -0
- package/.output/server/index.mjs +12 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +119 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +193 -0
- package/.output/server/node_modules/devalue/src/parse.js +270 -0
- package/.output/server/node_modules/devalue/src/stringify.js +428 -0
- package/.output/server/node_modules/devalue/src/uneval.js +582 -0
- package/.output/server/node_modules/devalue/src/utils.js +185 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/fflate/esm/index.mjs +2710 -0
- package/.output/server/node_modules/fflate/package.json +128 -0
- package/.output/server/node_modules/fnv1a-64/dist/index.mjs +95 -0
- package/.output/server/node_modules/fnv1a-64/package.json +75 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/.output/server/node_modules/hookable/package.json +53 -0
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
- package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
- package/.output/server/node_modules/nostics/package.json +125 -0
- package/.output/server/node_modules/object-identity/index.js +60 -0
- package/.output/server/node_modules/object-identity/package.json +40 -0
- package/.output/server/node_modules/p-limit/index.js +104 -0
- package/.output/server/node_modules/p-limit/package.json +58 -0
- package/.output/server/node_modules/pmtiles/dist/esm/index.js +2 -0
- package/.output/server/node_modules/pmtiles/package.json +50 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
- package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +585 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +223 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +19 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
- package/.output/server/node_modules/unhead/package.json +179 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
- package/.output/server/node_modules/yocto-queue/index.js +90 -0
- package/.output/server/node_modules/yocto-queue/package.json +48 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +135 -0
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
- package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/classic/package.json +7 -0
- package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/.output/server/node_modules/zod/v4/core/api.js +1087 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
- package/.output/server/node_modules/zod/v4/core/core.js +78 -0
- package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
- package/.output/server/node_modules/zod/v4/core/errors.js +185 -0
- package/.output/server/node_modules/zod/v4/core/index.js +16 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/package.json +7 -0
- package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +139 -0
- package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
- package/.output/server/node_modules/zod/v4/core/schemas.js +2239 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/.output/server/node_modules/zod/v4/core/util.js +674 -0
- package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/el.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +125 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
- package/.output/server/node_modules/zod/v4/locales/hr.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +52 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +7 -0
- package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ro.js +119 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/.output/server/package.json +37 -0
- package/LICENSE +3 -0
- package/README.md +125 -0
- package/dist/src/bbox.js +55 -0
- package/dist/src/cli.js +255 -0
- package/dist/src/config.js +56 -0
- package/dist/src/core/fetch-process.js +19 -0
- package/dist/src/core/grid-renderer.js +149 -0
- package/dist/src/core/lease.js +103 -0
- package/dist/src/core/paths.js +13 -0
- package/dist/src/core/png.js +192 -0
- package/dist/src/core/raster-style.js +33 -0
- package/dist/src/core/uomtiles.js +307 -0
- package/dist/src/fetcher.js +208 -0
- package/dist/src/geographic-grid.js +162 -0
- package/dist/src/grid-crawl.js +478 -0
- package/dist/src/mask-image.js +16 -0
- package/dist/src/official-grid.js +51 -0
- package/dist/src/quality.js +30 -0
- package/dist/src/token.js +206 -0
- package/package.json +68 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +8 -0
- package/public/icon-192.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/site.webmanifest +11 -0
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { R as useState, d as useComponentProps, f as useAppConfig, t as tv, P as Primitive, p as _sfc_main$3, b as _sfc_main$1, $ as $fetch$1 } from '../virtual/entry.mjs';
|
|
2
|
+
import { computed, useSlots, unref, mergeProps, withCtx, openBlock, createBlock, renderSlot, createCommentVNode, createTextVNode, toDisplayString, Fragment, renderList, useSSRContext } from 'vue';
|
|
3
|
+
import { ssrRenderComponent, ssrRenderClass, ssrRenderSlot, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
|
|
4
|
+
|
|
5
|
+
//#region app/composables/file-workspace.ts
|
|
6
|
+
function displayWorkspaceName(filename) {
|
|
7
|
+
return filename.replace(/^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}-[a-f0-9]{8}-/i, "").replace(/\.uomtiles$/i, "");
|
|
8
|
+
}
|
|
9
|
+
function displayMapFileName(filename) {
|
|
10
|
+
return filename.replace(/^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}-[a-f0-9]{8}-/i, "").replace(/\.(?:uomtiles|mbtiles|pmtiles)$/i, "");
|
|
11
|
+
}
|
|
12
|
+
function useFileWorkspace() {
|
|
13
|
+
const files = useState("workspace-files", () => []);
|
|
14
|
+
const selectedFilename = useState("workspace-task-filename", () => null);
|
|
15
|
+
const pending = useState("workspace-pending", () => false);
|
|
16
|
+
const ready = useState("workspace-ready", () => false);
|
|
17
|
+
const selected = computed(() => files.value.find((file) => file.filename === selectedFilename.value) || null);
|
|
18
|
+
async function refresh() {
|
|
19
|
+
try {
|
|
20
|
+
const nextFiles = await $fetch$1("/api/workspace/files");
|
|
21
|
+
files.value = nextFiles;
|
|
22
|
+
if (selectedFilename.value && !nextFiles.some((file) => file.filename === selectedFilename.value)) selectedFilename.value = null;
|
|
23
|
+
} finally {
|
|
24
|
+
ready.value = true;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
async function importFile(file) {
|
|
28
|
+
if (!file.name.toLowerCase().endsWith(".uomtiles")) throw new Error("工作区仅支持 .uomtiles 任务文件");
|
|
29
|
+
pending.value = true;
|
|
30
|
+
try {
|
|
31
|
+
const imported = await $fetch$1("/api/workspace/files", {
|
|
32
|
+
method: "POST",
|
|
33
|
+
headers: {
|
|
34
|
+
"x-uomtiles-filename": encodeURIComponent(file.name),
|
|
35
|
+
"content-type": "application/octet-stream"
|
|
36
|
+
},
|
|
37
|
+
body: file
|
|
38
|
+
});
|
|
39
|
+
await refresh();
|
|
40
|
+
return imported;
|
|
41
|
+
} finally {
|
|
42
|
+
pending.value = false;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
async function createTask(filename) {
|
|
46
|
+
pending.value = true;
|
|
47
|
+
try {
|
|
48
|
+
const created = await $fetch$1("/api/workspace/tasks", {
|
|
49
|
+
method: "POST",
|
|
50
|
+
body: { filename }
|
|
51
|
+
});
|
|
52
|
+
await refresh();
|
|
53
|
+
selectedFilename.value = created.filename;
|
|
54
|
+
return created;
|
|
55
|
+
} finally {
|
|
56
|
+
pending.value = false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
async function start() {
|
|
60
|
+
if (!selected.value) return;
|
|
61
|
+
await $fetch$1("/api/workspace/fetch", {
|
|
62
|
+
method: "POST",
|
|
63
|
+
body: { filename: selected.value.filename }
|
|
64
|
+
});
|
|
65
|
+
await refresh();
|
|
66
|
+
}
|
|
67
|
+
async function stop(filename = selected.value?.filename) {
|
|
68
|
+
await $fetch$1("/api/workspace/stop", {
|
|
69
|
+
method: "POST",
|
|
70
|
+
body: filename ? { filename } : {}
|
|
71
|
+
});
|
|
72
|
+
await refresh();
|
|
73
|
+
}
|
|
74
|
+
async function deleteTask(filename) {
|
|
75
|
+
pending.value = true;
|
|
76
|
+
try {
|
|
77
|
+
await $fetch$1(`/api/workspace/${encodeURIComponent(filename)}`, { method: "DELETE" });
|
|
78
|
+
if (selectedFilename.value === filename) selectedFilename.value = null;
|
|
79
|
+
await refresh();
|
|
80
|
+
} finally {
|
|
81
|
+
pending.value = false;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function selectTask(filename) {
|
|
85
|
+
selectedFilename.value = filename;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
files,
|
|
89
|
+
selected,
|
|
90
|
+
pending,
|
|
91
|
+
ready,
|
|
92
|
+
refresh,
|
|
93
|
+
importFile,
|
|
94
|
+
createTask,
|
|
95
|
+
selectTask,
|
|
96
|
+
start,
|
|
97
|
+
stop,
|
|
98
|
+
deleteTask,
|
|
99
|
+
displayWorkspaceName,
|
|
100
|
+
displayMapFileName
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fempty.ts
|
|
105
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fempty_default = {
|
|
106
|
+
"slots": {
|
|
107
|
+
"root": "relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0",
|
|
108
|
+
"header": "flex flex-col items-center gap-2 max-w-sm text-center",
|
|
109
|
+
"avatar": "shrink-0 mb-2",
|
|
110
|
+
"title": "text-highlighted text-pretty font-medium",
|
|
111
|
+
"description": "text-balance text-center",
|
|
112
|
+
"body": "flex flex-col items-center gap-4 max-w-sm",
|
|
113
|
+
"actions": "flex flex-wrap justify-center gap-2 shrink-0",
|
|
114
|
+
"footer": "flex flex-col items-center gap-2 max-w-sm"
|
|
115
|
+
},
|
|
116
|
+
"variants": {
|
|
117
|
+
"size": {
|
|
118
|
+
"xs": {
|
|
119
|
+
"avatar": "size-8 text-base",
|
|
120
|
+
"title": "text-sm",
|
|
121
|
+
"description": "text-xs"
|
|
122
|
+
},
|
|
123
|
+
"sm": {
|
|
124
|
+
"avatar": "size-9 text-lg",
|
|
125
|
+
"title": "text-sm",
|
|
126
|
+
"description": "text-xs"
|
|
127
|
+
},
|
|
128
|
+
"md": {
|
|
129
|
+
"avatar": "size-10 text-xl",
|
|
130
|
+
"title": "text-base",
|
|
131
|
+
"description": "text-sm"
|
|
132
|
+
},
|
|
133
|
+
"lg": {
|
|
134
|
+
"avatar": "size-11 text-[22px]",
|
|
135
|
+
"title": "text-base",
|
|
136
|
+
"description": "text-sm"
|
|
137
|
+
},
|
|
138
|
+
"xl": {
|
|
139
|
+
"avatar": "size-12 text-2xl",
|
|
140
|
+
"title": "text-lg",
|
|
141
|
+
"description": "text-base"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"variant": {
|
|
145
|
+
"solid": {
|
|
146
|
+
"root": "bg-inverted",
|
|
147
|
+
"title": "text-inverted",
|
|
148
|
+
"description": "text-dimmed"
|
|
149
|
+
},
|
|
150
|
+
"outline": {
|
|
151
|
+
"root": "bg-default ring ring-default",
|
|
152
|
+
"description": "text-muted"
|
|
153
|
+
},
|
|
154
|
+
"soft": {
|
|
155
|
+
"root": "bg-elevated/50",
|
|
156
|
+
"description": "text-toned"
|
|
157
|
+
},
|
|
158
|
+
"subtle": {
|
|
159
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
160
|
+
"description": "text-toned"
|
|
161
|
+
},
|
|
162
|
+
"naked": { "description": "text-muted" }
|
|
163
|
+
},
|
|
164
|
+
"loading": { "true": { "avatar": "[&>[data-slot=icon]]:animate-spin" } }
|
|
165
|
+
},
|
|
166
|
+
"defaultVariants": {
|
|
167
|
+
"variant": "outline",
|
|
168
|
+
"size": "md"
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Empty.vue
|
|
173
|
+
var _sfc_main = {
|
|
174
|
+
__name: "UEmpty",
|
|
175
|
+
__ssrInlineRender: true,
|
|
176
|
+
props: {
|
|
177
|
+
as: {
|
|
178
|
+
type: null,
|
|
179
|
+
required: false
|
|
180
|
+
},
|
|
181
|
+
icon: {
|
|
182
|
+
type: null,
|
|
183
|
+
required: false
|
|
184
|
+
},
|
|
185
|
+
avatar: {
|
|
186
|
+
type: Object,
|
|
187
|
+
required: false
|
|
188
|
+
},
|
|
189
|
+
loading: {
|
|
190
|
+
type: Boolean,
|
|
191
|
+
required: false
|
|
192
|
+
},
|
|
193
|
+
loadingIcon: {
|
|
194
|
+
type: null,
|
|
195
|
+
required: false
|
|
196
|
+
},
|
|
197
|
+
title: {
|
|
198
|
+
type: String,
|
|
199
|
+
required: false
|
|
200
|
+
},
|
|
201
|
+
description: {
|
|
202
|
+
type: String,
|
|
203
|
+
required: false
|
|
204
|
+
},
|
|
205
|
+
actions: {
|
|
206
|
+
type: Array,
|
|
207
|
+
required: false
|
|
208
|
+
},
|
|
209
|
+
variant: {
|
|
210
|
+
type: null,
|
|
211
|
+
required: false
|
|
212
|
+
},
|
|
213
|
+
size: {
|
|
214
|
+
type: null,
|
|
215
|
+
required: false
|
|
216
|
+
},
|
|
217
|
+
class: {
|
|
218
|
+
type: null,
|
|
219
|
+
required: false
|
|
220
|
+
},
|
|
221
|
+
ui: {
|
|
222
|
+
type: Object,
|
|
223
|
+
required: false
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
setup(__props) {
|
|
227
|
+
const _props = __props;
|
|
228
|
+
const slots = useSlots();
|
|
229
|
+
const props = useComponentProps("empty", _props);
|
|
230
|
+
const appConfig = useAppConfig();
|
|
231
|
+
const iconName = computed(() => props.loading ? props.loadingIcon || appConfig.ui.icons.loading : props.icon);
|
|
232
|
+
const ui = computed(() => tv({
|
|
233
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fempty_default,
|
|
234
|
+
...appConfig.ui?.empty || {}
|
|
235
|
+
})({
|
|
236
|
+
variant: props.variant,
|
|
237
|
+
size: props.size,
|
|
238
|
+
loading: props.loading
|
|
239
|
+
}));
|
|
240
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
241
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
242
|
+
as: unref(props).as,
|
|
243
|
+
"aria-busy": unref(props).loading ? "true" : void 0,
|
|
244
|
+
"data-slot": "root",
|
|
245
|
+
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] })
|
|
246
|
+
}, _attrs), {
|
|
247
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
248
|
+
if (_push) {
|
|
249
|
+
if (!!slots.header || iconName.value || unref(props).avatar || !!slots.leading || unref(props).title || !!slots.title || unref(props).description || !!slots.description) {
|
|
250
|
+
_push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: unref(props).ui?.header }))}"${_scopeId}>`);
|
|
251
|
+
ssrRenderSlot(_ctx.$slots, "header", {}, () => {
|
|
252
|
+
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
253
|
+
if (iconName.value || unref(props).avatar) _push(ssrRenderComponent(_sfc_main$3, mergeProps({ icon: iconName.value }, typeof unref(props).avatar === "object" ? unref(props).avatar : {}, {
|
|
254
|
+
"data-slot": "avatar",
|
|
255
|
+
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
256
|
+
}), null, _parent, _scopeId));
|
|
257
|
+
else _push(`<!---->`);
|
|
258
|
+
}, _push, _parent, _scopeId);
|
|
259
|
+
if (unref(props).title || !!slots.title) {
|
|
260
|
+
_push(`<h2 data-slot="title" class="${ssrRenderClass(ui.value.title({ class: unref(props).ui?.title }))}"${_scopeId}>`);
|
|
261
|
+
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
262
|
+
_push(`${ssrInterpolate(unref(props).title)}`);
|
|
263
|
+
}, _push, _parent, _scopeId);
|
|
264
|
+
_push(`</h2>`);
|
|
265
|
+
} else _push(`<!---->`);
|
|
266
|
+
if (unref(props).description || !!slots.description) {
|
|
267
|
+
_push(`<div data-slot="description" class="${ssrRenderClass(ui.value.description({ class: unref(props).ui?.description }))}"${_scopeId}>`);
|
|
268
|
+
ssrRenderSlot(_ctx.$slots, "description", {}, () => {
|
|
269
|
+
_push(`${ssrInterpolate(unref(props).description)}`);
|
|
270
|
+
}, _push, _parent, _scopeId);
|
|
271
|
+
_push(`</div>`);
|
|
272
|
+
} else _push(`<!---->`);
|
|
273
|
+
}, _push, _parent, _scopeId);
|
|
274
|
+
_push(`</div>`);
|
|
275
|
+
} else _push(`<!---->`);
|
|
276
|
+
if (!!slots.body || unref(props).actions?.length || !!slots.actions) {
|
|
277
|
+
_push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}"${_scopeId}>`);
|
|
278
|
+
ssrRenderSlot(_ctx.$slots, "body", {}, () => {
|
|
279
|
+
if (unref(props).actions?.length || !!slots.actions) {
|
|
280
|
+
_push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({ class: unref(props).ui?.actions }))}"${_scopeId}>`);
|
|
281
|
+
ssrRenderSlot(_ctx.$slots, "actions", {}, () => {
|
|
282
|
+
_push(`<!--[-->`);
|
|
283
|
+
ssrRenderList(unref(props).actions, (action, index) => {
|
|
284
|
+
_push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
285
|
+
key: index,
|
|
286
|
+
size: unref(props).size
|
|
287
|
+
}, { ref_for: true }, action), null, _parent, _scopeId));
|
|
288
|
+
});
|
|
289
|
+
_push(`<!--]-->`);
|
|
290
|
+
}, _push, _parent, _scopeId);
|
|
291
|
+
_push(`</div>`);
|
|
292
|
+
} else _push(`<!---->`);
|
|
293
|
+
}, _push, _parent, _scopeId);
|
|
294
|
+
_push(`</div>`);
|
|
295
|
+
} else _push(`<!---->`);
|
|
296
|
+
if (!!slots.footer) {
|
|
297
|
+
_push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: unref(props).ui?.footer }))}"${_scopeId}>`);
|
|
298
|
+
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push, _parent, _scopeId);
|
|
299
|
+
_push(`</div>`);
|
|
300
|
+
} else _push(`<!---->`);
|
|
301
|
+
} else return [
|
|
302
|
+
!!slots.header || iconName.value || unref(props).avatar || !!slots.leading || unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
303
|
+
key: 0,
|
|
304
|
+
"data-slot": "header",
|
|
305
|
+
class: ui.value.header({ class: unref(props).ui?.header })
|
|
306
|
+
}, [renderSlot(_ctx.$slots, "header", {}, () => [
|
|
307
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [iconName.value || unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
308
|
+
key: 0,
|
|
309
|
+
icon: iconName.value
|
|
310
|
+
}, typeof unref(props).avatar === "object" ? unref(props).avatar : {}, {
|
|
311
|
+
"data-slot": "avatar",
|
|
312
|
+
class: ui.value.avatar({ class: unref(props).ui?.avatar })
|
|
313
|
+
}), null, 16, ["icon", "class"])) : createCommentVNode("", true)]),
|
|
314
|
+
unref(props).title || !!slots.title ? (openBlock(), createBlock("h2", {
|
|
315
|
+
key: 0,
|
|
316
|
+
"data-slot": "title",
|
|
317
|
+
class: ui.value.title({ class: unref(props).ui?.title })
|
|
318
|
+
}, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])], 2)) : createCommentVNode("", true),
|
|
319
|
+
unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
|
|
320
|
+
key: 1,
|
|
321
|
+
"data-slot": "description",
|
|
322
|
+
class: ui.value.description({ class: unref(props).ui?.description })
|
|
323
|
+
}, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])], 2)) : createCommentVNode("", true)
|
|
324
|
+
])], 2)) : createCommentVNode("", true),
|
|
325
|
+
!!slots.body || unref(props).actions?.length || !!slots.actions ? (openBlock(), createBlock("div", {
|
|
326
|
+
key: 1,
|
|
327
|
+
"data-slot": "body",
|
|
328
|
+
class: ui.value.body({ class: unref(props).ui?.body })
|
|
329
|
+
}, [renderSlot(_ctx.$slots, "body", {}, () => [unref(props).actions?.length || !!slots.actions ? (openBlock(), createBlock("div", {
|
|
330
|
+
key: 0,
|
|
331
|
+
"data-slot": "actions",
|
|
332
|
+
class: ui.value.actions({ class: unref(props).ui?.actions })
|
|
333
|
+
}, [renderSlot(_ctx.$slots, "actions", {}, () => [(openBlock(true), createBlock(Fragment, null, renderList(unref(props).actions, (action, index) => {
|
|
334
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
335
|
+
key: index,
|
|
336
|
+
size: unref(props).size
|
|
337
|
+
}, { ref_for: true }, action), null, 16, ["size"]);
|
|
338
|
+
}), 128))])], 2)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
339
|
+
!!slots.footer ? (openBlock(), createBlock("div", {
|
|
340
|
+
key: 2,
|
|
341
|
+
"data-slot": "footer",
|
|
342
|
+
class: ui.value.footer({ class: unref(props).ui?.footer })
|
|
343
|
+
}, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
|
|
344
|
+
];
|
|
345
|
+
}),
|
|
346
|
+
_: 3
|
|
347
|
+
}, _parent));
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
var _sfc_setup = _sfc_main.setup;
|
|
352
|
+
_sfc_main.setup = (props, ctx) => {
|
|
353
|
+
const ssrContext = useSSRContext();
|
|
354
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Empty.vue");
|
|
355
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
export { _sfc_main as _, displayMapFileName as d, useFileWorkspace as u };
|
|
359
|
+
//# sourceMappingURL=Empty-CkW3mADt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Empty-CkW3mADt.mjs","sources":["../../../../app/composables/file-workspace.ts","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fempty.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Empty.vue"],"names":["$fetch","_sfc_main$1","_sfc_main$2"],"mappings":"","x_google_ignoreList":[1,2]}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { v as useForwardExpose, H as getActiveElement, a0 as AUTOFOCUS_ON_UNMOUNT, a1 as focus, P as Primitive, a2 as AUTOFOCUS_ON_MOUNT, a3 as focusFirst, a4 as getTabbableCandidates, a5 as EVENT_OPTIONS, a6 as getTabbableEdges, a7 as tryOnBeforeUnmount, I as unrefElement, a8 as createGlobalState, a9 as createSharedComposable, X as injectConfigProviderContext } from '../virtual/entry.mjs';
|
|
2
|
+
import { defineComponent, ref, watchEffect, nextTick, watch, openBlock, createBlock, unref, withCtx, renderSlot, reactive, computed } 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/shared/useBodyScrollLock.js
|
|
5
|
+
var useBodyLockStackCount = createSharedComposable(() => {
|
|
6
|
+
const map = ref(/* @__PURE__ */ new Map());
|
|
7
|
+
ref();
|
|
8
|
+
const locked = computed(() => {
|
|
9
|
+
for (const value of map.value.values()) if (value) return true;
|
|
10
|
+
return false;
|
|
11
|
+
});
|
|
12
|
+
injectConfigProviderContext({ scrollBody: ref(true) });
|
|
13
|
+
watch(locked, (val, oldVal) => {}, {
|
|
14
|
+
immediate: true,
|
|
15
|
+
flush: "sync"
|
|
16
|
+
});
|
|
17
|
+
return map;
|
|
18
|
+
});
|
|
19
|
+
function useBodyScrollLock(initialState) {
|
|
20
|
+
const id = Math.random().toString(36).substring(2, 7);
|
|
21
|
+
const map = useBodyLockStackCount();
|
|
22
|
+
map.value.set(id, initialState ?? false);
|
|
23
|
+
const locked = computed({
|
|
24
|
+
get: () => map.value.get(id) ?? false,
|
|
25
|
+
set: (value) => map.value.set(id, value)
|
|
26
|
+
});
|
|
27
|
+
tryOnBeforeUnmount();
|
|
28
|
+
return locked;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Marks everything except given node(or nodes) as aria-hidden
|
|
32
|
+
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
33
|
+
* @param [parentNode] - top element, defaults to document.body
|
|
34
|
+
* @param {String} [markerName] - a special attribute to mark every node
|
|
35
|
+
* @return {Undo} undo command
|
|
36
|
+
*/
|
|
37
|
+
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
38
|
+
Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
39
|
+
return function() {
|
|
40
|
+
return null;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
//#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
|
|
45
|
+
/**
|
|
46
|
+
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
|
|
47
|
+
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
|
|
48
|
+
* hidden elements when the target element is removed.
|
|
49
|
+
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
|
|
50
|
+
* to hide other elements when it is clicked or focused.
|
|
51
|
+
*/
|
|
52
|
+
function useHideOthers(target) {
|
|
53
|
+
let undo;
|
|
54
|
+
watch(() => unrefElement(target), (el) => {
|
|
55
|
+
let isInsideClosedPopover = false;
|
|
56
|
+
try {
|
|
57
|
+
isInsideClosedPopover = !!el?.closest("[popover]:not(:popover-open)");
|
|
58
|
+
} catch {}
|
|
59
|
+
if (el && !isInsideClosedPopover) undo = hideOthers(el);
|
|
60
|
+
else if (undo) undo();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#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
|
|
65
|
+
var useFocusStackState = createGlobalState(() => {
|
|
66
|
+
return ref([]);
|
|
67
|
+
});
|
|
68
|
+
function createFocusScopesStack() {
|
|
69
|
+
/** A stack of focus scopes, with the active one at the top */
|
|
70
|
+
const stack = useFocusStackState();
|
|
71
|
+
return {
|
|
72
|
+
add(focusScope) {
|
|
73
|
+
const activeFocusScope = stack.value[0];
|
|
74
|
+
if (focusScope !== activeFocusScope) activeFocusScope?.pause();
|
|
75
|
+
stack.value = arrayRemove(stack.value, focusScope);
|
|
76
|
+
stack.value.unshift(focusScope);
|
|
77
|
+
},
|
|
78
|
+
remove(focusScope) {
|
|
79
|
+
stack.value = arrayRemove(stack.value, focusScope);
|
|
80
|
+
stack.value[0]?.resume();
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function arrayRemove(array, item) {
|
|
85
|
+
const updatedArray = [...array];
|
|
86
|
+
const index = updatedArray.indexOf(item);
|
|
87
|
+
if (index !== -1) updatedArray.splice(index, 1);
|
|
88
|
+
return updatedArray;
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#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
|
|
92
|
+
var FocusScope_default = /* @__PURE__ */ defineComponent({
|
|
93
|
+
__name: "FocusScope",
|
|
94
|
+
props: {
|
|
95
|
+
loop: {
|
|
96
|
+
type: Boolean,
|
|
97
|
+
required: false,
|
|
98
|
+
default: false
|
|
99
|
+
},
|
|
100
|
+
trapped: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
required: false,
|
|
103
|
+
default: false
|
|
104
|
+
},
|
|
105
|
+
present: {
|
|
106
|
+
type: Boolean,
|
|
107
|
+
required: false,
|
|
108
|
+
default: true
|
|
109
|
+
},
|
|
110
|
+
asChild: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
required: false
|
|
113
|
+
},
|
|
114
|
+
as: {
|
|
115
|
+
type: null,
|
|
116
|
+
required: false
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
emits: ["mountAutoFocus", "unmountAutoFocus"],
|
|
120
|
+
setup(__props, { emit: __emit }) {
|
|
121
|
+
const props = __props;
|
|
122
|
+
const emits = __emit;
|
|
123
|
+
const { currentRef, currentElement } = useForwardExpose();
|
|
124
|
+
ref(null);
|
|
125
|
+
const focusScopesStack = createFocusScopesStack();
|
|
126
|
+
const focusScope = /*#__PURE__*/ reactive({
|
|
127
|
+
paused: false,
|
|
128
|
+
pause() {
|
|
129
|
+
this.paused = true;
|
|
130
|
+
},
|
|
131
|
+
resume() {
|
|
132
|
+
this.paused = false;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
watchEffect((cleanupFn) => {});
|
|
136
|
+
function dispatchMountAutoFocus(container, previouslyFocusedElement) {
|
|
137
|
+
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
138
|
+
const handleMountAutoFocus = (ev) => emits("mountAutoFocus", ev);
|
|
139
|
+
container.addEventListener(AUTOFOCUS_ON_MOUNT, handleMountAutoFocus);
|
|
140
|
+
container.dispatchEvent(mountEvent);
|
|
141
|
+
container.removeEventListener(AUTOFOCUS_ON_MOUNT, handleMountAutoFocus);
|
|
142
|
+
if (!mountEvent.defaultPrevented) {
|
|
143
|
+
focusFirst(getTabbableCandidates(container), { select: true });
|
|
144
|
+
if (getActiveElement() === previouslyFocusedElement) focus(container);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
watchEffect(async (cleanupFn) => {
|
|
148
|
+
const container = currentElement.value;
|
|
149
|
+
await nextTick();
|
|
150
|
+
if (!container) return;
|
|
151
|
+
if (props.present !== false) focusScopesStack.add(focusScope);
|
|
152
|
+
const previouslyFocusedElement = getActiveElement();
|
|
153
|
+
if (!container.contains(previouslyFocusedElement) && props.present !== false) dispatchMountAutoFocus(container, previouslyFocusedElement);
|
|
154
|
+
cleanupFn(() => {
|
|
155
|
+
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
156
|
+
const unmountEventHandler = (ev) => {
|
|
157
|
+
emits("unmountAutoFocus", ev);
|
|
158
|
+
};
|
|
159
|
+
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
160
|
+
container.dispatchEvent(unmountEvent);
|
|
161
|
+
container.setAttribute("data-focus-scope-unmounting", "");
|
|
162
|
+
setTimeout(() => {
|
|
163
|
+
if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? (void 0).body, { select: true });
|
|
164
|
+
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
165
|
+
focusScopesStack.remove(focusScope);
|
|
166
|
+
container.removeAttribute("data-focus-scope-unmounting");
|
|
167
|
+
}, 0);
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
watch(() => props.present, async (present, prevPresent) => {});
|
|
171
|
+
function handleKeyDown(event) {
|
|
172
|
+
if (!props.loop && !props.trapped) return;
|
|
173
|
+
if (focusScope.paused) return;
|
|
174
|
+
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
175
|
+
const focusedElement = getActiveElement();
|
|
176
|
+
if (isTabKey && focusedElement) {
|
|
177
|
+
const container = event.currentTarget;
|
|
178
|
+
const [first, last] = getTabbableEdges(container);
|
|
179
|
+
if (!(first && last)) {
|
|
180
|
+
if (focusedElement === container) event.preventDefault();
|
|
181
|
+
} else if (!event.shiftKey && focusedElement === last) {
|
|
182
|
+
event.preventDefault();
|
|
183
|
+
if (props.loop) focus(first, { select: true });
|
|
184
|
+
} else if (event.shiftKey && focusedElement === first) {
|
|
185
|
+
event.preventDefault();
|
|
186
|
+
if (props.loop) focus(last, { select: true });
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
return (_ctx, _cache) => {
|
|
191
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
192
|
+
ref_key: "currentRef",
|
|
193
|
+
ref: currentRef,
|
|
194
|
+
tabindex: "-1",
|
|
195
|
+
"as-child": _ctx.asChild,
|
|
196
|
+
as: _ctx.as,
|
|
197
|
+
onKeydown: handleKeyDown
|
|
198
|
+
}, {
|
|
199
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
200
|
+
_: 3
|
|
201
|
+
}, 8, ["as-child", "as"]);
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export { FocusScope_default as F, useHideOthers as a, useBodyScrollLock as u };
|
|
207
|
+
//# sourceMappingURL=FocusScope-Cf0lg0zt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FocusScope-Cf0lg0zt.mjs","sources":["../../../../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/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/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"],"names":[],"mappings":"","x_google_ignoreList":[0,1,2,3,4]}
|