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,2003 @@
|
|
|
1
|
+
import { d as useComponentProps, f as useAppConfig, t as tv, g as useForwardProps, r as reactivePick, o as get, _ as _sfc_main$5, p as _sfc_main$3$1, l as createReusableTemplate, P as Primitive, j as useFieldGroup, k as useComponentIcons, v as useForwardExpose, w as useVModel, J as useResizeObserver, z as Presence_default, A as createContext, B as useCollection, K as useMounted, H as getActiveElement } from '../virtual/entry.mjs';
|
|
2
|
+
import { b as useDashboard, c as useResizable, _ as _sfc_main$1$1, d as _sfc_main$4, a as useDirection, u as useId$1 } from './DashboardSidebarToggle-pncTaIJq.mjs';
|
|
3
|
+
import { useId, toRef, computed, mergeProps, unref, useSlots, ref, withCtx, renderSlot, openBlock, createBlock, createCommentVNode, createTextVNode, toDisplayString, createVNode, Fragment, renderList, defineComponent, toRefs, shallowRef, watch, watchPostEffect, withKeys, withModifiers, normalizeStyle, useModel, mergeModels, nextTick, useSSRContext } from 'vue';
|
|
4
|
+
import { ssrRenderAttrs, ssrRenderSlot, ssrRenderClass, ssrRenderComponent, ssrRenderList, ssrInterpolate } from 'vue/server-renderer';
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/RovingFocus/utils.js
|
|
7
|
+
var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
|
|
8
|
+
var EVENT_OPTIONS = {
|
|
9
|
+
bubbles: false,
|
|
10
|
+
cancelable: true
|
|
11
|
+
};
|
|
12
|
+
var MAP_KEY_TO_FOCUS_INTENT = {
|
|
13
|
+
ArrowLeft: "prev",
|
|
14
|
+
ArrowUp: "prev",
|
|
15
|
+
ArrowRight: "next",
|
|
16
|
+
ArrowDown: "next",
|
|
17
|
+
PageUp: "first",
|
|
18
|
+
Home: "first",
|
|
19
|
+
PageDown: "last",
|
|
20
|
+
End: "last"
|
|
21
|
+
};
|
|
22
|
+
function getDirectionAwareKey(key, dir) {
|
|
23
|
+
if (dir !== "rtl") return key;
|
|
24
|
+
return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
|
|
25
|
+
}
|
|
26
|
+
function getFocusIntent(event, orientation, dir) {
|
|
27
|
+
const key = getDirectionAwareKey(event.key, dir);
|
|
28
|
+
if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
|
|
29
|
+
if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
|
|
30
|
+
return MAP_KEY_TO_FOCUS_INTENT[key];
|
|
31
|
+
}
|
|
32
|
+
function focusFirst(candidates, preventScroll = false) {
|
|
33
|
+
const PREVIOUSLY_FOCUSED_ELEMENT = getActiveElement();
|
|
34
|
+
for (const candidate of candidates) {
|
|
35
|
+
if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
36
|
+
candidate.focus({ preventScroll });
|
|
37
|
+
if (getActiveElement() !== PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Wraps an array around itself at a given start index
|
|
42
|
+
* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
|
|
43
|
+
*/
|
|
44
|
+
function wrapArray(array, startIndex) {
|
|
45
|
+
return array.map((_, index) => array[(startIndex + index) % array.length]);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/RovingFocus/RovingFocusGroup.js
|
|
49
|
+
var [injectRovingFocusGroupContext, provideRovingFocusGroupContext] = /*#__PURE__*/ createContext("RovingFocusGroup");
|
|
50
|
+
var RovingFocusGroup_default = /* @__PURE__ */ defineComponent({
|
|
51
|
+
__name: "RovingFocusGroup",
|
|
52
|
+
props: {
|
|
53
|
+
orientation: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: false,
|
|
56
|
+
default: void 0
|
|
57
|
+
},
|
|
58
|
+
dir: {
|
|
59
|
+
type: String,
|
|
60
|
+
required: false
|
|
61
|
+
},
|
|
62
|
+
loop: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
required: false,
|
|
65
|
+
default: false
|
|
66
|
+
},
|
|
67
|
+
currentTabStopId: {
|
|
68
|
+
type: [String, null],
|
|
69
|
+
required: false
|
|
70
|
+
},
|
|
71
|
+
defaultCurrentTabStopId: {
|
|
72
|
+
type: String,
|
|
73
|
+
required: false
|
|
74
|
+
},
|
|
75
|
+
preventScrollOnEntryFocus: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
required: false,
|
|
78
|
+
default: false
|
|
79
|
+
},
|
|
80
|
+
asChild: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
required: false
|
|
83
|
+
},
|
|
84
|
+
as: {
|
|
85
|
+
type: null,
|
|
86
|
+
required: false
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
emits: ["entryFocus", "update:currentTabStopId"],
|
|
90
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
91
|
+
const props = __props;
|
|
92
|
+
const emits = __emit;
|
|
93
|
+
const { loop, orientation, dir: propDir } = toRefs(props);
|
|
94
|
+
const dir = useDirection(propDir);
|
|
95
|
+
const currentTabStopId = useVModel(props, "currentTabStopId", emits, {
|
|
96
|
+
defaultValue: props.defaultCurrentTabStopId,
|
|
97
|
+
passive: props.currentTabStopId === void 0
|
|
98
|
+
});
|
|
99
|
+
const isTabbingBackOut = ref(false);
|
|
100
|
+
const isClickFocus = ref(false);
|
|
101
|
+
const focusableItemsCount = ref(0);
|
|
102
|
+
const { getItems, CollectionSlot } = useCollection({ isProvider: true });
|
|
103
|
+
function handleFocus(event) {
|
|
104
|
+
const isKeyboardFocus = !isClickFocus.value;
|
|
105
|
+
if (event.currentTarget && event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut.value) {
|
|
106
|
+
const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);
|
|
107
|
+
event.currentTarget.dispatchEvent(entryFocusEvent);
|
|
108
|
+
emits("entryFocus", entryFocusEvent);
|
|
109
|
+
if (!entryFocusEvent.defaultPrevented) {
|
|
110
|
+
const items = getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== "");
|
|
111
|
+
focusFirst([
|
|
112
|
+
items.find((item) => item.getAttribute("data-active") === ""),
|
|
113
|
+
items.find((item) => item.getAttribute("data-highlighted") === ""),
|
|
114
|
+
items.find((item) => item.id === currentTabStopId.value),
|
|
115
|
+
...items
|
|
116
|
+
].filter(Boolean), props.preventScrollOnEntryFocus);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
isClickFocus.value = false;
|
|
120
|
+
}
|
|
121
|
+
function handleMouseUp() {
|
|
122
|
+
setTimeout(() => {
|
|
123
|
+
isClickFocus.value = false;
|
|
124
|
+
}, 1);
|
|
125
|
+
}
|
|
126
|
+
__expose({ getItems });
|
|
127
|
+
provideRovingFocusGroupContext({
|
|
128
|
+
loop,
|
|
129
|
+
dir,
|
|
130
|
+
orientation,
|
|
131
|
+
currentTabStopId,
|
|
132
|
+
onItemFocus: (tabStopId) => {
|
|
133
|
+
currentTabStopId.value = tabStopId;
|
|
134
|
+
},
|
|
135
|
+
onItemShiftTab: () => {
|
|
136
|
+
isTabbingBackOut.value = true;
|
|
137
|
+
},
|
|
138
|
+
onFocusableItemAdd: () => {
|
|
139
|
+
focusableItemsCount.value++;
|
|
140
|
+
},
|
|
141
|
+
onFocusableItemRemove: () => {
|
|
142
|
+
focusableItemsCount.value--;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
return (_ctx, _cache) => {
|
|
146
|
+
return openBlock(), createBlock(unref(CollectionSlot), null, {
|
|
147
|
+
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
148
|
+
tabindex: isTabbingBackOut.value || focusableItemsCount.value === 0 ? -1 : 0,
|
|
149
|
+
"data-orientation": unref(orientation),
|
|
150
|
+
as: _ctx.as,
|
|
151
|
+
"as-child": _ctx.asChild,
|
|
152
|
+
dir: unref(dir),
|
|
153
|
+
style: { "outline": "none" },
|
|
154
|
+
onMousedown: _cache[0] || (_cache[0] = ($event) => isClickFocus.value = true),
|
|
155
|
+
onMouseup: handleMouseUp,
|
|
156
|
+
onFocus: handleFocus,
|
|
157
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => isTabbingBackOut.value = false)
|
|
158
|
+
}, {
|
|
159
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
160
|
+
_: 3
|
|
161
|
+
}, 8, [
|
|
162
|
+
"tabindex",
|
|
163
|
+
"data-orientation",
|
|
164
|
+
"as",
|
|
165
|
+
"as-child",
|
|
166
|
+
"dir"
|
|
167
|
+
])]),
|
|
168
|
+
_: 3
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/RovingFocus/RovingFocusItem.js
|
|
175
|
+
var RovingFocusItem_default = /* @__PURE__ */ defineComponent({
|
|
176
|
+
__name: "RovingFocusItem",
|
|
177
|
+
props: {
|
|
178
|
+
tabStopId: {
|
|
179
|
+
type: String,
|
|
180
|
+
required: false
|
|
181
|
+
},
|
|
182
|
+
focusable: {
|
|
183
|
+
type: Boolean,
|
|
184
|
+
required: false,
|
|
185
|
+
default: true
|
|
186
|
+
},
|
|
187
|
+
active: {
|
|
188
|
+
type: Boolean,
|
|
189
|
+
required: false
|
|
190
|
+
},
|
|
191
|
+
allowShiftKey: {
|
|
192
|
+
type: Boolean,
|
|
193
|
+
required: false
|
|
194
|
+
},
|
|
195
|
+
asChild: {
|
|
196
|
+
type: Boolean,
|
|
197
|
+
required: false
|
|
198
|
+
},
|
|
199
|
+
as: {
|
|
200
|
+
type: null,
|
|
201
|
+
required: false,
|
|
202
|
+
default: "span"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
setup(__props) {
|
|
206
|
+
const props = __props;
|
|
207
|
+
const context = injectRovingFocusGroupContext();
|
|
208
|
+
const randomId = useId$1();
|
|
209
|
+
const id = computed(() => props.tabStopId || randomId);
|
|
210
|
+
const isCurrentTabStop = computed(() => context.currentTabStopId.value === id.value);
|
|
211
|
+
const { getItems, CollectionItem } = useCollection();
|
|
212
|
+
watch(() => props.focusable, (newVal, oldVal) => {
|
|
213
|
+
if (newVal === oldVal) return;
|
|
214
|
+
if (newVal) context.onFocusableItemAdd();
|
|
215
|
+
else context.onFocusableItemRemove();
|
|
216
|
+
});
|
|
217
|
+
function handleKeydown(event) {
|
|
218
|
+
if (event.key === "Tab" && event.shiftKey) {
|
|
219
|
+
context.onItemShiftTab();
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
if (event.target !== event.currentTarget) return;
|
|
223
|
+
const focusIntent = getFocusIntent(event, context.orientation.value, context.dir.value);
|
|
224
|
+
if (focusIntent !== void 0) {
|
|
225
|
+
if (event.metaKey || event.ctrlKey || event.altKey || (props.allowShiftKey ? false : event.shiftKey)) return;
|
|
226
|
+
event.preventDefault();
|
|
227
|
+
let candidateNodes = [...getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== "")];
|
|
228
|
+
if (focusIntent === "last") candidateNodes.reverse();
|
|
229
|
+
else if (focusIntent === "prev" || focusIntent === "next") {
|
|
230
|
+
if (focusIntent === "prev") candidateNodes.reverse();
|
|
231
|
+
const currentIndex = candidateNodes.indexOf(event.currentTarget);
|
|
232
|
+
candidateNodes = context.loop.value ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
|
|
233
|
+
}
|
|
234
|
+
nextTick(() => focusFirst(candidateNodes));
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
return (_ctx, _cache) => {
|
|
238
|
+
return openBlock(), createBlock(unref(CollectionItem), null, {
|
|
239
|
+
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
240
|
+
tabindex: isCurrentTabStop.value ? 0 : -1,
|
|
241
|
+
"data-orientation": unref(context).orientation.value,
|
|
242
|
+
"data-active": _ctx.active ? "" : void 0,
|
|
243
|
+
"data-disabled": !_ctx.focusable ? "" : void 0,
|
|
244
|
+
as: _ctx.as,
|
|
245
|
+
"as-child": _ctx.asChild,
|
|
246
|
+
onMousedown: _cache[0] || (_cache[0] = (event) => {
|
|
247
|
+
if (!_ctx.focusable) event.preventDefault();
|
|
248
|
+
else unref(context).onItemFocus(id.value);
|
|
249
|
+
}),
|
|
250
|
+
onFocus: _cache[1] || (_cache[1] = ($event) => unref(context).onItemFocus(id.value)),
|
|
251
|
+
onKeydown: handleKeydown
|
|
252
|
+
}, {
|
|
253
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
254
|
+
_: 3
|
|
255
|
+
}, 8, [
|
|
256
|
+
"tabindex",
|
|
257
|
+
"data-orientation",
|
|
258
|
+
"data-active",
|
|
259
|
+
"data-disabled",
|
|
260
|
+
"as",
|
|
261
|
+
"as-child"
|
|
262
|
+
])]),
|
|
263
|
+
_: 3
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsRoot.js
|
|
270
|
+
var [injectTabsRootContext, provideTabsRootContext] = /*#__PURE__*/ createContext("TabsRoot");
|
|
271
|
+
var TabsRoot_default = /* @__PURE__ */ defineComponent({
|
|
272
|
+
__name: "TabsRoot",
|
|
273
|
+
props: {
|
|
274
|
+
defaultValue: {
|
|
275
|
+
type: null,
|
|
276
|
+
required: false
|
|
277
|
+
},
|
|
278
|
+
orientation: {
|
|
279
|
+
type: String,
|
|
280
|
+
required: false,
|
|
281
|
+
default: "horizontal"
|
|
282
|
+
},
|
|
283
|
+
dir: {
|
|
284
|
+
type: String,
|
|
285
|
+
required: false
|
|
286
|
+
},
|
|
287
|
+
activationMode: {
|
|
288
|
+
type: String,
|
|
289
|
+
required: false,
|
|
290
|
+
default: "automatic"
|
|
291
|
+
},
|
|
292
|
+
modelValue: {
|
|
293
|
+
type: null,
|
|
294
|
+
required: false
|
|
295
|
+
},
|
|
296
|
+
unmountOnHide: {
|
|
297
|
+
type: Boolean,
|
|
298
|
+
required: false,
|
|
299
|
+
default: true
|
|
300
|
+
},
|
|
301
|
+
asChild: {
|
|
302
|
+
type: Boolean,
|
|
303
|
+
required: false
|
|
304
|
+
},
|
|
305
|
+
as: {
|
|
306
|
+
type: null,
|
|
307
|
+
required: false
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
emits: ["update:modelValue"],
|
|
311
|
+
setup(__props, { emit: __emit }) {
|
|
312
|
+
const props = __props;
|
|
313
|
+
const emits = __emit;
|
|
314
|
+
const { orientation, unmountOnHide, dir: propDir } = toRefs(props);
|
|
315
|
+
const dir = useDirection(propDir);
|
|
316
|
+
useForwardExpose();
|
|
317
|
+
const modelValue = useVModel(props, "modelValue", emits, {
|
|
318
|
+
defaultValue: props.defaultValue,
|
|
319
|
+
passive: props.modelValue === void 0
|
|
320
|
+
});
|
|
321
|
+
const tabsList = ref();
|
|
322
|
+
const contentIds = shallowRef(/* @__PURE__ */ new Set());
|
|
323
|
+
provideTabsRootContext({
|
|
324
|
+
modelValue,
|
|
325
|
+
changeModelValue: (value) => {
|
|
326
|
+
modelValue.value = value;
|
|
327
|
+
},
|
|
328
|
+
orientation,
|
|
329
|
+
dir,
|
|
330
|
+
unmountOnHide,
|
|
331
|
+
activationMode: props.activationMode,
|
|
332
|
+
baseId: useId$1(void 0, "reka-tabs"),
|
|
333
|
+
tabsList,
|
|
334
|
+
contentIds,
|
|
335
|
+
registerContent: (value) => {
|
|
336
|
+
contentIds.value = /* @__PURE__ */ new Set([...contentIds.value, value]);
|
|
337
|
+
},
|
|
338
|
+
unregisterContent: (value) => {
|
|
339
|
+
const newSet = new Set(contentIds.value);
|
|
340
|
+
newSet.delete(value);
|
|
341
|
+
contentIds.value = newSet;
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
return (_ctx, _cache) => {
|
|
345
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
346
|
+
dir: unref(dir),
|
|
347
|
+
"data-orientation": unref(orientation),
|
|
348
|
+
"as-child": _ctx.asChild,
|
|
349
|
+
as: _ctx.as
|
|
350
|
+
}, {
|
|
351
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) })]),
|
|
352
|
+
_: 3
|
|
353
|
+
}, 8, [
|
|
354
|
+
"dir",
|
|
355
|
+
"data-orientation",
|
|
356
|
+
"as-child",
|
|
357
|
+
"as"
|
|
358
|
+
]);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/utils.js
|
|
364
|
+
function makeTriggerId(baseId, value) {
|
|
365
|
+
return `${baseId}-trigger-${value}`;
|
|
366
|
+
}
|
|
367
|
+
function makeContentId(baseId, value) {
|
|
368
|
+
return `${baseId}-content-${value}`;
|
|
369
|
+
}
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsContent.js
|
|
372
|
+
var TabsContent_default = /* @__PURE__ */ defineComponent({
|
|
373
|
+
__name: "TabsContent",
|
|
374
|
+
props: {
|
|
375
|
+
value: {
|
|
376
|
+
type: [String, Number],
|
|
377
|
+
required: true
|
|
378
|
+
},
|
|
379
|
+
forceMount: {
|
|
380
|
+
type: Boolean,
|
|
381
|
+
required: false
|
|
382
|
+
},
|
|
383
|
+
asChild: {
|
|
384
|
+
type: Boolean,
|
|
385
|
+
required: false
|
|
386
|
+
},
|
|
387
|
+
as: {
|
|
388
|
+
type: null,
|
|
389
|
+
required: false
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
setup(__props) {
|
|
393
|
+
const props = __props;
|
|
394
|
+
const { forwardRef } = useForwardExpose();
|
|
395
|
+
const rootContext = injectTabsRootContext();
|
|
396
|
+
const triggerId = computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
397
|
+
const contentId = computed(() => makeContentId(rootContext.baseId, props.value));
|
|
398
|
+
const isSelected = computed(() => props.value === rootContext.modelValue.value);
|
|
399
|
+
const isMountAnimationPreventedRef = ref(isSelected.value);
|
|
400
|
+
return (_ctx, _cache) => {
|
|
401
|
+
return openBlock(), createBlock(unref(Presence_default), {
|
|
402
|
+
present: _ctx.forceMount || isSelected.value,
|
|
403
|
+
"force-mount": ""
|
|
404
|
+
}, {
|
|
405
|
+
default: withCtx(({ present }) => [createVNode(unref(Primitive), {
|
|
406
|
+
id: contentId.value,
|
|
407
|
+
ref: unref(forwardRef),
|
|
408
|
+
"as-child": _ctx.asChild,
|
|
409
|
+
as: _ctx.as,
|
|
410
|
+
role: "tabpanel",
|
|
411
|
+
"data-state": isSelected.value ? "active" : "inactive",
|
|
412
|
+
"data-orientation": unref(rootContext).orientation.value,
|
|
413
|
+
"aria-labelledby": triggerId.value,
|
|
414
|
+
hidden: !present,
|
|
415
|
+
tabindex: "0",
|
|
416
|
+
style: normalizeStyle({ animationDuration: isMountAnimationPreventedRef.value ? "0s" : void 0 })
|
|
417
|
+
}, {
|
|
418
|
+
default: withCtx(() => [(unref(rootContext).unmountOnHide.value ? present : true) ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("v-if", true)]),
|
|
419
|
+
_: 2
|
|
420
|
+
}, 1032, [
|
|
421
|
+
"id",
|
|
422
|
+
"as-child",
|
|
423
|
+
"as",
|
|
424
|
+
"data-state",
|
|
425
|
+
"data-orientation",
|
|
426
|
+
"aria-labelledby",
|
|
427
|
+
"hidden",
|
|
428
|
+
"style"
|
|
429
|
+
])]),
|
|
430
|
+
_: 3
|
|
431
|
+
}, 8, ["present"]);
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
//#endregion
|
|
436
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsIndicator.js
|
|
437
|
+
var TabsIndicator_default = /* @__PURE__ */ defineComponent({
|
|
438
|
+
__name: "TabsIndicator",
|
|
439
|
+
props: {
|
|
440
|
+
asChild: {
|
|
441
|
+
type: Boolean,
|
|
442
|
+
required: false
|
|
443
|
+
},
|
|
444
|
+
as: {
|
|
445
|
+
type: null,
|
|
446
|
+
required: false
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
setup(__props, { expose: __expose }) {
|
|
450
|
+
const props = __props;
|
|
451
|
+
const context = injectTabsRootContext();
|
|
452
|
+
__expose({ updateIndicatorStyle });
|
|
453
|
+
useForwardExpose();
|
|
454
|
+
const isMounted = useMounted();
|
|
455
|
+
const indicatorStyle = ref({
|
|
456
|
+
size: null,
|
|
457
|
+
thickness: null,
|
|
458
|
+
position: null
|
|
459
|
+
});
|
|
460
|
+
const tabs = ref([]);
|
|
461
|
+
watch(() => [context.modelValue.value, context?.dir.value], () => {
|
|
462
|
+
updateIndicatorStyle();
|
|
463
|
+
}, {
|
|
464
|
+
immediate: true,
|
|
465
|
+
flush: "post"
|
|
466
|
+
});
|
|
467
|
+
watchPostEffect(() => {
|
|
468
|
+
tabs.value = Array.from(context.tabsList.value?.querySelectorAll("[role=\"tab\"]") || []);
|
|
469
|
+
});
|
|
470
|
+
useResizeObserver(computed(() => [context.tabsList.value, ...tabs.value]), updateIndicatorStyle);
|
|
471
|
+
function updateIndicatorStyle() {
|
|
472
|
+
const activeTab = context.tabsList.value?.querySelector("[role=\"tab\"][data-state=\"active\"]");
|
|
473
|
+
if (!activeTab) return;
|
|
474
|
+
if (context.orientation.value === "horizontal") indicatorStyle.value = {
|
|
475
|
+
size: activeTab.offsetWidth,
|
|
476
|
+
thickness: activeTab.offsetHeight,
|
|
477
|
+
position: activeTab.offsetLeft
|
|
478
|
+
};
|
|
479
|
+
else indicatorStyle.value = {
|
|
480
|
+
size: activeTab.offsetHeight,
|
|
481
|
+
thickness: activeTab.offsetWidth,
|
|
482
|
+
position: activeTab.offsetTop
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
return (_ctx, _cache) => {
|
|
486
|
+
return unref(isMounted) && typeof indicatorStyle.value.size === "number" ? (openBlock(), createBlock(unref(Primitive), mergeProps({ key: 0 }, props, { style: {
|
|
487
|
+
"--reka-tabs-indicator-size": `${indicatorStyle.value.size}px`,
|
|
488
|
+
"--reka-tabs-indicator-thickness": `${indicatorStyle.value.thickness}px`,
|
|
489
|
+
"--reka-tabs-indicator-position": `${indicatorStyle.value.position}px`
|
|
490
|
+
} }), {
|
|
491
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
492
|
+
_: 3
|
|
493
|
+
}, 16, ["style"])) : createCommentVNode("v-if", true);
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
//#endregion
|
|
498
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsList.js
|
|
499
|
+
var TabsList_default = /* @__PURE__ */ defineComponent({
|
|
500
|
+
__name: "TabsList",
|
|
501
|
+
props: {
|
|
502
|
+
loop: {
|
|
503
|
+
type: Boolean,
|
|
504
|
+
required: false,
|
|
505
|
+
default: true
|
|
506
|
+
},
|
|
507
|
+
asChild: {
|
|
508
|
+
type: Boolean,
|
|
509
|
+
required: false
|
|
510
|
+
},
|
|
511
|
+
as: {
|
|
512
|
+
type: null,
|
|
513
|
+
required: false
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
setup(__props) {
|
|
517
|
+
const { loop } = toRefs(__props);
|
|
518
|
+
const { forwardRef, currentElement } = useForwardExpose();
|
|
519
|
+
const context = injectTabsRootContext();
|
|
520
|
+
context.tabsList = currentElement;
|
|
521
|
+
return (_ctx, _cache) => {
|
|
522
|
+
return openBlock(), createBlock(unref(RovingFocusGroup_default), {
|
|
523
|
+
"as-child": "",
|
|
524
|
+
orientation: unref(context).orientation.value,
|
|
525
|
+
dir: unref(context).dir.value,
|
|
526
|
+
loop: unref(loop)
|
|
527
|
+
}, {
|
|
528
|
+
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
529
|
+
ref: unref(forwardRef),
|
|
530
|
+
role: "tablist",
|
|
531
|
+
"as-child": _ctx.asChild,
|
|
532
|
+
as: _ctx.as,
|
|
533
|
+
"aria-orientation": unref(context).orientation.value
|
|
534
|
+
}, {
|
|
535
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
536
|
+
_: 3
|
|
537
|
+
}, 8, [
|
|
538
|
+
"as-child",
|
|
539
|
+
"as",
|
|
540
|
+
"aria-orientation"
|
|
541
|
+
])]),
|
|
542
|
+
_: 3
|
|
543
|
+
}, 8, [
|
|
544
|
+
"orientation",
|
|
545
|
+
"dir",
|
|
546
|
+
"loop"
|
|
547
|
+
]);
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
});
|
|
551
|
+
//#endregion
|
|
552
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsTrigger.js
|
|
553
|
+
var TabsTrigger_default = /* @__PURE__ */ defineComponent({
|
|
554
|
+
__name: "TabsTrigger",
|
|
555
|
+
props: {
|
|
556
|
+
value: {
|
|
557
|
+
type: [String, Number],
|
|
558
|
+
required: true
|
|
559
|
+
},
|
|
560
|
+
disabled: {
|
|
561
|
+
type: Boolean,
|
|
562
|
+
required: false,
|
|
563
|
+
default: false
|
|
564
|
+
},
|
|
565
|
+
asChild: {
|
|
566
|
+
type: Boolean,
|
|
567
|
+
required: false
|
|
568
|
+
},
|
|
569
|
+
as: {
|
|
570
|
+
type: null,
|
|
571
|
+
required: false,
|
|
572
|
+
default: "button"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
setup(__props) {
|
|
576
|
+
const props = __props;
|
|
577
|
+
const { forwardRef } = useForwardExpose();
|
|
578
|
+
const rootContext = injectTabsRootContext();
|
|
579
|
+
const triggerId = computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
580
|
+
const contentId = computed(() => rootContext.contentIds.value.has(props.value) ? makeContentId(rootContext.baseId, props.value) : void 0);
|
|
581
|
+
const isSelected = computed(() => props.value === rootContext.modelValue.value);
|
|
582
|
+
return (_ctx, _cache) => {
|
|
583
|
+
return openBlock(), createBlock(unref(RovingFocusItem_default), {
|
|
584
|
+
"as-child": "",
|
|
585
|
+
focusable: !_ctx.disabled,
|
|
586
|
+
active: isSelected.value
|
|
587
|
+
}, {
|
|
588
|
+
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
589
|
+
id: triggerId.value,
|
|
590
|
+
ref: unref(forwardRef),
|
|
591
|
+
role: "tab",
|
|
592
|
+
type: _ctx.as === "button" ? "button" : void 0,
|
|
593
|
+
as: _ctx.as,
|
|
594
|
+
"as-child": _ctx.asChild,
|
|
595
|
+
"aria-selected": isSelected.value ? "true" : "false",
|
|
596
|
+
"aria-controls": contentId.value,
|
|
597
|
+
"data-state": isSelected.value ? "active" : "inactive",
|
|
598
|
+
disabled: _ctx.disabled,
|
|
599
|
+
"data-disabled": _ctx.disabled ? "" : void 0,
|
|
600
|
+
"data-orientation": unref(rootContext).orientation.value,
|
|
601
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers((event) => {
|
|
602
|
+
if (!_ctx.disabled && event.ctrlKey === false) unref(rootContext).changeModelValue(_ctx.value);
|
|
603
|
+
else event.preventDefault();
|
|
604
|
+
}, ["left"])),
|
|
605
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => unref(rootContext).changeModelValue(_ctx.value), ["enter", "space"])),
|
|
606
|
+
onFocus: _cache[2] || (_cache[2] = () => {
|
|
607
|
+
const isAutomaticActivation = unref(rootContext).activationMode !== "manual";
|
|
608
|
+
if (!isSelected.value && !_ctx.disabled && isAutomaticActivation) unref(rootContext).changeModelValue(_ctx.value);
|
|
609
|
+
})
|
|
610
|
+
}, {
|
|
611
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
612
|
+
_: 3
|
|
613
|
+
}, 8, [
|
|
614
|
+
"id",
|
|
615
|
+
"type",
|
|
616
|
+
"as",
|
|
617
|
+
"as-child",
|
|
618
|
+
"aria-selected",
|
|
619
|
+
"aria-controls",
|
|
620
|
+
"data-state",
|
|
621
|
+
"disabled",
|
|
622
|
+
"data-disabled",
|
|
623
|
+
"data-orientation"
|
|
624
|
+
])]),
|
|
625
|
+
_: 3
|
|
626
|
+
}, 8, ["focusable", "active"]);
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
});
|
|
630
|
+
//#endregion
|
|
631
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-panel.ts
|
|
632
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_panel_default = {
|
|
633
|
+
"slots": {
|
|
634
|
+
"root": "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-e lg:not-last:border-default shrink-0",
|
|
635
|
+
"body": "flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto p-4 sm:p-6",
|
|
636
|
+
"handle": ""
|
|
637
|
+
},
|
|
638
|
+
"variants": { "size": {
|
|
639
|
+
"true": { "root": "w-full lg:w-(--width)" },
|
|
640
|
+
"false": { "root": "flex-1" }
|
|
641
|
+
} }
|
|
642
|
+
};
|
|
643
|
+
//#endregion
|
|
644
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardPanel.vue
|
|
645
|
+
var _sfc_main$3 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
646
|
+
__name: "UDashboardPanel",
|
|
647
|
+
__ssrInlineRender: true,
|
|
648
|
+
props: {
|
|
649
|
+
class: {
|
|
650
|
+
type: null,
|
|
651
|
+
required: false
|
|
652
|
+
},
|
|
653
|
+
ui: {
|
|
654
|
+
type: Object,
|
|
655
|
+
required: false
|
|
656
|
+
},
|
|
657
|
+
id: {
|
|
658
|
+
type: String,
|
|
659
|
+
required: false
|
|
660
|
+
},
|
|
661
|
+
minSize: {
|
|
662
|
+
type: Number,
|
|
663
|
+
required: false,
|
|
664
|
+
default: 15
|
|
665
|
+
},
|
|
666
|
+
maxSize: {
|
|
667
|
+
type: Number,
|
|
668
|
+
required: false
|
|
669
|
+
},
|
|
670
|
+
defaultSize: {
|
|
671
|
+
type: Number,
|
|
672
|
+
required: false
|
|
673
|
+
},
|
|
674
|
+
resizable: {
|
|
675
|
+
type: Boolean,
|
|
676
|
+
required: false,
|
|
677
|
+
default: false
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
setup(__props) {
|
|
681
|
+
const props = useComponentProps("dashboardPanel", __props);
|
|
682
|
+
const appConfig = useAppConfig();
|
|
683
|
+
const dashboardContext = useDashboard({
|
|
684
|
+
storageKey: "dashboard",
|
|
685
|
+
unit: "%"
|
|
686
|
+
});
|
|
687
|
+
const id = `${dashboardContext.storageKey}-panel-${props.id || useId()}`;
|
|
688
|
+
const { el, size, isDragging, onMouseDown, onTouchStart, onDoubleClick } = useResizable(id, toRef(() => ({
|
|
689
|
+
...dashboardContext,
|
|
690
|
+
...props
|
|
691
|
+
})));
|
|
692
|
+
const ui = computed(() => tv({
|
|
693
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_panel_default,
|
|
694
|
+
...appConfig.ui?.dashboardPanel || {}
|
|
695
|
+
})({ size: !!size.value }));
|
|
696
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
697
|
+
_push(`<!--[--><div${ssrRenderAttrs(mergeProps({
|
|
698
|
+
id,
|
|
699
|
+
ref_key: "el",
|
|
700
|
+
ref: el,
|
|
701
|
+
"data-slot": "root"
|
|
702
|
+
}, _ctx.$attrs, {
|
|
703
|
+
"data-dragging": unref(isDragging),
|
|
704
|
+
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }),
|
|
705
|
+
style: [unref(size) ? { "--width": `${unref(size)}${unref(dashboardContext).unit}` } : void 0]
|
|
706
|
+
}))}>`);
|
|
707
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, () => {
|
|
708
|
+
ssrRenderSlot(_ctx.$slots, "header", {}, null, _push, _parent);
|
|
709
|
+
_push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}">`);
|
|
710
|
+
ssrRenderSlot(_ctx.$slots, "body", {}, null, _push, _parent);
|
|
711
|
+
_push(`</div>`);
|
|
712
|
+
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push, _parent);
|
|
713
|
+
}, _push, _parent);
|
|
714
|
+
_push(`</div>`);
|
|
715
|
+
ssrRenderSlot(_ctx.$slots, "resize-handle", {
|
|
716
|
+
onMouseDown: unref(onMouseDown),
|
|
717
|
+
onTouchStart: unref(onTouchStart),
|
|
718
|
+
onDoubleClick: unref(onDoubleClick)
|
|
719
|
+
}, () => {
|
|
720
|
+
if (unref(props).resizable) _push(ssrRenderComponent(_sfc_main$1$1, {
|
|
721
|
+
"aria-controls": id,
|
|
722
|
+
"data-slot": "handle",
|
|
723
|
+
class: ui.value.handle({ class: unref(props).ui?.handle }),
|
|
724
|
+
onMousedown: unref(onMouseDown),
|
|
725
|
+
onTouchstart: unref(onTouchStart),
|
|
726
|
+
onDblclick: unref(onDoubleClick)
|
|
727
|
+
}, null, _parent));
|
|
728
|
+
else _push(`<!---->`);
|
|
729
|
+
}, _push, _parent);
|
|
730
|
+
_push(`<!--]-->`);
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
var _sfc_setup$4 = _sfc_main$3.setup;
|
|
735
|
+
_sfc_main$3.setup = (props, ctx) => {
|
|
736
|
+
const ssrContext = useSSRContext();
|
|
737
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardPanel.vue");
|
|
738
|
+
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
|
739
|
+
};
|
|
740
|
+
//#endregion
|
|
741
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-navbar.ts
|
|
742
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_navbar_default = {
|
|
743
|
+
"slots": {
|
|
744
|
+
"root": "h-(--ui-header-height) shrink-0 flex items-center justify-between border-b border-default px-4 sm:px-6 gap-1.5",
|
|
745
|
+
"left": "flex items-center gap-1.5 min-w-0",
|
|
746
|
+
"icon": "shrink-0 size-5 self-center me-1.5",
|
|
747
|
+
"title": "flex items-center gap-1.5 font-semibold text-highlighted truncate",
|
|
748
|
+
"center": "hidden lg:flex",
|
|
749
|
+
"right": "flex items-center shrink-0 gap-1.5",
|
|
750
|
+
"toggle": ""
|
|
751
|
+
},
|
|
752
|
+
"variants": { "toggleSide": {
|
|
753
|
+
"left": { "toggle": "" },
|
|
754
|
+
"right": { "toggle": "" }
|
|
755
|
+
} }
|
|
756
|
+
};
|
|
757
|
+
//#endregion
|
|
758
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardNavbar.vue
|
|
759
|
+
var _sfc_main$2 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
760
|
+
__name: "UDashboardNavbar",
|
|
761
|
+
__ssrInlineRender: true,
|
|
762
|
+
props: {
|
|
763
|
+
as: {
|
|
764
|
+
type: null,
|
|
765
|
+
required: false
|
|
766
|
+
},
|
|
767
|
+
icon: {
|
|
768
|
+
type: null,
|
|
769
|
+
required: false
|
|
770
|
+
},
|
|
771
|
+
title: {
|
|
772
|
+
type: String,
|
|
773
|
+
required: false
|
|
774
|
+
},
|
|
775
|
+
toggle: {
|
|
776
|
+
type: [Boolean, Object],
|
|
777
|
+
required: false,
|
|
778
|
+
default: true
|
|
779
|
+
},
|
|
780
|
+
toggleSide: {
|
|
781
|
+
type: String,
|
|
782
|
+
required: false,
|
|
783
|
+
default: "left"
|
|
784
|
+
},
|
|
785
|
+
class: {
|
|
786
|
+
type: null,
|
|
787
|
+
required: false
|
|
788
|
+
},
|
|
789
|
+
ui: {
|
|
790
|
+
type: Object,
|
|
791
|
+
required: false
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
setup(__props) {
|
|
795
|
+
const _props = __props;
|
|
796
|
+
const slots = useSlots();
|
|
797
|
+
const props = useComponentProps("dashboardNavbar", _props);
|
|
798
|
+
const appConfig = useAppConfig();
|
|
799
|
+
const dashboardContext = useDashboard({});
|
|
800
|
+
const [DefineToggleTemplate, ReuseToggleTemplate] = createReusableTemplate();
|
|
801
|
+
const ui = computed(() => tv({
|
|
802
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_navbar_default,
|
|
803
|
+
...appConfig.ui?.dashboardNavbar || {}
|
|
804
|
+
})());
|
|
805
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
806
|
+
_push(`<!--[-->`);
|
|
807
|
+
_push(ssrRenderComponent(unref(DefineToggleTemplate), null, {
|
|
808
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
809
|
+
if (_push) ssrRenderSlot(_ctx.$slots, "toggle", {
|
|
810
|
+
...unref(dashboardContext),
|
|
811
|
+
ui: ui.value
|
|
812
|
+
}, () => {
|
|
813
|
+
if (unref(props).toggle) _push(ssrRenderComponent(_sfc_main$4, mergeProps(typeof unref(props).toggle === "object" ? unref(props).toggle : {}, {
|
|
814
|
+
side: unref(props).toggleSide,
|
|
815
|
+
"data-slot": "toggle",
|
|
816
|
+
class: ui.value.toggle({
|
|
817
|
+
class: unref(props).ui?.toggle,
|
|
818
|
+
toggleSide: unref(props).toggleSide
|
|
819
|
+
})
|
|
820
|
+
}), null, _parent, _scopeId));
|
|
821
|
+
else _push(`<!---->`);
|
|
822
|
+
}, _push, _parent, _scopeId);
|
|
823
|
+
else return [renderSlot(_ctx.$slots, "toggle", {
|
|
824
|
+
...unref(dashboardContext),
|
|
825
|
+
ui: ui.value
|
|
826
|
+
}, () => [unref(props).toggle ? (openBlock(), createBlock(_sfc_main$4, mergeProps({ key: 0 }, typeof unref(props).toggle === "object" ? unref(props).toggle : {}, {
|
|
827
|
+
side: unref(props).toggleSide,
|
|
828
|
+
"data-slot": "toggle",
|
|
829
|
+
class: ui.value.toggle({
|
|
830
|
+
class: unref(props).ui?.toggle,
|
|
831
|
+
toggleSide: unref(props).toggleSide
|
|
832
|
+
})
|
|
833
|
+
}), null, 16, ["side", "class"])) : createCommentVNode("", true)])];
|
|
834
|
+
}),
|
|
835
|
+
_: 3
|
|
836
|
+
}, _parent));
|
|
837
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
838
|
+
as: unref(props).as,
|
|
839
|
+
"data-slot": "root"
|
|
840
|
+
}, _ctx.$attrs, { class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }) }), {
|
|
841
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
842
|
+
if (_push) {
|
|
843
|
+
_push(`<div data-slot="left" class="${ssrRenderClass(ui.value.left({ class: unref(props).ui?.left }))}"${_scopeId}>`);
|
|
844
|
+
if (unref(props).toggleSide === "left") _push(ssrRenderComponent(unref(ReuseToggleTemplate), null, null, _parent, _scopeId));
|
|
845
|
+
else _push(`<!---->`);
|
|
846
|
+
ssrRenderSlot(_ctx.$slots, "left", unref(dashboardContext), () => {
|
|
847
|
+
ssrRenderSlot(_ctx.$slots, "leading", {
|
|
848
|
+
...unref(dashboardContext),
|
|
849
|
+
ui: ui.value
|
|
850
|
+
}, () => {
|
|
851
|
+
if (unref(props).icon) _push(ssrRenderComponent(_sfc_main$5, {
|
|
852
|
+
name: unref(props).icon,
|
|
853
|
+
"data-slot": "icon",
|
|
854
|
+
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
855
|
+
}, null, _parent, _scopeId));
|
|
856
|
+
else _push(`<!---->`);
|
|
857
|
+
}, _push, _parent, _scopeId);
|
|
858
|
+
_push(`<h1 data-slot="title" class="${ssrRenderClass(ui.value.title({ class: unref(props).ui?.title }))}"${_scopeId}>`);
|
|
859
|
+
ssrRenderSlot(_ctx.$slots, "title", {}, () => {
|
|
860
|
+
_push(`${ssrInterpolate(unref(props).title)}`);
|
|
861
|
+
}, _push, _parent, _scopeId);
|
|
862
|
+
_push(`</h1>`);
|
|
863
|
+
ssrRenderSlot(_ctx.$slots, "trailing", {
|
|
864
|
+
...unref(dashboardContext),
|
|
865
|
+
ui: ui.value
|
|
866
|
+
}, null, _push, _parent, _scopeId);
|
|
867
|
+
}, _push, _parent, _scopeId);
|
|
868
|
+
_push(`</div>`);
|
|
869
|
+
if (!!slots.default) {
|
|
870
|
+
_push(`<div data-slot="center" class="${ssrRenderClass(ui.value.center({ class: unref(props).ui?.center }))}"${_scopeId}>`);
|
|
871
|
+
ssrRenderSlot(_ctx.$slots, "default", unref(dashboardContext), null, _push, _parent, _scopeId);
|
|
872
|
+
_push(`</div>`);
|
|
873
|
+
} else _push(`<!---->`);
|
|
874
|
+
_push(`<div data-slot="right" class="${ssrRenderClass(ui.value.right({ class: unref(props).ui?.right }))}"${_scopeId}>`);
|
|
875
|
+
ssrRenderSlot(_ctx.$slots, "right", unref(dashboardContext), null, _push, _parent, _scopeId);
|
|
876
|
+
if (unref(props).toggleSide === "right") _push(ssrRenderComponent(unref(ReuseToggleTemplate), null, null, _parent, _scopeId));
|
|
877
|
+
else _push(`<!---->`);
|
|
878
|
+
_push(`</div>`);
|
|
879
|
+
} else return [
|
|
880
|
+
createVNode("div", {
|
|
881
|
+
"data-slot": "left",
|
|
882
|
+
class: ui.value.left({ class: unref(props).ui?.left })
|
|
883
|
+
}, [unref(props).toggleSide === "left" ? (openBlock(), createBlock(unref(ReuseToggleTemplate), { key: 0 })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "left", unref(dashboardContext), () => [
|
|
884
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
885
|
+
...unref(dashboardContext),
|
|
886
|
+
ui: ui.value
|
|
887
|
+
}, () => [unref(props).icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
888
|
+
key: 0,
|
|
889
|
+
name: unref(props).icon,
|
|
890
|
+
"data-slot": "icon",
|
|
891
|
+
class: ui.value.icon({ class: unref(props).ui?.icon })
|
|
892
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)]),
|
|
893
|
+
createVNode("h1", {
|
|
894
|
+
"data-slot": "title",
|
|
895
|
+
class: ui.value.title({ class: unref(props).ui?.title })
|
|
896
|
+
}, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])], 2),
|
|
897
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
898
|
+
...unref(dashboardContext),
|
|
899
|
+
ui: ui.value
|
|
900
|
+
})
|
|
901
|
+
])], 2),
|
|
902
|
+
!!slots.default ? (openBlock(), createBlock("div", {
|
|
903
|
+
key: 0,
|
|
904
|
+
"data-slot": "center",
|
|
905
|
+
class: ui.value.center({ class: unref(props).ui?.center })
|
|
906
|
+
}, [renderSlot(_ctx.$slots, "default", unref(dashboardContext))], 2)) : createCommentVNode("", true),
|
|
907
|
+
createVNode("div", {
|
|
908
|
+
"data-slot": "right",
|
|
909
|
+
class: ui.value.right({ class: unref(props).ui?.right })
|
|
910
|
+
}, [renderSlot(_ctx.$slots, "right", unref(dashboardContext)), unref(props).toggleSide === "right" ? (openBlock(), createBlock(unref(ReuseToggleTemplate), { key: 0 })) : createCommentVNode("", true)], 2)
|
|
911
|
+
];
|
|
912
|
+
}),
|
|
913
|
+
_: 3
|
|
914
|
+
}, _parent));
|
|
915
|
+
_push(`<!--]-->`);
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
var _sfc_setup$3 = _sfc_main$2.setup;
|
|
920
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
921
|
+
const ssrContext = useSSRContext();
|
|
922
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardNavbar.vue");
|
|
923
|
+
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
|
924
|
+
};
|
|
925
|
+
//#endregion
|
|
926
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fbadge.ts
|
|
927
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fbadge_default = {
|
|
928
|
+
"slots": {
|
|
929
|
+
"base": "font-medium inline-flex items-center",
|
|
930
|
+
"label": "truncate",
|
|
931
|
+
"leadingIcon": "shrink-0",
|
|
932
|
+
"leadingAvatar": "shrink-0",
|
|
933
|
+
"leadingAvatarSize": "",
|
|
934
|
+
"trailingIcon": "shrink-0"
|
|
935
|
+
},
|
|
936
|
+
"variants": {
|
|
937
|
+
"fieldGroup": {
|
|
938
|
+
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
939
|
+
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
940
|
+
},
|
|
941
|
+
"color": {
|
|
942
|
+
"primary": "",
|
|
943
|
+
"secondary": "",
|
|
944
|
+
"success": "",
|
|
945
|
+
"info": "",
|
|
946
|
+
"warning": "",
|
|
947
|
+
"error": "",
|
|
948
|
+
"neutral": ""
|
|
949
|
+
},
|
|
950
|
+
"variant": {
|
|
951
|
+
"solid": "",
|
|
952
|
+
"outline": "",
|
|
953
|
+
"soft": "",
|
|
954
|
+
"subtle": ""
|
|
955
|
+
},
|
|
956
|
+
"size": {
|
|
957
|
+
"xs": {
|
|
958
|
+
"base": "text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",
|
|
959
|
+
"leadingIcon": "size-3",
|
|
960
|
+
"leadingAvatarSize": "3xs",
|
|
961
|
+
"trailingIcon": "size-3"
|
|
962
|
+
},
|
|
963
|
+
"sm": {
|
|
964
|
+
"base": "text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",
|
|
965
|
+
"leadingIcon": "size-3",
|
|
966
|
+
"leadingAvatarSize": "3xs",
|
|
967
|
+
"trailingIcon": "size-3"
|
|
968
|
+
},
|
|
969
|
+
"md": {
|
|
970
|
+
"base": "text-xs px-2 py-1 gap-1 rounded-md",
|
|
971
|
+
"leadingIcon": "size-4",
|
|
972
|
+
"leadingAvatarSize": "3xs",
|
|
973
|
+
"trailingIcon": "size-4"
|
|
974
|
+
},
|
|
975
|
+
"lg": {
|
|
976
|
+
"base": "text-sm px-2 py-1 gap-1.5 rounded-md",
|
|
977
|
+
"leadingIcon": "size-5",
|
|
978
|
+
"leadingAvatarSize": "2xs",
|
|
979
|
+
"trailingIcon": "size-5"
|
|
980
|
+
},
|
|
981
|
+
"xl": {
|
|
982
|
+
"base": "text-base px-2.5 py-1 gap-1.5 rounded-md",
|
|
983
|
+
"leadingIcon": "size-6",
|
|
984
|
+
"leadingAvatarSize": "2xs",
|
|
985
|
+
"trailingIcon": "size-6"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"square": { "true": "" }
|
|
989
|
+
},
|
|
990
|
+
"compoundVariants": [
|
|
991
|
+
{
|
|
992
|
+
"color": "primary",
|
|
993
|
+
"variant": "solid",
|
|
994
|
+
"class": "bg-primary text-inverted"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"color": "secondary",
|
|
998
|
+
"variant": "solid",
|
|
999
|
+
"class": "bg-secondary text-inverted"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"color": "success",
|
|
1003
|
+
"variant": "solid",
|
|
1004
|
+
"class": "bg-success text-inverted"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"color": "info",
|
|
1008
|
+
"variant": "solid",
|
|
1009
|
+
"class": "bg-info text-inverted"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"color": "warning",
|
|
1013
|
+
"variant": "solid",
|
|
1014
|
+
"class": "bg-warning text-inverted"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"color": "error",
|
|
1018
|
+
"variant": "solid",
|
|
1019
|
+
"class": "bg-error text-inverted"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"color": "primary",
|
|
1023
|
+
"variant": "outline",
|
|
1024
|
+
"class": "text-primary ring ring-inset ring-primary/50"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"color": "secondary",
|
|
1028
|
+
"variant": "outline",
|
|
1029
|
+
"class": "text-secondary ring ring-inset ring-secondary/50"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"color": "success",
|
|
1033
|
+
"variant": "outline",
|
|
1034
|
+
"class": "text-success ring ring-inset ring-success/50"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"color": "info",
|
|
1038
|
+
"variant": "outline",
|
|
1039
|
+
"class": "text-info ring ring-inset ring-info/50"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"color": "warning",
|
|
1043
|
+
"variant": "outline",
|
|
1044
|
+
"class": "text-warning ring ring-inset ring-warning/50"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"color": "error",
|
|
1048
|
+
"variant": "outline",
|
|
1049
|
+
"class": "text-error ring ring-inset ring-error/50"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"color": "primary",
|
|
1053
|
+
"variant": "soft",
|
|
1054
|
+
"class": "bg-primary/10 text-primary"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"color": "secondary",
|
|
1058
|
+
"variant": "soft",
|
|
1059
|
+
"class": "bg-secondary/10 text-secondary"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"color": "success",
|
|
1063
|
+
"variant": "soft",
|
|
1064
|
+
"class": "bg-success/10 text-success"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"color": "info",
|
|
1068
|
+
"variant": "soft",
|
|
1069
|
+
"class": "bg-info/10 text-info"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"color": "warning",
|
|
1073
|
+
"variant": "soft",
|
|
1074
|
+
"class": "bg-warning/10 text-warning"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"color": "error",
|
|
1078
|
+
"variant": "soft",
|
|
1079
|
+
"class": "bg-error/10 text-error"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"color": "primary",
|
|
1083
|
+
"variant": "subtle",
|
|
1084
|
+
"class": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"color": "secondary",
|
|
1088
|
+
"variant": "subtle",
|
|
1089
|
+
"class": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"color": "success",
|
|
1093
|
+
"variant": "subtle",
|
|
1094
|
+
"class": "bg-success/10 text-success ring ring-inset ring-success/25"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"color": "info",
|
|
1098
|
+
"variant": "subtle",
|
|
1099
|
+
"class": "bg-info/10 text-info ring ring-inset ring-info/25"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"color": "warning",
|
|
1103
|
+
"variant": "subtle",
|
|
1104
|
+
"class": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"color": "error",
|
|
1108
|
+
"variant": "subtle",
|
|
1109
|
+
"class": "bg-error/10 text-error ring ring-inset ring-error/25"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"color": "neutral",
|
|
1113
|
+
"variant": "solid",
|
|
1114
|
+
"class": "text-inverted bg-inverted"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"color": "neutral",
|
|
1118
|
+
"variant": "outline",
|
|
1119
|
+
"class": "ring ring-inset ring-accented text-default bg-default"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"color": "neutral",
|
|
1123
|
+
"variant": "soft",
|
|
1124
|
+
"class": "text-default bg-elevated"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"color": "neutral",
|
|
1128
|
+
"variant": "subtle",
|
|
1129
|
+
"class": "ring ring-inset ring-accented text-default bg-elevated"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"size": "xs",
|
|
1133
|
+
"square": true,
|
|
1134
|
+
"class": "p-0.5"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"size": "sm",
|
|
1138
|
+
"square": true,
|
|
1139
|
+
"class": "p-1"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"size": "md",
|
|
1143
|
+
"square": true,
|
|
1144
|
+
"class": "p-1"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"size": "lg",
|
|
1148
|
+
"square": true,
|
|
1149
|
+
"class": "p-1"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"size": "xl",
|
|
1153
|
+
"square": true,
|
|
1154
|
+
"class": "p-1"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"defaultVariants": {
|
|
1158
|
+
"color": "primary",
|
|
1159
|
+
"variant": "solid",
|
|
1160
|
+
"size": "md"
|
|
1161
|
+
}
|
|
1162
|
+
};
|
|
1163
|
+
//#endregion
|
|
1164
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Badge.vue
|
|
1165
|
+
var _sfc_main$1 = {
|
|
1166
|
+
__name: "UBadge",
|
|
1167
|
+
__ssrInlineRender: true,
|
|
1168
|
+
props: {
|
|
1169
|
+
as: {
|
|
1170
|
+
type: null,
|
|
1171
|
+
required: false,
|
|
1172
|
+
default: "span"
|
|
1173
|
+
},
|
|
1174
|
+
label: {
|
|
1175
|
+
type: [String, Number],
|
|
1176
|
+
required: false
|
|
1177
|
+
},
|
|
1178
|
+
color: {
|
|
1179
|
+
type: null,
|
|
1180
|
+
required: false
|
|
1181
|
+
},
|
|
1182
|
+
variant: {
|
|
1183
|
+
type: null,
|
|
1184
|
+
required: false
|
|
1185
|
+
},
|
|
1186
|
+
size: {
|
|
1187
|
+
type: null,
|
|
1188
|
+
required: false
|
|
1189
|
+
},
|
|
1190
|
+
square: {
|
|
1191
|
+
type: Boolean,
|
|
1192
|
+
required: false
|
|
1193
|
+
},
|
|
1194
|
+
class: {
|
|
1195
|
+
type: null,
|
|
1196
|
+
required: false
|
|
1197
|
+
},
|
|
1198
|
+
ui: {
|
|
1199
|
+
type: Object,
|
|
1200
|
+
required: false
|
|
1201
|
+
},
|
|
1202
|
+
icon: {
|
|
1203
|
+
type: null,
|
|
1204
|
+
required: false
|
|
1205
|
+
},
|
|
1206
|
+
avatar: {
|
|
1207
|
+
type: Object,
|
|
1208
|
+
required: false
|
|
1209
|
+
},
|
|
1210
|
+
leading: {
|
|
1211
|
+
type: Boolean,
|
|
1212
|
+
required: false
|
|
1213
|
+
},
|
|
1214
|
+
leadingIcon: {
|
|
1215
|
+
type: null,
|
|
1216
|
+
required: false
|
|
1217
|
+
},
|
|
1218
|
+
trailing: {
|
|
1219
|
+
type: Boolean,
|
|
1220
|
+
required: false
|
|
1221
|
+
},
|
|
1222
|
+
trailingIcon: {
|
|
1223
|
+
type: null,
|
|
1224
|
+
required: false
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
setup(__props) {
|
|
1228
|
+
const _props = __props;
|
|
1229
|
+
const slots = useSlots();
|
|
1230
|
+
const props = useComponentProps("badge", _props);
|
|
1231
|
+
const appConfig = useAppConfig();
|
|
1232
|
+
const { orientation, size: fieldGroupSize } = useFieldGroup(_props);
|
|
1233
|
+
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(props);
|
|
1234
|
+
const ui = computed(() => tv({
|
|
1235
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fbadge_default,
|
|
1236
|
+
...appConfig.ui?.badge || {}
|
|
1237
|
+
})({
|
|
1238
|
+
color: props.color,
|
|
1239
|
+
variant: props.variant,
|
|
1240
|
+
size: fieldGroupSize.value ?? props.size,
|
|
1241
|
+
square: props.square || !slots.default && !props.label,
|
|
1242
|
+
fieldGroup: orientation.value
|
|
1243
|
+
}));
|
|
1244
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1245
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
1246
|
+
as: unref(props).as,
|
|
1247
|
+
"data-slot": "base",
|
|
1248
|
+
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] })
|
|
1249
|
+
}, _attrs), {
|
|
1250
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1251
|
+
if (_push) {
|
|
1252
|
+
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
1253
|
+
if (unref(isLeading) && unref(leadingIconName)) _push(ssrRenderComponent(_sfc_main$5, {
|
|
1254
|
+
name: unref(leadingIconName),
|
|
1255
|
+
"data-slot": "leadingIcon",
|
|
1256
|
+
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
1257
|
+
}, null, _parent, _scopeId));
|
|
1258
|
+
else if (!!unref(props).avatar) _push(ssrRenderComponent(_sfc_main$3$1, mergeProps({ size: unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize() }, unref(props).avatar, {
|
|
1259
|
+
"data-slot": "leadingAvatar",
|
|
1260
|
+
class: ui.value.leadingAvatar({ class: unref(props).ui?.leadingAvatar })
|
|
1261
|
+
}), null, _parent, _scopeId));
|
|
1262
|
+
else _push(`<!---->`);
|
|
1263
|
+
}, _push, _parent, _scopeId);
|
|
1264
|
+
ssrRenderSlot(_ctx.$slots, "default", { ui: ui.value }, () => {
|
|
1265
|
+
if (unref(props).label !== void 0 && unref(props).label !== null) _push(`<span data-slot="label" class="${ssrRenderClass(ui.value.label({ class: unref(props).ui?.label }))}"${_scopeId}>${ssrInterpolate(unref(props).label)}</span>`);
|
|
1266
|
+
else _push(`<!---->`);
|
|
1267
|
+
}, _push, _parent, _scopeId);
|
|
1268
|
+
ssrRenderSlot(_ctx.$slots, "trailing", { ui: ui.value }, () => {
|
|
1269
|
+
if (unref(isTrailing) && unref(trailingIconName)) _push(ssrRenderComponent(_sfc_main$5, {
|
|
1270
|
+
name: unref(trailingIconName),
|
|
1271
|
+
"data-slot": "trailingIcon",
|
|
1272
|
+
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
1273
|
+
}, null, _parent, _scopeId));
|
|
1274
|
+
else _push(`<!---->`);
|
|
1275
|
+
}, _push, _parent, _scopeId);
|
|
1276
|
+
} else return [
|
|
1277
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1278
|
+
key: 0,
|
|
1279
|
+
name: unref(leadingIconName),
|
|
1280
|
+
"data-slot": "leadingIcon",
|
|
1281
|
+
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
1282
|
+
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
1283
|
+
key: 1,
|
|
1284
|
+
size: unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1285
|
+
}, unref(props).avatar, {
|
|
1286
|
+
"data-slot": "leadingAvatar",
|
|
1287
|
+
class: ui.value.leadingAvatar({ class: unref(props).ui?.leadingAvatar })
|
|
1288
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1289
|
+
renderSlot(_ctx.$slots, "default", { ui: ui.value }, () => [unref(props).label !== void 0 && unref(props).label !== null ? (openBlock(), createBlock("span", {
|
|
1290
|
+
key: 0,
|
|
1291
|
+
"data-slot": "label",
|
|
1292
|
+
class: ui.value.label({ class: unref(props).ui?.label })
|
|
1293
|
+
}, toDisplayString(unref(props).label), 3)) : createCommentVNode("", true)]),
|
|
1294
|
+
renderSlot(_ctx.$slots, "trailing", { ui: ui.value }, () => [unref(isTrailing) && unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1295
|
+
key: 0,
|
|
1296
|
+
name: unref(trailingIconName),
|
|
1297
|
+
"data-slot": "trailingIcon",
|
|
1298
|
+
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
1299
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])
|
|
1300
|
+
];
|
|
1301
|
+
}),
|
|
1302
|
+
_: 3
|
|
1303
|
+
}, _parent));
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
};
|
|
1307
|
+
var _sfc_setup$2 = _sfc_main$1.setup;
|
|
1308
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
1309
|
+
const ssrContext = useSSRContext();
|
|
1310
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Badge.vue");
|
|
1311
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
1312
|
+
};
|
|
1313
|
+
//#endregion
|
|
1314
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ftabs.ts
|
|
1315
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default = {
|
|
1316
|
+
"slots": {
|
|
1317
|
+
"root": "flex items-center gap-2",
|
|
1318
|
+
"list": "relative flex p-1 group",
|
|
1319
|
+
"indicator": "absolute transition-[translate,width] duration-200",
|
|
1320
|
+
"trigger": ["group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75", "transition-colors"],
|
|
1321
|
+
"leadingIcon": "shrink-0",
|
|
1322
|
+
"leadingAvatar": "shrink-0",
|
|
1323
|
+
"leadingAvatarSize": "",
|
|
1324
|
+
"label": "truncate",
|
|
1325
|
+
"trailingBadge": "shrink-0",
|
|
1326
|
+
"trailingBadgeSize": "sm",
|
|
1327
|
+
"content": "w-full rounded-md focus-visible:outline-3"
|
|
1328
|
+
},
|
|
1329
|
+
"variants": {
|
|
1330
|
+
"color": {
|
|
1331
|
+
"primary": { "content": "outline-primary/25" },
|
|
1332
|
+
"secondary": { "content": "outline-secondary/25" },
|
|
1333
|
+
"success": { "content": "outline-success/25" },
|
|
1334
|
+
"info": { "content": "outline-info/25" },
|
|
1335
|
+
"warning": { "content": "outline-warning/25" },
|
|
1336
|
+
"error": { "content": "outline-error/25" },
|
|
1337
|
+
"neutral": { "content": "outline-inverted/25" }
|
|
1338
|
+
},
|
|
1339
|
+
"variant": {
|
|
1340
|
+
"pill": {
|
|
1341
|
+
"list": "bg-elevated rounded-lg",
|
|
1342
|
+
"trigger": ["grow", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:inset-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:rounded-md in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:shadow-xs in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:-z-10 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:isolate"],
|
|
1343
|
+
"indicator": "rounded-md shadow-xs"
|
|
1344
|
+
},
|
|
1345
|
+
"link": {
|
|
1346
|
+
"list": "border-default",
|
|
1347
|
+
"indicator": "rounded-full",
|
|
1348
|
+
"trigger": "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:rounded-full"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"orientation": {
|
|
1352
|
+
"horizontal": {
|
|
1353
|
+
"root": "flex-col",
|
|
1354
|
+
"list": "w-full",
|
|
1355
|
+
"indicator": "left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",
|
|
1356
|
+
"trigger": "justify-center"
|
|
1357
|
+
},
|
|
1358
|
+
"vertical": {
|
|
1359
|
+
"list": "flex-col",
|
|
1360
|
+
"indicator": "top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
"size": {
|
|
1364
|
+
"xs": {
|
|
1365
|
+
"trigger": "px-2 py-1 text-xs gap-1",
|
|
1366
|
+
"leadingIcon": "size-4",
|
|
1367
|
+
"leadingAvatarSize": "3xs"
|
|
1368
|
+
},
|
|
1369
|
+
"sm": {
|
|
1370
|
+
"trigger": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
1371
|
+
"leadingIcon": "size-4",
|
|
1372
|
+
"leadingAvatarSize": "3xs"
|
|
1373
|
+
},
|
|
1374
|
+
"md": {
|
|
1375
|
+
"trigger": "px-3 py-1.5 text-sm gap-1.5",
|
|
1376
|
+
"leadingIcon": "size-5",
|
|
1377
|
+
"leadingAvatarSize": "2xs"
|
|
1378
|
+
},
|
|
1379
|
+
"lg": {
|
|
1380
|
+
"trigger": "px-3 py-2 text-sm gap-2",
|
|
1381
|
+
"leadingIcon": "size-5",
|
|
1382
|
+
"leadingAvatarSize": "2xs"
|
|
1383
|
+
},
|
|
1384
|
+
"xl": {
|
|
1385
|
+
"trigger": "px-3 py-2 text-base gap-2",
|
|
1386
|
+
"leadingIcon": "size-6",
|
|
1387
|
+
"leadingAvatarSize": "xs"
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
"compoundVariants": [
|
|
1392
|
+
{
|
|
1393
|
+
"orientation": "horizontal",
|
|
1394
|
+
"variant": "pill",
|
|
1395
|
+
"class": { "indicator": "inset-y-1" }
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"orientation": "horizontal",
|
|
1399
|
+
"variant": "link",
|
|
1400
|
+
"class": {
|
|
1401
|
+
"list": "border-b -mb-px",
|
|
1402
|
+
"indicator": "-bottom-px h-px",
|
|
1403
|
+
"trigger": "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-x-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-bottom-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:h-px"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"orientation": "vertical",
|
|
1408
|
+
"variant": "pill",
|
|
1409
|
+
"class": {
|
|
1410
|
+
"indicator": "inset-x-1",
|
|
1411
|
+
"list": "items-center",
|
|
1412
|
+
"trigger": "w-full justify-center"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"orientation": "vertical",
|
|
1417
|
+
"variant": "link",
|
|
1418
|
+
"class": {
|
|
1419
|
+
"list": "border-s -ms-px",
|
|
1420
|
+
"indicator": "-start-px w-px",
|
|
1421
|
+
"trigger": "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-y-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-start-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:w-px"
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"color": "primary",
|
|
1426
|
+
"variant": "pill",
|
|
1427
|
+
"class": {
|
|
1428
|
+
"indicator": "bg-primary",
|
|
1429
|
+
"trigger": ["data-[state=active]:text-inverted outline-primary/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-primary"]
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"color": "secondary",
|
|
1434
|
+
"variant": "pill",
|
|
1435
|
+
"class": {
|
|
1436
|
+
"indicator": "bg-secondary",
|
|
1437
|
+
"trigger": ["data-[state=active]:text-inverted outline-secondary/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-secondary"]
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"color": "success",
|
|
1442
|
+
"variant": "pill",
|
|
1443
|
+
"class": {
|
|
1444
|
+
"indicator": "bg-success",
|
|
1445
|
+
"trigger": ["data-[state=active]:text-inverted outline-success/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-success"]
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"color": "info",
|
|
1450
|
+
"variant": "pill",
|
|
1451
|
+
"class": {
|
|
1452
|
+
"indicator": "bg-info",
|
|
1453
|
+
"trigger": ["data-[state=active]:text-inverted outline-info/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-info"]
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"color": "warning",
|
|
1458
|
+
"variant": "pill",
|
|
1459
|
+
"class": {
|
|
1460
|
+
"indicator": "bg-warning",
|
|
1461
|
+
"trigger": ["data-[state=active]:text-inverted outline-warning/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-warning"]
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"color": "error",
|
|
1466
|
+
"variant": "pill",
|
|
1467
|
+
"class": {
|
|
1468
|
+
"indicator": "bg-error",
|
|
1469
|
+
"trigger": ["data-[state=active]:text-inverted outline-error/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-error"]
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"color": "neutral",
|
|
1474
|
+
"variant": "pill",
|
|
1475
|
+
"class": {
|
|
1476
|
+
"indicator": "bg-inverted",
|
|
1477
|
+
"trigger": ["data-[state=active]:text-inverted outline-inverted/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-inverted"]
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"color": "primary",
|
|
1482
|
+
"variant": "link",
|
|
1483
|
+
"class": {
|
|
1484
|
+
"indicator": "bg-primary",
|
|
1485
|
+
"trigger": ["data-[state=active]:text-primary outline-primary/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-primary"]
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"color": "secondary",
|
|
1490
|
+
"variant": "link",
|
|
1491
|
+
"class": {
|
|
1492
|
+
"indicator": "bg-secondary",
|
|
1493
|
+
"trigger": ["data-[state=active]:text-secondary outline-secondary/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-secondary"]
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"color": "success",
|
|
1498
|
+
"variant": "link",
|
|
1499
|
+
"class": {
|
|
1500
|
+
"indicator": "bg-success",
|
|
1501
|
+
"trigger": ["data-[state=active]:text-success outline-success/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-success"]
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"color": "info",
|
|
1506
|
+
"variant": "link",
|
|
1507
|
+
"class": {
|
|
1508
|
+
"indicator": "bg-info",
|
|
1509
|
+
"trigger": ["data-[state=active]:text-info outline-info/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-info"]
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"color": "warning",
|
|
1514
|
+
"variant": "link",
|
|
1515
|
+
"class": {
|
|
1516
|
+
"indicator": "bg-warning",
|
|
1517
|
+
"trigger": ["data-[state=active]:text-warning outline-warning/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-warning"]
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"color": "error",
|
|
1522
|
+
"variant": "link",
|
|
1523
|
+
"class": {
|
|
1524
|
+
"indicator": "bg-error",
|
|
1525
|
+
"trigger": ["data-[state=active]:text-error outline-error/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-error"]
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"color": "neutral",
|
|
1530
|
+
"variant": "link",
|
|
1531
|
+
"class": {
|
|
1532
|
+
"indicator": "bg-inverted",
|
|
1533
|
+
"trigger": ["data-[state=active]:text-highlighted outline-inverted/25 focus-visible:outline-3", "in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-inverted"]
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
],
|
|
1537
|
+
"defaultVariants": {
|
|
1538
|
+
"color": "primary",
|
|
1539
|
+
"variant": "pill",
|
|
1540
|
+
"size": "md"
|
|
1541
|
+
}
|
|
1542
|
+
};
|
|
1543
|
+
//#endregion
|
|
1544
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue
|
|
1545
|
+
var _sfc_main = {
|
|
1546
|
+
__name: "UTabs",
|
|
1547
|
+
__ssrInlineRender: true,
|
|
1548
|
+
props: {
|
|
1549
|
+
as: {
|
|
1550
|
+
type: null,
|
|
1551
|
+
required: false
|
|
1552
|
+
},
|
|
1553
|
+
items: {
|
|
1554
|
+
type: Array,
|
|
1555
|
+
required: false
|
|
1556
|
+
},
|
|
1557
|
+
color: {
|
|
1558
|
+
type: null,
|
|
1559
|
+
required: false
|
|
1560
|
+
},
|
|
1561
|
+
variant: {
|
|
1562
|
+
type: null,
|
|
1563
|
+
required: false
|
|
1564
|
+
},
|
|
1565
|
+
size: {
|
|
1566
|
+
type: null,
|
|
1567
|
+
required: false
|
|
1568
|
+
},
|
|
1569
|
+
orientation: {
|
|
1570
|
+
type: null,
|
|
1571
|
+
required: false,
|
|
1572
|
+
default: "horizontal"
|
|
1573
|
+
},
|
|
1574
|
+
content: {
|
|
1575
|
+
type: Boolean,
|
|
1576
|
+
required: false,
|
|
1577
|
+
default: true
|
|
1578
|
+
},
|
|
1579
|
+
valueKey: {
|
|
1580
|
+
type: null,
|
|
1581
|
+
required: false,
|
|
1582
|
+
default: "value"
|
|
1583
|
+
},
|
|
1584
|
+
labelKey: {
|
|
1585
|
+
type: null,
|
|
1586
|
+
required: false,
|
|
1587
|
+
default: "label"
|
|
1588
|
+
},
|
|
1589
|
+
class: {
|
|
1590
|
+
type: null,
|
|
1591
|
+
required: false
|
|
1592
|
+
},
|
|
1593
|
+
ui: {
|
|
1594
|
+
type: Object,
|
|
1595
|
+
required: false
|
|
1596
|
+
},
|
|
1597
|
+
defaultValue: {
|
|
1598
|
+
type: [String, Number],
|
|
1599
|
+
required: false,
|
|
1600
|
+
default: "0"
|
|
1601
|
+
},
|
|
1602
|
+
modelValue: {
|
|
1603
|
+
type: [String, Number],
|
|
1604
|
+
required: false
|
|
1605
|
+
},
|
|
1606
|
+
activationMode: {
|
|
1607
|
+
type: String,
|
|
1608
|
+
required: false
|
|
1609
|
+
},
|
|
1610
|
+
unmountOnHide: {
|
|
1611
|
+
type: Boolean,
|
|
1612
|
+
required: false,
|
|
1613
|
+
default: true
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
emits: ["update:modelValue"],
|
|
1617
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1618
|
+
const _props = __props;
|
|
1619
|
+
const emits = __emit;
|
|
1620
|
+
const slots = useSlots();
|
|
1621
|
+
const props = useComponentProps("tabs", _props);
|
|
1622
|
+
const appConfig = useAppConfig();
|
|
1623
|
+
const rootProps = useForwardProps(reactivePick(props, "as", "unmountOnHide"), emits);
|
|
1624
|
+
const ui = computed(() => tv({
|
|
1625
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default,
|
|
1626
|
+
...appConfig.ui?.tabs || {}
|
|
1627
|
+
})({
|
|
1628
|
+
color: props.color,
|
|
1629
|
+
variant: props.variant,
|
|
1630
|
+
size: props.size,
|
|
1631
|
+
orientation: props.orientation
|
|
1632
|
+
}));
|
|
1633
|
+
const triggersRef = ref([]);
|
|
1634
|
+
function setTriggerRef(index, el) {
|
|
1635
|
+
triggersRef.value[index] = el;
|
|
1636
|
+
}
|
|
1637
|
+
__expose({ triggersRef });
|
|
1638
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1639
|
+
_push(ssrRenderComponent(unref(TabsRoot_default), mergeProps(unref(rootProps), {
|
|
1640
|
+
"model-value": unref(props).modelValue,
|
|
1641
|
+
"default-value": unref(props).defaultValue,
|
|
1642
|
+
orientation: unref(props).orientation,
|
|
1643
|
+
"activation-mode": unref(props).activationMode,
|
|
1644
|
+
"data-slot": "root",
|
|
1645
|
+
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] })
|
|
1646
|
+
}, _attrs), {
|
|
1647
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1648
|
+
if (_push) {
|
|
1649
|
+
_push(ssrRenderComponent(unref(TabsList_default), {
|
|
1650
|
+
"data-slot": "list",
|
|
1651
|
+
class: ui.value.list({ class: unref(props).ui?.list })
|
|
1652
|
+
}, {
|
|
1653
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1654
|
+
if (_push) {
|
|
1655
|
+
_push(ssrRenderComponent(unref(TabsIndicator_default), {
|
|
1656
|
+
"data-slot": "indicator",
|
|
1657
|
+
class: ui.value.indicator({ class: unref(props).ui?.indicator })
|
|
1658
|
+
}, null, _parent, _scopeId));
|
|
1659
|
+
ssrRenderSlot(_ctx.$slots, "list-leading", {}, null, _push, _parent, _scopeId);
|
|
1660
|
+
_push(`<!--[-->`);
|
|
1661
|
+
ssrRenderList(unref(props).items, (item, index) => {
|
|
1662
|
+
_push(ssrRenderComponent(unref(TabsTrigger_default), {
|
|
1663
|
+
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1664
|
+
ref_for: true,
|
|
1665
|
+
ref: (el) => setTriggerRef(index, el),
|
|
1666
|
+
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1667
|
+
disabled: item.disabled,
|
|
1668
|
+
"data-slot": "trigger",
|
|
1669
|
+
class: ui.value.trigger({ class: [unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1670
|
+
}, {
|
|
1671
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1672
|
+
if (_push) {
|
|
1673
|
+
ssrRenderSlot(_ctx.$slots, "leading", {
|
|
1674
|
+
item,
|
|
1675
|
+
index,
|
|
1676
|
+
ui: ui.value
|
|
1677
|
+
}, () => {
|
|
1678
|
+
if (item.icon) _push(ssrRenderComponent(_sfc_main$5, {
|
|
1679
|
+
name: item.icon,
|
|
1680
|
+
"data-slot": "leadingIcon",
|
|
1681
|
+
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1682
|
+
}, null, _parent, _scopeId));
|
|
1683
|
+
else if (item.avatar) _push(ssrRenderComponent(_sfc_main$3$1, mergeProps({ size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize() }, { ref_for: true }, item.avatar, {
|
|
1684
|
+
"data-slot": "leadingAvatar",
|
|
1685
|
+
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1686
|
+
}), null, _parent, _scopeId));
|
|
1687
|
+
else _push(`<!---->`);
|
|
1688
|
+
}, _push, _parent, _scopeId);
|
|
1689
|
+
if (unref(get)(item, unref(props).labelKey) || !!slots.default) {
|
|
1690
|
+
_push(`<span data-slot="label" class="${ssrRenderClass(ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] }))}"${_scopeId}>`);
|
|
1691
|
+
ssrRenderSlot(_ctx.$slots, "default", {
|
|
1692
|
+
item,
|
|
1693
|
+
index
|
|
1694
|
+
}, () => {
|
|
1695
|
+
_push(`${ssrInterpolate(unref(get)(item, unref(props).labelKey))}`);
|
|
1696
|
+
}, _push, _parent, _scopeId);
|
|
1697
|
+
_push(`</span>`);
|
|
1698
|
+
} else _push(`<!---->`);
|
|
1699
|
+
ssrRenderSlot(_ctx.$slots, "trailing", {
|
|
1700
|
+
item,
|
|
1701
|
+
index,
|
|
1702
|
+
ui: ui.value
|
|
1703
|
+
}, () => {
|
|
1704
|
+
if (item.badge || item.badge === 0) _push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
1705
|
+
color: "neutral",
|
|
1706
|
+
variant: "outline",
|
|
1707
|
+
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1708
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1709
|
+
"data-slot": "trailingBadge",
|
|
1710
|
+
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1711
|
+
}), null, _parent, _scopeId));
|
|
1712
|
+
else _push(`<!---->`);
|
|
1713
|
+
}, _push, _parent, _scopeId);
|
|
1714
|
+
} else return [
|
|
1715
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1716
|
+
item,
|
|
1717
|
+
index,
|
|
1718
|
+
ui: ui.value
|
|
1719
|
+
}, () => [item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1720
|
+
key: 0,
|
|
1721
|
+
name: item.icon,
|
|
1722
|
+
"data-slot": "leadingIcon",
|
|
1723
|
+
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1724
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
1725
|
+
key: 1,
|
|
1726
|
+
size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1727
|
+
}, { ref_for: true }, item.avatar, {
|
|
1728
|
+
"data-slot": "leadingAvatar",
|
|
1729
|
+
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1730
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1731
|
+
unref(get)(item, unref(props).labelKey) || !!slots.default ? (openBlock(), createBlock("span", {
|
|
1732
|
+
key: 0,
|
|
1733
|
+
"data-slot": "label",
|
|
1734
|
+
class: ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] })
|
|
1735
|
+
}, [renderSlot(_ctx.$slots, "default", {
|
|
1736
|
+
item,
|
|
1737
|
+
index
|
|
1738
|
+
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)])], 2)) : createCommentVNode("", true),
|
|
1739
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1740
|
+
item,
|
|
1741
|
+
index,
|
|
1742
|
+
ui: ui.value
|
|
1743
|
+
}, () => [item.badge || item.badge === 0 ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
1744
|
+
key: 0,
|
|
1745
|
+
color: "neutral",
|
|
1746
|
+
variant: "outline",
|
|
1747
|
+
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1748
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1749
|
+
"data-slot": "trailingBadge",
|
|
1750
|
+
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1751
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1752
|
+
];
|
|
1753
|
+
}),
|
|
1754
|
+
_: 2
|
|
1755
|
+
}, _parent, _scopeId));
|
|
1756
|
+
});
|
|
1757
|
+
_push(`<!--]-->`);
|
|
1758
|
+
ssrRenderSlot(_ctx.$slots, "list-trailing", {}, null, _push, _parent, _scopeId);
|
|
1759
|
+
} else return [
|
|
1760
|
+
createVNode(unref(TabsIndicator_default), {
|
|
1761
|
+
"data-slot": "indicator",
|
|
1762
|
+
class: ui.value.indicator({ class: unref(props).ui?.indicator })
|
|
1763
|
+
}, null, 8, ["class"]),
|
|
1764
|
+
renderSlot(_ctx.$slots, "list-leading"),
|
|
1765
|
+
(openBlock(true), createBlock(Fragment, null, renderList(unref(props).items, (item, index) => {
|
|
1766
|
+
return openBlock(), createBlock(unref(TabsTrigger_default), {
|
|
1767
|
+
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1768
|
+
ref_for: true,
|
|
1769
|
+
ref: (el) => setTriggerRef(index, el),
|
|
1770
|
+
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1771
|
+
disabled: item.disabled,
|
|
1772
|
+
"data-slot": "trigger",
|
|
1773
|
+
class: ui.value.trigger({ class: [unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1774
|
+
}, {
|
|
1775
|
+
default: withCtx(() => [
|
|
1776
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1777
|
+
item,
|
|
1778
|
+
index,
|
|
1779
|
+
ui: ui.value
|
|
1780
|
+
}, () => [item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1781
|
+
key: 0,
|
|
1782
|
+
name: item.icon,
|
|
1783
|
+
"data-slot": "leadingIcon",
|
|
1784
|
+
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1785
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
1786
|
+
key: 1,
|
|
1787
|
+
size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1788
|
+
}, { ref_for: true }, item.avatar, {
|
|
1789
|
+
"data-slot": "leadingAvatar",
|
|
1790
|
+
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1791
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1792
|
+
unref(get)(item, unref(props).labelKey) || !!slots.default ? (openBlock(), createBlock("span", {
|
|
1793
|
+
key: 0,
|
|
1794
|
+
"data-slot": "label",
|
|
1795
|
+
class: ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] })
|
|
1796
|
+
}, [renderSlot(_ctx.$slots, "default", {
|
|
1797
|
+
item,
|
|
1798
|
+
index
|
|
1799
|
+
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)])], 2)) : createCommentVNode("", true),
|
|
1800
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1801
|
+
item,
|
|
1802
|
+
index,
|
|
1803
|
+
ui: ui.value
|
|
1804
|
+
}, () => [item.badge || item.badge === 0 ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
1805
|
+
key: 0,
|
|
1806
|
+
color: "neutral",
|
|
1807
|
+
variant: "outline",
|
|
1808
|
+
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1809
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1810
|
+
"data-slot": "trailingBadge",
|
|
1811
|
+
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1812
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1813
|
+
]),
|
|
1814
|
+
_: 2
|
|
1815
|
+
}, 1032, [
|
|
1816
|
+
"value",
|
|
1817
|
+
"disabled",
|
|
1818
|
+
"class"
|
|
1819
|
+
]);
|
|
1820
|
+
}), 128)),
|
|
1821
|
+
renderSlot(_ctx.$slots, "list-trailing")
|
|
1822
|
+
];
|
|
1823
|
+
}),
|
|
1824
|
+
_: 3
|
|
1825
|
+
}, _parent, _scopeId));
|
|
1826
|
+
if (!!unref(props).content) {
|
|
1827
|
+
_push(`<!--[-->`);
|
|
1828
|
+
ssrRenderList(unref(props).items, (item, index) => {
|
|
1829
|
+
_push(ssrRenderComponent(unref(TabsContent_default), {
|
|
1830
|
+
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1831
|
+
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1832
|
+
"data-slot": "content",
|
|
1833
|
+
class: ui.value.content({ class: [
|
|
1834
|
+
unref(props).ui?.content,
|
|
1835
|
+
item.ui?.content,
|
|
1836
|
+
item.class
|
|
1837
|
+
] })
|
|
1838
|
+
}, {
|
|
1839
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1840
|
+
if (_push) ssrRenderSlot(_ctx.$slots, item.slot || "content", {
|
|
1841
|
+
item,
|
|
1842
|
+
index,
|
|
1843
|
+
ui: ui.value
|
|
1844
|
+
}, () => {
|
|
1845
|
+
_push(`${ssrInterpolate(item.content)}`);
|
|
1846
|
+
}, _push, _parent, _scopeId);
|
|
1847
|
+
else return [renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1848
|
+
item,
|
|
1849
|
+
index,
|
|
1850
|
+
ui: ui.value
|
|
1851
|
+
}, () => [createTextVNode(toDisplayString(item.content), 1)])];
|
|
1852
|
+
}),
|
|
1853
|
+
_: 2
|
|
1854
|
+
}, _parent, _scopeId));
|
|
1855
|
+
});
|
|
1856
|
+
_push(`<!--]-->`);
|
|
1857
|
+
} else _push(`<!---->`);
|
|
1858
|
+
} else return [createVNode(unref(TabsList_default), {
|
|
1859
|
+
"data-slot": "list",
|
|
1860
|
+
class: ui.value.list({ class: unref(props).ui?.list })
|
|
1861
|
+
}, {
|
|
1862
|
+
default: withCtx(() => [
|
|
1863
|
+
createVNode(unref(TabsIndicator_default), {
|
|
1864
|
+
"data-slot": "indicator",
|
|
1865
|
+
class: ui.value.indicator({ class: unref(props).ui?.indicator })
|
|
1866
|
+
}, null, 8, ["class"]),
|
|
1867
|
+
renderSlot(_ctx.$slots, "list-leading"),
|
|
1868
|
+
(openBlock(true), createBlock(Fragment, null, renderList(unref(props).items, (item, index) => {
|
|
1869
|
+
return openBlock(), createBlock(unref(TabsTrigger_default), {
|
|
1870
|
+
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1871
|
+
ref_for: true,
|
|
1872
|
+
ref: (el) => setTriggerRef(index, el),
|
|
1873
|
+
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1874
|
+
disabled: item.disabled,
|
|
1875
|
+
"data-slot": "trigger",
|
|
1876
|
+
class: ui.value.trigger({ class: [unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1877
|
+
}, {
|
|
1878
|
+
default: withCtx(() => [
|
|
1879
|
+
renderSlot(_ctx.$slots, "leading", {
|
|
1880
|
+
item,
|
|
1881
|
+
index,
|
|
1882
|
+
ui: ui.value
|
|
1883
|
+
}, () => [item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1884
|
+
key: 0,
|
|
1885
|
+
name: item.icon,
|
|
1886
|
+
"data-slot": "leadingIcon",
|
|
1887
|
+
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1888
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
1889
|
+
key: 1,
|
|
1890
|
+
size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1891
|
+
}, { ref_for: true }, item.avatar, {
|
|
1892
|
+
"data-slot": "leadingAvatar",
|
|
1893
|
+
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1894
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1895
|
+
unref(get)(item, unref(props).labelKey) || !!slots.default ? (openBlock(), createBlock("span", {
|
|
1896
|
+
key: 0,
|
|
1897
|
+
"data-slot": "label",
|
|
1898
|
+
class: ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] })
|
|
1899
|
+
}, [renderSlot(_ctx.$slots, "default", {
|
|
1900
|
+
item,
|
|
1901
|
+
index
|
|
1902
|
+
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)])], 2)) : createCommentVNode("", true),
|
|
1903
|
+
renderSlot(_ctx.$slots, "trailing", {
|
|
1904
|
+
item,
|
|
1905
|
+
index,
|
|
1906
|
+
ui: ui.value
|
|
1907
|
+
}, () => [item.badge || item.badge === 0 ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
1908
|
+
key: 0,
|
|
1909
|
+
color: "neutral",
|
|
1910
|
+
variant: "outline",
|
|
1911
|
+
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1912
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1913
|
+
"data-slot": "trailingBadge",
|
|
1914
|
+
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1915
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1916
|
+
]),
|
|
1917
|
+
_: 2
|
|
1918
|
+
}, 1032, [
|
|
1919
|
+
"value",
|
|
1920
|
+
"disabled",
|
|
1921
|
+
"class"
|
|
1922
|
+
]);
|
|
1923
|
+
}), 128)),
|
|
1924
|
+
renderSlot(_ctx.$slots, "list-trailing")
|
|
1925
|
+
]),
|
|
1926
|
+
_: 3
|
|
1927
|
+
}, 8, ["class"]), !!unref(props).content ? (openBlock(true), createBlock(Fragment, { key: 0 }, renderList(unref(props).items, (item, index) => {
|
|
1928
|
+
return openBlock(), createBlock(unref(TabsContent_default), {
|
|
1929
|
+
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1930
|
+
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1931
|
+
"data-slot": "content",
|
|
1932
|
+
class: ui.value.content({ class: [
|
|
1933
|
+
unref(props).ui?.content,
|
|
1934
|
+
item.ui?.content,
|
|
1935
|
+
item.class
|
|
1936
|
+
] })
|
|
1937
|
+
}, {
|
|
1938
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1939
|
+
item,
|
|
1940
|
+
index,
|
|
1941
|
+
ui: ui.value
|
|
1942
|
+
}, () => [createTextVNode(toDisplayString(item.content), 1)])]),
|
|
1943
|
+
_: 2
|
|
1944
|
+
}, 1032, ["value", "class"]);
|
|
1945
|
+
}), 128)) : createCommentVNode("", true)];
|
|
1946
|
+
}),
|
|
1947
|
+
_: 3
|
|
1948
|
+
}, _parent));
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
};
|
|
1952
|
+
var _sfc_setup$1 = _sfc_main.setup;
|
|
1953
|
+
_sfc_main.setup = (props, ctx) => {
|
|
1954
|
+
const ssrContext = useSSRContext();
|
|
1955
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue");
|
|
1956
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
1957
|
+
};
|
|
1958
|
+
//#endregion
|
|
1959
|
+
//#region app/components/MapBaseLayerTabs.vue?vue&type=script&setup=true&lang.ts
|
|
1960
|
+
var MapBaseLayerTabs_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
1961
|
+
__name: "MapBaseLayerTabs",
|
|
1962
|
+
__ssrInlineRender: true,
|
|
1963
|
+
props: /*@__PURE__*/ mergeModels({ items: {} }, {
|
|
1964
|
+
"modelValue": { required: true },
|
|
1965
|
+
"modelModifiers": {}
|
|
1966
|
+
}),
|
|
1967
|
+
emits: ["update:modelValue"],
|
|
1968
|
+
setup(__props) {
|
|
1969
|
+
const model = useModel(__props, "modelValue");
|
|
1970
|
+
const props = __props;
|
|
1971
|
+
const defaultItems = [{
|
|
1972
|
+
label: "天地图",
|
|
1973
|
+
value: "tianditu",
|
|
1974
|
+
icon: "i-lucide-map"
|
|
1975
|
+
}, {
|
|
1976
|
+
label: "OSM",
|
|
1977
|
+
value: "osm",
|
|
1978
|
+
icon: "i-lucide-earth"
|
|
1979
|
+
}];
|
|
1980
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1981
|
+
_push(ssrRenderComponent(_sfc_main, mergeProps({
|
|
1982
|
+
modelValue: model.value,
|
|
1983
|
+
"onUpdate:modelValue": ($event) => model.value = $event,
|
|
1984
|
+
items: props.items || defaultItems,
|
|
1985
|
+
content: false,
|
|
1986
|
+
size: "sm",
|
|
1987
|
+
class: "w-[12rem]"
|
|
1988
|
+
}, _attrs), null, _parent));
|
|
1989
|
+
};
|
|
1990
|
+
}
|
|
1991
|
+
});
|
|
1992
|
+
//#endregion
|
|
1993
|
+
//#region app/components/MapBaseLayerTabs.vue
|
|
1994
|
+
var _sfc_setup = MapBaseLayerTabs_vue_vue_type_script_setup_true_lang_default.setup;
|
|
1995
|
+
MapBaseLayerTabs_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
1996
|
+
const ssrContext = useSSRContext();
|
|
1997
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/MapBaseLayerTabs.vue");
|
|
1998
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1999
|
+
};
|
|
2000
|
+
var MapBaseLayerTabs_default = Object.assign(MapBaseLayerTabs_vue_vue_type_script_setup_true_lang_default, { __name: "MapBaseLayerTabs" });
|
|
2001
|
+
|
|
2002
|
+
export { MapBaseLayerTabs_default as M, _sfc_main$3 as _, _sfc_main as a, _sfc_main$2 as b, MAP_KEY_TO_FOCUS_INTENT as c, _sfc_main$1 as d, getFocusIntent as g };
|
|
2003
|
+
//# sourceMappingURL=MapBaseLayerTabs-4445J6yh.mjs.map
|