uomtiles 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/87P1vrJx2.js +1 -0
- package/.output/public/_nuxt/{BA52uD81.js → B30iI6NY.js} +1 -1
- package/.output/public/_nuxt/{CD84FXNW.js → B3Fqmbvs.js} +1 -1
- package/.output/public/_nuxt/BhdViME82.js +1 -0
- package/.output/public/_nuxt/{D-IOtyQX.js → BryCauXl.js} +1 -1
- package/.output/public/_nuxt/{CkfS_Wbu.js → BsG4RgIF.js} +1 -1
- package/.output/public/_nuxt/{zUWhKXtw2.js → BvI0Fk652.js} +1 -1
- package/.output/public/_nuxt/Bw9ZfIEz.js +1 -0
- package/.output/public/_nuxt/BxH0LSKl2.js +1 -0
- package/.output/public/_nuxt/{C5Y76DD6.js → C0tXXd_q.js} +1 -1
- package/.output/public/_nuxt/{CVwoxklV.js → C3P9RWxN.js} +1 -1
- package/.output/public/_nuxt/{D3Us7gX72.js → C9NpqQyG2.js} +1 -1
- package/.output/public/_nuxt/CJxz3JZZ2.js +2 -0
- package/.output/public/_nuxt/{JdUwgqKv.js → CNw483Zj.js} +1 -1
- package/.output/public/_nuxt/{Hbp_Okvs.js → CQoH790U.js} +2 -2
- package/.output/public/_nuxt/{D8GHPYwQ.js → CS7MV-ad.js} +4 -4
- package/.output/public/_nuxt/{DnVJUY7B.js → CVIKhDCB.js} +1 -1
- package/.output/public/_nuxt/{CeHZqNQ0.js → CVfH720g.js} +1 -1
- package/.output/public/_nuxt/{DLIy3f3M.js → CZ6SZO_d.js} +1 -1
- package/.output/public/_nuxt/{Bpc1HTfh.js → CanHJd1e.js} +1 -1
- package/.output/public/_nuxt/CeHFmSjl.js +1 -0
- package/.output/public/_nuxt/CeVhOOkF2.js +1 -0
- package/.output/public/_nuxt/Cigra9s92.js +1 -0
- package/.output/public/_nuxt/{Bh2Uv1S7.js → ClKxITwT.js} +1 -1
- package/.output/public/_nuxt/{sMWyPZfC2.js → CsaKOXaj2.js} +1 -1
- package/.output/public/_nuxt/{GqgcWtrL.js → CttzcMfv.js} +1 -1
- package/.output/public/_nuxt/Cw2siAf_2.js +1 -0
- package/.output/public/_nuxt/{DQ8r1OSk.js → DE6808Yp.js} +1 -1
- package/.output/public/_nuxt/{CUJ4QmLF.js → DUBSg_Y2.js} +1 -1
- package/.output/public/_nuxt/{CxkDmpVY.js → DWmS9_5P.js} +1 -1
- package/.output/public/_nuxt/DYM416m_.js +1 -0
- package/.output/public/_nuxt/{D_9SjQFe.js → D_SGIxNl.js} +1 -1
- package/.output/public/_nuxt/{BHSn2vP72.js → DbaWJJIa2.js} +1 -1
- package/.output/public/_nuxt/{C-b4mqsD.js → DjVe4luM.js} +1 -1
- package/.output/public/_nuxt/{CoPjdBwX.js → Dv7uv3N72.js} +1 -1
- package/.output/public/_nuxt/{CM9IbYJz.js → P5kgsppB.js} +1 -1
- package/.output/public/_nuxt/{KttxEAyP2.js → XR4gtbmm.js} +1 -1
- package/.output/public/_nuxt/_5p6z8Bm.js +2 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/98e45168-6e30-460e-aa28-fab54f032a83.json +1 -0
- package/.output/public/_nuxt/entry.DaxLd-bD.css +1 -0
- package/.output/public/_nuxt/flight-area-analysis.worker-CWQYRs9s.js +26 -0
- package/.output/public/_nuxt/hB2w6SMP2.js +64 -0
- package/.output/public/_nuxt/hePW80VL.js +1 -0
- package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
- package/.output/public/_nuxt/{nearest-area.worker-iSLH0Y_s.js → nearest-area.worker-BYHYA0SF.js} +1 -1
- package/.output/public/_nuxt/uomtiles-validation.worker-BTXhap7R.js +2 -0
- package/.output/server/chunks/_/antigravity-nfz.mjs +16 -3
- package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -1
- package/.output/server/chunks/_/coerce.mjs +8 -0
- package/.output/server/chunks/_/coerce.mjs.map +1 -0
- package/.output/server/chunks/_/config.mjs +1 -1
- package/.output/server/chunks/_/error-500.mjs +2 -2
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/file-workspace.mjs +57 -5
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -1
- package/.output/server/chunks/_/map-service.mjs +1 -1
- package/.output/server/chunks/_/pixel-diff.mjs +1 -1
- package/.output/server/{node_modules/consola/dist/chunks → chunks/_}/prompt.mjs +2 -2
- package/.output/server/chunks/_/prompt.mjs.map +1 -0
- package/.output/server/chunks/_/schemas.mjs +5005 -0
- package/.output/server/chunks/_/schemas.mjs.map +1 -0
- package/.output/server/{node_modules/@vue/shared/dist/shared.cjs.prod.js → chunks/_/shared.cjs.prod.mjs} +90 -76
- package/.output/server/chunks/_/shared.cjs.prod.mjs.map +1 -0
- package/.output/server/chunks/_/uom-auth.mjs +42 -5
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -1
- package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs → CompletedTaskSelect-nkBeLFh1.mjs} +768 -769
- package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs.map → CompletedTaskSelect-nkBeLFh1.mjs.map} +1 -1
- package/.output/server/chunks/build/Empty-Cq-rSwil.mjs +259 -0
- package/.output/server/chunks/build/Empty-Cq-rSwil.mjs.map +1 -0
- package/.output/server/chunks/build/{interval-i5OZnTaK.mjs → Form-6_bvrptP.mjs} +37 -43
- package/.output/server/chunks/build/Form-6_bvrptP.mjs.map +1 -0
- package/.output/server/chunks/build/FormField-DJWBDPj5.mjs +246 -0
- package/.output/server/chunks/build/FormField-DJWBDPj5.mjs.map +1 -0
- package/.output/server/chunks/build/{Input-DnAric-z.mjs → Input-BeUryJZ5.mjs} +67 -68
- package/.output/server/chunks/build/Input-BeUryJZ5.mjs.map +1 -0
- package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs → MapLayerControl-DPdRMmuw.mjs} +771 -772
- package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs.map → MapLayerControl-DPdRMmuw.mjs.map} +1 -1
- package/.output/server/chunks/build/Modal-BZfMeBGt.mjs +1319 -0
- package/.output/server/chunks/build/{Modal-BLhN9Eg2.mjs.map → Modal-BZfMeBGt.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-B-sCfHkC.mjs → OnlineMap-CYdaIiq1.mjs} +46 -23
- package/.output/server/chunks/build/OnlineMap-CYdaIiq1.mjs.map +1 -0
- package/.output/server/chunks/build/Pagination-5jGo7sr3.mjs +1024 -0
- package/.output/server/chunks/build/{Pagination-CUzoLc_-.mjs.map → Pagination-5jGo7sr3.mjs.map} +1 -1
- package/.output/server/chunks/build/{Tabs-cdLsZZoL.mjs → ScrollArea-1y_sQGDj.mjs} +951 -952
- package/.output/server/chunks/build/ScrollArea-1y_sQGDj.mjs.map +1 -0
- package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs → Skeleton-hv0ZqADP.mjs} +10 -11
- package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs.map → Skeleton-hv0ZqADP.mjs.map} +1 -1
- package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs → Slider-DMNQ5v0F.mjs} +150 -151
- package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs.map → Slider-DMNQ5v0F.mjs.map} +1 -1
- package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs → Tooltip-Da_m4qTB.mjs} +151 -152
- package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs.map → Tooltip-Da_m4qTB.mjs.map} +1 -1
- package/.output/server/chunks/build/advanced-CQaZH879.mjs +5011 -0
- package/.output/server/chunks/build/advanced-CQaZH879.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-DaE10Dhp.mjs → compare-CXhy8zkR.mjs} +297 -306
- package/.output/server/chunks/build/compare-CXhy8zkR.mjs.map +1 -0
- package/.output/server/chunks/build/{cookie-CziAmOf1.mjs → cookie-B6O7_fHD.mjs} +6 -6
- package/.output/server/chunks/build/{cookie-CziAmOf1.mjs.map → cookie-B6O7_fHD.mjs.map} +1 -1
- package/.output/server/chunks/build/dashboard-m7MkDiLb.mjs +3229 -0
- package/.output/server/chunks/build/{dashboard-Dq8mphss.mjs.map → dashboard-m7MkDiLb.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-DCNvSBgn.mjs → details-BuFz0zbq.mjs} +207 -216
- package/.output/server/chunks/build/details-BuFz0zbq.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +12 -21
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -1
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +8 -17
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -1
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +10 -10
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -1
- package/.output/server/chunks/build/{file-workspace-DMzPuPyG.mjs → file-workspace-C9v6Qocb.mjs} +4 -4
- package/.output/server/chunks/build/file-workspace-C9v6Qocb.mjs.map +1 -0
- package/.output/server/chunks/build/{layers-50nqoWES.mjs → layers-BXomRZx1.mjs} +107 -116
- package/.output/server/chunks/build/layers-BXomRZx1.mjs.map +1 -0
- package/.output/server/chunks/build/{login-BHSHtO-R.mjs → login-Bc6Roxwo.mjs} +149 -153
- package/.output/server/chunks/build/login-Bc6Roxwo.mjs.map +1 -0
- package/.output/server/chunks/build/{map-layers-C3HJoCLw.mjs → map-layers-CTSGZGmW.mjs} +6 -6
- package/.output/server/chunks/build/map-layers-CTSGZGmW.mjs.map +1 -0
- package/.output/server/chunks/build/{overlay-BS4_B29H.mjs → overlay-LIOZRR0G.mjs} +174 -154
- package/.output/server/chunks/build/{overlay-BS4_B29H.mjs.map → overlay-LIOZRR0G.mjs.map} +1 -1
- package/.output/server/chunks/build/pages-CBsYYFMD.mjs +210 -0
- package/.output/server/chunks/build/pages-CBsYYFMD.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-5yYRS5nX.mjs → pages-DN0BdqEU.mjs} +5 -5
- package/.output/server/chunks/build/pages-DN0BdqEU.mjs.map +1 -0
- package/.output/server/chunks/build/{services-DWlDpsbi.mjs → services-DnEkW3P_.mjs} +255 -264
- package/.output/server/chunks/build/{services-DWlDpsbi.mjs.map → services-DnEkW3P_.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs → tasks-Bbc6_UeW.mjs} +1084 -1084
- package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs.map → tasks-Bbc6_UeW.mjs.map} +1 -1
- package/.output/server/chunks/build/tasks-BzxHEsMV.mjs +82 -0
- package/.output/server/chunks/build/tasks-BzxHEsMV.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +1861 -310
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/login.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/logout.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/base/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +8 -8
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +3 -3
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +5 -5
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +3 -3
- package/.output/server/chunks/routes/api/uom/myspace.post.mjs +71 -0
- package/.output/server/chunks/routes/api/uom/myspace.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +8 -13
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +8 -7
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +9 -8
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +6 -5
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +7 -6
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +10 -9
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +5 -5
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +5 -5
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +4 -4
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +42597 -155
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wms.get.mjs +14 -13
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +14 -13
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -1
- package/.output/server/chunks/virtual/entry.mjs +1317 -1136
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +4 -3
- package/.output/server/index.mjs.map +1 -1
- package/README.md +7 -31
- package/dist/package.json +6 -1
- package/dist/src/cli.js +4 -3
- package/dist/src/core/fetch-process.js +11 -0
- package/package.json +6 -1
- package/.output/public/_nuxt/7KYNy7kZ.js +0 -1
- package/.output/public/_nuxt/7Rgc2iDI2.js +0 -1
- package/.output/public/_nuxt/BRsHq3Fz2.js +0 -1
- package/.output/public/_nuxt/BiRI-vq-.js +0 -1
- package/.output/public/_nuxt/CGkIG2vL2.js +0 -1
- package/.output/public/_nuxt/CUQ3MZqI.js +0 -1
- package/.output/public/_nuxt/CzRdWh7s2.js +0 -1
- package/.output/public/_nuxt/DK3Fl9T5.js +0 -1
- package/.output/public/_nuxt/D_Ggu6R_2.js +0 -1
- package/.output/public/_nuxt/DuGgjt-h2.js +0 -64
- package/.output/public/_nuxt/GEOST6As.js +0 -1
- package/.output/public/_nuxt/L0GXeO1Y2.js +0 -1
- package/.output/public/_nuxt/builds/meta/ad8f3148-5aa4-4a0f-8e7a-e55147c5de1a.json +0 -1
- package/.output/public/_nuxt/entry.U-KS0GEu.css +0 -1
- package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs +0 -260
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +0 -1
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs +0 -247
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +0 -1
- package/.output/server/chunks/build/Input-DnAric-z.mjs.map +0 -1
- package/.output/server/chunks/build/Modal-BLhN9Eg2.mjs +0 -1320
- package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +0 -1
- package/.output/server/chunks/build/Pagination-CUzoLc_-.mjs +0 -1025
- package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs +0 -1426
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +0 -1
- package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +0 -1
- package/.output/server/chunks/build/dashboard-Dq8mphss.mjs +0 -3238
- package/.output/server/chunks/build/details-DCNvSBgn.mjs.map +0 -1
- package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +0 -1
- package/.output/server/chunks/build/interval-i5OZnTaK.mjs.map +0 -1
- package/.output/server/chunks/build/layers-50nqoWES.mjs.map +0 -1
- package/.output/server/chunks/build/login-BHSHtO-R.mjs.map +0 -1
- package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +0 -1
- package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +0 -1
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs +0 -219
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs +0 -91
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +0 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14611
- package/.output/server/node_modules/@babel/parser/package.json +0 -50
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
- package/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
- package/.output/server/node_modules/@iconify/utils/package.json +0 -119
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6801
- package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -692
- package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1420
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1903
- package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6976
- package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1841
- package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -904
- package/.output/server/node_modules/@vue/server-renderer/package.json +0 -53
- package/.output/server/node_modules/@vue/shared/package.json +0 -47
- package/.output/server/node_modules/consola/dist/core.mjs +0 -512
- package/.output/server/node_modules/consola/dist/index.mjs +0 -651
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
- package/.output/server/node_modules/consola/package.json +0 -136
- package/.output/server/node_modules/devalue/index.js +0 -17
- package/.output/server/node_modules/devalue/package.json +0 -39
- package/.output/server/node_modules/devalue/src/base64.js +0 -60
- package/.output/server/node_modules/devalue/src/constants.js +0 -12
- package/.output/server/node_modules/devalue/src/operations.js +0 -193
- package/.output/server/node_modules/devalue/src/parse.js +0 -270
- package/.output/server/node_modules/devalue/src/stringify.js +0 -428
- package/.output/server/node_modules/devalue/src/uneval.js +0 -582
- package/.output/server/node_modules/devalue/src/utils.js +0 -185
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
- package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/entities/package.json +0 -120
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
- package/.output/server/node_modules/estree-walker/package.json +0 -37
- package/.output/server/node_modules/fflate/esm/index.mjs +0 -2710
- package/.output/server/node_modules/fflate/package.json +0 -128
- package/.output/server/node_modules/fnv1a-64/dist/index.mjs +0 -95
- package/.output/server/node_modules/fnv1a-64/package.json +0 -75
- package/.output/server/node_modules/hookable/dist/index.mjs +0 -257
- package/.output/server/node_modules/hookable/package.json +0 -53
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +0 -19
- package/.output/server/node_modules/nostics/dist/index.mjs +0 -187
- package/.output/server/node_modules/nostics/package.json +0 -125
- package/.output/server/node_modules/object-identity/index.js +0 -60
- package/.output/server/node_modules/object-identity/package.json +0 -40
- package/.output/server/node_modules/p-limit/index.js +0 -104
- package/.output/server/node_modules/p-limit/package.json +0 -58
- package/.output/server/node_modules/pmtiles/dist/esm/index.js +0 -2
- package/.output/server/node_modules/pmtiles/package.json +0 -50
- package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
- package/.output/server/node_modules/source-map-js/package.json +0 -71
- package/.output/server/node_modules/source-map-js/source-map.js +0 -8
- package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +0 -1
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
- package/.output/server/node_modules/tailwindcss/package.json +0 -89
- package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
- package/.output/server/node_modules/ufo/package.json +0 -48
- package/.output/server/node_modules/undici/index.js +0 -234
- package/.output/server/node_modules/undici/lib/api/abort-signal.js +0 -59
- package/.output/server/node_modules/undici/lib/api/api-connect.js +0 -110
- package/.output/server/node_modules/undici/lib/api/api-pipeline.js +0 -252
- package/.output/server/node_modules/undici/lib/api/api-request.js +0 -214
- package/.output/server/node_modules/undici/lib/api/api-stream.js +0 -209
- package/.output/server/node_modules/undici/lib/api/api-upgrade.js +0 -111
- package/.output/server/node_modules/undici/lib/api/index.js +0 -7
- package/.output/server/node_modules/undici/lib/api/readable.js +0 -580
- package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
- package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
- package/.output/server/node_modules/undici/lib/core/connect.js +0 -153
- package/.output/server/node_modules/undici/lib/core/constants.js +0 -143
- package/.output/server/node_modules/undici/lib/core/diagnostics.js +0 -227
- package/.output/server/node_modules/undici/lib/core/errors.js +0 -477
- package/.output/server/node_modules/undici/lib/core/request.js +0 -464
- package/.output/server/node_modules/undici/lib/core/socks5-client.js +0 -422
- package/.output/server/node_modules/undici/lib/core/socks5-utils.js +0 -212
- package/.output/server/node_modules/undici/lib/core/symbols.js +0 -75
- package/.output/server/node_modules/undici/lib/core/tree.js +0 -160
- package/.output/server/node_modules/undici/lib/core/util.js +0 -992
- package/.output/server/node_modules/undici/lib/dispatcher/agent.js +0 -158
- package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
- package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
- package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
- package/.output/server/node_modules/undici/lib/dispatcher/client.js +0 -664
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
- package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
- package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
- package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
- package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
- package/.output/server/node_modules/undici/lib/dispatcher/pool.js +0 -118
- package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
- package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
- package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
- package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
- package/.output/server/node_modules/undici/lib/encoding/index.js +0 -33
- package/.output/server/node_modules/undici/lib/global.js +0 -59
- package/.output/server/node_modules/undici/lib/handler/cache-handler.js +0 -760
- package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
- package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +0 -67
- package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
- package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +0 -238
- package/.output/server/node_modules/undici/lib/handler/retry-handler.js +0 -418
- package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
- package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +0 -105
- package/.output/server/node_modules/undici/lib/interceptor/cache.js +0 -602
- package/.output/server/node_modules/undici/lib/interceptor/decompress.js +0 -259
- package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
- package/.output/server/node_modules/undici/lib/interceptor/dns.js +0 -571
- package/.output/server/node_modules/undici/lib/interceptor/dump.js +0 -112
- package/.output/server/node_modules/undici/lib/interceptor/redirect.js +0 -21
- package/.output/server/node_modules/undici/lib/interceptor/response-error.js +0 -95
- package/.output/server/node_modules/undici/lib/interceptor/retry.js +0 -19
- package/.output/server/node_modules/undici/lib/llhttp/constants.js +0 -531
- package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
- package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
- package/.output/server/node_modules/undici/lib/llhttp/utils.js +0 -12
- package/.output/server/node_modules/undici/lib/mock/mock-agent.js +0 -232
- package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +0 -248
- package/.output/server/node_modules/undici/lib/mock/mock-client.js +0 -68
- package/.output/server/node_modules/undici/lib/mock/mock-errors.js +0 -29
- package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
- package/.output/server/node_modules/undici/lib/mock/mock-pool.js +0 -68
- package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +0 -32
- package/.output/server/node_modules/undici/lib/mock/mock-utils.js +0 -486
- package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
- package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
- package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
- package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
- package/.output/server/node_modules/undici/lib/util/cache.js +0 -676
- package/.output/server/node_modules/undici/lib/util/date.js +0 -670
- package/.output/server/node_modules/undici/lib/util/promise.js +0 -28
- package/.output/server/node_modules/undici/lib/util/runtime-features.js +0 -124
- package/.output/server/node_modules/undici/lib/util/stats.js +0 -32
- package/.output/server/node_modules/undici/lib/util/timers.js +0 -425
- package/.output/server/node_modules/undici/lib/web/cache/cache.js +0 -864
- package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
- package/.output/server/node_modules/undici/lib/web/cache/util.js +0 -45
- package/.output/server/node_modules/undici/lib/web/cookies/constants.js +0 -12
- package/.output/server/node_modules/undici/lib/web/cookies/index.js +0 -199
- package/.output/server/node_modules/undici/lib/web/cookies/parse.js +0 -314
- package/.output/server/node_modules/undici/lib/web/cookies/util.js +0 -352
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
- package/.output/server/node_modules/undici/lib/web/eventsource/util.js +0 -29
- package/.output/server/node_modules/undici/lib/web/fetch/body.js +0 -509
- package/.output/server/node_modules/undici/lib/web/fetch/constants.js +0 -131
- package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +0 -596
- package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
- package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +0 -259
- package/.output/server/node_modules/undici/lib/web/fetch/global.js +0 -40
- package/.output/server/node_modules/undici/lib/web/fetch/headers.js +0 -719
- package/.output/server/node_modules/undici/lib/web/fetch/index.js +0 -2413
- package/.output/server/node_modules/undici/lib/web/fetch/request.js +0 -1115
- package/.output/server/node_modules/undici/lib/web/fetch/response.js +0 -641
- package/.output/server/node_modules/undici/lib/web/fetch/util.js +0 -1522
- package/.output/server/node_modules/undici/lib/web/infra/index.js +0 -229
- package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
- package/.output/server/node_modules/undici/lib/web/webidl/index.js +0 -1006
- package/.output/server/node_modules/undici/lib/web/websocket/connection.js +0 -329
- package/.output/server/node_modules/undici/lib/web/websocket/constants.js +0 -126
- package/.output/server/node_modules/undici/lib/web/websocket/events.js +0 -331
- package/.output/server/node_modules/undici/lib/web/websocket/frame.js +0 -133
- package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
- package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +0 -507
- package/.output/server/node_modules/undici/lib/web/websocket/sender.js +0 -109
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
- package/.output/server/node_modules/undici/lib/web/websocket/util.js +0 -347
- package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +0 -758
- package/.output/server/node_modules/undici/package.json +0 -152
- package/.output/server/node_modules/unhead/dist/client.mjs +0 -22
- package/.output/server/node_modules/unhead/dist/index.mjs +0 -52
- package/.output/server/node_modules/unhead/dist/legacy.mjs +0 -33
- package/.output/server/node_modules/unhead/dist/minify.mjs +0 -183
- package/.output/server/node_modules/unhead/dist/parser.mjs +0 -518
- package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -631
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/server.mjs +0 -99
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +0 -673
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +0 -47
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +0 -192
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +0 -67
- package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +0 -585
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +0 -17
- package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +0 -223
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +0 -32
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +0 -7
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +0 -27
- package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +0 -196
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +0 -59
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +0 -400
- package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +0 -19
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +0 -240
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +0 -28
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +0 -2
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/utils.mjs +0 -7
- package/.output/server/node_modules/unhead/package.json +0 -179
- package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/vue/index.js +0 -7
- package/.output/server/node_modules/vue/index.mjs +0 -1
- package/.output/server/node_modules/vue/package.json +0 -112
- package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -278
- package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -54
- package/.output/server/node_modules/yocto-queue/index.js +0 -90
- package/.output/server/node_modules/yocto-queue/package.json +0 -48
- package/.output/server/node_modules/zod/index.js +0 -4
- package/.output/server/node_modules/zod/package.json +0 -135
- package/.output/server/node_modules/zod/v4/classic/checks.js +0 -1
- package/.output/server/node_modules/zod/v4/classic/coerce.js +0 -17
- package/.output/server/node_modules/zod/v4/classic/compat.js +0 -31
- package/.output/server/node_modules/zod/v4/classic/errors.js +0 -48
- package/.output/server/node_modules/zod/v4/classic/external.js +0 -20
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +0 -599
- package/.output/server/node_modules/zod/v4/classic/iso.js +0 -30
- package/.output/server/node_modules/zod/v4/classic/package.json +0 -7
- package/.output/server/node_modules/zod/v4/classic/parse.js +0 -15
- package/.output/server/node_modules/zod/v4/classic/schemas.js +0 -1395
- package/.output/server/node_modules/zod/v4/core/api.js +0 -1087
- package/.output/server/node_modules/zod/v4/core/checks.js +0 -575
- package/.output/server/node_modules/zod/v4/core/core.js +0 -78
- package/.output/server/node_modules/zod/v4/core/doc.js +0 -35
- package/.output/server/node_modules/zod/v4/core/errors.js +0 -185
- package/.output/server/node_modules/zod/v4/core/index.js +0 -16
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +0 -601
- package/.output/server/node_modules/zod/v4/core/json-schema.js +0 -1
- package/.output/server/node_modules/zod/v4/core/package.json +0 -7
- package/.output/server/node_modules/zod/v4/core/parse.js +0 -93
- package/.output/server/node_modules/zod/v4/core/regexes.js +0 -139
- package/.output/server/node_modules/zod/v4/core/registries.js +0 -51
- package/.output/server/node_modules/zod/v4/core/schemas.js +0 -2239
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +0 -448
- package/.output/server/node_modules/zod/v4/core/util.js +0 -674
- package/.output/server/node_modules/zod/v4/core/versions.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/ar.js +0 -106
- package/.output/server/node_modules/zod/v4/locales/az.js +0 -105
- package/.output/server/node_modules/zod/v4/locales/be.js +0 -156
- package/.output/server/node_modules/zod/v4/locales/bg.js +0 -120
- package/.output/server/node_modules/zod/v4/locales/ca.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/cs.js +0 -111
- package/.output/server/node_modules/zod/v4/locales/da.js +0 -115
- package/.output/server/node_modules/zod/v4/locales/de.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/el.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/en.js +0 -113
- package/.output/server/node_modules/zod/v4/locales/eo.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/es.js +0 -132
- package/.output/server/node_modules/zod/v4/locales/fa.js +0 -114
- package/.output/server/node_modules/zod/v4/locales/fi.js +0 -112
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/fr.js +0 -125
- package/.output/server/node_modules/zod/v4/locales/he.js +0 -214
- package/.output/server/node_modules/zod/v4/locales/hr.js +0 -122
- package/.output/server/node_modules/zod/v4/locales/hu.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/hy.js +0 -147
- package/.output/server/node_modules/zod/v4/locales/id.js +0 -106
- package/.output/server/node_modules/zod/v4/locales/index.js +0 -52
- package/.output/server/node_modules/zod/v4/locales/is.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/it.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ja.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/ka.js +0 -112
- package/.output/server/node_modules/zod/v4/locales/kh.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/km.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/ko.js +0 -111
- package/.output/server/node_modules/zod/v4/locales/lt.js +0 -203
- package/.output/server/node_modules/zod/v4/locales/mk.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/ms.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/nl.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/no.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ota.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/package.json +0 -7
- package/.output/server/node_modules/zod/v4/locales/pl.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/ps.js +0 -114
- package/.output/server/node_modules/zod/v4/locales/pt.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ro.js +0 -119
- package/.output/server/node_modules/zod/v4/locales/ru.js +0 -156
- package/.output/server/node_modules/zod/v4/locales/sl.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/sv.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/ta.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/th.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/tr.js +0 -105
- package/.output/server/node_modules/zod/v4/locales/ua.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/uk.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ur.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/uz.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/vi.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/yo.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/.output/server/package.json +0 -38
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { d as useComponentProps, e as useLocale, f as useAppConfig, t as tv, P as Primitive, g as useForwardProps, r as reactivePick, o as get,
|
|
2
|
-
import { a as useDirection, u as useId$1 } from './overlay-
|
|
3
|
-
import {
|
|
1
|
+
import { d as useComponentProps, e as useLocale, f as useAppConfig, t as tv, P as Primitive, g as useForwardProps, r as reactivePick, o as get, b as _sfc_main$5, p as _sfc_main$3, Q as useScroll, _ as _sfc_main$2, v as useForwardExpose, w as useVModel, R as useResizeObserver, z as Presence_default, A as createContext, S as useMounted, G as refAutoReset, H as getActiveElement } from '../virtual/entry.mjs';
|
|
2
|
+
import { a as useDirection, u as useId$1 } from './overlay-LIOZRR0G.mjs';
|
|
3
|
+
import { c as _sfc_main$4, R as RovingFocusGroup_default, f as RovingFocusItem_default } from './MapLayerControl-DPdRMmuw.mjs';
|
|
4
4
|
import { u as useVirtualizer } from './esm-Dp2lJXbp.mjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { ssrRenderComponent, ssrRenderClass, ssrRenderStyle, ssrRenderList, ssrRenderAttr, ssrRenderSlot, ssrInterpolate, ssrRenderAttrs } from 'vue/server-renderer';
|
|
5
|
+
import { E as defu } from '../nitro/nitro.mjs';
|
|
6
|
+
import { v as vueExports, s as ssrRenderComponent_1, b as ssrRenderClass_1, l as ssrRenderStyle_1, k as ssrRenderList_1, n as ssrRenderAttr_1, a as ssrRenderSlot_1, e as ssrInterpolate_1, m as ssrRenderAttrs_1 } from '../routes/renderer.mjs';
|
|
8
7
|
|
|
9
8
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useComposing.js
|
|
10
9
|
function useComposing(onEnd) {
|
|
11
|
-
const isComposing = ref(false);
|
|
10
|
+
const isComposing = vueExports.ref(false);
|
|
12
11
|
function handleCompositionStart() {
|
|
13
12
|
isComposing.value = true;
|
|
14
13
|
}
|
|
15
14
|
function handleCompositionEnd(event) {
|
|
16
|
-
nextTick(() => {
|
|
15
|
+
vueExports.nextTick(() => {
|
|
17
16
|
isComposing.value = false;
|
|
18
17
|
onEnd?.(event);
|
|
19
18
|
});
|
|
@@ -127,7 +126,7 @@ function getNextMatch(values, search, currentMatch) {
|
|
|
127
126
|
//#endregion
|
|
128
127
|
//#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
|
|
129
128
|
var [injectTabsRootContext, provideTabsRootContext] = /*#__PURE__*/ createContext("TabsRoot");
|
|
130
|
-
var TabsRoot_default = /* @__PURE__ */ defineComponent({
|
|
129
|
+
var TabsRoot_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
131
130
|
__name: "TabsRoot",
|
|
132
131
|
props: {
|
|
133
132
|
defaultValue: {
|
|
@@ -170,15 +169,15 @@ var TabsRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
170
169
|
setup(__props, { emit: __emit }) {
|
|
171
170
|
const props = __props;
|
|
172
171
|
const emits = __emit;
|
|
173
|
-
const { orientation, unmountOnHide, dir: propDir } = toRefs(props);
|
|
172
|
+
const { orientation, unmountOnHide, dir: propDir } = vueExports.toRefs(props);
|
|
174
173
|
const dir = useDirection(propDir);
|
|
175
174
|
useForwardExpose();
|
|
176
175
|
const modelValue = useVModel(props, "modelValue", emits, {
|
|
177
176
|
defaultValue: props.defaultValue,
|
|
178
177
|
passive: props.modelValue === void 0
|
|
179
178
|
});
|
|
180
|
-
const tabsList = ref();
|
|
181
|
-
const contentIds = shallowRef(/* @__PURE__ */ new Set());
|
|
179
|
+
const tabsList = vueExports.ref();
|
|
180
|
+
const contentIds = vueExports.shallowRef(/* @__PURE__ */ new Set());
|
|
182
181
|
provideTabsRootContext({
|
|
183
182
|
modelValue,
|
|
184
183
|
changeModelValue: (value) => {
|
|
@@ -201,13 +200,13 @@ var TabsRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
201
200
|
}
|
|
202
201
|
});
|
|
203
202
|
return (_ctx, _cache) => {
|
|
204
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
205
|
-
dir: unref(dir),
|
|
206
|
-
"data-orientation": unref(orientation),
|
|
203
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), {
|
|
204
|
+
dir: vueExports.unref(dir),
|
|
205
|
+
"data-orientation": vueExports.unref(orientation),
|
|
207
206
|
"as-child": _ctx.asChild,
|
|
208
207
|
as: _ctx.as
|
|
209
208
|
}, {
|
|
210
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) })]),
|
|
209
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", { modelValue: vueExports.unref(modelValue) })]),
|
|
211
210
|
_: 3
|
|
212
211
|
}, 8, [
|
|
213
212
|
"dir",
|
|
@@ -228,7 +227,7 @@ function makeContentId(baseId, value) {
|
|
|
228
227
|
}
|
|
229
228
|
//#endregion
|
|
230
229
|
//#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
|
|
231
|
-
var TabsContent_default = /* @__PURE__ */ defineComponent({
|
|
230
|
+
var TabsContent_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
232
231
|
__name: "TabsContent",
|
|
233
232
|
props: {
|
|
234
233
|
value: {
|
|
@@ -252,29 +251,29 @@ var TabsContent_default = /* @__PURE__ */ defineComponent({
|
|
|
252
251
|
const props = __props;
|
|
253
252
|
const { forwardRef } = useForwardExpose();
|
|
254
253
|
const rootContext = injectTabsRootContext();
|
|
255
|
-
const triggerId = computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
256
|
-
const contentId = computed(() => makeContentId(rootContext.baseId, props.value));
|
|
257
|
-
const isSelected = computed(() => props.value === rootContext.modelValue.value);
|
|
258
|
-
const isMountAnimationPreventedRef = ref(isSelected.value);
|
|
254
|
+
const triggerId = vueExports.computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
255
|
+
const contentId = vueExports.computed(() => makeContentId(rootContext.baseId, props.value));
|
|
256
|
+
const isSelected = vueExports.computed(() => props.value === rootContext.modelValue.value);
|
|
257
|
+
const isMountAnimationPreventedRef = vueExports.ref(isSelected.value);
|
|
259
258
|
return (_ctx, _cache) => {
|
|
260
|
-
return openBlock(), createBlock(unref(Presence_default), {
|
|
259
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Presence_default), {
|
|
261
260
|
present: _ctx.forceMount || isSelected.value,
|
|
262
261
|
"force-mount": ""
|
|
263
262
|
}, {
|
|
264
|
-
default: withCtx(({ present }) => [createVNode(unref(Primitive), {
|
|
263
|
+
default: vueExports.withCtx(({ present }) => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
265
264
|
id: contentId.value,
|
|
266
|
-
ref: unref(forwardRef),
|
|
265
|
+
ref: vueExports.unref(forwardRef),
|
|
267
266
|
"as-child": _ctx.asChild,
|
|
268
267
|
as: _ctx.as,
|
|
269
268
|
role: "tabpanel",
|
|
270
269
|
"data-state": isSelected.value ? "active" : "inactive",
|
|
271
|
-
"data-orientation": unref(rootContext).orientation.value,
|
|
270
|
+
"data-orientation": vueExports.unref(rootContext).orientation.value,
|
|
272
271
|
"aria-labelledby": triggerId.value,
|
|
273
272
|
hidden: !present,
|
|
274
273
|
tabindex: "0",
|
|
275
|
-
style: normalizeStyle({ animationDuration: isMountAnimationPreventedRef.value ? "0s" : void 0 })
|
|
274
|
+
style: vueExports.normalizeStyle({ animationDuration: isMountAnimationPreventedRef.value ? "0s" : void 0 })
|
|
276
275
|
}, {
|
|
277
|
-
default: withCtx(() => [(unref(rootContext).unmountOnHide.value ? present : true) ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("v-if", true)]),
|
|
276
|
+
default: vueExports.withCtx(() => [(vueExports.unref(rootContext).unmountOnHide.value ? present : true) ? vueExports.renderSlot(_ctx.$slots, "default", { key: 0 }) : vueExports.createCommentVNode("v-if", true)]),
|
|
278
277
|
_: 2
|
|
279
278
|
}, 1032, [
|
|
280
279
|
"id",
|
|
@@ -293,7 +292,7 @@ var TabsContent_default = /* @__PURE__ */ defineComponent({
|
|
|
293
292
|
});
|
|
294
293
|
//#endregion
|
|
295
294
|
//#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
|
|
296
|
-
var TabsIndicator_default = /* @__PURE__ */ defineComponent({
|
|
295
|
+
var TabsIndicator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
297
296
|
__name: "TabsIndicator",
|
|
298
297
|
props: {
|
|
299
298
|
asChild: {
|
|
@@ -311,22 +310,22 @@ var TabsIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
311
310
|
__expose({ updateIndicatorStyle });
|
|
312
311
|
useForwardExpose();
|
|
313
312
|
const isMounted = useMounted();
|
|
314
|
-
const indicatorStyle = ref({
|
|
313
|
+
const indicatorStyle = vueExports.ref({
|
|
315
314
|
size: null,
|
|
316
315
|
thickness: null,
|
|
317
316
|
position: null
|
|
318
317
|
});
|
|
319
|
-
const tabs = ref([]);
|
|
320
|
-
watch(() => [context.modelValue.value, context?.dir.value], () => {
|
|
318
|
+
const tabs = vueExports.ref([]);
|
|
319
|
+
vueExports.watch(() => [context.modelValue.value, context?.dir.value], () => {
|
|
321
320
|
updateIndicatorStyle();
|
|
322
321
|
}, {
|
|
323
322
|
immediate: true,
|
|
324
323
|
flush: "post"
|
|
325
324
|
});
|
|
326
|
-
watchPostEffect(() => {
|
|
325
|
+
vueExports.watchPostEffect(() => {
|
|
327
326
|
tabs.value = Array.from(context.tabsList.value?.querySelectorAll("[role=\"tab\"]") || []);
|
|
328
327
|
});
|
|
329
|
-
useResizeObserver(computed(() => [context.tabsList.value, ...tabs.value]), updateIndicatorStyle);
|
|
328
|
+
useResizeObserver(vueExports.computed(() => [context.tabsList.value, ...tabs.value]), updateIndicatorStyle);
|
|
330
329
|
function updateIndicatorStyle() {
|
|
331
330
|
const activeTab = context.tabsList.value?.querySelector("[role=\"tab\"][data-state=\"active\"]");
|
|
332
331
|
if (!activeTab) return;
|
|
@@ -342,20 +341,20 @@ var TabsIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
342
341
|
};
|
|
343
342
|
}
|
|
344
343
|
return (_ctx, _cache) => {
|
|
345
|
-
return unref(isMounted) && typeof indicatorStyle.value.size === "number" ? (openBlock(), createBlock(unref(Primitive), mergeProps({ key: 0 }, props, { style: {
|
|
344
|
+
return vueExports.unref(isMounted) && typeof indicatorStyle.value.size === "number" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({ key: 0 }, props, { style: {
|
|
346
345
|
"--reka-tabs-indicator-size": `${indicatorStyle.value.size}px`,
|
|
347
346
|
"--reka-tabs-indicator-thickness": `${indicatorStyle.value.thickness}px`,
|
|
348
347
|
"--reka-tabs-indicator-position": `${indicatorStyle.value.position}px`
|
|
349
348
|
} }), {
|
|
350
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
349
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
351
350
|
_: 3
|
|
352
|
-
}, 16, ["style"])) : createCommentVNode("v-if", true);
|
|
351
|
+
}, 16, ["style"])) : vueExports.createCommentVNode("v-if", true);
|
|
353
352
|
};
|
|
354
353
|
}
|
|
355
354
|
});
|
|
356
355
|
//#endregion
|
|
357
356
|
//#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
|
|
358
|
-
var TabsList_default = /* @__PURE__ */ defineComponent({
|
|
357
|
+
var TabsList_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
359
358
|
__name: "TabsList",
|
|
360
359
|
props: {
|
|
361
360
|
loop: {
|
|
@@ -373,25 +372,25 @@ var TabsList_default = /* @__PURE__ */ defineComponent({
|
|
|
373
372
|
}
|
|
374
373
|
},
|
|
375
374
|
setup(__props) {
|
|
376
|
-
const { loop } = toRefs(__props);
|
|
375
|
+
const { loop } = vueExports.toRefs(__props);
|
|
377
376
|
const { forwardRef, currentElement } = useForwardExpose();
|
|
378
377
|
const context = injectTabsRootContext();
|
|
379
378
|
context.tabsList = currentElement;
|
|
380
379
|
return (_ctx, _cache) => {
|
|
381
|
-
return openBlock(), createBlock(unref(RovingFocusGroup_default), {
|
|
380
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(RovingFocusGroup_default), {
|
|
382
381
|
"as-child": "",
|
|
383
|
-
orientation: unref(context).orientation.value,
|
|
384
|
-
dir: unref(context).dir.value,
|
|
385
|
-
loop: unref(loop)
|
|
382
|
+
orientation: vueExports.unref(context).orientation.value,
|
|
383
|
+
dir: vueExports.unref(context).dir.value,
|
|
384
|
+
loop: vueExports.unref(loop)
|
|
386
385
|
}, {
|
|
387
|
-
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
388
|
-
ref: unref(forwardRef),
|
|
386
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
387
|
+
ref: vueExports.unref(forwardRef),
|
|
389
388
|
role: "tablist",
|
|
390
389
|
"as-child": _ctx.asChild,
|
|
391
390
|
as: _ctx.as,
|
|
392
|
-
"aria-orientation": unref(context).orientation.value
|
|
391
|
+
"aria-orientation": vueExports.unref(context).orientation.value
|
|
393
392
|
}, {
|
|
394
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
393
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
395
394
|
_: 3
|
|
396
395
|
}, 8, [
|
|
397
396
|
"as-child",
|
|
@@ -409,7 +408,7 @@ var TabsList_default = /* @__PURE__ */ defineComponent({
|
|
|
409
408
|
});
|
|
410
409
|
//#endregion
|
|
411
410
|
//#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
|
|
412
|
-
var TabsTrigger_default = /* @__PURE__ */ defineComponent({
|
|
411
|
+
var TabsTrigger_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
413
412
|
__name: "TabsTrigger",
|
|
414
413
|
props: {
|
|
415
414
|
value: {
|
|
@@ -435,18 +434,18 @@ var TabsTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
435
434
|
const props = __props;
|
|
436
435
|
const { forwardRef } = useForwardExpose();
|
|
437
436
|
const rootContext = injectTabsRootContext();
|
|
438
|
-
const triggerId = computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
439
|
-
const contentId = computed(() => rootContext.contentIds.value.has(props.value) ? makeContentId(rootContext.baseId, props.value) : void 0);
|
|
440
|
-
const isSelected = computed(() => props.value === rootContext.modelValue.value);
|
|
437
|
+
const triggerId = vueExports.computed(() => makeTriggerId(rootContext.baseId, props.value));
|
|
438
|
+
const contentId = vueExports.computed(() => rootContext.contentIds.value.has(props.value) ? makeContentId(rootContext.baseId, props.value) : void 0);
|
|
439
|
+
const isSelected = vueExports.computed(() => props.value === rootContext.modelValue.value);
|
|
441
440
|
return (_ctx, _cache) => {
|
|
442
|
-
return openBlock(), createBlock(unref(RovingFocusItem_default), {
|
|
441
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(RovingFocusItem_default), {
|
|
443
442
|
"as-child": "",
|
|
444
443
|
focusable: !_ctx.disabled,
|
|
445
444
|
active: isSelected.value
|
|
446
445
|
}, {
|
|
447
|
-
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
446
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
448
447
|
id: triggerId.value,
|
|
449
|
-
ref: unref(forwardRef),
|
|
448
|
+
ref: vueExports.unref(forwardRef),
|
|
450
449
|
role: "tab",
|
|
451
450
|
type: _ctx.as === "button" ? "button" : void 0,
|
|
452
451
|
as: _ctx.as,
|
|
@@ -456,18 +455,18 @@ var TabsTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
456
455
|
"data-state": isSelected.value ? "active" : "inactive",
|
|
457
456
|
disabled: _ctx.disabled,
|
|
458
457
|
"data-disabled": _ctx.disabled ? "" : void 0,
|
|
459
|
-
"data-orientation": unref(rootContext).orientation.value,
|
|
460
|
-
onMousedown: _cache[0] || (_cache[0] = withModifiers((event) => {
|
|
461
|
-
if (!_ctx.disabled && event.ctrlKey === false) unref(rootContext).changeModelValue(_ctx.value);
|
|
458
|
+
"data-orientation": vueExports.unref(rootContext).orientation.value,
|
|
459
|
+
onMousedown: _cache[0] || (_cache[0] = vueExports.withModifiers((event) => {
|
|
460
|
+
if (!_ctx.disabled && event.ctrlKey === false) vueExports.unref(rootContext).changeModelValue(_ctx.value);
|
|
462
461
|
else event.preventDefault();
|
|
463
462
|
}, ["left"])),
|
|
464
|
-
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => unref(rootContext).changeModelValue(_ctx.value), ["enter", "space"])),
|
|
463
|
+
onKeydown: _cache[1] || (_cache[1] = vueExports.withKeys(($event) => vueExports.unref(rootContext).changeModelValue(_ctx.value), ["enter", "space"])),
|
|
465
464
|
onFocus: _cache[2] || (_cache[2] = () => {
|
|
466
|
-
const isAutomaticActivation = unref(rootContext).activationMode !== "manual";
|
|
467
|
-
if (!isSelected.value && !_ctx.disabled && isAutomaticActivation) unref(rootContext).changeModelValue(_ctx.value);
|
|
465
|
+
const isAutomaticActivation = vueExports.unref(rootContext).activationMode !== "manual";
|
|
466
|
+
if (!isSelected.value && !_ctx.disabled && isAutomaticActivation) vueExports.unref(rootContext).changeModelValue(_ctx.value);
|
|
468
467
|
})
|
|
469
468
|
}, {
|
|
470
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
469
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
471
470
|
_: 3
|
|
472
471
|
}, 8, [
|
|
473
472
|
"id",
|
|
@@ -487,533 +486,162 @@ var TabsTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
487
486
|
}
|
|
488
487
|
});
|
|
489
488
|
//#endregion
|
|
490
|
-
//#region
|
|
491
|
-
var
|
|
492
|
-
__name: "FileDropZone",
|
|
493
|
-
__ssrInlineRender: true,
|
|
494
|
-
props: {
|
|
495
|
-
accept: {},
|
|
496
|
-
title: {},
|
|
497
|
-
description: {},
|
|
498
|
-
fileName: {},
|
|
499
|
-
pending: {
|
|
500
|
-
type: Boolean,
|
|
501
|
-
default: false
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
emits: ["select"],
|
|
505
|
-
setup(__props, { emit: __emit }) {
|
|
506
|
-
useTemplateRef("input");
|
|
507
|
-
const dragging = ref(false);
|
|
508
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
509
|
-
const _component_UIcon = _sfc_main$5;
|
|
510
|
-
const _component_UButton = _sfc_main$2;
|
|
511
|
-
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
512
|
-
class: ["group flex min-h-28 cursor-pointer items-center gap-4 border border-dashed px-4 py-4 transition-colors focus-within:outline-2 focus-within:outline-primary", unref(dragging) ? "border-primary bg-primary/5" : "border-default hover:border-accented hover:bg-elevated/60"],
|
|
513
|
-
role: "button",
|
|
514
|
-
tabindex: "0"
|
|
515
|
-
}, _attrs))}><input type="file"${ssrRenderAttr("accept", __props.accept)} class="sr-only"><span class="grid size-10 shrink-0 place-items-center bg-muted text-muted group-hover:text-default">`);
|
|
516
|
-
_push(ssrRenderComponent(_component_UIcon, {
|
|
517
|
-
name: __props.pending ? "i-lucide-loader-circle" : __props.fileName ? "i-lucide-file-check-2" : "i-lucide-file-up",
|
|
518
|
-
class: ["size-5", __props.pending ? "animate-spin" : ""]
|
|
519
|
-
}, null, _parent));
|
|
520
|
-
_push(`</span><div class="min-w-0 flex-1"><p class="truncate text-sm font-medium text-highlighted">${ssrInterpolate(__props.fileName || __props.title)}</p>`);
|
|
521
|
-
if (__props.pending || __props.fileName || __props.description) _push(`<p class="mt-1 text-xs text-muted">${ssrInterpolate(__props.pending ? "正在读取文件" : __props.fileName ? "点击或拖入文件以替换" : __props.description)}</p>`);
|
|
522
|
-
else _push(`<!---->`);
|
|
523
|
-
_push(`</div>`);
|
|
524
|
-
_push(ssrRenderComponent(_component_UButton, {
|
|
525
|
-
type: "button",
|
|
526
|
-
icon: "i-lucide-folder-open",
|
|
527
|
-
label: "选择文件",
|
|
528
|
-
color: "neutral",
|
|
529
|
-
variant: "outline",
|
|
530
|
-
loading: __props.pending,
|
|
531
|
-
tabindex: "-1"
|
|
532
|
-
}, null, _parent));
|
|
533
|
-
_push(`</div>`);
|
|
534
|
-
};
|
|
535
|
-
}
|
|
536
|
-
});
|
|
537
|
-
//#endregion
|
|
538
|
-
//#region app/components/FileDropZone.vue
|
|
539
|
-
var _sfc_setup$2 = FileDropZone_vue_vue_type_script_setup_true_lang_default.setup;
|
|
540
|
-
FileDropZone_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
541
|
-
const ssrContext = useSSRContext();
|
|
542
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/FileDropZone.vue");
|
|
543
|
-
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
544
|
-
};
|
|
545
|
-
var FileDropZone_default = Object.assign(FileDropZone_vue_vue_type_script_setup_true_lang_default, { __name: "FileDropZone" });
|
|
546
|
-
//#endregion
|
|
547
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useScrollShadow.js
|
|
548
|
-
function useScrollShadow(element, options = {}) {
|
|
549
|
-
const { arrivedState } = useScroll(element);
|
|
550
|
-
return {
|
|
551
|
-
style: computed(() => {
|
|
552
|
-
const el = toValue(element);
|
|
553
|
-
const orientation = toValue(options.orientation) ?? "vertical";
|
|
554
|
-
const [startKey, endKey] = orientation === "horizontal" ? ["left", "right"] : ["top", "bottom"];
|
|
555
|
-
const showStart = !arrivedState[startKey];
|
|
556
|
-
const showEnd = !arrivedState[endKey];
|
|
557
|
-
if (!showStart && !showEnd) return void 0;
|
|
558
|
-
if (!(el ? orientation === "horizontal" ? el.scrollWidth > el.clientWidth : el.scrollHeight > el.clientHeight : false)) return void 0;
|
|
559
|
-
const size = `${toValue(options.size) ?? 24}px`;
|
|
560
|
-
const angle = orientation === "horizontal" ? "90deg" : "180deg";
|
|
561
|
-
if (showStart && showEnd) return { maskImage: `linear-gradient(${angle}, transparent, #000 ${size}, #000 calc(100% - ${size}), transparent)` };
|
|
562
|
-
if (showStart) return { maskImage: `linear-gradient(${angle}, transparent, #000 ${size})` };
|
|
563
|
-
return { maskImage: `linear-gradient(${angle}, #000, #000 calc(100% - ${size}), transparent)` };
|
|
564
|
-
}),
|
|
565
|
-
isOverflowing: computed(() => {
|
|
566
|
-
arrivedState.top, arrivedState.bottom, arrivedState.left, arrivedState.right;
|
|
567
|
-
const el = toValue(element);
|
|
568
|
-
if (!el) return false;
|
|
569
|
-
return (toValue(options.orientation) ?? "vertical") === "horizontal" ? el.scrollWidth > el.clientWidth : el.scrollHeight > el.clientHeight;
|
|
570
|
-
}),
|
|
571
|
-
arrivedState
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
//#endregion
|
|
575
|
-
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fscroll-area.ts
|
|
576
|
-
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fscroll_area_default = {
|
|
489
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ftabs.ts
|
|
490
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default = {
|
|
577
491
|
"slots": {
|
|
578
|
-
"root": "
|
|
579
|
-
"
|
|
580
|
-
"
|
|
492
|
+
"root": "flex items-center gap-2",
|
|
493
|
+
"list": "relative flex p-1 group",
|
|
494
|
+
"indicator": "absolute transition-[translate,width] duration-200",
|
|
495
|
+
"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"],
|
|
496
|
+
"leadingIcon": "shrink-0",
|
|
497
|
+
"leadingAvatar": "shrink-0",
|
|
498
|
+
"leadingAvatarSize": "",
|
|
499
|
+
"label": "truncate",
|
|
500
|
+
"trailingBadge": "shrink-0",
|
|
501
|
+
"trailingBadgeSize": "sm",
|
|
502
|
+
"content": "w-full rounded-md focus-visible:outline-3"
|
|
581
503
|
},
|
|
582
504
|
"variants": {
|
|
505
|
+
"color": {
|
|
506
|
+
"primary": { "content": "outline-primary/25" },
|
|
507
|
+
"secondary": { "content": "outline-secondary/25" },
|
|
508
|
+
"success": { "content": "outline-success/25" },
|
|
509
|
+
"info": { "content": "outline-info/25" },
|
|
510
|
+
"warning": { "content": "outline-warning/25" },
|
|
511
|
+
"error": { "content": "outline-error/25" },
|
|
512
|
+
"neutral": { "content": "outline-inverted/25" }
|
|
513
|
+
},
|
|
514
|
+
"variant": {
|
|
515
|
+
"pill": {
|
|
516
|
+
"list": "bg-elevated rounded-lg",
|
|
517
|
+
"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"],
|
|
518
|
+
"indicator": "rounded-md shadow-xs"
|
|
519
|
+
},
|
|
520
|
+
"link": {
|
|
521
|
+
"list": "border-default",
|
|
522
|
+
"indicator": "rounded-full",
|
|
523
|
+
"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"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
583
526
|
"orientation": {
|
|
527
|
+
"horizontal": {
|
|
528
|
+
"root": "flex-col",
|
|
529
|
+
"list": "w-full",
|
|
530
|
+
"indicator": "left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",
|
|
531
|
+
"trigger": "justify-center"
|
|
532
|
+
},
|
|
584
533
|
"vertical": {
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
|
|
534
|
+
"list": "flex-col",
|
|
535
|
+
"indicator": "top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"size": {
|
|
539
|
+
"xs": {
|
|
540
|
+
"trigger": "px-2 py-1 text-xs gap-1",
|
|
541
|
+
"leadingIcon": "size-4",
|
|
542
|
+
"leadingAvatarSize": "3xs"
|
|
588
543
|
},
|
|
589
|
-
"
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
"
|
|
544
|
+
"sm": {
|
|
545
|
+
"trigger": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
546
|
+
"leadingIcon": "size-4",
|
|
547
|
+
"leadingAvatarSize": "3xs"
|
|
548
|
+
},
|
|
549
|
+
"md": {
|
|
550
|
+
"trigger": "px-3 py-1.5 text-sm gap-1.5",
|
|
551
|
+
"leadingIcon": "size-5",
|
|
552
|
+
"leadingAvatarSize": "2xs"
|
|
553
|
+
},
|
|
554
|
+
"lg": {
|
|
555
|
+
"trigger": "px-3 py-2 text-sm gap-2",
|
|
556
|
+
"leadingIcon": "size-5",
|
|
557
|
+
"leadingAvatarSize": "2xs"
|
|
558
|
+
},
|
|
559
|
+
"xl": {
|
|
560
|
+
"trigger": "px-3 py-2 text-base gap-2",
|
|
561
|
+
"leadingIcon": "size-6",
|
|
562
|
+
"leadingAvatarSize": "xs"
|
|
593
563
|
}
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"compoundVariants": [
|
|
567
|
+
{
|
|
568
|
+
"orientation": "horizontal",
|
|
569
|
+
"variant": "pill",
|
|
570
|
+
"class": { "indicator": "inset-y-1" }
|
|
594
571
|
},
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
props: {
|
|
604
|
-
as: {
|
|
605
|
-
type: null,
|
|
606
|
-
required: false
|
|
572
|
+
{
|
|
573
|
+
"orientation": "horizontal",
|
|
574
|
+
"variant": "link",
|
|
575
|
+
"class": {
|
|
576
|
+
"list": "border-b -mb-px",
|
|
577
|
+
"indicator": "-bottom-px h-px",
|
|
578
|
+
"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"
|
|
579
|
+
}
|
|
607
580
|
},
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
581
|
+
{
|
|
582
|
+
"orientation": "vertical",
|
|
583
|
+
"variant": "pill",
|
|
584
|
+
"class": {
|
|
585
|
+
"indicator": "inset-x-1",
|
|
586
|
+
"list": "items-center",
|
|
587
|
+
"trigger": "w-full justify-center"
|
|
588
|
+
}
|
|
612
589
|
},
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
590
|
+
{
|
|
591
|
+
"orientation": "vertical",
|
|
592
|
+
"variant": "link",
|
|
593
|
+
"class": {
|
|
594
|
+
"list": "border-s -ms-px",
|
|
595
|
+
"indicator": "-start-px w-px",
|
|
596
|
+
"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"
|
|
597
|
+
}
|
|
616
598
|
},
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
599
|
+
{
|
|
600
|
+
"color": "primary",
|
|
601
|
+
"variant": "pill",
|
|
602
|
+
"class": {
|
|
603
|
+
"indicator": "bg-primary",
|
|
604
|
+
"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"]
|
|
605
|
+
}
|
|
621
606
|
},
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
607
|
+
{
|
|
608
|
+
"color": "secondary",
|
|
609
|
+
"variant": "pill",
|
|
610
|
+
"class": {
|
|
611
|
+
"indicator": "bg-secondary",
|
|
612
|
+
"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"]
|
|
613
|
+
}
|
|
626
614
|
},
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
615
|
+
{
|
|
616
|
+
"color": "success",
|
|
617
|
+
"variant": "pill",
|
|
618
|
+
"class": {
|
|
619
|
+
"indicator": "bg-success",
|
|
620
|
+
"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"]
|
|
621
|
+
}
|
|
630
622
|
},
|
|
631
|
-
ui: {
|
|
632
|
-
type: Object,
|
|
633
|
-
required: false
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
emits: ["scroll"],
|
|
637
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
638
|
-
const _props = __props;
|
|
639
|
-
const emits = __emit;
|
|
640
|
-
const props = useComponentProps("scrollArea", _props);
|
|
641
|
-
const { dir } = useLocale();
|
|
642
|
-
const appConfig = useAppConfig();
|
|
643
|
-
const isExternalScroll = computed(() => typeof props.virtualize === "object" && !!props.virtualize.getScrollElement);
|
|
644
|
-
const ui = computed(() => tv({
|
|
645
|
-
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fscroll_area_default,
|
|
646
|
-
...appConfig.ui?.scrollArea || {}
|
|
647
|
-
})({
|
|
648
|
-
orientation: props.orientation,
|
|
649
|
-
externalScroll: isExternalScroll.value
|
|
650
|
-
}));
|
|
651
|
-
const rootRef = useTemplateRef("rootRef");
|
|
652
|
-
const scrollShadowStyle = props.shadow ? useScrollShadow(computed(() => rootRef.value?.$el), {
|
|
653
|
-
orientation: () => props.orientation ?? "vertical",
|
|
654
|
-
size: typeof props.shadow === "object" ? props.shadow.size : void 0
|
|
655
|
-
}).style : void 0;
|
|
656
|
-
const isRtl = computed(() => dir.value === "rtl");
|
|
657
|
-
const isHorizontal = computed(() => props.orientation === "horizontal");
|
|
658
|
-
const isVertical = computed(() => !isHorizontal.value);
|
|
659
|
-
const getScrollElement = () => (isExternalScroll.value ? virtualizerProps.value.getScrollElement?.() : rootRef.value?.$el) ?? null;
|
|
660
|
-
const virtualizerProps = toRef(() => {
|
|
661
|
-
const options = typeof props.virtualize === "boolean" ? {} : props.virtualize;
|
|
662
|
-
return defu(options, {
|
|
663
|
-
estimateSize: 100,
|
|
664
|
-
overscan: 12,
|
|
665
|
-
gap: 0,
|
|
666
|
-
paddingStart: 0,
|
|
667
|
-
paddingEnd: 0,
|
|
668
|
-
scrollMargin: 0
|
|
669
|
-
});
|
|
670
|
-
});
|
|
671
|
-
const lanes = computed(() => {
|
|
672
|
-
const value = virtualizerProps.value.lanes;
|
|
673
|
-
return typeof value === "number" ? value : void 0;
|
|
674
|
-
});
|
|
675
|
-
const skipMeasurement = computed(() => {
|
|
676
|
-
return typeof props.virtualize === "object" && props.virtualize.skipMeasurement === true;
|
|
677
|
-
});
|
|
678
|
-
const virtualizer = !!props.virtualize && useVirtualizer({
|
|
679
|
-
...virtualizerProps.value,
|
|
680
|
-
get overscan() {
|
|
681
|
-
return virtualizerProps.value.overscan;
|
|
682
|
-
},
|
|
683
|
-
get gap() {
|
|
684
|
-
return virtualizerProps.value.gap;
|
|
685
|
-
},
|
|
686
|
-
get paddingStart() {
|
|
687
|
-
return virtualizerProps.value.paddingStart;
|
|
688
|
-
},
|
|
689
|
-
get paddingEnd() {
|
|
690
|
-
return virtualizerProps.value.paddingEnd;
|
|
691
|
-
},
|
|
692
|
-
get scrollMargin() {
|
|
693
|
-
return virtualizerProps.value.scrollMargin;
|
|
694
|
-
},
|
|
695
|
-
get lanes() {
|
|
696
|
-
return lanes.value;
|
|
697
|
-
},
|
|
698
|
-
get isRtl() {
|
|
699
|
-
return isRtl.value;
|
|
700
|
-
},
|
|
701
|
-
get count() {
|
|
702
|
-
return props.items?.length || 0;
|
|
703
|
-
},
|
|
704
|
-
getScrollElement,
|
|
705
|
-
get horizontal() {
|
|
706
|
-
return isHorizontal.value;
|
|
707
|
-
},
|
|
708
|
-
estimateSize: (index) => {
|
|
709
|
-
const estimate = virtualizerProps.value.estimateSize;
|
|
710
|
-
return typeof estimate === "function" ? estimate(index) : estimate;
|
|
711
|
-
}
|
|
712
|
-
});
|
|
713
|
-
const virtualItems = computed(() => virtualizer ? virtualizer.value.getVirtualItems() : []);
|
|
714
|
-
const totalSize = computed(() => virtualizer ? virtualizer.value.getTotalSize() : 0);
|
|
715
|
-
const virtualViewportStyle = computed(() => ({
|
|
716
|
-
position: "relative",
|
|
717
|
-
inlineSize: isHorizontal.value ? `${totalSize.value}px` : "100%",
|
|
718
|
-
blockSize: isVertical.value ? `${totalSize.value}px` : "100%"
|
|
719
|
-
}));
|
|
720
|
-
function getVirtualItemStyle(virtualItem) {
|
|
721
|
-
const hasLanes = lanes.value !== void 0 && lanes.value > 1;
|
|
722
|
-
const lane = virtualItem.lane;
|
|
723
|
-
const gap = virtualizerProps.value.gap ?? 0;
|
|
724
|
-
const offset = virtualItem.start - virtualizerProps.value.scrollMargin;
|
|
725
|
-
const laneSize = hasLanes ? `calc((100% - ${(lanes.value - 1) * gap}px) / ${lanes.value})` : "100%";
|
|
726
|
-
const lanePosition = hasLanes && lane !== void 0 ? `calc(${lane} * ((100% - ${(lanes.value - 1) * gap}px) / ${lanes.value} + ${gap}px))` : 0;
|
|
727
|
-
return {
|
|
728
|
-
position: "absolute",
|
|
729
|
-
insetBlockStart: isHorizontal.value && hasLanes ? lanePosition : 0,
|
|
730
|
-
insetInlineStart: isVertical.value && hasLanes ? lanePosition : 0,
|
|
731
|
-
blockSize: isHorizontal.value ? hasLanes ? laneSize : "100%" : void 0,
|
|
732
|
-
inlineSize: isVertical.value ? hasLanes ? laneSize : "100%" : void 0,
|
|
733
|
-
transform: isHorizontal.value ? `translateX(${isRtl.value ? -offset : offset}px)` : `translateY(${offset}px)`
|
|
734
|
-
};
|
|
735
|
-
}
|
|
736
|
-
let resizeObserver = null;
|
|
737
|
-
let rafId = null;
|
|
738
|
-
watch(getScrollElement, (el) => {
|
|
739
|
-
resizeObserver?.disconnect();
|
|
740
|
-
resizeObserver = null;
|
|
741
|
-
if (!virtualizer || !el) return;
|
|
742
|
-
resizeObserver = new ResizeObserver(() => {
|
|
743
|
-
if (rafId !== null) return;
|
|
744
|
-
rafId = requestAnimationFrame(() => {
|
|
745
|
-
rafId = null;
|
|
746
|
-
virtualizer.value.measure();
|
|
747
|
-
});
|
|
748
|
-
});
|
|
749
|
-
resizeObserver.observe(el);
|
|
750
|
-
}, { immediate: true });
|
|
751
|
-
function measureElement(el) {
|
|
752
|
-
if (el && virtualizer && !skipMeasurement.value) {
|
|
753
|
-
const element = el instanceof Element ? el : el.$el;
|
|
754
|
-
virtualizer.value.measureElement(element);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
watch(() => virtualizer ? virtualizer.value.isScrolling : false, (isScrolling) => emits("scroll", isScrolling));
|
|
758
|
-
function getItemKey(item, index) {
|
|
759
|
-
if (virtualizerProps.value.getItemKey) return virtualizerProps.value.getItemKey(index);
|
|
760
|
-
if (item && typeof item === "object" && "id" in item) return item.id;
|
|
761
|
-
return index;
|
|
762
|
-
}
|
|
763
|
-
__expose({
|
|
764
|
-
get $el() {
|
|
765
|
-
return rootRef.value?.$el;
|
|
766
|
-
},
|
|
767
|
-
virtualizer: virtualizer || void 0
|
|
768
|
-
});
|
|
769
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
770
|
-
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
771
|
-
ref_key: "rootRef",
|
|
772
|
-
ref: rootRef,
|
|
773
|
-
as: unref(props).as,
|
|
774
|
-
"data-slot": "root",
|
|
775
|
-
"data-orientation": unref(props).orientation,
|
|
776
|
-
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }),
|
|
777
|
-
style: unref(scrollShadowStyle)
|
|
778
|
-
}, _attrs), {
|
|
779
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
780
|
-
if (_push) {
|
|
781
|
-
if (unref(virtualizer)) {
|
|
782
|
-
_push(`<div data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: unref(props).ui?.viewport }))}" style="${ssrRenderStyle(virtualViewportStyle.value)}"${_scopeId}><!--[-->`);
|
|
783
|
-
ssrRenderList(virtualItems.value, (virtualItem) => {
|
|
784
|
-
_push(`<div${ssrRenderAttr("data-index", virtualItem.index)} data-slot="item" class="${ssrRenderClass(ui.value.item({ class: unref(props).ui?.item }))}" style="${ssrRenderStyle(getVirtualItemStyle(virtualItem))}"${_scopeId}>`);
|
|
785
|
-
ssrRenderSlot(_ctx.$slots, "default", {
|
|
786
|
-
item: unref(props).items?.[virtualItem.index],
|
|
787
|
-
index: virtualItem.index,
|
|
788
|
-
virtualItem
|
|
789
|
-
}, null, _push, _parent, _scopeId);
|
|
790
|
-
_push(`</div>`);
|
|
791
|
-
});
|
|
792
|
-
_push(`<!--]--></div>`);
|
|
793
|
-
} else {
|
|
794
|
-
_push(`<div data-slot="viewport" class="${ssrRenderClass(ui.value.viewport({ class: unref(props).ui?.viewport }))}"${_scopeId}>`);
|
|
795
|
-
if (unref(props).items) {
|
|
796
|
-
_push(`<!--[-->`);
|
|
797
|
-
ssrRenderList(unref(props).items, (item, index) => {
|
|
798
|
-
_push(`<div data-slot="item" class="${ssrRenderClass(ui.value.item({ class: unref(props).ui?.item }))}"${_scopeId}>`);
|
|
799
|
-
ssrRenderSlot(_ctx.$slots, "default", {
|
|
800
|
-
item,
|
|
801
|
-
index
|
|
802
|
-
}, null, _push, _parent, _scopeId);
|
|
803
|
-
_push(`</div>`);
|
|
804
|
-
});
|
|
805
|
-
_push(`<!--]-->`);
|
|
806
|
-
} else ssrRenderSlot(_ctx.$slots, "default", {
|
|
807
|
-
item: {},
|
|
808
|
-
index: 0
|
|
809
|
-
}, null, _push, _parent, _scopeId);
|
|
810
|
-
_push(`</div>`);
|
|
811
|
-
}
|
|
812
|
-
} else return [unref(virtualizer) ? (openBlock(), createBlock("div", {
|
|
813
|
-
key: 0,
|
|
814
|
-
"data-slot": "viewport",
|
|
815
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport }),
|
|
816
|
-
style: virtualViewportStyle.value
|
|
817
|
-
}, [(openBlock(true), createBlock(Fragment, null, renderList(virtualItems.value, (virtualItem) => {
|
|
818
|
-
return openBlock(), createBlock("div", {
|
|
819
|
-
key: String(virtualItem.key),
|
|
820
|
-
ref_for: true,
|
|
821
|
-
ref: measureElement,
|
|
822
|
-
"data-index": virtualItem.index,
|
|
823
|
-
"data-slot": "item",
|
|
824
|
-
class: ui.value.item({ class: unref(props).ui?.item }),
|
|
825
|
-
style: getVirtualItemStyle(virtualItem)
|
|
826
|
-
}, [renderSlot(_ctx.$slots, "default", {
|
|
827
|
-
item: unref(props).items?.[virtualItem.index],
|
|
828
|
-
index: virtualItem.index,
|
|
829
|
-
virtualItem
|
|
830
|
-
})], 14, ["data-index"]);
|
|
831
|
-
}), 128))], 6)) : (openBlock(), createBlock("div", {
|
|
832
|
-
key: 1,
|
|
833
|
-
"data-slot": "viewport",
|
|
834
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
835
|
-
}, [unref(props).items ? (openBlock(true), createBlock(Fragment, { key: 0 }, renderList(unref(props).items, (item, index) => {
|
|
836
|
-
return openBlock(), createBlock("div", {
|
|
837
|
-
key: getItemKey(item, index),
|
|
838
|
-
"data-slot": "item",
|
|
839
|
-
class: ui.value.item({ class: unref(props).ui?.item })
|
|
840
|
-
}, [renderSlot(_ctx.$slots, "default", {
|
|
841
|
-
item,
|
|
842
|
-
index
|
|
843
|
-
})], 2);
|
|
844
|
-
}), 128)) : renderSlot(_ctx.$slots, "default", {
|
|
845
|
-
item: {},
|
|
846
|
-
index: 0
|
|
847
|
-
}, void 0, void 0, 1)], 2))];
|
|
848
|
-
}),
|
|
849
|
-
_: 3
|
|
850
|
-
}, _parent));
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
};
|
|
854
|
-
var _sfc_setup$1 = _sfc_main$1.setup;
|
|
855
|
-
_sfc_main$1.setup = (props, ctx) => {
|
|
856
|
-
const ssrContext = useSSRContext();
|
|
857
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/ScrollArea.vue");
|
|
858
|
-
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
859
|
-
};
|
|
860
|
-
//#endregion
|
|
861
|
-
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ftabs.ts
|
|
862
|
-
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default = {
|
|
863
|
-
"slots": {
|
|
864
|
-
"root": "flex items-center gap-2",
|
|
865
|
-
"list": "relative flex p-1 group",
|
|
866
|
-
"indicator": "absolute transition-[translate,width] duration-200",
|
|
867
|
-
"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"],
|
|
868
|
-
"leadingIcon": "shrink-0",
|
|
869
|
-
"leadingAvatar": "shrink-0",
|
|
870
|
-
"leadingAvatarSize": "",
|
|
871
|
-
"label": "truncate",
|
|
872
|
-
"trailingBadge": "shrink-0",
|
|
873
|
-
"trailingBadgeSize": "sm",
|
|
874
|
-
"content": "w-full rounded-md focus-visible:outline-3"
|
|
875
|
-
},
|
|
876
|
-
"variants": {
|
|
877
|
-
"color": {
|
|
878
|
-
"primary": { "content": "outline-primary/25" },
|
|
879
|
-
"secondary": { "content": "outline-secondary/25" },
|
|
880
|
-
"success": { "content": "outline-success/25" },
|
|
881
|
-
"info": { "content": "outline-info/25" },
|
|
882
|
-
"warning": { "content": "outline-warning/25" },
|
|
883
|
-
"error": { "content": "outline-error/25" },
|
|
884
|
-
"neutral": { "content": "outline-inverted/25" }
|
|
885
|
-
},
|
|
886
|
-
"variant": {
|
|
887
|
-
"pill": {
|
|
888
|
-
"list": "bg-elevated rounded-lg",
|
|
889
|
-
"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"],
|
|
890
|
-
"indicator": "rounded-md shadow-xs"
|
|
891
|
-
},
|
|
892
|
-
"link": {
|
|
893
|
-
"list": "border-default",
|
|
894
|
-
"indicator": "rounded-full",
|
|
895
|
-
"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"
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
"orientation": {
|
|
899
|
-
"horizontal": {
|
|
900
|
-
"root": "flex-col",
|
|
901
|
-
"list": "w-full",
|
|
902
|
-
"indicator": "left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",
|
|
903
|
-
"trigger": "justify-center"
|
|
904
|
-
},
|
|
905
|
-
"vertical": {
|
|
906
|
-
"list": "flex-col",
|
|
907
|
-
"indicator": "top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
"size": {
|
|
911
|
-
"xs": {
|
|
912
|
-
"trigger": "px-2 py-1 text-xs gap-1",
|
|
913
|
-
"leadingIcon": "size-4",
|
|
914
|
-
"leadingAvatarSize": "3xs"
|
|
915
|
-
},
|
|
916
|
-
"sm": {
|
|
917
|
-
"trigger": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
918
|
-
"leadingIcon": "size-4",
|
|
919
|
-
"leadingAvatarSize": "3xs"
|
|
920
|
-
},
|
|
921
|
-
"md": {
|
|
922
|
-
"trigger": "px-3 py-1.5 text-sm gap-1.5",
|
|
923
|
-
"leadingIcon": "size-5",
|
|
924
|
-
"leadingAvatarSize": "2xs"
|
|
925
|
-
},
|
|
926
|
-
"lg": {
|
|
927
|
-
"trigger": "px-3 py-2 text-sm gap-2",
|
|
928
|
-
"leadingIcon": "size-5",
|
|
929
|
-
"leadingAvatarSize": "2xs"
|
|
930
|
-
},
|
|
931
|
-
"xl": {
|
|
932
|
-
"trigger": "px-3 py-2 text-base gap-2",
|
|
933
|
-
"leadingIcon": "size-6",
|
|
934
|
-
"leadingAvatarSize": "xs"
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
"compoundVariants": [
|
|
939
623
|
{
|
|
940
|
-
"
|
|
624
|
+
"color": "info",
|
|
941
625
|
"variant": "pill",
|
|
942
|
-
"class": {
|
|
626
|
+
"class": {
|
|
627
|
+
"indicator": "bg-info",
|
|
628
|
+
"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"]
|
|
629
|
+
}
|
|
943
630
|
},
|
|
944
631
|
{
|
|
945
|
-
"
|
|
946
|
-
"variant": "
|
|
632
|
+
"color": "warning",
|
|
633
|
+
"variant": "pill",
|
|
947
634
|
"class": {
|
|
948
|
-
"
|
|
949
|
-
"
|
|
950
|
-
"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"
|
|
635
|
+
"indicator": "bg-warning",
|
|
636
|
+
"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"]
|
|
951
637
|
}
|
|
952
638
|
},
|
|
953
639
|
{
|
|
954
|
-
"
|
|
640
|
+
"color": "error",
|
|
955
641
|
"variant": "pill",
|
|
956
642
|
"class": {
|
|
957
|
-
"indicator": "
|
|
958
|
-
"
|
|
959
|
-
"trigger": "w-full justify-center"
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"orientation": "vertical",
|
|
964
|
-
"variant": "link",
|
|
965
|
-
"class": {
|
|
966
|
-
"list": "border-s -ms-px",
|
|
967
|
-
"indicator": "-start-px w-px",
|
|
968
|
-
"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"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"color": "primary",
|
|
973
|
-
"variant": "pill",
|
|
974
|
-
"class": {
|
|
975
|
-
"indicator": "bg-primary",
|
|
976
|
-
"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"]
|
|
977
|
-
}
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"color": "secondary",
|
|
981
|
-
"variant": "pill",
|
|
982
|
-
"class": {
|
|
983
|
-
"indicator": "bg-secondary",
|
|
984
|
-
"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"]
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"color": "success",
|
|
989
|
-
"variant": "pill",
|
|
990
|
-
"class": {
|
|
991
|
-
"indicator": "bg-success",
|
|
992
|
-
"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"]
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"color": "info",
|
|
997
|
-
"variant": "pill",
|
|
998
|
-
"class": {
|
|
999
|
-
"indicator": "bg-info",
|
|
1000
|
-
"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"]
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"color": "warning",
|
|
1005
|
-
"variant": "pill",
|
|
1006
|
-
"class": {
|
|
1007
|
-
"indicator": "bg-warning",
|
|
1008
|
-
"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"]
|
|
1009
|
-
}
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"color": "error",
|
|
1013
|
-
"variant": "pill",
|
|
1014
|
-
"class": {
|
|
1015
|
-
"indicator": "bg-error",
|
|
1016
|
-
"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"]
|
|
643
|
+
"indicator": "bg-error",
|
|
644
|
+
"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"]
|
|
1017
645
|
}
|
|
1018
646
|
},
|
|
1019
647
|
{
|
|
@@ -1072,66 +700,573 @@ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default = {
|
|
|
1072
700
|
"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"]
|
|
1073
701
|
}
|
|
1074
702
|
},
|
|
1075
|
-
{
|
|
1076
|
-
"color": "neutral",
|
|
1077
|
-
"variant": "link",
|
|
1078
|
-
"class": {
|
|
1079
|
-
"indicator": "bg-inverted",
|
|
1080
|
-
"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"]
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
],
|
|
1084
|
-
"defaultVariants": {
|
|
1085
|
-
"color": "primary",
|
|
1086
|
-
"variant": "pill",
|
|
1087
|
-
"size": "md"
|
|
703
|
+
{
|
|
704
|
+
"color": "neutral",
|
|
705
|
+
"variant": "link",
|
|
706
|
+
"class": {
|
|
707
|
+
"indicator": "bg-inverted",
|
|
708
|
+
"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"]
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"defaultVariants": {
|
|
713
|
+
"color": "primary",
|
|
714
|
+
"variant": "pill",
|
|
715
|
+
"size": "md"
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
//#endregion
|
|
719
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue
|
|
720
|
+
var _sfc_main$1 = {
|
|
721
|
+
__name: "UTabs",
|
|
722
|
+
__ssrInlineRender: true,
|
|
723
|
+
props: {
|
|
724
|
+
as: {
|
|
725
|
+
type: null,
|
|
726
|
+
required: false
|
|
727
|
+
},
|
|
728
|
+
items: {
|
|
729
|
+
type: Array,
|
|
730
|
+
required: false
|
|
731
|
+
},
|
|
732
|
+
color: {
|
|
733
|
+
type: null,
|
|
734
|
+
required: false
|
|
735
|
+
},
|
|
736
|
+
variant: {
|
|
737
|
+
type: null,
|
|
738
|
+
required: false
|
|
739
|
+
},
|
|
740
|
+
size: {
|
|
741
|
+
type: null,
|
|
742
|
+
required: false
|
|
743
|
+
},
|
|
744
|
+
orientation: {
|
|
745
|
+
type: null,
|
|
746
|
+
required: false,
|
|
747
|
+
default: "horizontal"
|
|
748
|
+
},
|
|
749
|
+
content: {
|
|
750
|
+
type: Boolean,
|
|
751
|
+
required: false,
|
|
752
|
+
default: true
|
|
753
|
+
},
|
|
754
|
+
valueKey: {
|
|
755
|
+
type: null,
|
|
756
|
+
required: false,
|
|
757
|
+
default: "value"
|
|
758
|
+
},
|
|
759
|
+
labelKey: {
|
|
760
|
+
type: null,
|
|
761
|
+
required: false,
|
|
762
|
+
default: "label"
|
|
763
|
+
},
|
|
764
|
+
class: {
|
|
765
|
+
type: null,
|
|
766
|
+
required: false
|
|
767
|
+
},
|
|
768
|
+
ui: {
|
|
769
|
+
type: Object,
|
|
770
|
+
required: false
|
|
771
|
+
},
|
|
772
|
+
defaultValue: {
|
|
773
|
+
type: [String, Number],
|
|
774
|
+
required: false,
|
|
775
|
+
default: "0"
|
|
776
|
+
},
|
|
777
|
+
modelValue: {
|
|
778
|
+
type: [String, Number],
|
|
779
|
+
required: false
|
|
780
|
+
},
|
|
781
|
+
activationMode: {
|
|
782
|
+
type: String,
|
|
783
|
+
required: false
|
|
784
|
+
},
|
|
785
|
+
unmountOnHide: {
|
|
786
|
+
type: Boolean,
|
|
787
|
+
required: false,
|
|
788
|
+
default: true
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
emits: ["update:modelValue"],
|
|
792
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
793
|
+
const _props = __props;
|
|
794
|
+
const emits = __emit;
|
|
795
|
+
const slots = vueExports.useSlots();
|
|
796
|
+
const props = useComponentProps("tabs", _props);
|
|
797
|
+
const appConfig = useAppConfig();
|
|
798
|
+
const rootProps = useForwardProps(reactivePick(props, "as", "unmountOnHide"), emits);
|
|
799
|
+
const ui = vueExports.computed(() => tv({
|
|
800
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ftabs_default,
|
|
801
|
+
...appConfig.ui?.tabs || {}
|
|
802
|
+
})({
|
|
803
|
+
color: props.color,
|
|
804
|
+
variant: props.variant,
|
|
805
|
+
size: props.size,
|
|
806
|
+
orientation: props.orientation
|
|
807
|
+
}));
|
|
808
|
+
const triggersRef = vueExports.ref([]);
|
|
809
|
+
function setTriggerRef(index, el) {
|
|
810
|
+
triggersRef.value[index] = el;
|
|
811
|
+
}
|
|
812
|
+
__expose({ triggersRef });
|
|
813
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
814
|
+
_push(ssrRenderComponent_1(vueExports.unref(TabsRoot_default), vueExports.mergeProps(vueExports.unref(rootProps), {
|
|
815
|
+
"model-value": vueExports.unref(props).modelValue,
|
|
816
|
+
"default-value": vueExports.unref(props).defaultValue,
|
|
817
|
+
orientation: vueExports.unref(props).orientation,
|
|
818
|
+
"activation-mode": vueExports.unref(props).activationMode,
|
|
819
|
+
"data-slot": "root",
|
|
820
|
+
class: ui.value.root({ class: [vueExports.unref(props).ui?.root, vueExports.unref(props).class] })
|
|
821
|
+
}, _attrs), {
|
|
822
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
823
|
+
if (_push) {
|
|
824
|
+
_push(ssrRenderComponent_1(vueExports.unref(TabsList_default), {
|
|
825
|
+
"data-slot": "list",
|
|
826
|
+
class: ui.value.list({ class: vueExports.unref(props).ui?.list })
|
|
827
|
+
}, {
|
|
828
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
829
|
+
if (_push) {
|
|
830
|
+
_push(ssrRenderComponent_1(vueExports.unref(TabsIndicator_default), {
|
|
831
|
+
"data-slot": "indicator",
|
|
832
|
+
class: ui.value.indicator({ class: vueExports.unref(props).ui?.indicator })
|
|
833
|
+
}, null, _parent, _scopeId));
|
|
834
|
+
ssrRenderSlot_1(_ctx.$slots, "list-leading", {}, null, _push, _parent, _scopeId);
|
|
835
|
+
_push(`<!--[-->`);
|
|
836
|
+
ssrRenderList_1(vueExports.unref(props).items, (item, index) => {
|
|
837
|
+
_push(ssrRenderComponent_1(vueExports.unref(TabsTrigger_default), {
|
|
838
|
+
key: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? index,
|
|
839
|
+
ref_for: true,
|
|
840
|
+
ref: (el) => setTriggerRef(index, el),
|
|
841
|
+
value: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? String(index),
|
|
842
|
+
disabled: item.disabled,
|
|
843
|
+
"data-slot": "trigger",
|
|
844
|
+
class: ui.value.trigger({ class: [vueExports.unref(props).ui?.trigger, item.ui?.trigger] })
|
|
845
|
+
}, {
|
|
846
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
847
|
+
if (_push) {
|
|
848
|
+
ssrRenderSlot_1(_ctx.$slots, "leading", {
|
|
849
|
+
item,
|
|
850
|
+
index,
|
|
851
|
+
ui: ui.value
|
|
852
|
+
}, () => {
|
|
853
|
+
if (item.icon) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
854
|
+
name: item.icon,
|
|
855
|
+
"data-slot": "leadingIcon",
|
|
856
|
+
class: ui.value.leadingIcon({ class: [vueExports.unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
857
|
+
}, null, _parent, _scopeId));
|
|
858
|
+
else if (item.avatar) _push(ssrRenderComponent_1(_sfc_main$3, vueExports.mergeProps({ size: item.ui?.leadingAvatarSize || vueExports.unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize() }, { ref_for: true }, item.avatar, {
|
|
859
|
+
"data-slot": "leadingAvatar",
|
|
860
|
+
class: ui.value.leadingAvatar({ class: [vueExports.unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
861
|
+
}), null, _parent, _scopeId));
|
|
862
|
+
else _push(`<!---->`);
|
|
863
|
+
}, _push, _parent, _scopeId);
|
|
864
|
+
if (vueExports.unref(get)(item, vueExports.unref(props).labelKey) || !!slots.default) {
|
|
865
|
+
_push(`<span data-slot="label" class="${ssrRenderClass_1(ui.value.label({ class: [vueExports.unref(props).ui?.label, item.ui?.label] }))}"${_scopeId}>`);
|
|
866
|
+
ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
867
|
+
item,
|
|
868
|
+
index
|
|
869
|
+
}, () => {
|
|
870
|
+
_push(`${ssrInterpolate_1(vueExports.unref(get)(item, vueExports.unref(props).labelKey))}`);
|
|
871
|
+
}, _push, _parent, _scopeId);
|
|
872
|
+
_push(`</span>`);
|
|
873
|
+
} else _push(`<!---->`);
|
|
874
|
+
ssrRenderSlot_1(_ctx.$slots, "trailing", {
|
|
875
|
+
item,
|
|
876
|
+
index,
|
|
877
|
+
ui: ui.value
|
|
878
|
+
}, () => {
|
|
879
|
+
if (item.badge || item.badge === 0) _push(ssrRenderComponent_1(_sfc_main$4, vueExports.mergeProps({
|
|
880
|
+
color: "neutral",
|
|
881
|
+
variant: "outline",
|
|
882
|
+
size: item.ui?.trailingBadgeSize || vueExports.unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
883
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
884
|
+
"data-slot": "trailingBadge",
|
|
885
|
+
class: ui.value.trailingBadge({ class: [vueExports.unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
886
|
+
}), null, _parent, _scopeId));
|
|
887
|
+
else _push(`<!---->`);
|
|
888
|
+
}, _push, _parent, _scopeId);
|
|
889
|
+
} else return [
|
|
890
|
+
vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
891
|
+
item,
|
|
892
|
+
index,
|
|
893
|
+
ui: ui.value
|
|
894
|
+
}, () => [item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
895
|
+
key: 0,
|
|
896
|
+
name: item.icon,
|
|
897
|
+
"data-slot": "leadingIcon",
|
|
898
|
+
class: ui.value.leadingIcon({ class: [vueExports.unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
899
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
900
|
+
key: 1,
|
|
901
|
+
size: item.ui?.leadingAvatarSize || vueExports.unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
902
|
+
}, { ref_for: true }, item.avatar, {
|
|
903
|
+
"data-slot": "leadingAvatar",
|
|
904
|
+
class: ui.value.leadingAvatar({ class: [vueExports.unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
905
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
906
|
+
vueExports.unref(get)(item, vueExports.unref(props).labelKey) || !!slots.default ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
907
|
+
key: 0,
|
|
908
|
+
"data-slot": "label",
|
|
909
|
+
class: ui.value.label({ class: [vueExports.unref(props).ui?.label, item.ui?.label] })
|
|
910
|
+
}, [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
911
|
+
item,
|
|
912
|
+
index
|
|
913
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)])], 2)) : vueExports.createCommentVNode("", true),
|
|
914
|
+
vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
915
|
+
item,
|
|
916
|
+
index,
|
|
917
|
+
ui: ui.value
|
|
918
|
+
}, () => [item.badge || item.badge === 0 ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4, vueExports.mergeProps({
|
|
919
|
+
key: 0,
|
|
920
|
+
color: "neutral",
|
|
921
|
+
variant: "outline",
|
|
922
|
+
size: item.ui?.trailingBadgeSize || vueExports.unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
923
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
924
|
+
"data-slot": "trailingBadge",
|
|
925
|
+
class: ui.value.trailingBadge({ class: [vueExports.unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
926
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])
|
|
927
|
+
];
|
|
928
|
+
}),
|
|
929
|
+
_: 2
|
|
930
|
+
}, _parent, _scopeId));
|
|
931
|
+
});
|
|
932
|
+
_push(`<!--]-->`);
|
|
933
|
+
ssrRenderSlot_1(_ctx.$slots, "list-trailing", {}, null, _push, _parent, _scopeId);
|
|
934
|
+
} else return [
|
|
935
|
+
vueExports.createVNode(vueExports.unref(TabsIndicator_default), {
|
|
936
|
+
"data-slot": "indicator",
|
|
937
|
+
class: ui.value.indicator({ class: vueExports.unref(props).ui?.indicator })
|
|
938
|
+
}, null, 8, ["class"]),
|
|
939
|
+
vueExports.renderSlot(_ctx.$slots, "list-leading"),
|
|
940
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(vueExports.unref(props).items, (item, index) => {
|
|
941
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(TabsTrigger_default), {
|
|
942
|
+
key: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? index,
|
|
943
|
+
ref_for: true,
|
|
944
|
+
ref: (el) => setTriggerRef(index, el),
|
|
945
|
+
value: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? String(index),
|
|
946
|
+
disabled: item.disabled,
|
|
947
|
+
"data-slot": "trigger",
|
|
948
|
+
class: ui.value.trigger({ class: [vueExports.unref(props).ui?.trigger, item.ui?.trigger] })
|
|
949
|
+
}, {
|
|
950
|
+
default: vueExports.withCtx(() => [
|
|
951
|
+
vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
952
|
+
item,
|
|
953
|
+
index,
|
|
954
|
+
ui: ui.value
|
|
955
|
+
}, () => [item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
956
|
+
key: 0,
|
|
957
|
+
name: item.icon,
|
|
958
|
+
"data-slot": "leadingIcon",
|
|
959
|
+
class: ui.value.leadingIcon({ class: [vueExports.unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
960
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
961
|
+
key: 1,
|
|
962
|
+
size: item.ui?.leadingAvatarSize || vueExports.unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
963
|
+
}, { ref_for: true }, item.avatar, {
|
|
964
|
+
"data-slot": "leadingAvatar",
|
|
965
|
+
class: ui.value.leadingAvatar({ class: [vueExports.unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
966
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
967
|
+
vueExports.unref(get)(item, vueExports.unref(props).labelKey) || !!slots.default ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
968
|
+
key: 0,
|
|
969
|
+
"data-slot": "label",
|
|
970
|
+
class: ui.value.label({ class: [vueExports.unref(props).ui?.label, item.ui?.label] })
|
|
971
|
+
}, [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
972
|
+
item,
|
|
973
|
+
index
|
|
974
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)])], 2)) : vueExports.createCommentVNode("", true),
|
|
975
|
+
vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
976
|
+
item,
|
|
977
|
+
index,
|
|
978
|
+
ui: ui.value
|
|
979
|
+
}, () => [item.badge || item.badge === 0 ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4, vueExports.mergeProps({
|
|
980
|
+
key: 0,
|
|
981
|
+
color: "neutral",
|
|
982
|
+
variant: "outline",
|
|
983
|
+
size: item.ui?.trailingBadgeSize || vueExports.unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
984
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
985
|
+
"data-slot": "trailingBadge",
|
|
986
|
+
class: ui.value.trailingBadge({ class: [vueExports.unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
987
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])
|
|
988
|
+
]),
|
|
989
|
+
_: 2
|
|
990
|
+
}, 1032, [
|
|
991
|
+
"value",
|
|
992
|
+
"disabled",
|
|
993
|
+
"class"
|
|
994
|
+
]);
|
|
995
|
+
}), 128)),
|
|
996
|
+
vueExports.renderSlot(_ctx.$slots, "list-trailing")
|
|
997
|
+
];
|
|
998
|
+
}),
|
|
999
|
+
_: 3
|
|
1000
|
+
}, _parent, _scopeId));
|
|
1001
|
+
if (!!vueExports.unref(props).content) {
|
|
1002
|
+
_push(`<!--[-->`);
|
|
1003
|
+
ssrRenderList_1(vueExports.unref(props).items, (item, index) => {
|
|
1004
|
+
_push(ssrRenderComponent_1(vueExports.unref(TabsContent_default), {
|
|
1005
|
+
key: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? index,
|
|
1006
|
+
value: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? String(index),
|
|
1007
|
+
"data-slot": "content",
|
|
1008
|
+
class: ui.value.content({ class: [
|
|
1009
|
+
vueExports.unref(props).ui?.content,
|
|
1010
|
+
item.ui?.content,
|
|
1011
|
+
item.class
|
|
1012
|
+
] })
|
|
1013
|
+
}, {
|
|
1014
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
1015
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, item.slot || "content", {
|
|
1016
|
+
item,
|
|
1017
|
+
index,
|
|
1018
|
+
ui: ui.value
|
|
1019
|
+
}, () => {
|
|
1020
|
+
_push(`${ssrInterpolate_1(item.content)}`);
|
|
1021
|
+
}, _push, _parent, _scopeId);
|
|
1022
|
+
else return [vueExports.renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1023
|
+
item,
|
|
1024
|
+
index,
|
|
1025
|
+
ui: ui.value
|
|
1026
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(item.content), 1)])];
|
|
1027
|
+
}),
|
|
1028
|
+
_: 2
|
|
1029
|
+
}, _parent, _scopeId));
|
|
1030
|
+
});
|
|
1031
|
+
_push(`<!--]-->`);
|
|
1032
|
+
} else _push(`<!---->`);
|
|
1033
|
+
} else return [vueExports.createVNode(vueExports.unref(TabsList_default), {
|
|
1034
|
+
"data-slot": "list",
|
|
1035
|
+
class: ui.value.list({ class: vueExports.unref(props).ui?.list })
|
|
1036
|
+
}, {
|
|
1037
|
+
default: vueExports.withCtx(() => [
|
|
1038
|
+
vueExports.createVNode(vueExports.unref(TabsIndicator_default), {
|
|
1039
|
+
"data-slot": "indicator",
|
|
1040
|
+
class: ui.value.indicator({ class: vueExports.unref(props).ui?.indicator })
|
|
1041
|
+
}, null, 8, ["class"]),
|
|
1042
|
+
vueExports.renderSlot(_ctx.$slots, "list-leading"),
|
|
1043
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(vueExports.unref(props).items, (item, index) => {
|
|
1044
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(TabsTrigger_default), {
|
|
1045
|
+
key: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? index,
|
|
1046
|
+
ref_for: true,
|
|
1047
|
+
ref: (el) => setTriggerRef(index, el),
|
|
1048
|
+
value: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? String(index),
|
|
1049
|
+
disabled: item.disabled,
|
|
1050
|
+
"data-slot": "trigger",
|
|
1051
|
+
class: ui.value.trigger({ class: [vueExports.unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1052
|
+
}, {
|
|
1053
|
+
default: vueExports.withCtx(() => [
|
|
1054
|
+
vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
1055
|
+
item,
|
|
1056
|
+
index,
|
|
1057
|
+
ui: ui.value
|
|
1058
|
+
}, () => [item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
1059
|
+
key: 0,
|
|
1060
|
+
name: item.icon,
|
|
1061
|
+
"data-slot": "leadingIcon",
|
|
1062
|
+
class: ui.value.leadingIcon({ class: [vueExports.unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1063
|
+
}, null, 8, ["name", "class"])) : item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
1064
|
+
key: 1,
|
|
1065
|
+
size: item.ui?.leadingAvatarSize || vueExports.unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1066
|
+
}, { ref_for: true }, item.avatar, {
|
|
1067
|
+
"data-slot": "leadingAvatar",
|
|
1068
|
+
class: ui.value.leadingAvatar({ class: [vueExports.unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1069
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
1070
|
+
vueExports.unref(get)(item, vueExports.unref(props).labelKey) || !!slots.default ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
1071
|
+
key: 0,
|
|
1072
|
+
"data-slot": "label",
|
|
1073
|
+
class: ui.value.label({ class: [vueExports.unref(props).ui?.label, item.ui?.label] })
|
|
1074
|
+
}, [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1075
|
+
item,
|
|
1076
|
+
index
|
|
1077
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)])], 2)) : vueExports.createCommentVNode("", true),
|
|
1078
|
+
vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
1079
|
+
item,
|
|
1080
|
+
index,
|
|
1081
|
+
ui: ui.value
|
|
1082
|
+
}, () => [item.badge || item.badge === 0 ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4, vueExports.mergeProps({
|
|
1083
|
+
key: 0,
|
|
1084
|
+
color: "neutral",
|
|
1085
|
+
variant: "outline",
|
|
1086
|
+
size: item.ui?.trailingBadgeSize || vueExports.unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1087
|
+
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1088
|
+
"data-slot": "trailingBadge",
|
|
1089
|
+
class: ui.value.trailingBadge({ class: [vueExports.unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1090
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])
|
|
1091
|
+
]),
|
|
1092
|
+
_: 2
|
|
1093
|
+
}, 1032, [
|
|
1094
|
+
"value",
|
|
1095
|
+
"disabled",
|
|
1096
|
+
"class"
|
|
1097
|
+
]);
|
|
1098
|
+
}), 128)),
|
|
1099
|
+
vueExports.renderSlot(_ctx.$slots, "list-trailing")
|
|
1100
|
+
]),
|
|
1101
|
+
_: 3
|
|
1102
|
+
}, 8, ["class"]), !!vueExports.unref(props).content ? (vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, { key: 0 }, vueExports.renderList(vueExports.unref(props).items, (item, index) => {
|
|
1103
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(TabsContent_default), {
|
|
1104
|
+
key: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? index,
|
|
1105
|
+
value: vueExports.unref(get)(item, vueExports.unref(props).valueKey) ?? String(index),
|
|
1106
|
+
"data-slot": "content",
|
|
1107
|
+
class: ui.value.content({ class: [
|
|
1108
|
+
vueExports.unref(props).ui?.content,
|
|
1109
|
+
item.ui?.content,
|
|
1110
|
+
item.class
|
|
1111
|
+
] })
|
|
1112
|
+
}, {
|
|
1113
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1114
|
+
item,
|
|
1115
|
+
index,
|
|
1116
|
+
ui: ui.value
|
|
1117
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(item.content), 1)])]),
|
|
1118
|
+
_: 2
|
|
1119
|
+
}, 1032, ["value", "class"]);
|
|
1120
|
+
}), 128)) : vueExports.createCommentVNode("", true)];
|
|
1121
|
+
}),
|
|
1122
|
+
_: 3
|
|
1123
|
+
}, _parent));
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
};
|
|
1127
|
+
var _sfc_setup$2 = _sfc_main$1.setup;
|
|
1128
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
1129
|
+
const ssrContext = vueExports.useSSRContext();
|
|
1130
|
+
(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");
|
|
1131
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
1132
|
+
};
|
|
1133
|
+
//#endregion
|
|
1134
|
+
//#region app/components/FileDropZone.vue?vue&type=script&setup=true&lang.ts
|
|
1135
|
+
var FileDropZone_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ vueExports.defineComponent({
|
|
1136
|
+
__name: "FileDropZone",
|
|
1137
|
+
__ssrInlineRender: true,
|
|
1138
|
+
props: {
|
|
1139
|
+
accept: {},
|
|
1140
|
+
title: {},
|
|
1141
|
+
description: {},
|
|
1142
|
+
fileName: {},
|
|
1143
|
+
pending: {
|
|
1144
|
+
type: Boolean,
|
|
1145
|
+
default: false
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
emits: ["select"],
|
|
1149
|
+
setup(__props, { emit: __emit }) {
|
|
1150
|
+
vueExports.useTemplateRef("input");
|
|
1151
|
+
const dragging = vueExports.ref(false);
|
|
1152
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1153
|
+
const _component_UIcon = _sfc_main$5;
|
|
1154
|
+
const _component_UButton = _sfc_main$2;
|
|
1155
|
+
_push(`<div${ssrRenderAttrs_1(vueExports.mergeProps({
|
|
1156
|
+
class: ["group flex min-h-28 cursor-pointer items-center gap-4 border border-dashed px-4 py-4 transition-colors focus-within:outline-2 focus-within:outline-primary", vueExports.unref(dragging) ? "border-primary bg-primary/5" : "border-default hover:border-accented hover:bg-elevated/60"],
|
|
1157
|
+
role: "button",
|
|
1158
|
+
tabindex: "0"
|
|
1159
|
+
}, _attrs))}><input type="file"${ssrRenderAttr_1("accept", __props.accept)} class="sr-only"><span class="grid size-10 shrink-0 place-items-center bg-muted text-muted group-hover:text-default">`);
|
|
1160
|
+
_push(ssrRenderComponent_1(_component_UIcon, {
|
|
1161
|
+
name: __props.pending ? "i-lucide-loader-circle" : __props.fileName ? "i-lucide-file-check-2" : "i-lucide-file-up",
|
|
1162
|
+
class: ["size-5", __props.pending ? "animate-spin" : ""]
|
|
1163
|
+
}, null, _parent));
|
|
1164
|
+
_push(`</span><div class="min-w-0 flex-1"><p class="truncate text-sm font-medium text-highlighted">${ssrInterpolate_1(__props.fileName || __props.title)}</p>`);
|
|
1165
|
+
if (__props.pending || __props.fileName || __props.description) _push(`<p class="mt-1 text-xs text-muted">${ssrInterpolate_1(__props.pending ? "正在读取文件" : __props.fileName ? "点击或拖入文件以替换" : __props.description)}</p>`);
|
|
1166
|
+
else _push(`<!---->`);
|
|
1167
|
+
_push(`</div>`);
|
|
1168
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
1169
|
+
type: "button",
|
|
1170
|
+
icon: "i-lucide-folder-open",
|
|
1171
|
+
label: "选择文件",
|
|
1172
|
+
color: "neutral",
|
|
1173
|
+
variant: "outline",
|
|
1174
|
+
loading: __props.pending,
|
|
1175
|
+
tabindex: "-1"
|
|
1176
|
+
}, null, _parent));
|
|
1177
|
+
_push(`</div>`);
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
});
|
|
1181
|
+
//#endregion
|
|
1182
|
+
//#region app/components/FileDropZone.vue
|
|
1183
|
+
var _sfc_setup$1 = FileDropZone_vue_vue_type_script_setup_true_lang_default.setup;
|
|
1184
|
+
FileDropZone_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
1185
|
+
const ssrContext = vueExports.useSSRContext();
|
|
1186
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/FileDropZone.vue");
|
|
1187
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
1188
|
+
};
|
|
1189
|
+
var FileDropZone_default = Object.assign(FileDropZone_vue_vue_type_script_setup_true_lang_default, { __name: "FileDropZone" });
|
|
1190
|
+
//#endregion
|
|
1191
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useScrollShadow.js
|
|
1192
|
+
function useScrollShadow(element, options = {}) {
|
|
1193
|
+
const { arrivedState } = useScroll(element);
|
|
1194
|
+
return {
|
|
1195
|
+
style: vueExports.computed(() => {
|
|
1196
|
+
const el = vueExports.toValue(element);
|
|
1197
|
+
const orientation = vueExports.toValue(options.orientation) ?? "vertical";
|
|
1198
|
+
const [startKey, endKey] = orientation === "horizontal" ? ["left", "right"] : ["top", "bottom"];
|
|
1199
|
+
const showStart = !arrivedState[startKey];
|
|
1200
|
+
const showEnd = !arrivedState[endKey];
|
|
1201
|
+
if (!showStart && !showEnd) return void 0;
|
|
1202
|
+
if (!(el ? orientation === "horizontal" ? el.scrollWidth > el.clientWidth : el.scrollHeight > el.clientHeight : false)) return void 0;
|
|
1203
|
+
const size = `${vueExports.toValue(options.size) ?? 24}px`;
|
|
1204
|
+
const angle = orientation === "horizontal" ? "90deg" : "180deg";
|
|
1205
|
+
if (showStart && showEnd) return { maskImage: `linear-gradient(${angle}, transparent, #000 ${size}, #000 calc(100% - ${size}), transparent)` };
|
|
1206
|
+
if (showStart) return { maskImage: `linear-gradient(${angle}, transparent, #000 ${size})` };
|
|
1207
|
+
return { maskImage: `linear-gradient(${angle}, #000, #000 calc(100% - ${size}), transparent)` };
|
|
1208
|
+
}),
|
|
1209
|
+
isOverflowing: vueExports.computed(() => {
|
|
1210
|
+
arrivedState.top, arrivedState.bottom, arrivedState.left, arrivedState.right;
|
|
1211
|
+
const el = vueExports.toValue(element);
|
|
1212
|
+
if (!el) return false;
|
|
1213
|
+
return (vueExports.toValue(options.orientation) ?? "vertical") === "horizontal" ? el.scrollWidth > el.clientWidth : el.scrollHeight > el.clientHeight;
|
|
1214
|
+
}),
|
|
1215
|
+
arrivedState
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
//#endregion
|
|
1219
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fscroll-area.ts
|
|
1220
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fscroll_area_default = {
|
|
1221
|
+
"slots": {
|
|
1222
|
+
"root": "relative outline-primary/25 focus-visible:outline-3",
|
|
1223
|
+
"viewport": "relative flex",
|
|
1224
|
+
"item": ""
|
|
1225
|
+
},
|
|
1226
|
+
"variants": {
|
|
1227
|
+
"orientation": {
|
|
1228
|
+
"vertical": {
|
|
1229
|
+
"root": "overflow-y-auto overflow-x-hidden",
|
|
1230
|
+
"viewport": "flex-col",
|
|
1231
|
+
"item": ""
|
|
1232
|
+
},
|
|
1233
|
+
"horizontal": {
|
|
1234
|
+
"root": "overflow-x-auto overflow-y-hidden",
|
|
1235
|
+
"viewport": "flex-row",
|
|
1236
|
+
"item": ""
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"externalScroll": { "true": { "root": "overflow-visible" } }
|
|
1088
1240
|
}
|
|
1089
1241
|
};
|
|
1090
1242
|
//#endregion
|
|
1091
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/
|
|
1243
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/ScrollArea.vue
|
|
1092
1244
|
var _sfc_main = {
|
|
1093
|
-
__name: "
|
|
1245
|
+
__name: "UScrollArea",
|
|
1094
1246
|
__ssrInlineRender: true,
|
|
1095
1247
|
props: {
|
|
1096
1248
|
as: {
|
|
1097
1249
|
type: null,
|
|
1098
1250
|
required: false
|
|
1099
1251
|
},
|
|
1100
|
-
items: {
|
|
1101
|
-
type: Array,
|
|
1102
|
-
required: false
|
|
1103
|
-
},
|
|
1104
|
-
color: {
|
|
1105
|
-
type: null,
|
|
1106
|
-
required: false
|
|
1107
|
-
},
|
|
1108
|
-
variant: {
|
|
1109
|
-
type: null,
|
|
1110
|
-
required: false
|
|
1111
|
-
},
|
|
1112
|
-
size: {
|
|
1113
|
-
type: null,
|
|
1114
|
-
required: false
|
|
1115
|
-
},
|
|
1116
1252
|
orientation: {
|
|
1117
1253
|
type: null,
|
|
1118
1254
|
required: false,
|
|
1119
|
-
default: "
|
|
1255
|
+
default: "vertical"
|
|
1120
1256
|
},
|
|
1121
|
-
|
|
1122
|
-
type:
|
|
1123
|
-
required: false
|
|
1124
|
-
default: true
|
|
1257
|
+
items: {
|
|
1258
|
+
type: Array,
|
|
1259
|
+
required: false
|
|
1125
1260
|
},
|
|
1126
|
-
|
|
1127
|
-
type:
|
|
1261
|
+
virtualize: {
|
|
1262
|
+
type: [Boolean, Object],
|
|
1128
1263
|
required: false,
|
|
1129
|
-
default:
|
|
1264
|
+
default: false
|
|
1130
1265
|
},
|
|
1131
|
-
|
|
1132
|
-
type:
|
|
1266
|
+
shadow: {
|
|
1267
|
+
type: [Boolean, Object],
|
|
1133
1268
|
required: false,
|
|
1134
|
-
default:
|
|
1269
|
+
default: false
|
|
1135
1270
|
},
|
|
1136
1271
|
class: {
|
|
1137
1272
|
type: null,
|
|
@@ -1140,356 +1275,220 @@ var _sfc_main = {
|
|
|
1140
1275
|
ui: {
|
|
1141
1276
|
type: Object,
|
|
1142
1277
|
required: false
|
|
1143
|
-
},
|
|
1144
|
-
defaultValue: {
|
|
1145
|
-
type: [String, Number],
|
|
1146
|
-
required: false,
|
|
1147
|
-
default: "0"
|
|
1148
|
-
},
|
|
1149
|
-
modelValue: {
|
|
1150
|
-
type: [String, Number],
|
|
1151
|
-
required: false
|
|
1152
|
-
},
|
|
1153
|
-
activationMode: {
|
|
1154
|
-
type: String,
|
|
1155
|
-
required: false
|
|
1156
|
-
},
|
|
1157
|
-
unmountOnHide: {
|
|
1158
|
-
type: Boolean,
|
|
1159
|
-
required: false,
|
|
1160
|
-
default: true
|
|
1161
1278
|
}
|
|
1162
|
-
},
|
|
1163
|
-
emits: ["
|
|
1164
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1165
|
-
const _props = __props;
|
|
1166
|
-
const emits = __emit;
|
|
1167
|
-
const
|
|
1168
|
-
const
|
|
1169
|
-
const appConfig = useAppConfig();
|
|
1170
|
-
const
|
|
1171
|
-
const ui = computed(() => tv({
|
|
1172
|
-
extend:
|
|
1173
|
-
...appConfig.ui?.
|
|
1174
|
-
})({
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1279
|
+
},
|
|
1280
|
+
emits: ["scroll"],
|
|
1281
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1282
|
+
const _props = __props;
|
|
1283
|
+
const emits = __emit;
|
|
1284
|
+
const props = useComponentProps("scrollArea", _props);
|
|
1285
|
+
const { dir } = useLocale();
|
|
1286
|
+
const appConfig = useAppConfig();
|
|
1287
|
+
const isExternalScroll = vueExports.computed(() => typeof props.virtualize === "object" && !!props.virtualize.getScrollElement);
|
|
1288
|
+
const ui = vueExports.computed(() => tv({
|
|
1289
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fscroll_area_default,
|
|
1290
|
+
...appConfig.ui?.scrollArea || {}
|
|
1291
|
+
})({
|
|
1292
|
+
orientation: props.orientation,
|
|
1293
|
+
externalScroll: isExternalScroll.value
|
|
1294
|
+
}));
|
|
1295
|
+
const rootRef = vueExports.useTemplateRef("rootRef");
|
|
1296
|
+
const scrollShadowStyle = props.shadow ? useScrollShadow(vueExports.computed(() => rootRef.value?.$el), {
|
|
1297
|
+
orientation: () => props.orientation ?? "vertical",
|
|
1298
|
+
size: typeof props.shadow === "object" ? props.shadow.size : void 0
|
|
1299
|
+
}).style : void 0;
|
|
1300
|
+
const isRtl = vueExports.computed(() => dir.value === "rtl");
|
|
1301
|
+
const isHorizontal = vueExports.computed(() => props.orientation === "horizontal");
|
|
1302
|
+
const isVertical = vueExports.computed(() => !isHorizontal.value);
|
|
1303
|
+
const getScrollElement = () => (isExternalScroll.value ? virtualizerProps.value.getScrollElement?.() : rootRef.value?.$el) ?? null;
|
|
1304
|
+
const virtualizerProps = vueExports.toRef(() => {
|
|
1305
|
+
const options = typeof props.virtualize === "boolean" ? {} : props.virtualize;
|
|
1306
|
+
return defu(options, {
|
|
1307
|
+
estimateSize: 100,
|
|
1308
|
+
overscan: 12,
|
|
1309
|
+
gap: 0,
|
|
1310
|
+
paddingStart: 0,
|
|
1311
|
+
paddingEnd: 0,
|
|
1312
|
+
scrollMargin: 0
|
|
1313
|
+
});
|
|
1314
|
+
});
|
|
1315
|
+
const lanes = vueExports.computed(() => {
|
|
1316
|
+
const value = virtualizerProps.value.lanes;
|
|
1317
|
+
return typeof value === "number" ? value : void 0;
|
|
1318
|
+
});
|
|
1319
|
+
const skipMeasurement = vueExports.computed(() => {
|
|
1320
|
+
return typeof props.virtualize === "object" && props.virtualize.skipMeasurement === true;
|
|
1321
|
+
});
|
|
1322
|
+
const virtualizer = !!props.virtualize && useVirtualizer({
|
|
1323
|
+
...virtualizerProps.value,
|
|
1324
|
+
get overscan() {
|
|
1325
|
+
return virtualizerProps.value.overscan;
|
|
1326
|
+
},
|
|
1327
|
+
get gap() {
|
|
1328
|
+
return virtualizerProps.value.gap;
|
|
1329
|
+
},
|
|
1330
|
+
get paddingStart() {
|
|
1331
|
+
return virtualizerProps.value.paddingStart;
|
|
1332
|
+
},
|
|
1333
|
+
get paddingEnd() {
|
|
1334
|
+
return virtualizerProps.value.paddingEnd;
|
|
1335
|
+
},
|
|
1336
|
+
get scrollMargin() {
|
|
1337
|
+
return virtualizerProps.value.scrollMargin;
|
|
1338
|
+
},
|
|
1339
|
+
get lanes() {
|
|
1340
|
+
return lanes.value;
|
|
1341
|
+
},
|
|
1342
|
+
get isRtl() {
|
|
1343
|
+
return isRtl.value;
|
|
1344
|
+
},
|
|
1345
|
+
get count() {
|
|
1346
|
+
return props.items?.length || 0;
|
|
1347
|
+
},
|
|
1348
|
+
getScrollElement,
|
|
1349
|
+
get horizontal() {
|
|
1350
|
+
return isHorizontal.value;
|
|
1351
|
+
},
|
|
1352
|
+
estimateSize: (index) => {
|
|
1353
|
+
const estimate = virtualizerProps.value.estimateSize;
|
|
1354
|
+
return typeof estimate === "function" ? estimate(index) : estimate;
|
|
1355
|
+
}
|
|
1356
|
+
});
|
|
1357
|
+
const virtualItems = vueExports.computed(() => virtualizer ? virtualizer.value.getVirtualItems() : []);
|
|
1358
|
+
const totalSize = vueExports.computed(() => virtualizer ? virtualizer.value.getTotalSize() : 0);
|
|
1359
|
+
const virtualViewportStyle = vueExports.computed(() => ({
|
|
1360
|
+
position: "relative",
|
|
1361
|
+
inlineSize: isHorizontal.value ? `${totalSize.value}px` : "100%",
|
|
1362
|
+
blockSize: isVertical.value ? `${totalSize.value}px` : "100%"
|
|
1363
|
+
}));
|
|
1364
|
+
function getVirtualItemStyle(virtualItem) {
|
|
1365
|
+
const hasLanes = lanes.value !== void 0 && lanes.value > 1;
|
|
1366
|
+
const lane = virtualItem.lane;
|
|
1367
|
+
const gap = virtualizerProps.value.gap ?? 0;
|
|
1368
|
+
const offset = virtualItem.start - virtualizerProps.value.scrollMargin;
|
|
1369
|
+
const laneSize = hasLanes ? `calc((100% - ${(lanes.value - 1) * gap}px) / ${lanes.value})` : "100%";
|
|
1370
|
+
const lanePosition = hasLanes && lane !== void 0 ? `calc(${lane} * ((100% - ${(lanes.value - 1) * gap}px) / ${lanes.value} + ${gap}px))` : 0;
|
|
1371
|
+
return {
|
|
1372
|
+
position: "absolute",
|
|
1373
|
+
insetBlockStart: isHorizontal.value && hasLanes ? lanePosition : 0,
|
|
1374
|
+
insetInlineStart: isVertical.value && hasLanes ? lanePosition : 0,
|
|
1375
|
+
blockSize: isHorizontal.value ? hasLanes ? laneSize : "100%" : void 0,
|
|
1376
|
+
inlineSize: isVertical.value ? hasLanes ? laneSize : "100%" : void 0,
|
|
1377
|
+
transform: isHorizontal.value ? `translateX(${isRtl.value ? -offset : offset}px)` : `translateY(${offset}px)`
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
let resizeObserver = null;
|
|
1381
|
+
let rafId = null;
|
|
1382
|
+
vueExports.watch(getScrollElement, (el) => {
|
|
1383
|
+
resizeObserver?.disconnect();
|
|
1384
|
+
resizeObserver = null;
|
|
1385
|
+
if (!virtualizer || !el) return;
|
|
1386
|
+
resizeObserver = new ResizeObserver(() => {
|
|
1387
|
+
if (rafId !== null) return;
|
|
1388
|
+
rafId = requestAnimationFrame(() => {
|
|
1389
|
+
rafId = null;
|
|
1390
|
+
virtualizer.value.measure();
|
|
1391
|
+
});
|
|
1392
|
+
});
|
|
1393
|
+
resizeObserver.observe(el);
|
|
1394
|
+
}, { immediate: true });
|
|
1395
|
+
function measureElement(el) {
|
|
1396
|
+
if (el && virtualizer && !skipMeasurement.value) {
|
|
1397
|
+
const element = el instanceof Element ? el : el.$el;
|
|
1398
|
+
virtualizer.value.measureElement(element);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
vueExports.watch(() => virtualizer ? virtualizer.value.isScrolling : false, (isScrolling) => emits("scroll", isScrolling));
|
|
1402
|
+
function getItemKey(item, index) {
|
|
1403
|
+
if (virtualizerProps.value.getItemKey) return virtualizerProps.value.getItemKey(index);
|
|
1404
|
+
if (item && typeof item === "object" && "id" in item) return item.id;
|
|
1405
|
+
return index;
|
|
1183
1406
|
}
|
|
1184
|
-
__expose({
|
|
1407
|
+
__expose({
|
|
1408
|
+
get $el() {
|
|
1409
|
+
return rootRef.value?.$el;
|
|
1410
|
+
},
|
|
1411
|
+
virtualizer: virtualizer || void 0
|
|
1412
|
+
});
|
|
1185
1413
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1186
|
-
_push(
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
"activation-mode": unref(props).activationMode,
|
|
1414
|
+
_push(ssrRenderComponent_1(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
1415
|
+
ref_key: "rootRef",
|
|
1416
|
+
ref: rootRef,
|
|
1417
|
+
as: vueExports.unref(props).as,
|
|
1191
1418
|
"data-slot": "root",
|
|
1192
|
-
|
|
1419
|
+
"data-orientation": vueExports.unref(props).orientation,
|
|
1420
|
+
class: ui.value.root({ class: [vueExports.unref(props).ui?.root, vueExports.unref(props).class] }),
|
|
1421
|
+
style: vueExports.unref(scrollShadowStyle)
|
|
1193
1422
|
}, _attrs), {
|
|
1194
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1423
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
1195
1424
|
if (_push) {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
ssrRenderSlot(_ctx.$slots, "list-leading", {}, null, _push, _parent, _scopeId);
|
|
1207
|
-
_push(`<!--[-->`);
|
|
1208
|
-
ssrRenderList(unref(props).items, (item, index) => {
|
|
1209
|
-
_push(ssrRenderComponent(unref(TabsTrigger_default), {
|
|
1210
|
-
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1211
|
-
ref_for: true,
|
|
1212
|
-
ref: (el) => setTriggerRef(index, el),
|
|
1213
|
-
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1214
|
-
disabled: item.disabled,
|
|
1215
|
-
"data-slot": "trigger",
|
|
1216
|
-
class: ui.value.trigger({ class: [unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1217
|
-
}, {
|
|
1218
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1219
|
-
if (_push) {
|
|
1220
|
-
ssrRenderSlot(_ctx.$slots, "leading", {
|
|
1221
|
-
item,
|
|
1222
|
-
index,
|
|
1223
|
-
ui: ui.value
|
|
1224
|
-
}, () => {
|
|
1225
|
-
if (item.icon) _push(ssrRenderComponent(_sfc_main$5, {
|
|
1226
|
-
name: item.icon,
|
|
1227
|
-
"data-slot": "leadingIcon",
|
|
1228
|
-
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1229
|
-
}, null, _parent, _scopeId));
|
|
1230
|
-
else if (item.avatar) _push(ssrRenderComponent(_sfc_main$3, mergeProps({ size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize() }, { ref_for: true }, item.avatar, {
|
|
1231
|
-
"data-slot": "leadingAvatar",
|
|
1232
|
-
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1233
|
-
}), null, _parent, _scopeId));
|
|
1234
|
-
else _push(`<!---->`);
|
|
1235
|
-
}, _push, _parent, _scopeId);
|
|
1236
|
-
if (unref(get)(item, unref(props).labelKey) || !!slots.default) {
|
|
1237
|
-
_push(`<span data-slot="label" class="${ssrRenderClass(ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] }))}"${_scopeId}>`);
|
|
1238
|
-
ssrRenderSlot(_ctx.$slots, "default", {
|
|
1239
|
-
item,
|
|
1240
|
-
index
|
|
1241
|
-
}, () => {
|
|
1242
|
-
_push(`${ssrInterpolate(unref(get)(item, unref(props).labelKey))}`);
|
|
1243
|
-
}, _push, _parent, _scopeId);
|
|
1244
|
-
_push(`</span>`);
|
|
1245
|
-
} else _push(`<!---->`);
|
|
1246
|
-
ssrRenderSlot(_ctx.$slots, "trailing", {
|
|
1247
|
-
item,
|
|
1248
|
-
index,
|
|
1249
|
-
ui: ui.value
|
|
1250
|
-
}, () => {
|
|
1251
|
-
if (item.badge || item.badge === 0) _push(ssrRenderComponent(_sfc_main$4, mergeProps({
|
|
1252
|
-
color: "neutral",
|
|
1253
|
-
variant: "outline",
|
|
1254
|
-
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1255
|
-
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1256
|
-
"data-slot": "trailingBadge",
|
|
1257
|
-
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1258
|
-
}), null, _parent, _scopeId));
|
|
1259
|
-
else _push(`<!---->`);
|
|
1260
|
-
}, _push, _parent, _scopeId);
|
|
1261
|
-
} else return [
|
|
1262
|
-
renderSlot(_ctx.$slots, "leading", {
|
|
1263
|
-
item,
|
|
1264
|
-
index,
|
|
1265
|
-
ui: ui.value
|
|
1266
|
-
}, () => [item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1267
|
-
key: 0,
|
|
1268
|
-
name: item.icon,
|
|
1269
|
-
"data-slot": "leadingIcon",
|
|
1270
|
-
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1271
|
-
}, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
1272
|
-
key: 1,
|
|
1273
|
-
size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1274
|
-
}, { ref_for: true }, item.avatar, {
|
|
1275
|
-
"data-slot": "leadingAvatar",
|
|
1276
|
-
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1277
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1278
|
-
unref(get)(item, unref(props).labelKey) || !!slots.default ? (openBlock(), createBlock("span", {
|
|
1279
|
-
key: 0,
|
|
1280
|
-
"data-slot": "label",
|
|
1281
|
-
class: ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] })
|
|
1282
|
-
}, [renderSlot(_ctx.$slots, "default", {
|
|
1283
|
-
item,
|
|
1284
|
-
index
|
|
1285
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)])], 2)) : createCommentVNode("", true),
|
|
1286
|
-
renderSlot(_ctx.$slots, "trailing", {
|
|
1287
|
-
item,
|
|
1288
|
-
index,
|
|
1289
|
-
ui: ui.value
|
|
1290
|
-
}, () => [item.badge || item.badge === 0 ? (openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
1291
|
-
key: 0,
|
|
1292
|
-
color: "neutral",
|
|
1293
|
-
variant: "outline",
|
|
1294
|
-
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1295
|
-
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1296
|
-
"data-slot": "trailingBadge",
|
|
1297
|
-
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1298
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1299
|
-
];
|
|
1300
|
-
}),
|
|
1301
|
-
_: 2
|
|
1302
|
-
}, _parent, _scopeId));
|
|
1303
|
-
});
|
|
1304
|
-
_push(`<!--]-->`);
|
|
1305
|
-
ssrRenderSlot(_ctx.$slots, "list-trailing", {}, null, _push, _parent, _scopeId);
|
|
1306
|
-
} else return [
|
|
1307
|
-
createVNode(unref(TabsIndicator_default), {
|
|
1308
|
-
"data-slot": "indicator",
|
|
1309
|
-
class: ui.value.indicator({ class: unref(props).ui?.indicator })
|
|
1310
|
-
}, null, 8, ["class"]),
|
|
1311
|
-
renderSlot(_ctx.$slots, "list-leading"),
|
|
1312
|
-
(openBlock(true), createBlock(Fragment, null, renderList(unref(props).items, (item, index) => {
|
|
1313
|
-
return openBlock(), createBlock(unref(TabsTrigger_default), {
|
|
1314
|
-
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1315
|
-
ref_for: true,
|
|
1316
|
-
ref: (el) => setTriggerRef(index, el),
|
|
1317
|
-
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1318
|
-
disabled: item.disabled,
|
|
1319
|
-
"data-slot": "trigger",
|
|
1320
|
-
class: ui.value.trigger({ class: [unref(props).ui?.trigger, item.ui?.trigger] })
|
|
1321
|
-
}, {
|
|
1322
|
-
default: withCtx(() => [
|
|
1323
|
-
renderSlot(_ctx.$slots, "leading", {
|
|
1324
|
-
item,
|
|
1325
|
-
index,
|
|
1326
|
-
ui: ui.value
|
|
1327
|
-
}, () => [item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
1328
|
-
key: 0,
|
|
1329
|
-
name: item.icon,
|
|
1330
|
-
"data-slot": "leadingIcon",
|
|
1331
|
-
class: ui.value.leadingIcon({ class: [unref(props).ui?.leadingIcon, item.ui?.leadingIcon] })
|
|
1332
|
-
}, null, 8, ["name", "class"])) : item.avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
1333
|
-
key: 1,
|
|
1334
|
-
size: item.ui?.leadingAvatarSize || unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
1335
|
-
}, { ref_for: true }, item.avatar, {
|
|
1336
|
-
"data-slot": "leadingAvatar",
|
|
1337
|
-
class: ui.value.leadingAvatar({ class: [unref(props).ui?.leadingAvatar, item.ui?.leadingAvatar] })
|
|
1338
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
1339
|
-
unref(get)(item, unref(props).labelKey) || !!slots.default ? (openBlock(), createBlock("span", {
|
|
1340
|
-
key: 0,
|
|
1341
|
-
"data-slot": "label",
|
|
1342
|
-
class: ui.value.label({ class: [unref(props).ui?.label, item.ui?.label] })
|
|
1343
|
-
}, [renderSlot(_ctx.$slots, "default", {
|
|
1344
|
-
item,
|
|
1345
|
-
index
|
|
1346
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)])], 2)) : createCommentVNode("", true),
|
|
1347
|
-
renderSlot(_ctx.$slots, "trailing", {
|
|
1348
|
-
item,
|
|
1349
|
-
index,
|
|
1350
|
-
ui: ui.value
|
|
1351
|
-
}, () => [item.badge || item.badge === 0 ? (openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
1352
|
-
key: 0,
|
|
1353
|
-
color: "neutral",
|
|
1354
|
-
variant: "outline",
|
|
1355
|
-
size: item.ui?.trailingBadgeSize || unref(props).ui?.trailingBadgeSize || ui.value.trailingBadgeSize()
|
|
1356
|
-
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1357
|
-
"data-slot": "trailingBadge",
|
|
1358
|
-
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1359
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1360
|
-
]),
|
|
1361
|
-
_: 2
|
|
1362
|
-
}, 1032, [
|
|
1363
|
-
"value",
|
|
1364
|
-
"disabled",
|
|
1365
|
-
"class"
|
|
1366
|
-
]);
|
|
1367
|
-
}), 128)),
|
|
1368
|
-
renderSlot(_ctx.$slots, "list-trailing")
|
|
1369
|
-
];
|
|
1370
|
-
}),
|
|
1371
|
-
_: 3
|
|
1372
|
-
}, _parent, _scopeId));
|
|
1373
|
-
if (!!unref(props).content) {
|
|
1374
|
-
_push(`<!--[-->`);
|
|
1375
|
-
ssrRenderList(unref(props).items, (item, index) => {
|
|
1376
|
-
_push(ssrRenderComponent(unref(TabsContent_default), {
|
|
1377
|
-
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1378
|
-
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1379
|
-
"data-slot": "content",
|
|
1380
|
-
class: ui.value.content({ class: [
|
|
1381
|
-
unref(props).ui?.content,
|
|
1382
|
-
item.ui?.content,
|
|
1383
|
-
item.class
|
|
1384
|
-
] })
|
|
1385
|
-
}, {
|
|
1386
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1387
|
-
if (_push) ssrRenderSlot(_ctx.$slots, item.slot || "content", {
|
|
1388
|
-
item,
|
|
1389
|
-
index,
|
|
1390
|
-
ui: ui.value
|
|
1391
|
-
}, () => {
|
|
1392
|
-
_push(`${ssrInterpolate(item.content)}`);
|
|
1393
|
-
}, _push, _parent, _scopeId);
|
|
1394
|
-
else return [renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1395
|
-
item,
|
|
1396
|
-
index,
|
|
1397
|
-
ui: ui.value
|
|
1398
|
-
}, () => [createTextVNode(toDisplayString(item.content), 1)])];
|
|
1399
|
-
}),
|
|
1400
|
-
_: 2
|
|
1401
|
-
}, _parent, _scopeId));
|
|
1425
|
+
if (vueExports.unref(virtualizer)) {
|
|
1426
|
+
_push(`<div data-slot="viewport" class="${ssrRenderClass_1(ui.value.viewport({ class: vueExports.unref(props).ui?.viewport }))}" style="${ssrRenderStyle_1(virtualViewportStyle.value)}"${_scopeId}><!--[-->`);
|
|
1427
|
+
ssrRenderList_1(virtualItems.value, (virtualItem) => {
|
|
1428
|
+
_push(`<div${ssrRenderAttr_1("data-index", virtualItem.index)} data-slot="item" class="${ssrRenderClass_1(ui.value.item({ class: vueExports.unref(props).ui?.item }))}" style="${ssrRenderStyle_1(getVirtualItemStyle(virtualItem))}"${_scopeId}>`);
|
|
1429
|
+
ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
1430
|
+
item: vueExports.unref(props).items?.[virtualItem.index],
|
|
1431
|
+
index: virtualItem.index,
|
|
1432
|
+
virtualItem
|
|
1433
|
+
}, null, _push, _parent, _scopeId);
|
|
1434
|
+
_push(`</div>`);
|
|
1402
1435
|
});
|
|
1403
|
-
_push(`<!--]
|
|
1404
|
-
} else
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
}, { ref_for: true }, typeof item.badge === "string" || typeof item.badge === "number" ? { label: item.badge } : item.badge, {
|
|
1460
|
-
"data-slot": "trailingBadge",
|
|
1461
|
-
class: ui.value.trailingBadge({ class: [unref(props).ui?.trailingBadge, item.ui?.trailingBadge] })
|
|
1462
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])
|
|
1463
|
-
]),
|
|
1464
|
-
_: 2
|
|
1465
|
-
}, 1032, [
|
|
1466
|
-
"value",
|
|
1467
|
-
"disabled",
|
|
1468
|
-
"class"
|
|
1469
|
-
]);
|
|
1470
|
-
}), 128)),
|
|
1471
|
-
renderSlot(_ctx.$slots, "list-trailing")
|
|
1472
|
-
]),
|
|
1473
|
-
_: 3
|
|
1474
|
-
}, 8, ["class"]), !!unref(props).content ? (openBlock(true), createBlock(Fragment, { key: 0 }, renderList(unref(props).items, (item, index) => {
|
|
1475
|
-
return openBlock(), createBlock(unref(TabsContent_default), {
|
|
1476
|
-
key: unref(get)(item, unref(props).valueKey) ?? index,
|
|
1477
|
-
value: unref(get)(item, unref(props).valueKey) ?? String(index),
|
|
1478
|
-
"data-slot": "content",
|
|
1479
|
-
class: ui.value.content({ class: [
|
|
1480
|
-
unref(props).ui?.content,
|
|
1481
|
-
item.ui?.content,
|
|
1482
|
-
item.class
|
|
1483
|
-
] })
|
|
1484
|
-
}, {
|
|
1485
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, item.slot || "content", {
|
|
1486
|
-
item,
|
|
1487
|
-
index,
|
|
1488
|
-
ui: ui.value
|
|
1489
|
-
}, () => [createTextVNode(toDisplayString(item.content), 1)])]),
|
|
1490
|
-
_: 2
|
|
1491
|
-
}, 1032, ["value", "class"]);
|
|
1492
|
-
}), 128)) : createCommentVNode("", true)];
|
|
1436
|
+
_push(`<!--]--></div>`);
|
|
1437
|
+
} else {
|
|
1438
|
+
_push(`<div data-slot="viewport" class="${ssrRenderClass_1(ui.value.viewport({ class: vueExports.unref(props).ui?.viewport }))}"${_scopeId}>`);
|
|
1439
|
+
if (vueExports.unref(props).items) {
|
|
1440
|
+
_push(`<!--[-->`);
|
|
1441
|
+
ssrRenderList_1(vueExports.unref(props).items, (item, index) => {
|
|
1442
|
+
_push(`<div data-slot="item" class="${ssrRenderClass_1(ui.value.item({ class: vueExports.unref(props).ui?.item }))}"${_scopeId}>`);
|
|
1443
|
+
ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
1444
|
+
item,
|
|
1445
|
+
index
|
|
1446
|
+
}, null, _push, _parent, _scopeId);
|
|
1447
|
+
_push(`</div>`);
|
|
1448
|
+
});
|
|
1449
|
+
_push(`<!--]-->`);
|
|
1450
|
+
} else ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
1451
|
+
item: {},
|
|
1452
|
+
index: 0
|
|
1453
|
+
}, null, _push, _parent, _scopeId);
|
|
1454
|
+
_push(`</div>`);
|
|
1455
|
+
}
|
|
1456
|
+
} else return [vueExports.unref(virtualizer) ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
1457
|
+
key: 0,
|
|
1458
|
+
"data-slot": "viewport",
|
|
1459
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport }),
|
|
1460
|
+
style: virtualViewportStyle.value
|
|
1461
|
+
}, [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(virtualItems.value, (virtualItem) => {
|
|
1462
|
+
return vueExports.openBlock(), vueExports.createBlock("div", {
|
|
1463
|
+
key: String(virtualItem.key),
|
|
1464
|
+
ref_for: true,
|
|
1465
|
+
ref: measureElement,
|
|
1466
|
+
"data-index": virtualItem.index,
|
|
1467
|
+
"data-slot": "item",
|
|
1468
|
+
class: ui.value.item({ class: vueExports.unref(props).ui?.item }),
|
|
1469
|
+
style: getVirtualItemStyle(virtualItem)
|
|
1470
|
+
}, [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1471
|
+
item: vueExports.unref(props).items?.[virtualItem.index],
|
|
1472
|
+
index: virtualItem.index,
|
|
1473
|
+
virtualItem
|
|
1474
|
+
})], 14, ["data-index"]);
|
|
1475
|
+
}), 128))], 6)) : (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
1476
|
+
key: 1,
|
|
1477
|
+
"data-slot": "viewport",
|
|
1478
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
1479
|
+
}, [vueExports.unref(props).items ? (vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, { key: 0 }, vueExports.renderList(vueExports.unref(props).items, (item, index) => {
|
|
1480
|
+
return vueExports.openBlock(), vueExports.createBlock("div", {
|
|
1481
|
+
key: getItemKey(item, index),
|
|
1482
|
+
"data-slot": "item",
|
|
1483
|
+
class: ui.value.item({ class: vueExports.unref(props).ui?.item })
|
|
1484
|
+
}, [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1485
|
+
item,
|
|
1486
|
+
index
|
|
1487
|
+
})], 2);
|
|
1488
|
+
}), 128)) : vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1489
|
+
item: {},
|
|
1490
|
+
index: 0
|
|
1491
|
+
}, void 0, void 0, 1)], 2))];
|
|
1493
1492
|
}),
|
|
1494
1493
|
_: 3
|
|
1495
1494
|
}, _parent));
|
|
@@ -1498,10 +1497,10 @@ var _sfc_main = {
|
|
|
1498
1497
|
};
|
|
1499
1498
|
var _sfc_setup = _sfc_main.setup;
|
|
1500
1499
|
_sfc_main.setup = (props, ctx) => {
|
|
1501
|
-
const ssrContext = useSSRContext();
|
|
1502
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/
|
|
1500
|
+
const ssrContext = vueExports.useSSRContext();
|
|
1501
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/ScrollArea.vue");
|
|
1503
1502
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1504
1503
|
};
|
|
1505
1504
|
|
|
1506
|
-
export { FileDropZone_default as F, _sfc_main
|
|
1507
|
-
//# sourceMappingURL=
|
|
1505
|
+
export { FileDropZone_default as F, _sfc_main as _, _sfc_main$1 as a, useTypeahead as b, useKbd as c, getNextMatch as g, useComposing as u };
|
|
1506
|
+
//# sourceMappingURL=ScrollArea-1y_sQGDj.mjs.map
|