uomtiles 0.1.4 → 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/{BndUkSHF.js → CS7MV-ad.js} +3 -3
- 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/{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 +1858 -307
- 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/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/78b9349b-da32-49d9-b6c7-85727e6d8129.json +0 -1
- package/.output/public/_nuxt/entry.U-KS0GEu.css +0 -1
- 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,34 +1,22 @@
|
|
|
1
|
-
import { u as useSeoMeta$1, ay as useRoute$1, a as useToast,
|
|
1
|
+
import { u as useSeoMeta$1, ay as useRoute$1, a as useToast, ar as navigateTo, $ as $fetch$1, _ as _sfc_main$3, c as _sfc_main$7$1, b as _sfc_main$5, az as page_default, d as useComponentProps, f as useAppConfig, g as useForwardProps, r as reactivePick, h as usePortal, i as useFormField, j as useFieldGroup, k as useComponentIcons, t as tv, m as isArrayOfArray, p as _sfc_main$3$1, F as FieldGroupReset, o as get, q as _sfc_main$4$1, w as useVModel, e as useLocale$1, O as isNullish, B as useCollection, x as looseToNumber, v as useForwardExpose, P as Primitive, y as getDisplayValue, T as Teleport_default, z as Presence_default, s as usePrimitiveElement, A as createContext, V as VisuallyHidden_default, D as useForwardProps$1, J as unrefElement, a9 as injectConfigProviderContext, H as getActiveElement, aA as reactiveComputed, R as useResizeObserver, C as createEventHook } from '../virtual/entry.mjs';
|
|
2
2
|
import { s as snapValueToStep, c as clamp } from './clamp-CdZXprXk.mjs';
|
|
3
|
-
import { a as useDirection, P as PopperRoot_default, u as useId$1, b as PopperAnchor_default, c as useForwardPropsEmits, d as PopperArrow_default, e as useBodyScrollLock, f as useHideOthers, F as FocusScope_default, D as DismissableLayer_default, h as handleAndDispatchCustomEvent, g as PopperContent_default } from './overlay-
|
|
4
|
-
import { _ as _sfc_main$7,
|
|
5
|
-
import { F as FileDropZone_default, _ as _sfc_main$
|
|
6
|
-
import { _ as _sfc_main$8, f as focusFirst } from './Modal-
|
|
7
|
-
import { _ as _sfc_main$b } from './Input-
|
|
8
|
-
import { u as useFileWorkspace } from './file-workspace-
|
|
9
|
-
import { _ as _sfc_main$
|
|
10
|
-
import { _ as _sfc_main$
|
|
11
|
-
import { _ as _sfc_main$
|
|
12
|
-
import { _ as _sfc_main$
|
|
13
|
-
import {
|
|
14
|
-
import { D as defu, P as isEqual } from '../nitro/nitro.mjs';
|
|
15
|
-
import { ssrRenderComponent, ssrInterpolate, ssrRenderList, ssrRenderClass, ssrRenderSlot, ssrRenderVNode } from 'vue/server-renderer';
|
|
16
|
-
import { z } from 'zod';
|
|
3
|
+
import { a as useDirection, P as PopperRoot_default, u as useId$1, b as PopperAnchor_default, c as useForwardPropsEmits, d as PopperArrow_default, e as useBodyScrollLock, f as useHideOthers, F as FocusScope_default, D as DismissableLayer_default, h as handleAndDispatchCustomEvent, g as PopperContent_default } from './overlay-LIOZRR0G.mjs';
|
|
4
|
+
import { _ as _sfc_main$7, c as _sfc_main$4, M as MapLayerControl_default, a as _sfc_main$6$1, b as _sfc_main$d, u as useFormControl, V as VisuallyHiddenInput_default, d as useFocusGuards } from './MapLayerControl-DPdRMmuw.mjs';
|
|
5
|
+
import { F as FileDropZone_default, _ as _sfc_main$2, a as _sfc_main$1$1, b as useTypeahead, u as useComposing, c as useKbd } from './ScrollArea-1y_sQGDj.mjs';
|
|
6
|
+
import { _ as _sfc_main$8, f as focusFirst } from './Modal-BZfMeBGt.mjs';
|
|
7
|
+
import { _ as _sfc_main$b } from './Input-BeUryJZ5.mjs';
|
|
8
|
+
import { u as useFileWorkspace } from './file-workspace-C9v6Qocb.mjs';
|
|
9
|
+
import { _ as _sfc_main$6 } from './Empty-Cq-rSwil.mjs';
|
|
10
|
+
import { _ as _sfc_main$a } from './FormField-DJWBDPj5.mjs';
|
|
11
|
+
import { _ as _sfc_main$9 } from './Form-6_bvrptP.mjs';
|
|
12
|
+
import { _ as _sfc_main$c } from './Skeleton-hv0ZqADP.mjs';
|
|
13
|
+
import { E as defu, Q as isEqual } from '../nitro/nitro.mjs';
|
|
17
14
|
import { D as DEFAULT_EXPORT_MAX_ZOOM, b as DEFAULT_EXPORT_MIN_ZOOM, E as EXPORT_MIN_ZOOM, a as EXPORT_MAX_ZOOM } from '../_/export.mjs';
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
22
|
-
import '
|
|
23
|
-
import 'nostics';
|
|
24
|
-
import 'vue-bundle-renderer/runtime';
|
|
25
|
-
import 'devalue';
|
|
26
|
-
import 'fnv1a-64';
|
|
27
|
-
import 'object-identity';
|
|
28
|
-
import 'tailwindcss/colors';
|
|
29
|
-
import './cookie-CziAmOf1.mjs';
|
|
30
|
-
import './pages-5yYRS5nX.mjs';
|
|
31
|
-
import './map-layers-C3HJoCLw.mjs';
|
|
15
|
+
import { v as vueExports, s as ssrRenderComponent_1, e as ssrInterpolate_1, k as ssrRenderList_1, b as ssrRenderClass_1, a as ssrRenderSlot_1, f as ssrRenderVNode } from '../routes/renderer.mjs';
|
|
16
|
+
import { o as object, s as string } from '../_/schemas.mjs';
|
|
17
|
+
import './cookie-B6O7_fHD.mjs';
|
|
18
|
+
import './pages-DN0BdqEU.mjs';
|
|
19
|
+
import './map-layers-CTSGZGmW.mjs';
|
|
32
20
|
import './esm-Dp2lJXbp.mjs';
|
|
33
21
|
import 'node:http';
|
|
34
22
|
import 'node:https';
|
|
@@ -38,8 +26,11 @@ import 'node:fs';
|
|
|
38
26
|
import 'node:path';
|
|
39
27
|
import 'node:crypto';
|
|
40
28
|
import 'node:url';
|
|
41
|
-
import '
|
|
42
|
-
import '
|
|
29
|
+
import 'node:util';
|
|
30
|
+
import 'node:process';
|
|
31
|
+
import 'node:tty';
|
|
32
|
+
import '../_/shared.cjs.prod.mjs';
|
|
33
|
+
import 'node:stream';
|
|
43
34
|
|
|
44
35
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useLocale.js
|
|
45
36
|
/**
|
|
@@ -48,14 +39,14 @@ import 'consola';
|
|
|
48
39
|
* @returns A computed ref holding the resolved locale.
|
|
49
40
|
*/
|
|
50
41
|
function useLocale(locale) {
|
|
51
|
-
const context = injectConfigProviderContext({ locale: ref("en") });
|
|
52
|
-
return computed(() => locale?.value || context.locale?.value || "en");
|
|
42
|
+
const context = injectConfigProviderContext({ locale: vueExports.ref("en") });
|
|
43
|
+
return vueExports.computed(() => locale?.value || context.locale?.value || "en");
|
|
53
44
|
}
|
|
54
45
|
//#endregion
|
|
55
46
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useNonce.js
|
|
56
47
|
function useNonce(nonce) {
|
|
57
|
-
const context = injectConfigProviderContext({ nonce: ref() });
|
|
58
|
-
return computed(() => nonce?.value || context.nonce?.value);
|
|
48
|
+
const context = injectConfigProviderContext({ nonce: vueExports.ref() });
|
|
49
|
+
return vueExports.computed(() => nonce?.value || context.nonce?.value);
|
|
59
50
|
}
|
|
60
51
|
//#endregion
|
|
61
52
|
//#region node_modules/.pnpm/@internationalized+number@3.6.7/node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
|
|
@@ -402,19 +393,19 @@ function $eb76cf4feb040f77$var$escapeRegex(string) {
|
|
|
402
393
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/NumberField/utils.js
|
|
403
394
|
function usePressedHold(options) {
|
|
404
395
|
const { disabled } = options;
|
|
405
|
-
ref();
|
|
396
|
+
vueExports.ref();
|
|
406
397
|
const triggerHook = createEventHook();
|
|
407
|
-
const isPressed = ref(false);
|
|
408
|
-
computed(() => unrefElement(options.target));
|
|
398
|
+
const isPressed = vueExports.ref(false);
|
|
399
|
+
vueExports.computed(() => unrefElement(options.target));
|
|
409
400
|
return {
|
|
410
401
|
isPressed,
|
|
411
402
|
onTrigger: triggerHook.on
|
|
412
403
|
};
|
|
413
404
|
}
|
|
414
|
-
function useNumberFormatter(locale, options = ref({})) {
|
|
405
|
+
function useNumberFormatter(locale, options = vueExports.ref({})) {
|
|
415
406
|
return reactiveComputed(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale.value, options.value));
|
|
416
407
|
}
|
|
417
|
-
function useNumberParser(locale, options = ref({})) {
|
|
408
|
+
function useNumberParser(locale, options = vueExports.ref({})) {
|
|
418
409
|
return reactiveComputed(() => new $eb76cf4feb040f77$export$cd11ab140839f11d(locale.value, options.value));
|
|
419
410
|
}
|
|
420
411
|
function handleDecimalOperation(operator, value1, value2) {
|
|
@@ -435,7 +426,7 @@ function handleDecimalOperation(operator, value1, value2) {
|
|
|
435
426
|
//#endregion
|
|
436
427
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/NumberField/NumberFieldRoot.js
|
|
437
428
|
var [injectNumberFieldRootContext, provideNumberFieldRootContext] = /*#__PURE__*/ createContext("NumberFieldRoot");
|
|
438
|
-
var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
429
|
+
var NumberFieldRoot_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
439
430
|
inheritAttrs: false,
|
|
440
431
|
__name: "NumberFieldRoot",
|
|
441
432
|
props: {
|
|
@@ -521,7 +512,7 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
521
512
|
setup(__props, { emit: __emit }) {
|
|
522
513
|
const props = __props;
|
|
523
514
|
const emits = __emit;
|
|
524
|
-
const { disabled, readonly, disableWheelChange, invertWheelChange, min, max, step, stepSnapping, formatOptions, id, locale: propLocale } = toRefs(props);
|
|
515
|
+
const { disabled, readonly, disableWheelChange, invertWheelChange, min, max, step, stepSnapping, formatOptions, id, locale: propLocale } = vueExports.toRefs(props);
|
|
525
516
|
const modelValue = useVModel(props, "modelValue", emits, {
|
|
526
517
|
defaultValue: props.defaultValue,
|
|
527
518
|
passive: props.modelValue === void 0
|
|
@@ -529,12 +520,12 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
529
520
|
const { primitiveElement, currentElement } = usePrimitiveElement();
|
|
530
521
|
const locale = useLocale(propLocale);
|
|
531
522
|
const isFormControl = useFormControl(currentElement);
|
|
532
|
-
const inputEl = ref();
|
|
533
|
-
const isDecreaseDisabled = computed(() => {
|
|
523
|
+
const inputEl = vueExports.ref();
|
|
524
|
+
const isDecreaseDisabled = vueExports.computed(() => {
|
|
534
525
|
if (isNullish(modelValue.value) || isNaN(modelValue.value)) return false;
|
|
535
526
|
return getNextValue("decrease", modelValue.value) >= modelValue.value;
|
|
536
527
|
});
|
|
537
|
-
const isIncreaseDisabled = computed(() => {
|
|
528
|
+
const isIncreaseDisabled = vueExports.computed(() => {
|
|
538
529
|
if (isNullish(modelValue.value) || isNaN(modelValue.value)) return false;
|
|
539
530
|
return getNextValue("increase", modelValue.value) <= modelValue.value;
|
|
540
531
|
});
|
|
@@ -574,11 +565,11 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
574
565
|
}
|
|
575
566
|
const numberFormatter = useNumberFormatter(locale, formatOptions);
|
|
576
567
|
const numberParser = useNumberParser(locale, formatOptions);
|
|
577
|
-
const inputMode = computed(() => {
|
|
568
|
+
const inputMode = vueExports.computed(() => {
|
|
578
569
|
return numberFormatter.resolvedOptions().maximumFractionDigits > 0 ? "decimal" : "numeric";
|
|
579
570
|
});
|
|
580
571
|
const textValueFormatter = useNumberFormatter(locale, formatOptions);
|
|
581
|
-
const textValue = computed(() => isNullish(modelValue.value) || isNaN(modelValue.value) ? "" : textValueFormatter.format(modelValue.value));
|
|
572
|
+
const textValue = vueExports.computed(() => isNullish(modelValue.value) || isNaN(modelValue.value) ? "" : textValueFormatter.format(modelValue.value));
|
|
582
573
|
function validate(val) {
|
|
583
574
|
return numberParser.isValidPartialNumber(val, min.value, max.value);
|
|
584
575
|
}
|
|
@@ -621,26 +612,26 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
621
612
|
id
|
|
622
613
|
});
|
|
623
614
|
return (_ctx, _cache) => {
|
|
624
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(_ctx.$attrs, {
|
|
615
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(_ctx.$attrs, {
|
|
625
616
|
ref_key: "primitiveElement",
|
|
626
617
|
ref: primitiveElement,
|
|
627
618
|
role: "group",
|
|
628
619
|
as: _ctx.as,
|
|
629
620
|
"as-child": _ctx.asChild,
|
|
630
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
631
|
-
"data-readonly": unref(readonly) ? "" : void 0
|
|
621
|
+
"data-disabled": vueExports.unref(disabled) ? "" : void 0,
|
|
622
|
+
"data-readonly": vueExports.unref(readonly) ? "" : void 0
|
|
632
623
|
}), {
|
|
633
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
634
|
-
modelValue: unref(modelValue),
|
|
624
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
625
|
+
modelValue: vueExports.unref(modelValue),
|
|
635
626
|
textValue: textValue.value,
|
|
636
|
-
readonly: unref(readonly)
|
|
637
|
-
}), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
|
|
627
|
+
readonly: vueExports.unref(readonly)
|
|
628
|
+
}), vueExports.unref(isFormControl) && _ctx.name ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(VisuallyHiddenInput_default), {
|
|
638
629
|
key: 0,
|
|
639
630
|
type: "text",
|
|
640
|
-
value: unref(modelValue),
|
|
631
|
+
value: vueExports.unref(modelValue),
|
|
641
632
|
name: _ctx.name,
|
|
642
|
-
disabled: unref(disabled),
|
|
643
|
-
readonly: unref(readonly),
|
|
633
|
+
disabled: vueExports.unref(disabled),
|
|
634
|
+
readonly: vueExports.unref(readonly),
|
|
644
635
|
required: _ctx.required
|
|
645
636
|
}, null, 8, [
|
|
646
637
|
"value",
|
|
@@ -648,7 +639,7 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
648
639
|
"disabled",
|
|
649
640
|
"readonly",
|
|
650
641
|
"required"
|
|
651
|
-
])) : createCommentVNode("v-if", true)]),
|
|
642
|
+
])) : vueExports.createCommentVNode("v-if", true)]),
|
|
652
643
|
_: 3
|
|
653
644
|
}, 16, [
|
|
654
645
|
"as",
|
|
@@ -661,7 +652,7 @@ var NumberFieldRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
661
652
|
});
|
|
662
653
|
//#endregion
|
|
663
654
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/NumberField/NumberFieldDecrement.js
|
|
664
|
-
var NumberFieldDecrement_default = /* @__PURE__ */ defineComponent({
|
|
655
|
+
var NumberFieldDecrement_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
665
656
|
__name: "NumberFieldDecrement",
|
|
666
657
|
props: {
|
|
667
658
|
disabled: {
|
|
@@ -681,7 +672,7 @@ var NumberFieldDecrement_default = /* @__PURE__ */ defineComponent({
|
|
|
681
672
|
setup(__props) {
|
|
682
673
|
const props = __props;
|
|
683
674
|
const rootContext = injectNumberFieldRootContext();
|
|
684
|
-
const isDisabled = computed(() => rootContext.disabled?.value || rootContext.readonly.value || props.disabled || rootContext.isDecreaseDisabled.value);
|
|
675
|
+
const isDisabled = vueExports.computed(() => rootContext.disabled?.value || rootContext.readonly.value || props.disabled || rootContext.isDecreaseDisabled.value);
|
|
685
676
|
const { primitiveElement, currentElement } = usePrimitiveElement();
|
|
686
677
|
const { isPressed, onTrigger } = usePressedHold({
|
|
687
678
|
target: currentElement,
|
|
@@ -691,19 +682,19 @@ var NumberFieldDecrement_default = /* @__PURE__ */ defineComponent({
|
|
|
691
682
|
rootContext.handleDecrease();
|
|
692
683
|
});
|
|
693
684
|
return (_ctx, _cache) => {
|
|
694
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
685
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, {
|
|
695
686
|
ref_key: "primitiveElement",
|
|
696
687
|
ref: primitiveElement,
|
|
697
688
|
tabindex: "-1",
|
|
698
689
|
"aria-label": "Decrease",
|
|
699
690
|
type: _ctx.as === "button" ? "button" : void 0,
|
|
700
|
-
style: { userSelect: unref(isPressed) ? "none" : void 0 },
|
|
691
|
+
style: { userSelect: vueExports.unref(isPressed) ? "none" : void 0 },
|
|
701
692
|
disabled: isDisabled.value ? "" : void 0,
|
|
702
693
|
"data-disabled": isDisabled.value ? "" : void 0,
|
|
703
|
-
"data-pressed": unref(isPressed) ? "true" : void 0,
|
|
704
|
-
onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
|
|
694
|
+
"data-pressed": vueExports.unref(isPressed) ? "true" : void 0,
|
|
695
|
+
onContextmenu: _cache[0] || (_cache[0] = vueExports.withModifiers(() => {}, ["prevent"]))
|
|
705
696
|
}), {
|
|
706
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
697
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
707
698
|
_: 3
|
|
708
699
|
}, 16, [
|
|
709
700
|
"type",
|
|
@@ -717,7 +708,7 @@ var NumberFieldDecrement_default = /* @__PURE__ */ defineComponent({
|
|
|
717
708
|
});
|
|
718
709
|
//#endregion
|
|
719
710
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/NumberField/NumberFieldIncrement.js
|
|
720
|
-
var NumberFieldIncrement_default = /* @__PURE__ */ defineComponent({
|
|
711
|
+
var NumberFieldIncrement_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
721
712
|
__name: "NumberFieldIncrement",
|
|
722
713
|
props: {
|
|
723
714
|
disabled: {
|
|
@@ -737,7 +728,7 @@ var NumberFieldIncrement_default = /* @__PURE__ */ defineComponent({
|
|
|
737
728
|
setup(__props) {
|
|
738
729
|
const props = __props;
|
|
739
730
|
const rootContext = injectNumberFieldRootContext();
|
|
740
|
-
const isDisabled = computed(() => rootContext.disabled?.value || rootContext.readonly.value || props.disabled || rootContext.isIncreaseDisabled.value);
|
|
731
|
+
const isDisabled = vueExports.computed(() => rootContext.disabled?.value || rootContext.readonly.value || props.disabled || rootContext.isIncreaseDisabled.value);
|
|
741
732
|
const { primitiveElement, currentElement } = usePrimitiveElement();
|
|
742
733
|
const { isPressed, onTrigger } = usePressedHold({
|
|
743
734
|
target: currentElement,
|
|
@@ -747,19 +738,19 @@ var NumberFieldIncrement_default = /* @__PURE__ */ defineComponent({
|
|
|
747
738
|
rootContext.handleIncrease();
|
|
748
739
|
});
|
|
749
740
|
return (_ctx, _cache) => {
|
|
750
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
741
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, {
|
|
751
742
|
ref_key: "primitiveElement",
|
|
752
743
|
ref: primitiveElement,
|
|
753
744
|
tabindex: "-1",
|
|
754
745
|
"aria-label": "Increase",
|
|
755
746
|
type: _ctx.as === "button" ? "button" : void 0,
|
|
756
|
-
style: { userSelect: unref(isPressed) ? "none" : void 0 },
|
|
747
|
+
style: { userSelect: vueExports.unref(isPressed) ? "none" : void 0 },
|
|
757
748
|
disabled: isDisabled.value ? "" : void 0,
|
|
758
749
|
"data-disabled": isDisabled.value ? "" : void 0,
|
|
759
|
-
"data-pressed": unref(isPressed) ? "true" : void 0,
|
|
760
|
-
onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
|
|
750
|
+
"data-pressed": vueExports.unref(isPressed) ? "true" : void 0,
|
|
751
|
+
onContextmenu: _cache[0] || (_cache[0] = vueExports.withModifiers(() => {}, ["prevent"]))
|
|
761
752
|
}), {
|
|
762
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
753
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
763
754
|
_: 3
|
|
764
755
|
}, 16, [
|
|
765
756
|
"type",
|
|
@@ -773,7 +764,7 @@ var NumberFieldIncrement_default = /* @__PURE__ */ defineComponent({
|
|
|
773
764
|
});
|
|
774
765
|
//#endregion
|
|
775
766
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/NumberField/NumberFieldInput.js
|
|
776
|
-
var NumberFieldInput_default = /* @__PURE__ */ defineComponent({
|
|
767
|
+
var NumberFieldInput_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
777
768
|
__name: "NumberFieldInput",
|
|
778
769
|
props: {
|
|
779
770
|
asChild: {
|
|
@@ -830,8 +821,8 @@ var NumberFieldInput_default = /* @__PURE__ */ defineComponent({
|
|
|
830
821
|
if (event.deltaY > 0) rootContext.invertWheelChange.value ? rootContext.handleDecrease() : rootContext.handleIncrease();
|
|
831
822
|
else if (event.deltaY < 0) rootContext.invertWheelChange.value ? rootContext.handleIncrease() : rootContext.handleDecrease();
|
|
832
823
|
}
|
|
833
|
-
const inputValue = ref(rootContext.textValue.value);
|
|
834
|
-
watch(() => rootContext.textValue.value, () => {
|
|
824
|
+
const inputValue = vueExports.ref(rootContext.textValue.value);
|
|
825
|
+
vueExports.watch(() => rootContext.textValue.value, () => {
|
|
835
826
|
inputValue.value = rootContext.textValue.value;
|
|
836
827
|
}, {
|
|
837
828
|
immediate: true,
|
|
@@ -843,44 +834,44 @@ var NumberFieldInput_default = /* @__PURE__ */ defineComponent({
|
|
|
843
834
|
});
|
|
844
835
|
}
|
|
845
836
|
return (_ctx, _cache) => {
|
|
846
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
847
|
-
id: unref(rootContext).id.value,
|
|
837
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, {
|
|
838
|
+
id: vueExports.unref(rootContext).id.value,
|
|
848
839
|
ref_key: "primitiveElement",
|
|
849
840
|
ref: primitiveElement,
|
|
850
841
|
value: inputValue.value,
|
|
851
842
|
role: "spinbutton",
|
|
852
843
|
type: "text",
|
|
853
844
|
tabindex: "0",
|
|
854
|
-
inputmode: unref(rootContext).inputMode.value,
|
|
855
|
-
disabled: unref(rootContext).disabled.value ? "" : void 0,
|
|
856
|
-
"data-disabled": unref(rootContext).disabled.value ? "" : void 0,
|
|
857
|
-
readonly: unref(rootContext).readonly.value ? "" : void 0,
|
|
858
|
-
"data-readonly": unref(rootContext).readonly.value ? "" : void 0,
|
|
845
|
+
inputmode: vueExports.unref(rootContext).inputMode.value,
|
|
846
|
+
disabled: vueExports.unref(rootContext).disabled.value ? "" : void 0,
|
|
847
|
+
"data-disabled": vueExports.unref(rootContext).disabled.value ? "" : void 0,
|
|
848
|
+
readonly: vueExports.unref(rootContext).readonly.value ? "" : void 0,
|
|
849
|
+
"data-readonly": vueExports.unref(rootContext).readonly.value ? "" : void 0,
|
|
859
850
|
autocomplete: "off",
|
|
860
851
|
autocorrect: "off",
|
|
861
852
|
spellcheck: "false",
|
|
862
853
|
"aria-roledescription": "Number field",
|
|
863
|
-
"aria-valuenow": unref(rootContext).modelValue.value,
|
|
864
|
-
"aria-valuemin": unref(rootContext).min.value,
|
|
865
|
-
"aria-valuemax": unref(rootContext).max.value,
|
|
854
|
+
"aria-valuenow": vueExports.unref(rootContext).modelValue.value,
|
|
855
|
+
"aria-valuemin": vueExports.unref(rootContext).min.value,
|
|
856
|
+
"aria-valuemax": vueExports.unref(rootContext).max.value,
|
|
866
857
|
onKeydown: handleKeydown,
|
|
867
858
|
onWheel: handleWheelEvent,
|
|
868
859
|
onBeforeinput: _cache[0] || (_cache[0] = (event) => {
|
|
869
860
|
if (event.isComposing) return;
|
|
870
861
|
const target = event.target;
|
|
871
862
|
let nextValue = target.value.slice(0, target.selectionStart ?? void 0) + (event.data ?? "") + target.value.slice(target.selectionEnd ?? void 0);
|
|
872
|
-
if (!unref(rootContext).validate(nextValue)) event.preventDefault();
|
|
863
|
+
if (!vueExports.unref(rootContext).validate(nextValue)) event.preventDefault();
|
|
873
864
|
}),
|
|
874
865
|
onInput: _cache[1] || (_cache[1] = (event) => {
|
|
875
866
|
const target = event.target;
|
|
876
867
|
inputValue.value = target.value;
|
|
877
868
|
}),
|
|
878
869
|
onChange: handleChange,
|
|
879
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => unref(rootContext).applyInputValue($event.target?.value)),
|
|
880
|
-
onCompositionstart: unref(handleCompositionStart),
|
|
881
|
-
onCompositionend: unref(handleCompositionEnd)
|
|
870
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => vueExports.unref(rootContext).applyInputValue($event.target?.value)),
|
|
871
|
+
onCompositionstart: vueExports.unref(handleCompositionStart),
|
|
872
|
+
onCompositionend: vueExports.unref(handleCompositionEnd)
|
|
882
873
|
}), {
|
|
883
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
874
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
884
875
|
_: 3
|
|
885
876
|
}, 16, [
|
|
886
877
|
"id",
|
|
@@ -927,7 +918,7 @@ function shouldShowPlaceholder(value) {
|
|
|
927
918
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectRoot.js
|
|
928
919
|
var _hoisted_1$1 = ["value"];
|
|
929
920
|
var [injectSelectRootContext, provideSelectRootContext] = /*#__PURE__*/ createContext("SelectRoot");
|
|
930
|
-
var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
921
|
+
var SelectRoot_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
931
922
|
inheritAttrs: false,
|
|
932
923
|
__name: "SelectRoot",
|
|
933
924
|
props: {
|
|
@@ -987,7 +978,7 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
987
978
|
setup(__props, { emit: __emit }) {
|
|
988
979
|
const props = __props;
|
|
989
980
|
const emits = __emit;
|
|
990
|
-
const { required, disabled, multiple, dir: propDir } = toRefs(props);
|
|
981
|
+
const { required, disabled, multiple, dir: propDir } = vueExports.toRefs(props);
|
|
991
982
|
const modelValue = useVModel(props, "modelValue", emits, {
|
|
992
983
|
defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
|
|
993
984
|
passive: props.modelValue === void 0,
|
|
@@ -997,21 +988,21 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
997
988
|
defaultValue: props.defaultOpen,
|
|
998
989
|
passive: props.open === void 0
|
|
999
990
|
});
|
|
1000
|
-
const triggerElement = ref();
|
|
1001
|
-
const valueElement = ref();
|
|
1002
|
-
const triggerPointerDownPosRef = ref({
|
|
991
|
+
const triggerElement = vueExports.ref();
|
|
992
|
+
const valueElement = vueExports.ref();
|
|
993
|
+
const triggerPointerDownPosRef = vueExports.ref({
|
|
1003
994
|
x: 0,
|
|
1004
995
|
y: 0
|
|
1005
996
|
});
|
|
1006
|
-
const isEmptyModelValue = computed(() => {
|
|
997
|
+
const isEmptyModelValue = vueExports.computed(() => {
|
|
1007
998
|
if (multiple.value && Array.isArray(modelValue.value)) return modelValue.value?.length === 0;
|
|
1008
999
|
else return isNullish(modelValue.value);
|
|
1009
1000
|
});
|
|
1010
1001
|
useCollection({ isProvider: true });
|
|
1011
1002
|
const dir = useDirection(propDir);
|
|
1012
1003
|
const isFormControl = useFormControl(triggerElement);
|
|
1013
|
-
const optionsSet = ref(/* @__PURE__ */ new Set());
|
|
1014
|
-
const nativeSelectKey = computed(() => {
|
|
1004
|
+
const optionsSet = vueExports.ref(/* @__PURE__ */ new Set());
|
|
1005
|
+
const nativeSelectKey = vueExports.computed(() => {
|
|
1015
1006
|
return Array.from(optionsSet.value).map((option) => option.value).join(";");
|
|
1016
1007
|
});
|
|
1017
1008
|
function handleValueChange(value) {
|
|
@@ -1060,26 +1051,26 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1060
1051
|
}
|
|
1061
1052
|
});
|
|
1062
1053
|
return (_ctx, _cache) => {
|
|
1063
|
-
return openBlock(), createBlock(unref(PopperRoot_default), null, {
|
|
1064
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
1065
|
-
modelValue: unref(modelValue),
|
|
1066
|
-
open: unref(open)
|
|
1067
|
-
}), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(BubbleSelect_default, {
|
|
1054
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperRoot_default), null, {
|
|
1055
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1056
|
+
modelValue: vueExports.unref(modelValue),
|
|
1057
|
+
open: vueExports.unref(open)
|
|
1058
|
+
}), vueExports.unref(isFormControl) && _ctx.name ? (vueExports.openBlock(), vueExports.createBlock(BubbleSelect_default, {
|
|
1068
1059
|
key: nativeSelectKey.value,
|
|
1069
1060
|
"aria-hidden": "true",
|
|
1070
1061
|
tabindex: "-1",
|
|
1071
|
-
multiple: unref(multiple),
|
|
1072
|
-
required: unref(required),
|
|
1062
|
+
multiple: vueExports.unref(multiple),
|
|
1063
|
+
required: vueExports.unref(required),
|
|
1073
1064
|
name: _ctx.name,
|
|
1074
1065
|
autocomplete: _ctx.autocomplete,
|
|
1075
|
-
disabled: unref(disabled),
|
|
1076
|
-
value: unref(modelValue)
|
|
1066
|
+
disabled: vueExports.unref(disabled),
|
|
1067
|
+
value: vueExports.unref(modelValue)
|
|
1077
1068
|
}, {
|
|
1078
|
-
default: withCtx(() => [unref(isNullish)(unref(modelValue)) ? (openBlock(), createElementBlock("option", {
|
|
1069
|
+
default: vueExports.withCtx(() => [vueExports.unref(isNullish)(vueExports.unref(modelValue)) ? (vueExports.openBlock(), vueExports.createElementBlock("option", {
|
|
1079
1070
|
key: 0,
|
|
1080
1071
|
value: _ctx.nullableValue
|
|
1081
|
-
}, null, 8, _hoisted_1$1)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(Array.from(optionsSet.value), (option) => {
|
|
1082
|
-
return openBlock(), createElementBlock("option", mergeProps({ key: option.value ?? "" }, { ref_for: true }, option), null, 16);
|
|
1072
|
+
}, null, 8, _hoisted_1$1)) : vueExports.createCommentVNode("v-if", true), (vueExports.openBlock(true), vueExports.createElementBlock(vueExports.Fragment, null, vueExports.renderList(Array.from(optionsSet.value), (option) => {
|
|
1073
|
+
return vueExports.openBlock(), vueExports.createElementBlock("option", vueExports.mergeProps({ key: option.value ?? "" }, { ref_for: true }, option), null, 16);
|
|
1083
1074
|
}), 128))]),
|
|
1084
1075
|
_: 1
|
|
1085
1076
|
}, 8, [
|
|
@@ -1089,7 +1080,7 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1089
1080
|
"autocomplete",
|
|
1090
1081
|
"disabled",
|
|
1091
1082
|
"value"
|
|
1092
|
-
])) : createCommentVNode("v-if", true)]),
|
|
1083
|
+
])) : vueExports.createCommentVNode("v-if", true)]),
|
|
1093
1084
|
_: 3
|
|
1094
1085
|
});
|
|
1095
1086
|
};
|
|
@@ -1097,7 +1088,7 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1097
1088
|
});
|
|
1098
1089
|
//#endregion
|
|
1099
1090
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/BubbleSelect.js
|
|
1100
|
-
var BubbleSelect_default = /* @__PURE__ */ defineComponent({
|
|
1091
|
+
var BubbleSelect_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1101
1092
|
__name: "BubbleSelect",
|
|
1102
1093
|
props: {
|
|
1103
1094
|
autocomplete: {
|
|
@@ -1139,9 +1130,9 @@ var BubbleSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1139
1130
|
},
|
|
1140
1131
|
setup(__props) {
|
|
1141
1132
|
const props = __props;
|
|
1142
|
-
const selectElement = ref();
|
|
1133
|
+
const selectElement = vueExports.ref();
|
|
1143
1134
|
const rootContext = injectSelectRootContext();
|
|
1144
|
-
watch(() => props.value, (cur, prev) => {
|
|
1135
|
+
vueExports.watch(() => props.value, (cur, prev) => {
|
|
1145
1136
|
const selectProto = (void 0).HTMLSelectElement.prototype;
|
|
1146
1137
|
const setValue = Object.getOwnPropertyDescriptor(selectProto, "value").set;
|
|
1147
1138
|
if (cur !== prev && setValue && selectElement.value) {
|
|
@@ -1168,11 +1159,11 @@ var BubbleSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1168
1159
|
* won't work otherwise.
|
|
1169
1160
|
*/
|
|
1170
1161
|
return (_ctx, _cache) => {
|
|
1171
|
-
return openBlock(), createBlock(unref(VisuallyHidden_default), { "as-child": "" }, {
|
|
1172
|
-
default: withCtx(() => [createElementVNode("select", mergeProps({
|
|
1162
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(VisuallyHidden_default), { "as-child": "" }, {
|
|
1163
|
+
default: vueExports.withCtx(() => [vueExports.createElementVNode("select", vueExports.mergeProps({
|
|
1173
1164
|
ref_key: "selectElement",
|
|
1174
1165
|
ref: selectElement
|
|
1175
|
-
}, props, { onInput: handleInput }), [renderSlot(_ctx.$slots, "default")], 16)]),
|
|
1166
|
+
}, props, { onInput: handleInput }), [vueExports.renderSlot(_ctx.$slots, "default")], 16)]),
|
|
1176
1167
|
_: 3
|
|
1177
1168
|
});
|
|
1178
1169
|
};
|
|
@@ -1180,7 +1171,7 @@ var BubbleSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
1180
1171
|
});
|
|
1181
1172
|
//#endregion
|
|
1182
1173
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectPopperPosition.js
|
|
1183
|
-
var SelectPopperPosition_default = /* @__PURE__ */ defineComponent({
|
|
1174
|
+
var SelectPopperPosition_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1184
1175
|
__name: "SelectPopperPosition",
|
|
1185
1176
|
props: {
|
|
1186
1177
|
memoDependencies: {
|
|
@@ -1277,7 +1268,7 @@ var SelectPopperPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1277
1268
|
setup(__props) {
|
|
1278
1269
|
const forwarded = useForwardProps$1(__props);
|
|
1279
1270
|
return (_ctx, _cache) => {
|
|
1280
|
-
return openBlock(), createBlock(unref(PopperContent_default), mergeProps(unref(forwarded), { style: {
|
|
1271
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperContent_default), vueExports.mergeProps(vueExports.unref(forwarded), { style: {
|
|
1281
1272
|
"boxSizing": "border-box",
|
|
1282
1273
|
"--reka-select-content-transform-origin": "var(--reka-popper-transform-origin)",
|
|
1283
1274
|
"--reka-select-content-available-width": "var(--reka-popper-available-width)",
|
|
@@ -1285,7 +1276,7 @@ var SelectPopperPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1285
1276
|
"--reka-select-trigger-width": "var(--reka-popper-anchor-width)",
|
|
1286
1277
|
"--reka-select-trigger-height": "var(--reka-popper-anchor-height)"
|
|
1287
1278
|
} }), {
|
|
1288
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1279
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1289
1280
|
_: 3
|
|
1290
1281
|
}, 16);
|
|
1291
1282
|
};
|
|
@@ -1299,7 +1290,7 @@ var SelectContentDefaultContextValue = {
|
|
|
1299
1290
|
itemRefCallback: () => {}
|
|
1300
1291
|
};
|
|
1301
1292
|
var [injectSelectContentContext, provideSelectContentContext] = /*#__PURE__*/ createContext("SelectContent");
|
|
1302
|
-
var SelectContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
1293
|
+
var SelectContentImpl_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1303
1294
|
__name: "SelectContentImpl",
|
|
1304
1295
|
props: {
|
|
1305
1296
|
position: {
|
|
@@ -1419,23 +1410,23 @@ var SelectContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1419
1410
|
useFocusGuards();
|
|
1420
1411
|
useBodyScrollLock(props.bodyLock);
|
|
1421
1412
|
const { CollectionSlot, getItems } = useCollection();
|
|
1422
|
-
const content = ref();
|
|
1413
|
+
const content = vueExports.ref();
|
|
1423
1414
|
useHideOthers(content);
|
|
1424
1415
|
const { search, handleTypeaheadSearch } = useTypeahead();
|
|
1425
|
-
const viewport = ref();
|
|
1426
|
-
const selectedItem = ref();
|
|
1427
|
-
const selectedItemText = ref();
|
|
1428
|
-
const isPositioned = ref(false);
|
|
1429
|
-
const firstValidItemFoundRef = ref(false);
|
|
1430
|
-
const firstSelectedItemInArrayFoundRef = ref(false);
|
|
1416
|
+
const viewport = vueExports.ref();
|
|
1417
|
+
const selectedItem = vueExports.ref();
|
|
1418
|
+
const selectedItemText = vueExports.ref();
|
|
1419
|
+
const isPositioned = vueExports.ref(false);
|
|
1420
|
+
const firstValidItemFoundRef = vueExports.ref(false);
|
|
1421
|
+
const firstSelectedItemInArrayFoundRef = vueExports.ref(false);
|
|
1431
1422
|
function focusSelectedItem() {
|
|
1432
1423
|
if (selectedItem.value && content.value) focusFirst([selectedItem.value, content.value]);
|
|
1433
1424
|
}
|
|
1434
|
-
watch(isPositioned, () => {
|
|
1425
|
+
vueExports.watch(isPositioned, () => {
|
|
1435
1426
|
focusSelectedItem();
|
|
1436
1427
|
});
|
|
1437
1428
|
const { onOpenChange, triggerPointerDownPosRef } = rootContext;
|
|
1438
|
-
watchEffect((cleanupFn) => {
|
|
1429
|
+
vueExports.watchEffect((cleanupFn) => {
|
|
1439
1430
|
if (!content.value) return;
|
|
1440
1431
|
let pointerMoveDelta = {
|
|
1441
1432
|
x: 0,
|
|
@@ -1487,7 +1478,7 @@ var SelectContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1487
1478
|
event.preventDefault();
|
|
1488
1479
|
}
|
|
1489
1480
|
}
|
|
1490
|
-
const pickedProps = computed(() => {
|
|
1481
|
+
const pickedProps = vueExports.computed(() => {
|
|
1491
1482
|
if (props.position === "popper") return props;
|
|
1492
1483
|
else return {};
|
|
1493
1484
|
});
|
|
@@ -1525,49 +1516,49 @@ var SelectContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1525
1516
|
searchRef: search
|
|
1526
1517
|
});
|
|
1527
1518
|
return (_ctx, _cache) => {
|
|
1528
|
-
return openBlock(), createBlock(unref(CollectionSlot), null, {
|
|
1529
|
-
default: withCtx(() => [createVNode(unref(FocusScope_default), {
|
|
1519
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(CollectionSlot), null, {
|
|
1520
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
1530
1521
|
"as-child": "",
|
|
1531
|
-
onMountAutoFocus: _cache[6] || (_cache[6] = withModifiers(() => {}, ["prevent"])),
|
|
1522
|
+
onMountAutoFocus: _cache[6] || (_cache[6] = vueExports.withModifiers(() => {}, ["prevent"])),
|
|
1532
1523
|
onUnmountAutoFocus: _cache[7] || (_cache[7] = (event) => {
|
|
1533
1524
|
emits("closeAutoFocus", event);
|
|
1534
1525
|
if (event.defaultPrevented) return;
|
|
1535
|
-
unref(rootContext).triggerElement.value?.focus({ preventScroll: true });
|
|
1526
|
+
vueExports.unref(rootContext).triggerElement.value?.focus({ preventScroll: true });
|
|
1536
1527
|
event.preventDefault();
|
|
1537
1528
|
})
|
|
1538
1529
|
}, {
|
|
1539
|
-
default: withCtx(() => [createVNode(unref(DismissableLayer_default), {
|
|
1530
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(DismissableLayer_default), {
|
|
1540
1531
|
"as-child": "",
|
|
1541
1532
|
"disable-outside-pointer-events": _ctx.disableOutsidePointerEvents,
|
|
1542
|
-
onFocusOutside: _cache[2] || (_cache[2] = withModifiers(() => {}, ["prevent"])),
|
|
1543
|
-
onDismiss: _cache[3] || (_cache[3] = ($event) => unref(rootContext).onOpenChange(false)),
|
|
1533
|
+
onFocusOutside: _cache[2] || (_cache[2] = vueExports.withModifiers(() => {}, ["prevent"])),
|
|
1534
|
+
onDismiss: _cache[3] || (_cache[3] = ($event) => vueExports.unref(rootContext).onOpenChange(false)),
|
|
1544
1535
|
onEscapeKeyDown: _cache[4] || (_cache[4] = ($event) => emits("escapeKeyDown", $event)),
|
|
1545
1536
|
onPointerDownOutside: _cache[5] || (_cache[5] = ($event) => emits("pointerDownOutside", $event))
|
|
1546
1537
|
}, {
|
|
1547
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(_ctx.position === "popper" ? SelectPopperPosition_default : SelectItemAlignedPosition_default), mergeProps({
|
|
1538
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(_ctx.position === "popper" ? SelectPopperPosition_default : SelectItemAlignedPosition_default), vueExports.mergeProps({
|
|
1548
1539
|
..._ctx.$attrs,
|
|
1549
|
-
...unref(forwardedProps)
|
|
1540
|
+
...vueExports.unref(forwardedProps)
|
|
1550
1541
|
}, {
|
|
1551
|
-
id: unref(rootContext).contentId,
|
|
1542
|
+
id: vueExports.unref(rootContext).contentId,
|
|
1552
1543
|
ref: (vnode) => {
|
|
1553
1544
|
if (!vnode) return void 0;
|
|
1554
|
-
const el = unref(unrefElement)(vnode);
|
|
1545
|
+
const el = vueExports.unref(unrefElement)(vnode);
|
|
1555
1546
|
if (el?.hasAttribute("data-reka-popper-content-wrapper")) content.value = el.firstElementChild;
|
|
1556
1547
|
else content.value = el;
|
|
1557
1548
|
},
|
|
1558
1549
|
role: "listbox",
|
|
1559
|
-
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
1560
|
-
dir: unref(rootContext).dir.value,
|
|
1550
|
+
"data-state": vueExports.unref(rootContext).open.value ? "open" : "closed",
|
|
1551
|
+
dir: vueExports.unref(rootContext).dir.value,
|
|
1561
1552
|
style: {
|
|
1562
1553
|
display: "flex",
|
|
1563
1554
|
flexDirection: "column",
|
|
1564
1555
|
outline: "none"
|
|
1565
1556
|
},
|
|
1566
|
-
onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
|
|
1557
|
+
onContextmenu: _cache[0] || (_cache[0] = vueExports.withModifiers(() => {}, ["prevent"])),
|
|
1567
1558
|
onPlaced: _cache[1] || (_cache[1] = ($event) => isPositioned.value = true),
|
|
1568
1559
|
onKeydown: handleKeyDown
|
|
1569
1560
|
}), {
|
|
1570
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1561
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1571
1562
|
_: 3
|
|
1572
1563
|
}, 16, [
|
|
1573
1564
|
"id",
|
|
@@ -1587,7 +1578,7 @@ var SelectContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1587
1578
|
//#endregion
|
|
1588
1579
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectItemAlignedPosition.js
|
|
1589
1580
|
var [injectSelectItemAlignedPositionContext, provideSelectItemAlignedPositionContext] = /*#__PURE__*/ createContext("SelectItemAlignedPosition");
|
|
1590
|
-
var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
1581
|
+
var SelectItemAlignedPosition_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1591
1582
|
inheritAttrs: false,
|
|
1592
1583
|
__name: "SelectItemAlignedPosition",
|
|
1593
1584
|
props: {
|
|
@@ -1607,9 +1598,9 @@ var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1607
1598
|
const { getItems } = useCollection();
|
|
1608
1599
|
const rootContext = injectSelectRootContext();
|
|
1609
1600
|
const contentContext = injectSelectContentContext();
|
|
1610
|
-
const shouldExpandOnScrollRef = ref(false);
|
|
1611
|
-
const shouldRepositionRef = ref(true);
|
|
1612
|
-
const contentWrapperElement = ref();
|
|
1601
|
+
const shouldExpandOnScrollRef = vueExports.ref(false);
|
|
1602
|
+
const shouldRepositionRef = vueExports.ref(true);
|
|
1603
|
+
const contentWrapperElement = vueExports.ref();
|
|
1613
1604
|
const { forwardRef, currentElement: contentElement } = useForwardExpose();
|
|
1614
1605
|
const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
|
|
1615
1606
|
function position() {
|
|
@@ -1678,7 +1669,7 @@ var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1678
1669
|
requestAnimationFrame(() => shouldExpandOnScrollRef.value = true);
|
|
1679
1670
|
}
|
|
1680
1671
|
}
|
|
1681
|
-
const contentZIndex = ref("");
|
|
1672
|
+
const contentZIndex = vueExports.ref("");
|
|
1682
1673
|
function handleScrollButtonChange(node) {
|
|
1683
1674
|
if (node && shouldRepositionRef.value === true) {
|
|
1684
1675
|
position();
|
|
@@ -1695,17 +1686,17 @@ var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1695
1686
|
onScrollButtonChange: handleScrollButtonChange
|
|
1696
1687
|
});
|
|
1697
1688
|
return (_ctx, _cache) => {
|
|
1698
|
-
return openBlock(), createElementBlock("div", {
|
|
1689
|
+
return vueExports.openBlock(), vueExports.createElementBlock("div", {
|
|
1699
1690
|
ref_key: "contentWrapperElement",
|
|
1700
1691
|
ref: contentWrapperElement,
|
|
1701
|
-
style: normalizeStyle({
|
|
1692
|
+
style: vueExports.normalizeStyle({
|
|
1702
1693
|
display: "flex",
|
|
1703
1694
|
flexDirection: "column",
|
|
1704
1695
|
position: "fixed",
|
|
1705
1696
|
zIndex: contentZIndex.value
|
|
1706
1697
|
})
|
|
1707
|
-
}, [createVNode(unref(Primitive), mergeProps({
|
|
1708
|
-
ref: unref(forwardRef),
|
|
1698
|
+
}, [vueExports.createVNode(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
1699
|
+
ref: vueExports.unref(forwardRef),
|
|
1709
1700
|
style: {
|
|
1710
1701
|
boxSizing: "border-box",
|
|
1711
1702
|
maxHeight: "100%"
|
|
@@ -1714,7 +1705,7 @@ var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1714
1705
|
..._ctx.$attrs,
|
|
1715
1706
|
...props
|
|
1716
1707
|
}), {
|
|
1717
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1708
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1718
1709
|
_: 3
|
|
1719
1710
|
}, 16)], 4);
|
|
1720
1711
|
};
|
|
@@ -1722,7 +1713,7 @@ var SelectItemAlignedPosition_default = /* @__PURE__ */ defineComponent({
|
|
|
1722
1713
|
});
|
|
1723
1714
|
//#endregion
|
|
1724
1715
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectArrow.js
|
|
1725
|
-
var SelectArrow_default = /* @__PURE__ */ defineComponent({
|
|
1716
|
+
var SelectArrow_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1726
1717
|
__name: "SelectArrow",
|
|
1727
1718
|
props: {
|
|
1728
1719
|
width: {
|
|
@@ -1753,16 +1744,16 @@ var SelectArrow_default = /* @__PURE__ */ defineComponent({
|
|
|
1753
1744
|
const props = __props;
|
|
1754
1745
|
const contentContext = injectSelectContentContext(SelectContentDefaultContextValue);
|
|
1755
1746
|
return (_ctx, _cache) => {
|
|
1756
|
-
return unref(contentContext).position === "popper" ? (openBlock(), createBlock(unref(PopperArrow_default), normalizeProps(mergeProps({ key: 0 }, props)), {
|
|
1757
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1747
|
+
return vueExports.unref(contentContext).position === "popper" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperArrow_default), vueExports.normalizeProps(vueExports.mergeProps({ key: 0 }, props)), {
|
|
1748
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1758
1749
|
_: 3
|
|
1759
|
-
}, 16)) : createCommentVNode("v-if", true);
|
|
1750
|
+
}, 16)) : vueExports.createCommentVNode("v-if", true);
|
|
1760
1751
|
};
|
|
1761
1752
|
}
|
|
1762
1753
|
});
|
|
1763
1754
|
//#endregion
|
|
1764
1755
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectProvider.js
|
|
1765
|
-
var SelectProvider_default = /* @__PURE__ */ defineComponent({
|
|
1756
|
+
var SelectProvider_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1766
1757
|
inheritAttrs: false,
|
|
1767
1758
|
__name: "SelectProvider",
|
|
1768
1759
|
props: { context: {
|
|
@@ -1773,14 +1764,14 @@ var SelectProvider_default = /* @__PURE__ */ defineComponent({
|
|
|
1773
1764
|
provideSelectRootContext(__props.context);
|
|
1774
1765
|
provideSelectContentContext(SelectContentDefaultContextValue);
|
|
1775
1766
|
return (_ctx, _cache) => {
|
|
1776
|
-
return renderSlot(_ctx.$slots, "default");
|
|
1767
|
+
return vueExports.renderSlot(_ctx.$slots, "default");
|
|
1777
1768
|
};
|
|
1778
1769
|
}
|
|
1779
1770
|
});
|
|
1780
1771
|
//#endregion
|
|
1781
1772
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectContent.js
|
|
1782
1773
|
var _hoisted_1 = { key: 1 };
|
|
1783
|
-
var SelectContent_default = /* @__PURE__ */ defineComponent({
|
|
1774
|
+
var SelectContent_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1784
1775
|
inheritAttrs: false,
|
|
1785
1776
|
__name: "SelectContent",
|
|
1786
1777
|
props: {
|
|
@@ -1898,10 +1889,10 @@ var SelectContent_default = /* @__PURE__ */ defineComponent({
|
|
|
1898
1889
|
const props = __props;
|
|
1899
1890
|
const forwarded = useForwardPropsEmits(props, __emit);
|
|
1900
1891
|
const rootContext = injectSelectRootContext();
|
|
1901
|
-
const fragment = ref();
|
|
1902
|
-
const presenceRef = ref();
|
|
1903
|
-
const present = computed(() => props.forceMount || rootContext.open.value);
|
|
1904
|
-
const renderPresence = ref(present.value);
|
|
1892
|
+
const fragment = vueExports.ref();
|
|
1893
|
+
const presenceRef = vueExports.ref();
|
|
1894
|
+
const present = vueExports.computed(() => props.forceMount || rootContext.open.value);
|
|
1895
|
+
const renderPresence = vueExports.ref(present.value);
|
|
1905
1896
|
let renderPresenceTimeout;
|
|
1906
1897
|
function clearRenderPresenceTimeout() {
|
|
1907
1898
|
if (renderPresenceTimeout) {
|
|
@@ -1909,7 +1900,7 @@ var SelectContent_default = /* @__PURE__ */ defineComponent({
|
|
|
1909
1900
|
renderPresenceTimeout = void 0;
|
|
1910
1901
|
}
|
|
1911
1902
|
}
|
|
1912
|
-
watch(present, (_value, _oldValue, onCleanup) => {
|
|
1903
|
+
vueExports.watch(present, (_value, _oldValue, onCleanup) => {
|
|
1913
1904
|
clearRenderPresenceTimeout();
|
|
1914
1905
|
renderPresenceTimeout = setTimeout(() => {
|
|
1915
1906
|
renderPresence.value = present.value;
|
|
@@ -1918,31 +1909,31 @@ var SelectContent_default = /* @__PURE__ */ defineComponent({
|
|
|
1918
1909
|
onCleanup(clearRenderPresenceTimeout);
|
|
1919
1910
|
});
|
|
1920
1911
|
return (_ctx, _cache) => {
|
|
1921
|
-
return present.value || renderPresence.value || presenceRef.value?.present ? (openBlock(), createBlock(unref(Presence_default), {
|
|
1912
|
+
return present.value || renderPresence.value || presenceRef.value?.present ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Presence_default), {
|
|
1922
1913
|
key: 0,
|
|
1923
1914
|
ref_key: "presenceRef",
|
|
1924
1915
|
ref: presenceRef,
|
|
1925
1916
|
present: present.value
|
|
1926
1917
|
}, {
|
|
1927
|
-
default: withCtx(() => [createVNode(SelectContentImpl_default, normalizeProps(guardReactiveProps({
|
|
1928
|
-
...unref(forwarded),
|
|
1918
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(SelectContentImpl_default, vueExports.normalizeProps(vueExports.guardReactiveProps({
|
|
1919
|
+
...vueExports.unref(forwarded),
|
|
1929
1920
|
..._ctx.$attrs
|
|
1930
1921
|
})), {
|
|
1931
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1922
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1932
1923
|
_: 3
|
|
1933
1924
|
}, 16)]),
|
|
1934
1925
|
_: 3
|
|
1935
|
-
}, 8, ["present"])) : fragment.value ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(), createBlock(Teleport, { to: fragment.value }, [createVNode(SelectProvider_default, { context: unref(rootContext) }, {
|
|
1936
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1926
|
+
}, 8, ["present"])) : fragment.value ? (vueExports.openBlock(), vueExports.createElementBlock("div", _hoisted_1, [(vueExports.openBlock(), vueExports.createBlock(vueExports.Teleport, { to: fragment.value }, [vueExports.createVNode(SelectProvider_default, { context: vueExports.unref(rootContext) }, {
|
|
1927
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1937
1928
|
_: 3
|
|
1938
|
-
}, 8, ["context"])], 8, ["to"]))])) : createCommentVNode("v-if", true);
|
|
1929
|
+
}, 8, ["context"])], 8, ["to"]))])) : vueExports.createCommentVNode("v-if", true);
|
|
1939
1930
|
};
|
|
1940
1931
|
}
|
|
1941
1932
|
});
|
|
1942
1933
|
//#endregion
|
|
1943
1934
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectGroup.js
|
|
1944
1935
|
var [injectSelectGroupContext, provideSelectGroupContext] = /*#__PURE__*/ createContext("SelectGroup");
|
|
1945
|
-
var SelectGroup_default = /* @__PURE__ */ defineComponent({
|
|
1936
|
+
var SelectGroup_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1946
1937
|
__name: "SelectGroup",
|
|
1947
1938
|
props: {
|
|
1948
1939
|
asChild: {
|
|
@@ -1959,8 +1950,8 @@ var SelectGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
1959
1950
|
const id = useId$1(void 0, "reka-select-group");
|
|
1960
1951
|
provideSelectGroupContext({ id });
|
|
1961
1952
|
return (_ctx, _cache) => {
|
|
1962
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({ role: "group" }, props, { "aria-labelledby": unref(id) }), {
|
|
1963
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1953
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({ role: "group" }, props, { "aria-labelledby": vueExports.unref(id) }), {
|
|
1954
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1964
1955
|
_: 3
|
|
1965
1956
|
}, 16, ["aria-labelledby"]);
|
|
1966
1957
|
};
|
|
@@ -1969,7 +1960,7 @@ var SelectGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
1969
1960
|
//#endregion
|
|
1970
1961
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectItem.js
|
|
1971
1962
|
var [injectSelectItemContext, provideSelectItemContext] = /*#__PURE__*/ createContext("SelectItem");
|
|
1972
|
-
var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
1963
|
+
var SelectItem_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1973
1964
|
__name: "SelectItem",
|
|
1974
1965
|
props: {
|
|
1975
1966
|
value: {
|
|
@@ -1997,14 +1988,14 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
1997
1988
|
setup(__props, { emit: __emit }) {
|
|
1998
1989
|
const props = __props;
|
|
1999
1990
|
const emits = __emit;
|
|
2000
|
-
const { disabled } = toRefs(props);
|
|
1991
|
+
const { disabled } = vueExports.toRefs(props);
|
|
2001
1992
|
const rootContext = injectSelectRootContext();
|
|
2002
1993
|
const contentContext = injectSelectContentContext();
|
|
2003
1994
|
const { forwardRef} = useForwardExpose();
|
|
2004
1995
|
const { CollectionItem } = useCollection();
|
|
2005
|
-
const isSelected = computed(() => valueComparator(rootContext.modelValue?.value, props.value, rootContext.by));
|
|
2006
|
-
const isFocused = ref(false);
|
|
2007
|
-
const textValue = ref(props.textValue ?? "");
|
|
1996
|
+
const isSelected = vueExports.computed(() => valueComparator(rootContext.modelValue?.value, props.value, rootContext.by));
|
|
1997
|
+
const isFocused = vueExports.ref(false);
|
|
1998
|
+
const textValue = vueExports.ref(props.textValue ?? "");
|
|
2008
1999
|
const textId = useId$1(void 0, "reka-select-item-text");
|
|
2009
2000
|
const SELECT_SELECT = "select.select";
|
|
2010
2001
|
async function handleSelectCustomEvent(ev) {
|
|
@@ -2016,7 +2007,7 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
2016
2007
|
handleAndDispatchCustomEvent(SELECT_SELECT, handleSelect, eventDetail);
|
|
2017
2008
|
}
|
|
2018
2009
|
async function handleSelect(ev) {
|
|
2019
|
-
await nextTick();
|
|
2010
|
+
await vueExports.nextTick();
|
|
2020
2011
|
emits("select", ev);
|
|
2021
2012
|
if (ev.defaultPrevented) return;
|
|
2022
2013
|
if (!disabled.value) {
|
|
@@ -2025,18 +2016,18 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
2025
2016
|
}
|
|
2026
2017
|
}
|
|
2027
2018
|
async function handlePointerMove(event) {
|
|
2028
|
-
await nextTick();
|
|
2019
|
+
await vueExports.nextTick();
|
|
2029
2020
|
if (event.defaultPrevented) return;
|
|
2030
2021
|
if (disabled.value) contentContext.onItemLeave?.();
|
|
2031
2022
|
else event.currentTarget?.focus({ preventScroll: true });
|
|
2032
2023
|
}
|
|
2033
2024
|
async function handlePointerLeave(event) {
|
|
2034
|
-
await nextTick();
|
|
2025
|
+
await vueExports.nextTick();
|
|
2035
2026
|
if (event.defaultPrevented) return;
|
|
2036
2027
|
if (event.currentTarget === getActiveElement()) contentContext.onItemLeave?.();
|
|
2037
2028
|
}
|
|
2038
2029
|
async function handleKeyDown(event) {
|
|
2039
|
-
await nextTick();
|
|
2030
|
+
await vueExports.nextTick();
|
|
2040
2031
|
if (event.defaultPrevented) return;
|
|
2041
2032
|
if (contentContext.searchRef?.value !== "" && event.key === " ") return;
|
|
2042
2033
|
if (SELECTION_KEYS.includes(event.key)) handleSelectCustomEvent(event);
|
|
@@ -2053,17 +2044,17 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
2053
2044
|
}
|
|
2054
2045
|
});
|
|
2055
2046
|
return (_ctx, _cache) => {
|
|
2056
|
-
return openBlock(), createBlock(unref(CollectionItem), { value: { textValue: textValue.value } }, {
|
|
2057
|
-
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
2058
|
-
ref: unref(forwardRef),
|
|
2047
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(CollectionItem), { value: { textValue: textValue.value } }, {
|
|
2048
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
2049
|
+
ref: vueExports.unref(forwardRef),
|
|
2059
2050
|
role: "option",
|
|
2060
|
-
"aria-labelledby": unref(textId),
|
|
2051
|
+
"aria-labelledby": vueExports.unref(textId),
|
|
2061
2052
|
"data-highlighted": isFocused.value ? "" : void 0,
|
|
2062
2053
|
"aria-selected": isSelected.value,
|
|
2063
2054
|
"data-state": isSelected.value ? "checked" : "unchecked",
|
|
2064
|
-
"aria-disabled": unref(disabled) || void 0,
|
|
2065
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
2066
|
-
tabindex: unref(disabled) ? void 0 : -1,
|
|
2055
|
+
"aria-disabled": vueExports.unref(disabled) || void 0,
|
|
2056
|
+
"data-disabled": vueExports.unref(disabled) ? "" : void 0,
|
|
2057
|
+
tabindex: vueExports.unref(disabled) ? void 0 : -1,
|
|
2067
2058
|
as: _ctx.as,
|
|
2068
2059
|
"as-child": _ctx.asChild,
|
|
2069
2060
|
onFocus: _cache[0] || (_cache[0] = ($event) => isFocused.value = true),
|
|
@@ -2072,12 +2063,12 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
2072
2063
|
onPointerdown: _cache[2] || (_cache[2] = (event) => {
|
|
2073
2064
|
event.currentTarget.focus({ preventScroll: true });
|
|
2074
2065
|
}),
|
|
2075
|
-
onTouchend: _cache[3] || (_cache[3] = withModifiers(() => {}, ["prevent", "stop"])),
|
|
2066
|
+
onTouchend: _cache[3] || (_cache[3] = vueExports.withModifiers(() => {}, ["prevent", "stop"])),
|
|
2076
2067
|
onPointermove: handlePointerMove,
|
|
2077
2068
|
onPointerleave: handlePointerLeave,
|
|
2078
2069
|
onKeydown: handleKeyDown
|
|
2079
2070
|
}, {
|
|
2080
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2071
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2081
2072
|
_: 3
|
|
2082
2073
|
}, 8, [
|
|
2083
2074
|
"aria-labelledby",
|
|
@@ -2097,7 +2088,7 @@ var SelectItem_default = /* @__PURE__ */ defineComponent({
|
|
|
2097
2088
|
});
|
|
2098
2089
|
//#endregion
|
|
2099
2090
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectItemIndicator.js
|
|
2100
|
-
var SelectItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
2091
|
+
var SelectItemIndicator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2101
2092
|
__name: "SelectItemIndicator",
|
|
2102
2093
|
props: {
|
|
2103
2094
|
asChild: {
|
|
@@ -2114,19 +2105,19 @@ var SelectItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
2114
2105
|
const props = __props;
|
|
2115
2106
|
const itemContext = injectSelectItemContext();
|
|
2116
2107
|
return (_ctx, _cache) => {
|
|
2117
|
-
return unref(itemContext).isSelected.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
2108
|
+
return vueExports.unref(itemContext).isSelected.value ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
2118
2109
|
key: 0,
|
|
2119
2110
|
"aria-hidden": "true"
|
|
2120
2111
|
}, props), {
|
|
2121
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2112
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2122
2113
|
_: 3
|
|
2123
|
-
}, 16)) : createCommentVNode("v-if", true);
|
|
2114
|
+
}, 16)) : vueExports.createCommentVNode("v-if", true);
|
|
2124
2115
|
};
|
|
2125
2116
|
}
|
|
2126
2117
|
});
|
|
2127
2118
|
//#endregion
|
|
2128
2119
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectItemText.js
|
|
2129
|
-
var SelectItemText_default = /* @__PURE__ */ defineComponent({
|
|
2120
|
+
var SelectItemText_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2130
2121
|
inheritAttrs: false,
|
|
2131
2122
|
__name: "SelectItemText",
|
|
2132
2123
|
props: {
|
|
@@ -2146,7 +2137,7 @@ var SelectItemText_default = /* @__PURE__ */ defineComponent({
|
|
|
2146
2137
|
injectSelectContentContext();
|
|
2147
2138
|
const itemContext = injectSelectItemContext();
|
|
2148
2139
|
const { forwardRef, currentElement: itemTextElement } = useForwardExpose();
|
|
2149
|
-
computed(() => {
|
|
2140
|
+
vueExports.computed(() => {
|
|
2150
2141
|
return {
|
|
2151
2142
|
value: itemContext.value,
|
|
2152
2143
|
disabled: itemContext.disabled.value,
|
|
@@ -2154,14 +2145,14 @@ var SelectItemText_default = /* @__PURE__ */ defineComponent({
|
|
|
2154
2145
|
};
|
|
2155
2146
|
});
|
|
2156
2147
|
return (_ctx, _cache) => {
|
|
2157
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
2158
|
-
id: unref(itemContext).textId,
|
|
2159
|
-
ref: unref(forwardRef)
|
|
2148
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
2149
|
+
id: vueExports.unref(itemContext).textId,
|
|
2150
|
+
ref: vueExports.unref(forwardRef)
|
|
2160
2151
|
}, {
|
|
2161
2152
|
...props,
|
|
2162
2153
|
..._ctx.$attrs
|
|
2163
2154
|
}), {
|
|
2164
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2155
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2165
2156
|
_: 3
|
|
2166
2157
|
}, 16, ["id"]);
|
|
2167
2158
|
};
|
|
@@ -2169,7 +2160,7 @@ var SelectItemText_default = /* @__PURE__ */ defineComponent({
|
|
|
2169
2160
|
});
|
|
2170
2161
|
//#endregion
|
|
2171
2162
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectLabel.js
|
|
2172
|
-
var SelectLabel_default = /* @__PURE__ */ defineComponent({
|
|
2163
|
+
var SelectLabel_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2173
2164
|
__name: "SelectLabel",
|
|
2174
2165
|
props: {
|
|
2175
2166
|
for: {
|
|
@@ -2190,8 +2181,8 @@ var SelectLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
2190
2181
|
const props = __props;
|
|
2191
2182
|
const groupContext = injectSelectGroupContext({ id: "" });
|
|
2192
2183
|
return (_ctx, _cache) => {
|
|
2193
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(groupContext).id }), {
|
|
2194
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2184
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, { id: vueExports.unref(groupContext).id }), {
|
|
2185
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2195
2186
|
_: 3
|
|
2196
2187
|
}, 16, ["id"]);
|
|
2197
2188
|
};
|
|
@@ -2199,7 +2190,7 @@ var SelectLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
2199
2190
|
});
|
|
2200
2191
|
//#endregion
|
|
2201
2192
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectPortal.js
|
|
2202
|
-
var SelectPortal_default = /* @__PURE__ */ defineComponent({
|
|
2193
|
+
var SelectPortal_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2203
2194
|
__name: "SelectPortal",
|
|
2204
2195
|
props: {
|
|
2205
2196
|
to: {
|
|
@@ -2222,8 +2213,8 @@ var SelectPortal_default = /* @__PURE__ */ defineComponent({
|
|
|
2222
2213
|
setup(__props) {
|
|
2223
2214
|
const props = __props;
|
|
2224
2215
|
return (_ctx, _cache) => {
|
|
2225
|
-
return openBlock(), createBlock(unref(Teleport_default), normalizeProps(guardReactiveProps(props)), {
|
|
2226
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2216
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Teleport_default), vueExports.normalizeProps(vueExports.guardReactiveProps(props)), {
|
|
2217
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2227
2218
|
_: 3
|
|
2228
2219
|
}, 16);
|
|
2229
2220
|
};
|
|
@@ -2231,7 +2222,7 @@ var SelectPortal_default = /* @__PURE__ */ defineComponent({
|
|
|
2231
2222
|
});
|
|
2232
2223
|
//#endregion
|
|
2233
2224
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectSeparator.js
|
|
2234
|
-
var SelectSeparator_default = /* @__PURE__ */ defineComponent({
|
|
2225
|
+
var SelectSeparator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2235
2226
|
__name: "SelectSeparator",
|
|
2236
2227
|
props: {
|
|
2237
2228
|
asChild: {
|
|
@@ -2246,8 +2237,8 @@ var SelectSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
2246
2237
|
setup(__props) {
|
|
2247
2238
|
const props = __props;
|
|
2248
2239
|
return (_ctx, _cache) => {
|
|
2249
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({ "aria-hidden": "true" }, props), {
|
|
2250
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2240
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({ "aria-hidden": "true" }, props), {
|
|
2241
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2251
2242
|
_: 3
|
|
2252
2243
|
}, 16);
|
|
2253
2244
|
};
|
|
@@ -2255,7 +2246,7 @@ var SelectSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
2255
2246
|
});
|
|
2256
2247
|
//#endregion
|
|
2257
2248
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectTrigger.js
|
|
2258
|
-
var SelectTrigger_default = /* @__PURE__ */ defineComponent({
|
|
2249
|
+
var SelectTrigger_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2259
2250
|
__name: "SelectTrigger",
|
|
2260
2251
|
props: {
|
|
2261
2252
|
disabled: {
|
|
@@ -2280,7 +2271,7 @@ var SelectTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
2280
2271
|
const props = __props;
|
|
2281
2272
|
const rootContext = injectSelectRootContext();
|
|
2282
2273
|
const { forwardRef} = useForwardExpose();
|
|
2283
|
-
const isDisabled = computed(() => rootContext.disabled?.value || props.disabled);
|
|
2274
|
+
const isDisabled = vueExports.computed(() => rootContext.disabled?.value || props.disabled);
|
|
2284
2275
|
rootContext.contentId ||= useId$1(void 0, "reka-select-content");
|
|
2285
2276
|
const { getItems } = useCollection();
|
|
2286
2277
|
const { search, handleTypeaheadSearch, resetTypeahead } = useTypeahead();
|
|
@@ -2318,44 +2309,44 @@ var SelectTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
2318
2309
|
openedFromPointerDown = false;
|
|
2319
2310
|
}
|
|
2320
2311
|
return (_ctx, _cache) => {
|
|
2321
|
-
return openBlock(), createBlock(unref(PopperAnchor_default), {
|
|
2312
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperAnchor_default), {
|
|
2322
2313
|
"as-child": "",
|
|
2323
2314
|
reference: _ctx.reference
|
|
2324
2315
|
}, {
|
|
2325
|
-
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
2326
|
-
ref: unref(forwardRef),
|
|
2316
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
2317
|
+
ref: vueExports.unref(forwardRef),
|
|
2327
2318
|
role: "combobox",
|
|
2328
2319
|
type: _ctx.as === "button" ? "button" : void 0,
|
|
2329
|
-
"aria-controls": unref(rootContext).contentId,
|
|
2330
|
-
"aria-expanded": unref(rootContext).open.value || false,
|
|
2331
|
-
"aria-required": unref(rootContext).required?.value,
|
|
2320
|
+
"aria-controls": vueExports.unref(rootContext).contentId,
|
|
2321
|
+
"aria-expanded": vueExports.unref(rootContext).open.value || false,
|
|
2322
|
+
"aria-required": vueExports.unref(rootContext).required?.value,
|
|
2332
2323
|
"aria-autocomplete": "none",
|
|
2333
2324
|
disabled: isDisabled.value,
|
|
2334
|
-
dir: unref(rootContext)?.dir.value,
|
|
2335
|
-
"data-state": unref(rootContext)?.open.value ? "open" : "closed",
|
|
2325
|
+
dir: vueExports.unref(rootContext)?.dir.value,
|
|
2326
|
+
"data-state": vueExports.unref(rootContext)?.open.value ? "open" : "closed",
|
|
2336
2327
|
"data-disabled": isDisabled.value ? "" : void 0,
|
|
2337
|
-
"data-placeholder": unref(shouldShowPlaceholder)(unref(rootContext).modelValue?.value) ? "" : void 0,
|
|
2328
|
+
"data-placeholder": vueExports.unref(shouldShowPlaceholder)(vueExports.unref(rootContext).modelValue?.value) ? "" : void 0,
|
|
2338
2329
|
"as-child": _ctx.asChild,
|
|
2339
2330
|
as: _ctx.as,
|
|
2340
2331
|
onClick: onTriggerClick,
|
|
2341
2332
|
onPointerdown: onTriggerPointerDown,
|
|
2342
2333
|
onMousedown: onTriggerMouseDown,
|
|
2343
|
-
onPointerup: _cache[0] || (_cache[0] = withModifiers((event) => {
|
|
2334
|
+
onPointerup: _cache[0] || (_cache[0] = vueExports.withModifiers((event) => {
|
|
2344
2335
|
if (event.pointerType === "touch") handlePointerOpen(event);
|
|
2345
2336
|
}, ["prevent"])),
|
|
2346
2337
|
onKeydown: _cache[1] || (_cache[1] = (event) => {
|
|
2347
|
-
const isTypingAhead = unref(search) !== "";
|
|
2338
|
+
const isTypingAhead = vueExports.unref(search) !== "";
|
|
2348
2339
|
if (!(event.ctrlKey || event.altKey || event.metaKey) && event.key.length === 1) {
|
|
2349
2340
|
if (isTypingAhead && event.key === " ") return;
|
|
2350
2341
|
}
|
|
2351
|
-
unref(handleTypeaheadSearch)(event.key, unref(getItems)());
|
|
2352
|
-
if (unref(OPEN_KEYS).includes(event.key)) {
|
|
2342
|
+
vueExports.unref(handleTypeaheadSearch)(event.key, vueExports.unref(getItems)());
|
|
2343
|
+
if (vueExports.unref(OPEN_KEYS).includes(event.key)) {
|
|
2353
2344
|
handleOpen();
|
|
2354
2345
|
event.preventDefault();
|
|
2355
2346
|
}
|
|
2356
2347
|
})
|
|
2357
2348
|
}, {
|
|
2358
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2349
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2359
2350
|
_: 3
|
|
2360
2351
|
}, 8, [
|
|
2361
2352
|
"type",
|
|
@@ -2377,7 +2368,7 @@ var SelectTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
2377
2368
|
});
|
|
2378
2369
|
//#endregion
|
|
2379
2370
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectValue.js
|
|
2380
|
-
var SelectValue_default = /* @__PURE__ */ defineComponent({
|
|
2371
|
+
var SelectValue_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2381
2372
|
__name: "SelectValue",
|
|
2382
2373
|
props: {
|
|
2383
2374
|
placeholder: {
|
|
@@ -2399,7 +2390,7 @@ var SelectValue_default = /* @__PURE__ */ defineComponent({
|
|
|
2399
2390
|
const props = __props;
|
|
2400
2391
|
const { forwardRef} = useForwardExpose();
|
|
2401
2392
|
const rootContext = injectSelectRootContext();
|
|
2402
|
-
const selectedLabel = computed(() => {
|
|
2393
|
+
const selectedLabel = vueExports.computed(() => {
|
|
2403
2394
|
let list = [];
|
|
2404
2395
|
const options = Array.from(rootContext.optionsSet.value);
|
|
2405
2396
|
const getOption = (value) => options.find((option) => valueComparator(value, option.value, rootContext.by));
|
|
@@ -2407,21 +2398,21 @@ var SelectValue_default = /* @__PURE__ */ defineComponent({
|
|
|
2407
2398
|
else list = [getOption(rootContext.modelValue.value)?.textContent ?? ""];
|
|
2408
2399
|
return list.filter(Boolean);
|
|
2409
2400
|
});
|
|
2410
|
-
const slotText = computed(() => {
|
|
2401
|
+
const slotText = vueExports.computed(() => {
|
|
2411
2402
|
return selectedLabel.value.length ? selectedLabel.value.join(", ") : props.placeholder;
|
|
2412
2403
|
});
|
|
2413
2404
|
return (_ctx, _cache) => {
|
|
2414
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
2415
|
-
ref: unref(forwardRef),
|
|
2405
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), {
|
|
2406
|
+
ref: vueExports.unref(forwardRef),
|
|
2416
2407
|
as: _ctx.as,
|
|
2417
2408
|
"as-child": _ctx.asChild,
|
|
2418
2409
|
style: { pointerEvents: "none" },
|
|
2419
2410
|
"data-placeholder": selectedLabel.value.length ? void 0 : props.placeholder
|
|
2420
2411
|
}, {
|
|
2421
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
2412
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
2422
2413
|
selectedLabel: selectedLabel.value,
|
|
2423
|
-
modelValue: unref(rootContext).modelValue.value
|
|
2424
|
-
}, () => [createTextVNode(toDisplayString(slotText.value), 1)])]),
|
|
2414
|
+
modelValue: vueExports.unref(rootContext).modelValue.value
|
|
2415
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(slotText.value), 1)])]),
|
|
2425
2416
|
_: 3
|
|
2426
2417
|
}, 8, [
|
|
2427
2418
|
"as",
|
|
@@ -2433,7 +2424,7 @@ var SelectValue_default = /* @__PURE__ */ defineComponent({
|
|
|
2433
2424
|
});
|
|
2434
2425
|
//#endregion
|
|
2435
2426
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Select/SelectViewport.js
|
|
2436
|
-
var SelectViewport_default = /* @__PURE__ */ defineComponent({
|
|
2427
|
+
var SelectViewport_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2437
2428
|
__name: "SelectViewport",
|
|
2438
2429
|
props: {
|
|
2439
2430
|
nonce: {
|
|
@@ -2451,11 +2442,11 @@ var SelectViewport_default = /* @__PURE__ */ defineComponent({
|
|
|
2451
2442
|
},
|
|
2452
2443
|
setup(__props) {
|
|
2453
2444
|
const props = __props;
|
|
2454
|
-
const { nonce: propNonce } = toRefs(props);
|
|
2445
|
+
const { nonce: propNonce } = vueExports.toRefs(props);
|
|
2455
2446
|
const nonce = useNonce(propNonce);
|
|
2456
2447
|
const alignedPositionContext = injectSelectContentContext().position === "item-aligned" ? injectSelectItemAlignedPositionContext() : void 0;
|
|
2457
2448
|
const { forwardRef} = useForwardExpose();
|
|
2458
|
-
const prevScrollTopRef = ref(0);
|
|
2449
|
+
const prevScrollTopRef = vueExports.ref(0);
|
|
2459
2450
|
function handleScroll(event) {
|
|
2460
2451
|
const viewport = event.currentTarget;
|
|
2461
2452
|
const { shouldExpandOnScrollRef, contentWrapper } = alignedPositionContext ?? {};
|
|
@@ -2481,8 +2472,8 @@ var SelectViewport_default = /* @__PURE__ */ defineComponent({
|
|
|
2481
2472
|
prevScrollTopRef.value = viewport.scrollTop;
|
|
2482
2473
|
}
|
|
2483
2474
|
return (_ctx, _cache) => {
|
|
2484
|
-
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(Primitive), mergeProps({
|
|
2485
|
-
ref: unref(forwardRef),
|
|
2475
|
+
return vueExports.openBlock(), vueExports.createElementBlock(vueExports.Fragment, null, [vueExports.createVNode(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
2476
|
+
ref: vueExports.unref(forwardRef),
|
|
2486
2477
|
"data-reka-select-viewport": "",
|
|
2487
2478
|
role: "presentation"
|
|
2488
2479
|
}, {
|
|
@@ -2496,13 +2487,13 @@ var SelectViewport_default = /* @__PURE__ */ defineComponent({
|
|
|
2496
2487
|
},
|
|
2497
2488
|
onScroll: handleScroll
|
|
2498
2489
|
}), {
|
|
2499
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2490
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2500
2491
|
_: 3
|
|
2501
|
-
}, 16), createVNode(unref(Primitive), {
|
|
2492
|
+
}, 16), vueExports.createVNode(vueExports.unref(Primitive), {
|
|
2502
2493
|
as: "style",
|
|
2503
|
-
nonce: unref(nonce)
|
|
2494
|
+
nonce: vueExports.unref(nonce)
|
|
2504
2495
|
}, {
|
|
2505
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),
|
|
2496
|
+
default: vueExports.withCtx(() => _cache[0] || (_cache[0] = [vueExports.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),
|
|
2506
2497
|
_: 1,
|
|
2507
2498
|
__: [0]
|
|
2508
2499
|
}, 8, ["nonce"])], 64);
|
|
@@ -3022,25 +3013,25 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3022
3013
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3023
3014
|
const _props = __props;
|
|
3024
3015
|
const emits = __emit;
|
|
3025
|
-
const slots = useSlots();
|
|
3016
|
+
const slots = vueExports.useSlots();
|
|
3026
3017
|
const props = useComponentProps("select", _props);
|
|
3027
3018
|
const appConfig = useAppConfig();
|
|
3028
3019
|
const rootProps = useForwardProps(reactivePick(props, "open", "defaultOpen", "disabled", "autocomplete", "required", "multiple", "nullableValue"), emits);
|
|
3029
|
-
const portalProps = usePortal(toRef(() => props.portal));
|
|
3030
|
-
const position = computed(() => props.content?.position ?? appConfig.ui?.select?.defaultVariants?.position ?? virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fselect_default.defaultVariants?.position);
|
|
3031
|
-
const contentProps = toRef(() => defu(props.content, {
|
|
3020
|
+
const portalProps = usePortal(vueExports.toRef(() => props.portal));
|
|
3021
|
+
const position = vueExports.computed(() => props.content?.position ?? appConfig.ui?.select?.defaultVariants?.position ?? virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fselect_default.defaultVariants?.position);
|
|
3022
|
+
const contentProps = vueExports.toRef(() => defu(props.content, {
|
|
3032
3023
|
side: "bottom",
|
|
3033
3024
|
sideOffset: 8,
|
|
3034
3025
|
collisionPadding: 8,
|
|
3035
3026
|
position: position.value
|
|
3036
3027
|
}));
|
|
3037
|
-
const arrowProps = toRef(() => defu(props.arrow, { rounded: true }));
|
|
3028
|
+
const arrowProps = vueExports.toRef(() => defu(props.arrow, { rounded: true }));
|
|
3038
3029
|
const { emitFormChange, emitFormInput, emitFormBlur, emitFormFocus, size: formFieldSize, color, id, name, highlight, disabled, ariaAttrs } = useFormField(_props);
|
|
3039
3030
|
const { orientation, size: fieldGroupSize } = useFieldGroup(_props);
|
|
3040
|
-
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
|
|
3041
|
-
const selectSize = computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
3042
|
-
const isItemAligned = computed(() => position.value === "item-aligned");
|
|
3043
|
-
const ui = computed(() => tv({
|
|
3031
|
+
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(vueExports.toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
|
|
3032
|
+
const selectSize = vueExports.computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
3033
|
+
const isItemAligned = vueExports.computed(() => position.value === "item-aligned");
|
|
3034
|
+
const ui = vueExports.computed(() => tv({
|
|
3044
3035
|
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fselect_default,
|
|
3045
3036
|
...appConfig.ui?.select || {}
|
|
3046
3037
|
})({
|
|
@@ -3055,8 +3046,8 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3055
3046
|
position: position.value,
|
|
3056
3047
|
multiple: props.multiple
|
|
3057
3048
|
}));
|
|
3058
|
-
const groups = computed(() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []);
|
|
3059
|
-
const items = computed(() => groups.value.flatMap((group) => group));
|
|
3049
|
+
const groups = vueExports.computed(() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []);
|
|
3050
|
+
const items = vueExports.computed(() => groups.value.flatMap((group) => group));
|
|
3060
3051
|
function displayValue(value) {
|
|
3061
3052
|
if (props.multiple && Array.isArray(value)) {
|
|
3062
3053
|
const displayedValues = value.map((item) => getDisplayValue(items.value, item, {
|
|
@@ -3070,7 +3061,7 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3070
3061
|
valueKey: props.valueKey
|
|
3071
3062
|
});
|
|
3072
3063
|
}
|
|
3073
|
-
const triggerRef = useTemplateRef("triggerRef");
|
|
3064
|
+
const triggerRef = vueExports.useTemplateRef("triggerRef");
|
|
3074
3065
|
function onUpdate(value) {
|
|
3075
3066
|
if (props.modelModifiers?.trim && (typeof value === "string" || value === null || value === void 0)) value = value?.trim() ?? null;
|
|
3076
3067
|
if (props.modelModifiers?.number) value = looseToNumber(value);
|
|
@@ -3101,358 +3092,358 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3101
3092
|
button: 0
|
|
3102
3093
|
}));
|
|
3103
3094
|
}
|
|
3104
|
-
const viewportRef = useTemplateRef("viewportRef");
|
|
3095
|
+
const viewportRef = vueExports.useTemplateRef("viewportRef");
|
|
3105
3096
|
__expose({
|
|
3106
|
-
triggerRef: toRef(() => triggerRef.value?.$el),
|
|
3107
|
-
viewportRef: toRef(() => {
|
|
3097
|
+
triggerRef: vueExports.toRef(() => triggerRef.value?.$el),
|
|
3098
|
+
viewportRef: vueExports.toRef(() => {
|
|
3108
3099
|
const instance = viewportRef.value;
|
|
3109
3100
|
return instance && typeof instance === "object" && "$el" in instance ? instance.$el : instance;
|
|
3110
3101
|
})
|
|
3111
3102
|
});
|
|
3112
3103
|
return (_ctx, _push, _parent, _attrs) => {
|
|
3113
|
-
_push(
|
|
3114
|
-
autocomplete: unref(props).autocomplete,
|
|
3115
|
-
disabled: unref(disabled),
|
|
3116
|
-
"default-value": unref(props).defaultValue,
|
|
3104
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectRoot_default), vueExports.mergeProps({ name: vueExports.unref(name) }, vueExports.unref(rootProps), {
|
|
3105
|
+
autocomplete: vueExports.unref(props).autocomplete,
|
|
3106
|
+
disabled: vueExports.unref(disabled),
|
|
3107
|
+
"default-value": vueExports.unref(props).defaultValue,
|
|
3117
3108
|
"model-value": __props.modelValue,
|
|
3118
3109
|
"onUpdate:modelValue": onUpdate,
|
|
3119
3110
|
"onUpdate:open": onUpdateOpen
|
|
3120
3111
|
}, _attrs), {
|
|
3121
|
-
default: withCtx(({ modelValue, open }, _push, _parent, _scopeId) => {
|
|
3112
|
+
default: vueExports.withCtx(({ modelValue, open }, _push, _parent, _scopeId) => {
|
|
3122
3113
|
if (_push) {
|
|
3123
|
-
_push(
|
|
3124
|
-
id: unref(id),
|
|
3114
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectTrigger_default), vueExports.mergeProps({
|
|
3115
|
+
id: vueExports.unref(id),
|
|
3125
3116
|
ref_key: "triggerRef",
|
|
3126
3117
|
ref: triggerRef,
|
|
3127
3118
|
"data-slot": "base",
|
|
3128
|
-
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] })
|
|
3119
|
+
class: ui.value.base({ class: [vueExports.unref(props).ui?.base, vueExports.unref(props).class] })
|
|
3129
3120
|
}, {
|
|
3130
3121
|
..._ctx.$attrs,
|
|
3131
|
-
...unref(ariaAttrs)
|
|
3122
|
+
...vueExports.unref(ariaAttrs)
|
|
3132
3123
|
}, { onClick: ($event) => onTriggerClick(open) }), {
|
|
3133
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3124
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3134
3125
|
if (_push) {
|
|
3135
|
-
if (unref(isLeading) || !!unref(props).avatar || !!slots.leading) {
|
|
3136
|
-
_push(`<span data-slot="leading" class="${
|
|
3137
|
-
|
|
3126
|
+
if (vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading) {
|
|
3127
|
+
_push(`<span data-slot="leading" class="${ssrRenderClass_1(ui.value.leading({ class: vueExports.unref(props).ui?.leading }))}"${_scopeId}>`);
|
|
3128
|
+
ssrRenderSlot_1(_ctx.$slots, "leading", {
|
|
3138
3129
|
modelValue,
|
|
3139
3130
|
open,
|
|
3140
3131
|
ui: ui.value
|
|
3141
3132
|
}, () => {
|
|
3142
|
-
if (unref(isLeading) && unref(leadingIconName)) _push(
|
|
3143
|
-
name: unref(leadingIconName),
|
|
3133
|
+
if (vueExports.unref(isLeading) && vueExports.unref(leadingIconName)) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3134
|
+
name: vueExports.unref(leadingIconName),
|
|
3144
3135
|
"data-slot": "leadingIcon",
|
|
3145
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
3136
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
3146
3137
|
}, null, _parent, _scopeId));
|
|
3147
|
-
else if (!!unref(props).avatar) _push(
|
|
3138
|
+
else if (!!vueExports.unref(props).avatar) _push(ssrRenderComponent_1(_sfc_main$3$1, vueExports.mergeProps({ size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize() }, vueExports.unref(props).avatar, {
|
|
3148
3139
|
"data-slot": "itemLeadingAvatar",
|
|
3149
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
3140
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
3150
3141
|
}), null, _parent, _scopeId));
|
|
3151
3142
|
else _push(`<!---->`);
|
|
3152
3143
|
}, _push, _parent, _scopeId);
|
|
3153
3144
|
_push(`</span>`);
|
|
3154
3145
|
} else _push(`<!---->`);
|
|
3155
3146
|
_push(`<!--[-->`);
|
|
3156
|
-
|
|
3157
|
-
_push(
|
|
3147
|
+
ssrRenderList_1([displayValue(modelValue)], (displayedModelValue) => {
|
|
3148
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectValue_default), {
|
|
3158
3149
|
"data-slot": displayedModelValue != null ? "value" : "placeholder",
|
|
3159
|
-
class: displayedModelValue != null ? ui.value.value({ class: unref(props).ui?.value }) : ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
3150
|
+
class: displayedModelValue != null ? ui.value.value({ class: vueExports.unref(props).ui?.value }) : ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
3160
3151
|
}, {
|
|
3161
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3162
|
-
if (_push)
|
|
3152
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3153
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
3163
3154
|
modelValue,
|
|
3164
3155
|
open,
|
|
3165
3156
|
ui: ui.value
|
|
3166
3157
|
}, () => {
|
|
3167
|
-
_push(`${
|
|
3158
|
+
_push(`${ssrInterpolate_1(displayedModelValue ?? vueExports.unref(props).placeholder ?? "\xA0")}`);
|
|
3168
3159
|
}, _push, _parent, _scopeId);
|
|
3169
|
-
else return [renderSlot(_ctx.$slots, "default", {
|
|
3160
|
+
else return [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
3170
3161
|
modelValue,
|
|
3171
3162
|
open,
|
|
3172
3163
|
ui: ui.value
|
|
3173
|
-
}, () => [createTextVNode(toDisplayString(displayedModelValue ?? unref(props).placeholder ?? "\xA0"), 1)])];
|
|
3164
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(displayedModelValue ?? vueExports.unref(props).placeholder ?? "\xA0"), 1)])];
|
|
3174
3165
|
}),
|
|
3175
3166
|
_: 2
|
|
3176
3167
|
}, _parent, _scopeId));
|
|
3177
3168
|
});
|
|
3178
3169
|
_push(`<!--]-->`);
|
|
3179
|
-
if (unref(isTrailing) || !!slots.trailing) {
|
|
3180
|
-
_push(`<span data-slot="trailing" class="${
|
|
3181
|
-
|
|
3170
|
+
if (vueExports.unref(isTrailing) || !!slots.trailing) {
|
|
3171
|
+
_push(`<span data-slot="trailing" class="${ssrRenderClass_1(ui.value.trailing({ class: vueExports.unref(props).ui?.trailing }))}"${_scopeId}>`);
|
|
3172
|
+
ssrRenderSlot_1(_ctx.$slots, "trailing", {
|
|
3182
3173
|
modelValue,
|
|
3183
3174
|
open,
|
|
3184
3175
|
ui: ui.value
|
|
3185
3176
|
}, () => {
|
|
3186
|
-
if (unref(trailingIconName)) _push(
|
|
3187
|
-
name: unref(trailingIconName),
|
|
3177
|
+
if (vueExports.unref(trailingIconName)) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3178
|
+
name: vueExports.unref(trailingIconName),
|
|
3188
3179
|
"data-slot": "trailingIcon",
|
|
3189
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
3180
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
3190
3181
|
}, null, _parent, _scopeId));
|
|
3191
3182
|
else _push(`<!---->`);
|
|
3192
3183
|
}, _push, _parent, _scopeId);
|
|
3193
3184
|
_push(`</span>`);
|
|
3194
3185
|
} else _push(`<!---->`);
|
|
3195
3186
|
} else return [
|
|
3196
|
-
unref(isLeading) || !!unref(props).avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
3187
|
+
vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3197
3188
|
key: 0,
|
|
3198
3189
|
"data-slot": "leading",
|
|
3199
|
-
class: ui.value.leading({ class: unref(props).ui?.leading })
|
|
3200
|
-
}, [renderSlot(_ctx.$slots, "leading", {
|
|
3190
|
+
class: ui.value.leading({ class: vueExports.unref(props).ui?.leading })
|
|
3191
|
+
}, [vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
3201
3192
|
modelValue,
|
|
3202
3193
|
open,
|
|
3203
3194
|
ui: ui.value
|
|
3204
|
-
}, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3195
|
+
}, () => [vueExports.unref(isLeading) && vueExports.unref(leadingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3205
3196
|
key: 0,
|
|
3206
|
-
name: unref(leadingIconName),
|
|
3197
|
+
name: vueExports.unref(leadingIconName),
|
|
3207
3198
|
"data-slot": "leadingIcon",
|
|
3208
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
3209
|
-
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3199
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
3200
|
+
}, null, 8, ["name", "class"])) : !!vueExports.unref(props).avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3210
3201
|
key: 1,
|
|
3211
|
-
size: unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3212
|
-
}, unref(props).avatar, {
|
|
3202
|
+
size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3203
|
+
}, vueExports.unref(props).avatar, {
|
|
3213
3204
|
"data-slot": "itemLeadingAvatar",
|
|
3214
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
3215
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
3216
|
-
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3217
|
-
return openBlock(), createBlock(unref(SelectValue_default), {
|
|
3205
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
3206
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true),
|
|
3207
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3208
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectValue_default), {
|
|
3218
3209
|
key: displayedModelValue,
|
|
3219
3210
|
"data-slot": displayedModelValue != null ? "value" : "placeholder",
|
|
3220
|
-
class: displayedModelValue != null ? ui.value.value({ class: unref(props).ui?.value }) : ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
3211
|
+
class: displayedModelValue != null ? ui.value.value({ class: vueExports.unref(props).ui?.value }) : ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
3221
3212
|
}, {
|
|
3222
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
3213
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
3223
3214
|
modelValue,
|
|
3224
3215
|
open,
|
|
3225
3216
|
ui: ui.value
|
|
3226
|
-
}, () => [createTextVNode(toDisplayString(displayedModelValue ?? unref(props).placeholder ?? "\xA0"), 1)])]),
|
|
3217
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(displayedModelValue ?? vueExports.unref(props).placeholder ?? "\xA0"), 1)])]),
|
|
3227
3218
|
_: 2
|
|
3228
3219
|
}, 1032, ["data-slot", "class"]);
|
|
3229
3220
|
}), 128)),
|
|
3230
|
-
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
3221
|
+
vueExports.unref(isTrailing) || !!slots.trailing ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3231
3222
|
key: 1,
|
|
3232
3223
|
"data-slot": "trailing",
|
|
3233
|
-
class: ui.value.trailing({ class: unref(props).ui?.trailing })
|
|
3234
|
-
}, [renderSlot(_ctx.$slots, "trailing", {
|
|
3224
|
+
class: ui.value.trailing({ class: vueExports.unref(props).ui?.trailing })
|
|
3225
|
+
}, [vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
3235
3226
|
modelValue,
|
|
3236
3227
|
open,
|
|
3237
3228
|
ui: ui.value
|
|
3238
|
-
}, () => [unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3229
|
+
}, () => [vueExports.unref(trailingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3239
3230
|
key: 0,
|
|
3240
|
-
name: unref(trailingIconName),
|
|
3231
|
+
name: vueExports.unref(trailingIconName),
|
|
3241
3232
|
"data-slot": "trailingIcon",
|
|
3242
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
3243
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
3233
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
3234
|
+
}, null, 8, ["name", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true)
|
|
3244
3235
|
];
|
|
3245
3236
|
}),
|
|
3246
3237
|
_: 2
|
|
3247
3238
|
}, _parent, _scopeId));
|
|
3248
|
-
_push(
|
|
3249
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3250
|
-
if (_push) _push(
|
|
3251
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3252
|
-
if (_push) _push(
|
|
3239
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectPortal_default), vueExports.unref(portalProps), {
|
|
3240
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3241
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(FieldGroupReset), null, {
|
|
3242
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3243
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(SelectContent_default), vueExports.mergeProps({
|
|
3253
3244
|
"data-slot": "content",
|
|
3254
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
3245
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
3255
3246
|
}, contentProps.value), {
|
|
3256
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3247
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3257
3248
|
if (_push) {
|
|
3258
|
-
|
|
3259
|
-
ssrRenderVNode(_push, createVNode(resolveDynamicComponent(isItemAligned.value ? unref(SelectViewport_default) : "div"), {
|
|
3249
|
+
ssrRenderSlot_1(_ctx.$slots, "content-top", {}, null, _push, _parent, _scopeId);
|
|
3250
|
+
ssrRenderVNode(_push, vueExports.createVNode(vueExports.resolveDynamicComponent(isItemAligned.value ? vueExports.unref(SelectViewport_default) : "div"), {
|
|
3260
3251
|
ref_key: "viewportRef",
|
|
3261
3252
|
ref: viewportRef,
|
|
3262
3253
|
role: "presentation",
|
|
3263
3254
|
"data-slot": "viewport",
|
|
3264
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3255
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3265
3256
|
}, {
|
|
3266
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3257
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3267
3258
|
if (_push) {
|
|
3268
3259
|
_push(`<!--[-->`);
|
|
3269
|
-
|
|
3270
|
-
_push(
|
|
3260
|
+
ssrRenderList_1(groups.value, (group, groupIndex) => {
|
|
3261
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectGroup_default), {
|
|
3271
3262
|
key: `group-${groupIndex}`,
|
|
3272
3263
|
"data-slot": "group",
|
|
3273
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3264
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3274
3265
|
}, {
|
|
3275
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3266
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3276
3267
|
if (_push) {
|
|
3277
3268
|
_push(`<!--[-->`);
|
|
3278
|
-
|
|
3269
|
+
ssrRenderList_1(group, (item, index) => {
|
|
3279
3270
|
_push(`<!--[-->`);
|
|
3280
|
-
if (isSelectItem(item) && item.type === "label") _push(
|
|
3271
|
+
if (isSelectItem(item) && item.type === "label") _push(ssrRenderComponent_1(vueExports.unref(SelectLabel_default), {
|
|
3281
3272
|
"data-slot": "label",
|
|
3282
3273
|
class: ui.value.label({ class: [
|
|
3283
|
-
unref(props).ui?.label,
|
|
3274
|
+
vueExports.unref(props).ui?.label,
|
|
3284
3275
|
item.ui?.label,
|
|
3285
3276
|
item.class
|
|
3286
3277
|
] })
|
|
3287
3278
|
}, {
|
|
3288
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3289
|
-
if (_push) _push(`${
|
|
3290
|
-
else return [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)];
|
|
3279
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3280
|
+
if (_push) _push(`${ssrInterpolate_1(vueExports.unref(get)(item, vueExports.unref(props).labelKey))}`);
|
|
3281
|
+
else return [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)];
|
|
3291
3282
|
}),
|
|
3292
3283
|
_: 2
|
|
3293
3284
|
}, _parent, _scopeId));
|
|
3294
|
-
else if (isSelectItem(item) && item.type === "separator") _push(
|
|
3285
|
+
else if (isSelectItem(item) && item.type === "separator") _push(ssrRenderComponent_1(vueExports.unref(SelectSeparator_default), {
|
|
3295
3286
|
"data-slot": "separator",
|
|
3296
3287
|
class: ui.value.separator({ class: [
|
|
3297
|
-
unref(props).ui?.separator,
|
|
3288
|
+
vueExports.unref(props).ui?.separator,
|
|
3298
3289
|
item.ui?.separator,
|
|
3299
3290
|
item.class
|
|
3300
3291
|
] })
|
|
3301
3292
|
}, null, _parent, _scopeId));
|
|
3302
|
-
else _push(
|
|
3293
|
+
else _push(ssrRenderComponent_1(vueExports.unref(SelectItem_default), {
|
|
3303
3294
|
"data-slot": "item",
|
|
3304
3295
|
class: ui.value.item({ class: [
|
|
3305
|
-
unref(props).ui?.item,
|
|
3296
|
+
vueExports.unref(props).ui?.item,
|
|
3306
3297
|
isSelectItem(item) && item.ui?.item,
|
|
3307
3298
|
isSelectItem(item) && item.class
|
|
3308
3299
|
] }),
|
|
3309
3300
|
disabled: isSelectItem(item) && item.disabled,
|
|
3310
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3301
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3311
3302
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
3312
3303
|
}, {
|
|
3313
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3314
|
-
if (_push)
|
|
3304
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3305
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "item", {
|
|
3315
3306
|
item,
|
|
3316
3307
|
index,
|
|
3317
3308
|
ui: ui.value
|
|
3318
3309
|
}, () => {
|
|
3319
|
-
|
|
3310
|
+
ssrRenderSlot_1(_ctx.$slots, "item-leading", {
|
|
3320
3311
|
item,
|
|
3321
3312
|
index,
|
|
3322
3313
|
ui: ui.value
|
|
3323
3314
|
}, () => {
|
|
3324
|
-
if (isSelectItem(item) && item.icon) _push(
|
|
3315
|
+
if (isSelectItem(item) && item.icon) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3325
3316
|
name: item.icon,
|
|
3326
3317
|
"data-slot": "itemLeadingIcon",
|
|
3327
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3318
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3328
3319
|
}, null, _parent, _scopeId));
|
|
3329
|
-
else if (isSelectItem(item) && item.avatar) _push(
|
|
3320
|
+
else if (isSelectItem(item) && item.avatar) _push(ssrRenderComponent_1(_sfc_main$3$1, vueExports.mergeProps({ size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize() }, { ref_for: true }, item.avatar, {
|
|
3330
3321
|
"data-slot": "itemLeadingAvatar",
|
|
3331
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3322
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3332
3323
|
}), null, _parent, _scopeId));
|
|
3333
|
-
else if (isSelectItem(item) && item.chip) _push(
|
|
3334
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3324
|
+
else if (isSelectItem(item) && item.chip) _push(ssrRenderComponent_1(_sfc_main$4$1, vueExports.mergeProps({
|
|
3325
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3335
3326
|
inset: "",
|
|
3336
3327
|
standalone: ""
|
|
3337
3328
|
}, { ref_for: true }, item.chip, {
|
|
3338
3329
|
"data-slot": "itemLeadingChip",
|
|
3339
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3330
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3340
3331
|
}), null, _parent, _scopeId));
|
|
3341
3332
|
else _push(`<!---->`);
|
|
3342
3333
|
}, _push, _parent, _scopeId);
|
|
3343
|
-
_push(`<span data-slot="itemWrapper" class="${
|
|
3344
|
-
_push(
|
|
3334
|
+
_push(`<span data-slot="itemWrapper" class="${ssrRenderClass_1(ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId}>`);
|
|
3335
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectItemText_default), {
|
|
3345
3336
|
"data-slot": "itemLabel",
|
|
3346
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3337
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3347
3338
|
}, {
|
|
3348
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3349
|
-
if (_push)
|
|
3339
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3340
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "item-label", {
|
|
3350
3341
|
item,
|
|
3351
3342
|
index
|
|
3352
3343
|
}, () => {
|
|
3353
|
-
_push(`${
|
|
3344
|
+
_push(`${ssrInterpolate_1(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item)}`);
|
|
3354
3345
|
}, _push, _parent, _scopeId);
|
|
3355
|
-
else return [renderSlot(_ctx.$slots, "item-label", {
|
|
3346
|
+
else return [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3356
3347
|
item,
|
|
3357
3348
|
index
|
|
3358
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])];
|
|
3349
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])];
|
|
3359
3350
|
}),
|
|
3360
3351
|
_: 2
|
|
3361
3352
|
}, _parent, _scopeId));
|
|
3362
|
-
if (isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"])) {
|
|
3363
|
-
_push(`<span data-slot="itemDescription" class="${
|
|
3364
|
-
|
|
3353
|
+
if (isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"])) {
|
|
3354
|
+
_push(`<span data-slot="itemDescription" class="${ssrRenderClass_1(ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId}>`);
|
|
3355
|
+
ssrRenderSlot_1(_ctx.$slots, "item-description", {
|
|
3365
3356
|
item,
|
|
3366
3357
|
index
|
|
3367
3358
|
}, () => {
|
|
3368
|
-
_push(`${
|
|
3359
|
+
_push(`${ssrInterpolate_1(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey))}`);
|
|
3369
3360
|
}, _push, _parent, _scopeId);
|
|
3370
3361
|
_push(`</span>`);
|
|
3371
3362
|
} else _push(`<!---->`);
|
|
3372
|
-
_push(`</span><span data-slot="itemTrailing" class="${
|
|
3373
|
-
|
|
3363
|
+
_push(`</span><span data-slot="itemTrailing" class="${ssrRenderClass_1(ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId}>`);
|
|
3364
|
+
ssrRenderSlot_1(_ctx.$slots, "item-trailing", {
|
|
3374
3365
|
item,
|
|
3375
3366
|
index,
|
|
3376
3367
|
ui: ui.value
|
|
3377
3368
|
}, null, _push, _parent, _scopeId);
|
|
3378
|
-
_push(
|
|
3379
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3380
|
-
if (_push) _push(
|
|
3381
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3369
|
+
_push(ssrRenderComponent_1(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3370
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3371
|
+
if (_push) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3372
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3382
3373
|
"data-slot": "itemTrailingIcon",
|
|
3383
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3374
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3384
3375
|
}, null, _parent, _scopeId));
|
|
3385
|
-
else return [createVNode(_sfc_main$5, {
|
|
3386
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3376
|
+
else return [vueExports.createVNode(_sfc_main$5, {
|
|
3377
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3387
3378
|
"data-slot": "itemTrailingIcon",
|
|
3388
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3379
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3389
3380
|
}, null, 8, ["name", "class"])];
|
|
3390
3381
|
}),
|
|
3391
3382
|
_: 2
|
|
3392
3383
|
}, _parent, _scopeId));
|
|
3393
3384
|
_push(`</span>`);
|
|
3394
3385
|
}, _push, _parent, _scopeId);
|
|
3395
|
-
else return [renderSlot(_ctx.$slots, "item", {
|
|
3386
|
+
else return [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3396
3387
|
item,
|
|
3397
3388
|
index,
|
|
3398
3389
|
ui: ui.value
|
|
3399
3390
|
}, () => [
|
|
3400
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3391
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3401
3392
|
item,
|
|
3402
3393
|
index,
|
|
3403
3394
|
ui: ui.value
|
|
3404
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3395
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3405
3396
|
key: 0,
|
|
3406
3397
|
name: item.icon,
|
|
3407
3398
|
"data-slot": "itemLeadingIcon",
|
|
3408
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3409
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3399
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3400
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3410
3401
|
key: 1,
|
|
3411
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3402
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3412
3403
|
}, { ref_for: true }, item.avatar, {
|
|
3413
3404
|
"data-slot": "itemLeadingAvatar",
|
|
3414
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3415
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
3405
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3406
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
3416
3407
|
key: 2,
|
|
3417
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3408
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3418
3409
|
inset: "",
|
|
3419
3410
|
standalone: ""
|
|
3420
3411
|
}, { ref_for: true }, item.chip, {
|
|
3421
3412
|
"data-slot": "itemLeadingChip",
|
|
3422
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3423
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3424
|
-
createVNode("span", {
|
|
3413
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3414
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3415
|
+
vueExports.createVNode("span", {
|
|
3425
3416
|
"data-slot": "itemWrapper",
|
|
3426
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3427
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
3417
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3418
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
3428
3419
|
"data-slot": "itemLabel",
|
|
3429
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3420
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3430
3421
|
}, {
|
|
3431
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
3422
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3432
3423
|
item,
|
|
3433
3424
|
index
|
|
3434
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
3425
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
3435
3426
|
_: 2
|
|
3436
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3427
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3437
3428
|
key: 0,
|
|
3438
3429
|
"data-slot": "itemDescription",
|
|
3439
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3440
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3430
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3431
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3441
3432
|
item,
|
|
3442
3433
|
index
|
|
3443
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3444
|
-
createVNode("span", {
|
|
3434
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3435
|
+
vueExports.createVNode("span", {
|
|
3445
3436
|
"data-slot": "itemTrailing",
|
|
3446
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3447
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3437
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3438
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3448
3439
|
item,
|
|
3449
3440
|
index,
|
|
3450
3441
|
ui: ui.value
|
|
3451
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3452
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3453
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3442
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3443
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3444
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3454
3445
|
"data-slot": "itemTrailingIcon",
|
|
3455
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3446
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3456
3447
|
}, null, 8, ["name", "class"])]),
|
|
3457
3448
|
_: 2
|
|
3458
3449
|
}, 1024)], 2)
|
|
@@ -3463,99 +3454,99 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3463
3454
|
_push(`<!--]-->`);
|
|
3464
3455
|
});
|
|
3465
3456
|
_push(`<!--]-->`);
|
|
3466
|
-
} else return [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3467
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
3457
|
+
} else return [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3458
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
3468
3459
|
key: 0,
|
|
3469
3460
|
"data-slot": "label",
|
|
3470
3461
|
class: ui.value.label({ class: [
|
|
3471
|
-
unref(props).ui?.label,
|
|
3462
|
+
vueExports.unref(props).ui?.label,
|
|
3472
3463
|
item.ui?.label,
|
|
3473
3464
|
item.class
|
|
3474
3465
|
] })
|
|
3475
3466
|
}, {
|
|
3476
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3467
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
3477
3468
|
_: 2
|
|
3478
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
3469
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
3479
3470
|
key: 1,
|
|
3480
3471
|
"data-slot": "separator",
|
|
3481
3472
|
class: ui.value.separator({ class: [
|
|
3482
|
-
unref(props).ui?.separator,
|
|
3473
|
+
vueExports.unref(props).ui?.separator,
|
|
3483
3474
|
item.ui?.separator,
|
|
3484
3475
|
item.class
|
|
3485
3476
|
] })
|
|
3486
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
3477
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
3487
3478
|
key: 2,
|
|
3488
3479
|
"data-slot": "item",
|
|
3489
3480
|
class: ui.value.item({ class: [
|
|
3490
|
-
unref(props).ui?.item,
|
|
3481
|
+
vueExports.unref(props).ui?.item,
|
|
3491
3482
|
isSelectItem(item) && item.ui?.item,
|
|
3492
3483
|
isSelectItem(item) && item.class
|
|
3493
3484
|
] }),
|
|
3494
3485
|
disabled: isSelectItem(item) && item.disabled,
|
|
3495
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3486
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3496
3487
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
3497
3488
|
}, {
|
|
3498
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
3489
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3499
3490
|
item,
|
|
3500
3491
|
index,
|
|
3501
3492
|
ui: ui.value
|
|
3502
3493
|
}, () => [
|
|
3503
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3494
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3504
3495
|
item,
|
|
3505
3496
|
index,
|
|
3506
3497
|
ui: ui.value
|
|
3507
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3498
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3508
3499
|
key: 0,
|
|
3509
3500
|
name: item.icon,
|
|
3510
3501
|
"data-slot": "itemLeadingIcon",
|
|
3511
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3512
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3502
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3503
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3513
3504
|
key: 1,
|
|
3514
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3505
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3515
3506
|
}, { ref_for: true }, item.avatar, {
|
|
3516
3507
|
"data-slot": "itemLeadingAvatar",
|
|
3517
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3518
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
3508
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3509
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
3519
3510
|
key: 2,
|
|
3520
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3511
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3521
3512
|
inset: "",
|
|
3522
3513
|
standalone: ""
|
|
3523
3514
|
}, { ref_for: true }, item.chip, {
|
|
3524
3515
|
"data-slot": "itemLeadingChip",
|
|
3525
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3526
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3527
|
-
createVNode("span", {
|
|
3516
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3517
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3518
|
+
vueExports.createVNode("span", {
|
|
3528
3519
|
"data-slot": "itemWrapper",
|
|
3529
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3530
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
3520
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3521
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
3531
3522
|
"data-slot": "itemLabel",
|
|
3532
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3523
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3533
3524
|
}, {
|
|
3534
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
3525
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3535
3526
|
item,
|
|
3536
3527
|
index
|
|
3537
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
3528
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
3538
3529
|
_: 2
|
|
3539
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3530
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3540
3531
|
key: 0,
|
|
3541
3532
|
"data-slot": "itemDescription",
|
|
3542
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3543
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3533
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3534
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3544
3535
|
item,
|
|
3545
3536
|
index
|
|
3546
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3547
|
-
createVNode("span", {
|
|
3537
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3538
|
+
vueExports.createVNode("span", {
|
|
3548
3539
|
"data-slot": "itemTrailing",
|
|
3549
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3550
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3540
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3541
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3551
3542
|
item,
|
|
3552
3543
|
index,
|
|
3553
3544
|
ui: ui.value
|
|
3554
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3555
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3556
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3545
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3546
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3547
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3557
3548
|
"data-slot": "itemTrailingIcon",
|
|
3558
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3549
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3559
3550
|
}, null, 8, ["name", "class"])]),
|
|
3560
3551
|
_: 2
|
|
3561
3552
|
}, 1024)], 2)
|
|
@@ -3573,105 +3564,105 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3573
3564
|
}, _parent, _scopeId));
|
|
3574
3565
|
});
|
|
3575
3566
|
_push(`<!--]-->`);
|
|
3576
|
-
} else return [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
3577
|
-
return openBlock(), createBlock(unref(SelectGroup_default), {
|
|
3567
|
+
} else return [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(groups.value, (group, groupIndex) => {
|
|
3568
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectGroup_default), {
|
|
3578
3569
|
key: `group-${groupIndex}`,
|
|
3579
3570
|
"data-slot": "group",
|
|
3580
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3571
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3581
3572
|
}, {
|
|
3582
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3583
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
3573
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3574
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
3584
3575
|
key: 0,
|
|
3585
3576
|
"data-slot": "label",
|
|
3586
3577
|
class: ui.value.label({ class: [
|
|
3587
|
-
unref(props).ui?.label,
|
|
3578
|
+
vueExports.unref(props).ui?.label,
|
|
3588
3579
|
item.ui?.label,
|
|
3589
3580
|
item.class
|
|
3590
3581
|
] })
|
|
3591
3582
|
}, {
|
|
3592
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3583
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
3593
3584
|
_: 2
|
|
3594
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
3585
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
3595
3586
|
key: 1,
|
|
3596
3587
|
"data-slot": "separator",
|
|
3597
3588
|
class: ui.value.separator({ class: [
|
|
3598
|
-
unref(props).ui?.separator,
|
|
3589
|
+
vueExports.unref(props).ui?.separator,
|
|
3599
3590
|
item.ui?.separator,
|
|
3600
3591
|
item.class
|
|
3601
3592
|
] })
|
|
3602
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
3593
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
3603
3594
|
key: 2,
|
|
3604
3595
|
"data-slot": "item",
|
|
3605
3596
|
class: ui.value.item({ class: [
|
|
3606
|
-
unref(props).ui?.item,
|
|
3597
|
+
vueExports.unref(props).ui?.item,
|
|
3607
3598
|
isSelectItem(item) && item.ui?.item,
|
|
3608
3599
|
isSelectItem(item) && item.class
|
|
3609
3600
|
] }),
|
|
3610
3601
|
disabled: isSelectItem(item) && item.disabled,
|
|
3611
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3602
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3612
3603
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
3613
3604
|
}, {
|
|
3614
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
3605
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3615
3606
|
item,
|
|
3616
3607
|
index,
|
|
3617
3608
|
ui: ui.value
|
|
3618
3609
|
}, () => [
|
|
3619
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3610
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3620
3611
|
item,
|
|
3621
3612
|
index,
|
|
3622
3613
|
ui: ui.value
|
|
3623
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3614
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3624
3615
|
key: 0,
|
|
3625
3616
|
name: item.icon,
|
|
3626
3617
|
"data-slot": "itemLeadingIcon",
|
|
3627
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3628
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3618
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3619
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3629
3620
|
key: 1,
|
|
3630
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3621
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3631
3622
|
}, { ref_for: true }, item.avatar, {
|
|
3632
3623
|
"data-slot": "itemLeadingAvatar",
|
|
3633
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3634
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
3624
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3625
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
3635
3626
|
key: 2,
|
|
3636
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3627
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3637
3628
|
inset: "",
|
|
3638
3629
|
standalone: ""
|
|
3639
3630
|
}, { ref_for: true }, item.chip, {
|
|
3640
3631
|
"data-slot": "itemLeadingChip",
|
|
3641
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3642
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3643
|
-
createVNode("span", {
|
|
3632
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3633
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3634
|
+
vueExports.createVNode("span", {
|
|
3644
3635
|
"data-slot": "itemWrapper",
|
|
3645
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3646
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
3636
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3637
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
3647
3638
|
"data-slot": "itemLabel",
|
|
3648
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3639
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3649
3640
|
}, {
|
|
3650
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
3641
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3651
3642
|
item,
|
|
3652
3643
|
index
|
|
3653
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
3644
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
3654
3645
|
_: 2
|
|
3655
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3646
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3656
3647
|
key: 0,
|
|
3657
3648
|
"data-slot": "itemDescription",
|
|
3658
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3659
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3649
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3650
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3660
3651
|
item,
|
|
3661
3652
|
index
|
|
3662
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3663
|
-
createVNode("span", {
|
|
3653
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3654
|
+
vueExports.createVNode("span", {
|
|
3664
3655
|
"data-slot": "itemTrailing",
|
|
3665
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3666
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3656
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3657
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3667
3658
|
item,
|
|
3668
3659
|
index,
|
|
3669
3660
|
ui: ui.value
|
|
3670
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3671
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3672
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3661
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3662
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3663
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3673
3664
|
"data-slot": "itemTrailingIcon",
|
|
3674
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3665
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3675
3666
|
}, null, 8, ["name", "class"])]),
|
|
3676
3667
|
_: 2
|
|
3677
3668
|
}, 1024)], 2)
|
|
@@ -3690,120 +3681,120 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3690
3681
|
}),
|
|
3691
3682
|
_: 2
|
|
3692
3683
|
}), _parent, _scopeId);
|
|
3693
|
-
|
|
3694
|
-
if (!!unref(props).arrow) _push(
|
|
3684
|
+
ssrRenderSlot_1(_ctx.$slots, "content-bottom", {}, null, _push, _parent, _scopeId);
|
|
3685
|
+
if (!!vueExports.unref(props).arrow) _push(ssrRenderComponent_1(vueExports.unref(SelectArrow_default), vueExports.mergeProps(arrowProps.value, {
|
|
3695
3686
|
"data-slot": "arrow",
|
|
3696
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3687
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3697
3688
|
}), null, _parent, _scopeId));
|
|
3698
3689
|
else _push(`<!---->`);
|
|
3699
3690
|
} else return [
|
|
3700
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3701
|
-
(openBlock(), createBlock(resolveDynamicComponent(isItemAligned.value ? unref(SelectViewport_default) : "div"), {
|
|
3691
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3692
|
+
(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(isItemAligned.value ? vueExports.unref(SelectViewport_default) : "div"), {
|
|
3702
3693
|
ref_key: "viewportRef",
|
|
3703
3694
|
ref: viewportRef,
|
|
3704
3695
|
role: "presentation",
|
|
3705
3696
|
"data-slot": "viewport",
|
|
3706
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3697
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3707
3698
|
}, {
|
|
3708
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
3709
|
-
return openBlock(), createBlock(unref(SelectGroup_default), {
|
|
3699
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(groups.value, (group, groupIndex) => {
|
|
3700
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectGroup_default), {
|
|
3710
3701
|
key: `group-${groupIndex}`,
|
|
3711
3702
|
"data-slot": "group",
|
|
3712
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3703
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3713
3704
|
}, {
|
|
3714
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3715
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
3705
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3706
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
3716
3707
|
key: 0,
|
|
3717
3708
|
"data-slot": "label",
|
|
3718
3709
|
class: ui.value.label({ class: [
|
|
3719
|
-
unref(props).ui?.label,
|
|
3710
|
+
vueExports.unref(props).ui?.label,
|
|
3720
3711
|
item.ui?.label,
|
|
3721
3712
|
item.class
|
|
3722
3713
|
] })
|
|
3723
3714
|
}, {
|
|
3724
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3715
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
3725
3716
|
_: 2
|
|
3726
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
3717
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
3727
3718
|
key: 1,
|
|
3728
3719
|
"data-slot": "separator",
|
|
3729
3720
|
class: ui.value.separator({ class: [
|
|
3730
|
-
unref(props).ui?.separator,
|
|
3721
|
+
vueExports.unref(props).ui?.separator,
|
|
3731
3722
|
item.ui?.separator,
|
|
3732
3723
|
item.class
|
|
3733
3724
|
] })
|
|
3734
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
3725
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
3735
3726
|
key: 2,
|
|
3736
3727
|
"data-slot": "item",
|
|
3737
3728
|
class: ui.value.item({ class: [
|
|
3738
|
-
unref(props).ui?.item,
|
|
3729
|
+
vueExports.unref(props).ui?.item,
|
|
3739
3730
|
isSelectItem(item) && item.ui?.item,
|
|
3740
3731
|
isSelectItem(item) && item.class
|
|
3741
3732
|
] }),
|
|
3742
3733
|
disabled: isSelectItem(item) && item.disabled,
|
|
3743
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3734
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3744
3735
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
3745
3736
|
}, {
|
|
3746
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
3737
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3747
3738
|
item,
|
|
3748
3739
|
index,
|
|
3749
3740
|
ui: ui.value
|
|
3750
3741
|
}, () => [
|
|
3751
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3742
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3752
3743
|
item,
|
|
3753
3744
|
index,
|
|
3754
3745
|
ui: ui.value
|
|
3755
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3746
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3756
3747
|
key: 0,
|
|
3757
3748
|
name: item.icon,
|
|
3758
3749
|
"data-slot": "itemLeadingIcon",
|
|
3759
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3760
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3750
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3751
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3761
3752
|
key: 1,
|
|
3762
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3753
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3763
3754
|
}, { ref_for: true }, item.avatar, {
|
|
3764
3755
|
"data-slot": "itemLeadingAvatar",
|
|
3765
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3766
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
3756
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3757
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
3767
3758
|
key: 2,
|
|
3768
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3759
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3769
3760
|
inset: "",
|
|
3770
3761
|
standalone: ""
|
|
3771
3762
|
}, { ref_for: true }, item.chip, {
|
|
3772
3763
|
"data-slot": "itemLeadingChip",
|
|
3773
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3774
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3775
|
-
createVNode("span", {
|
|
3764
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3765
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3766
|
+
vueExports.createVNode("span", {
|
|
3776
3767
|
"data-slot": "itemWrapper",
|
|
3777
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3778
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
3768
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3769
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
3779
3770
|
"data-slot": "itemLabel",
|
|
3780
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3771
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3781
3772
|
}, {
|
|
3782
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
3773
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3783
3774
|
item,
|
|
3784
3775
|
index
|
|
3785
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
3776
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
3786
3777
|
_: 2
|
|
3787
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3778
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3788
3779
|
key: 0,
|
|
3789
3780
|
"data-slot": "itemDescription",
|
|
3790
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3791
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3781
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3782
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3792
3783
|
item,
|
|
3793
3784
|
index
|
|
3794
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3795
|
-
createVNode("span", {
|
|
3785
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3786
|
+
vueExports.createVNode("span", {
|
|
3796
3787
|
"data-slot": "itemTrailing",
|
|
3797
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3798
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3788
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3789
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3799
3790
|
item,
|
|
3800
3791
|
index,
|
|
3801
3792
|
ui: ui.value
|
|
3802
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3803
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3804
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3793
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3794
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3795
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3805
3796
|
"data-slot": "itemTrailingIcon",
|
|
3806
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3797
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3807
3798
|
}, null, 8, ["name", "class"])]),
|
|
3808
3799
|
_: 2
|
|
3809
3800
|
}, 1024)], 2)
|
|
@@ -3821,127 +3812,127 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3821
3812
|
}), 128))]),
|
|
3822
3813
|
_: 3
|
|
3823
3814
|
}, 8, ["class"])),
|
|
3824
|
-
renderSlot(_ctx.$slots, "content-bottom"),
|
|
3825
|
-
!!unref(props).arrow ? (openBlock(), createBlock(unref(SelectArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
3815
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom"),
|
|
3816
|
+
!!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
3826
3817
|
"data-slot": "arrow",
|
|
3827
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3828
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
3818
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3819
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)
|
|
3829
3820
|
];
|
|
3830
3821
|
}),
|
|
3831
3822
|
_: 2
|
|
3832
3823
|
}, _parent, _scopeId));
|
|
3833
|
-
else return [createVNode(unref(SelectContent_default), mergeProps({
|
|
3824
|
+
else return [vueExports.createVNode(vueExports.unref(SelectContent_default), vueExports.mergeProps({
|
|
3834
3825
|
"data-slot": "content",
|
|
3835
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
3826
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
3836
3827
|
}, contentProps.value), {
|
|
3837
|
-
default: withCtx(() => [
|
|
3838
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3839
|
-
(openBlock(), createBlock(resolveDynamicComponent(isItemAligned.value ? unref(SelectViewport_default) : "div"), {
|
|
3828
|
+
default: vueExports.withCtx(() => [
|
|
3829
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3830
|
+
(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(isItemAligned.value ? vueExports.unref(SelectViewport_default) : "div"), {
|
|
3840
3831
|
ref_key: "viewportRef",
|
|
3841
3832
|
ref: viewportRef,
|
|
3842
3833
|
role: "presentation",
|
|
3843
3834
|
"data-slot": "viewport",
|
|
3844
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3835
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3845
3836
|
}, {
|
|
3846
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
3847
|
-
return openBlock(), createBlock(unref(SelectGroup_default), {
|
|
3837
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(groups.value, (group, groupIndex) => {
|
|
3838
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectGroup_default), {
|
|
3848
3839
|
key: `group-${groupIndex}`,
|
|
3849
3840
|
"data-slot": "group",
|
|
3850
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3841
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3851
3842
|
}, {
|
|
3852
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3853
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
3843
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3844
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
3854
3845
|
key: 0,
|
|
3855
3846
|
"data-slot": "label",
|
|
3856
3847
|
class: ui.value.label({ class: [
|
|
3857
|
-
unref(props).ui?.label,
|
|
3848
|
+
vueExports.unref(props).ui?.label,
|
|
3858
3849
|
item.ui?.label,
|
|
3859
3850
|
item.class
|
|
3860
3851
|
] })
|
|
3861
3852
|
}, {
|
|
3862
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3853
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
3863
3854
|
_: 2
|
|
3864
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
3855
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
3865
3856
|
key: 1,
|
|
3866
3857
|
"data-slot": "separator",
|
|
3867
3858
|
class: ui.value.separator({ class: [
|
|
3868
|
-
unref(props).ui?.separator,
|
|
3859
|
+
vueExports.unref(props).ui?.separator,
|
|
3869
3860
|
item.ui?.separator,
|
|
3870
3861
|
item.class
|
|
3871
3862
|
] })
|
|
3872
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
3863
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
3873
3864
|
key: 2,
|
|
3874
3865
|
"data-slot": "item",
|
|
3875
3866
|
class: ui.value.item({ class: [
|
|
3876
|
-
unref(props).ui?.item,
|
|
3867
|
+
vueExports.unref(props).ui?.item,
|
|
3877
3868
|
isSelectItem(item) && item.ui?.item,
|
|
3878
3869
|
isSelectItem(item) && item.class
|
|
3879
3870
|
] }),
|
|
3880
3871
|
disabled: isSelectItem(item) && item.disabled,
|
|
3881
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3872
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3882
3873
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
3883
3874
|
}, {
|
|
3884
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
3875
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3885
3876
|
item,
|
|
3886
3877
|
index,
|
|
3887
3878
|
ui: ui.value
|
|
3888
3879
|
}, () => [
|
|
3889
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3880
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3890
3881
|
item,
|
|
3891
3882
|
index,
|
|
3892
3883
|
ui: ui.value
|
|
3893
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3884
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3894
3885
|
key: 0,
|
|
3895
3886
|
name: item.icon,
|
|
3896
3887
|
"data-slot": "itemLeadingIcon",
|
|
3897
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3898
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
3888
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3889
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
3899
3890
|
key: 1,
|
|
3900
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3891
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3901
3892
|
}, { ref_for: true }, item.avatar, {
|
|
3902
3893
|
"data-slot": "itemLeadingAvatar",
|
|
3903
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3904
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
3894
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3895
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
3905
3896
|
key: 2,
|
|
3906
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3897
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3907
3898
|
inset: "",
|
|
3908
3899
|
standalone: ""
|
|
3909
3900
|
}, { ref_for: true }, item.chip, {
|
|
3910
3901
|
"data-slot": "itemLeadingChip",
|
|
3911
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3912
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3913
|
-
createVNode("span", {
|
|
3902
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3903
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3904
|
+
vueExports.createVNode("span", {
|
|
3914
3905
|
"data-slot": "itemWrapper",
|
|
3915
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3916
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
3906
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3907
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
3917
3908
|
"data-slot": "itemLabel",
|
|
3918
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3909
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3919
3910
|
}, {
|
|
3920
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
3911
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3921
3912
|
item,
|
|
3922
3913
|
index
|
|
3923
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
3914
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
3924
3915
|
_: 2
|
|
3925
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3916
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3926
3917
|
key: 0,
|
|
3927
3918
|
"data-slot": "itemDescription",
|
|
3928
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3929
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3919
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3920
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3930
3921
|
item,
|
|
3931
3922
|
index
|
|
3932
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3933
|
-
createVNode("span", {
|
|
3923
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3924
|
+
vueExports.createVNode("span", {
|
|
3934
3925
|
"data-slot": "itemTrailing",
|
|
3935
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3936
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3926
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3927
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3937
3928
|
item,
|
|
3938
3929
|
index,
|
|
3939
3930
|
ui: ui.value
|
|
3940
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3941
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3942
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3931
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
3932
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3933
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3943
3934
|
"data-slot": "itemTrailingIcon",
|
|
3944
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3935
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3945
3936
|
}, null, 8, ["name", "class"])]),
|
|
3946
3937
|
_: 2
|
|
3947
3938
|
}, 1024)], 2)
|
|
@@ -3959,130 +3950,130 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3959
3950
|
}), 128))]),
|
|
3960
3951
|
_: 3
|
|
3961
3952
|
}, 8, ["class"])),
|
|
3962
|
-
renderSlot(_ctx.$slots, "content-bottom"),
|
|
3963
|
-
!!unref(props).arrow ? (openBlock(), createBlock(unref(SelectArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
3953
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom"),
|
|
3954
|
+
!!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
3964
3955
|
"data-slot": "arrow",
|
|
3965
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3966
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
3956
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3957
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)
|
|
3967
3958
|
]),
|
|
3968
3959
|
_: 3
|
|
3969
3960
|
}, 16, ["class"])];
|
|
3970
3961
|
}),
|
|
3971
3962
|
_: 2
|
|
3972
3963
|
}, _parent, _scopeId));
|
|
3973
|
-
else return [createVNode(unref(FieldGroupReset), null, {
|
|
3974
|
-
default: withCtx(() => [createVNode(unref(SelectContent_default), mergeProps({
|
|
3964
|
+
else return [vueExports.createVNode(vueExports.unref(FieldGroupReset), null, {
|
|
3965
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(SelectContent_default), vueExports.mergeProps({
|
|
3975
3966
|
"data-slot": "content",
|
|
3976
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
3967
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
3977
3968
|
}, contentProps.value), {
|
|
3978
|
-
default: withCtx(() => [
|
|
3979
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3980
|
-
(openBlock(), createBlock(resolveDynamicComponent(isItemAligned.value ? unref(SelectViewport_default) : "div"), {
|
|
3969
|
+
default: vueExports.withCtx(() => [
|
|
3970
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3971
|
+
(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(isItemAligned.value ? vueExports.unref(SelectViewport_default) : "div"), {
|
|
3981
3972
|
ref_key: "viewportRef",
|
|
3982
3973
|
ref: viewportRef,
|
|
3983
3974
|
role: "presentation",
|
|
3984
3975
|
"data-slot": "viewport",
|
|
3985
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3976
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3986
3977
|
}, {
|
|
3987
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
3988
|
-
return openBlock(), createBlock(unref(SelectGroup_default), {
|
|
3978
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(groups.value, (group, groupIndex) => {
|
|
3979
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectGroup_default), {
|
|
3989
3980
|
key: `group-${groupIndex}`,
|
|
3990
3981
|
"data-slot": "group",
|
|
3991
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3982
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3992
3983
|
}, {
|
|
3993
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3994
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
3984
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3985
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
3995
3986
|
key: 0,
|
|
3996
3987
|
"data-slot": "label",
|
|
3997
3988
|
class: ui.value.label({ class: [
|
|
3998
|
-
unref(props).ui?.label,
|
|
3989
|
+
vueExports.unref(props).ui?.label,
|
|
3999
3990
|
item.ui?.label,
|
|
4000
3991
|
item.class
|
|
4001
3992
|
] })
|
|
4002
3993
|
}, {
|
|
4003
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3994
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
4004
3995
|
_: 2
|
|
4005
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
3996
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
4006
3997
|
key: 1,
|
|
4007
3998
|
"data-slot": "separator",
|
|
4008
3999
|
class: ui.value.separator({ class: [
|
|
4009
|
-
unref(props).ui?.separator,
|
|
4000
|
+
vueExports.unref(props).ui?.separator,
|
|
4010
4001
|
item.ui?.separator,
|
|
4011
4002
|
item.class
|
|
4012
4003
|
] })
|
|
4013
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
4004
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
4014
4005
|
key: 2,
|
|
4015
4006
|
"data-slot": "item",
|
|
4016
4007
|
class: ui.value.item({ class: [
|
|
4017
|
-
unref(props).ui?.item,
|
|
4008
|
+
vueExports.unref(props).ui?.item,
|
|
4018
4009
|
isSelectItem(item) && item.ui?.item,
|
|
4019
4010
|
isSelectItem(item) && item.class
|
|
4020
4011
|
] }),
|
|
4021
4012
|
disabled: isSelectItem(item) && item.disabled,
|
|
4022
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
4013
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
4023
4014
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
4024
4015
|
}, {
|
|
4025
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
4016
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
4026
4017
|
item,
|
|
4027
4018
|
index,
|
|
4028
4019
|
ui: ui.value
|
|
4029
4020
|
}, () => [
|
|
4030
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
4021
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
4031
4022
|
item,
|
|
4032
4023
|
index,
|
|
4033
4024
|
ui: ui.value
|
|
4034
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4025
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4035
4026
|
key: 0,
|
|
4036
4027
|
name: item.icon,
|
|
4037
4028
|
"data-slot": "itemLeadingIcon",
|
|
4038
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
4039
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
4029
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
4030
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
4040
4031
|
key: 1,
|
|
4041
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4032
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4042
4033
|
}, { ref_for: true }, item.avatar, {
|
|
4043
4034
|
"data-slot": "itemLeadingAvatar",
|
|
4044
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
4045
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
4035
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
4036
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
4046
4037
|
key: 2,
|
|
4047
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
4038
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
4048
4039
|
inset: "",
|
|
4049
4040
|
standalone: ""
|
|
4050
4041
|
}, { ref_for: true }, item.chip, {
|
|
4051
4042
|
"data-slot": "itemLeadingChip",
|
|
4052
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
4053
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
4054
|
-
createVNode("span", {
|
|
4043
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
4044
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
4045
|
+
vueExports.createVNode("span", {
|
|
4055
4046
|
"data-slot": "itemWrapper",
|
|
4056
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
4057
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
4047
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
4048
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
4058
4049
|
"data-slot": "itemLabel",
|
|
4059
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
4050
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
4060
4051
|
}, {
|
|
4061
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
4052
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
4062
4053
|
item,
|
|
4063
4054
|
index
|
|
4064
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
4055
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
4065
4056
|
_: 2
|
|
4066
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
4057
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4067
4058
|
key: 0,
|
|
4068
4059
|
"data-slot": "itemDescription",
|
|
4069
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
4070
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
4060
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
4061
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
4071
4062
|
item,
|
|
4072
4063
|
index
|
|
4073
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
4074
|
-
createVNode("span", {
|
|
4064
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
4065
|
+
vueExports.createVNode("span", {
|
|
4075
4066
|
"data-slot": "itemTrailing",
|
|
4076
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
4077
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
4067
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
4068
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
4078
4069
|
item,
|
|
4079
4070
|
index,
|
|
4080
4071
|
ui: ui.value
|
|
4081
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
4082
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
4083
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
4072
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
4073
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
4074
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
4084
4075
|
"data-slot": "itemTrailingIcon",
|
|
4085
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
4076
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
4086
4077
|
}, null, 8, ["name", "class"])]),
|
|
4087
4078
|
_: 2
|
|
4088
4079
|
}, 1024)], 2)
|
|
@@ -4100,11 +4091,11 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4100
4091
|
}), 128))]),
|
|
4101
4092
|
_: 3
|
|
4102
4093
|
}, 8, ["class"])),
|
|
4103
|
-
renderSlot(_ctx.$slots, "content-bottom"),
|
|
4104
|
-
!!unref(props).arrow ? (openBlock(), createBlock(unref(SelectArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
4094
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom"),
|
|
4095
|
+
!!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
4105
4096
|
"data-slot": "arrow",
|
|
4106
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
4107
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
4097
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
4098
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)
|
|
4108
4099
|
]),
|
|
4109
4100
|
_: 3
|
|
4110
4101
|
}, 16, ["class"])]),
|
|
@@ -4113,185 +4104,185 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4113
4104
|
}),
|
|
4114
4105
|
_: 2
|
|
4115
4106
|
}, _parent, _scopeId));
|
|
4116
|
-
} else return [createVNode(unref(SelectTrigger_default), mergeProps({
|
|
4117
|
-
id: unref(id),
|
|
4107
|
+
} else return [vueExports.createVNode(vueExports.unref(SelectTrigger_default), vueExports.mergeProps({
|
|
4108
|
+
id: vueExports.unref(id),
|
|
4118
4109
|
ref_key: "triggerRef",
|
|
4119
4110
|
ref: triggerRef,
|
|
4120
4111
|
"data-slot": "base",
|
|
4121
|
-
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] })
|
|
4112
|
+
class: ui.value.base({ class: [vueExports.unref(props).ui?.base, vueExports.unref(props).class] })
|
|
4122
4113
|
}, {
|
|
4123
4114
|
..._ctx.$attrs,
|
|
4124
|
-
...unref(ariaAttrs)
|
|
4115
|
+
...vueExports.unref(ariaAttrs)
|
|
4125
4116
|
}, { onClick: ($event) => onTriggerClick(open) }), {
|
|
4126
|
-
default: withCtx(() => [
|
|
4127
|
-
unref(isLeading) || !!unref(props).avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
4117
|
+
default: vueExports.withCtx(() => [
|
|
4118
|
+
vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4128
4119
|
key: 0,
|
|
4129
4120
|
"data-slot": "leading",
|
|
4130
|
-
class: ui.value.leading({ class: unref(props).ui?.leading })
|
|
4131
|
-
}, [renderSlot(_ctx.$slots, "leading", {
|
|
4121
|
+
class: ui.value.leading({ class: vueExports.unref(props).ui?.leading })
|
|
4122
|
+
}, [vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
4132
4123
|
modelValue,
|
|
4133
4124
|
open,
|
|
4134
4125
|
ui: ui.value
|
|
4135
|
-
}, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4126
|
+
}, () => [vueExports.unref(isLeading) && vueExports.unref(leadingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4136
4127
|
key: 0,
|
|
4137
|
-
name: unref(leadingIconName),
|
|
4128
|
+
name: vueExports.unref(leadingIconName),
|
|
4138
4129
|
"data-slot": "leadingIcon",
|
|
4139
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
4140
|
-
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
4130
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
4131
|
+
}, null, 8, ["name", "class"])) : !!vueExports.unref(props).avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
4141
4132
|
key: 1,
|
|
4142
|
-
size: unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4143
|
-
}, unref(props).avatar, {
|
|
4133
|
+
size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4134
|
+
}, vueExports.unref(props).avatar, {
|
|
4144
4135
|
"data-slot": "itemLeadingAvatar",
|
|
4145
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
4146
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
4147
|
-
(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
4148
|
-
return openBlock(), createBlock(unref(SelectValue_default), {
|
|
4136
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
4137
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true),
|
|
4138
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
4139
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectValue_default), {
|
|
4149
4140
|
key: displayedModelValue,
|
|
4150
4141
|
"data-slot": displayedModelValue != null ? "value" : "placeholder",
|
|
4151
|
-
class: displayedModelValue != null ? ui.value.value({ class: unref(props).ui?.value }) : ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
4142
|
+
class: displayedModelValue != null ? ui.value.value({ class: vueExports.unref(props).ui?.value }) : ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
4152
4143
|
}, {
|
|
4153
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
4144
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
4154
4145
|
modelValue,
|
|
4155
4146
|
open,
|
|
4156
4147
|
ui: ui.value
|
|
4157
|
-
}, () => [createTextVNode(toDisplayString(displayedModelValue ?? unref(props).placeholder ?? "\xA0"), 1)])]),
|
|
4148
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(displayedModelValue ?? vueExports.unref(props).placeholder ?? "\xA0"), 1)])]),
|
|
4158
4149
|
_: 2
|
|
4159
4150
|
}, 1032, ["data-slot", "class"]);
|
|
4160
4151
|
}), 128)),
|
|
4161
|
-
unref(isTrailing) || !!slots.trailing ? (openBlock(), createBlock("span", {
|
|
4152
|
+
vueExports.unref(isTrailing) || !!slots.trailing ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4162
4153
|
key: 1,
|
|
4163
4154
|
"data-slot": "trailing",
|
|
4164
|
-
class: ui.value.trailing({ class: unref(props).ui?.trailing })
|
|
4165
|
-
}, [renderSlot(_ctx.$slots, "trailing", {
|
|
4155
|
+
class: ui.value.trailing({ class: vueExports.unref(props).ui?.trailing })
|
|
4156
|
+
}, [vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
4166
4157
|
modelValue,
|
|
4167
4158
|
open,
|
|
4168
4159
|
ui: ui.value
|
|
4169
|
-
}, () => [unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4160
|
+
}, () => [vueExports.unref(trailingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4170
4161
|
key: 0,
|
|
4171
|
-
name: unref(trailingIconName),
|
|
4162
|
+
name: vueExports.unref(trailingIconName),
|
|
4172
4163
|
"data-slot": "trailingIcon",
|
|
4173
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
4174
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
4164
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
4165
|
+
}, null, 8, ["name", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true)
|
|
4175
4166
|
]),
|
|
4176
4167
|
_: 2
|
|
4177
4168
|
}, 1040, [
|
|
4178
4169
|
"id",
|
|
4179
4170
|
"class",
|
|
4180
4171
|
"onClick"
|
|
4181
|
-
]), createVNode(unref(SelectPortal_default), unref(portalProps), {
|
|
4182
|
-
default: withCtx(() => [createVNode(unref(FieldGroupReset), null, {
|
|
4183
|
-
default: withCtx(() => [createVNode(unref(SelectContent_default), mergeProps({
|
|
4172
|
+
]), vueExports.createVNode(vueExports.unref(SelectPortal_default), vueExports.unref(portalProps), {
|
|
4173
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FieldGroupReset), null, {
|
|
4174
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(SelectContent_default), vueExports.mergeProps({
|
|
4184
4175
|
"data-slot": "content",
|
|
4185
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
4176
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
4186
4177
|
}, contentProps.value), {
|
|
4187
|
-
default: withCtx(() => [
|
|
4188
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
4189
|
-
(openBlock(), createBlock(resolveDynamicComponent(isItemAligned.value ? unref(SelectViewport_default) : "div"), {
|
|
4178
|
+
default: vueExports.withCtx(() => [
|
|
4179
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
4180
|
+
(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(isItemAligned.value ? vueExports.unref(SelectViewport_default) : "div"), {
|
|
4190
4181
|
ref_key: "viewportRef",
|
|
4191
4182
|
ref: viewportRef,
|
|
4192
4183
|
role: "presentation",
|
|
4193
4184
|
"data-slot": "viewport",
|
|
4194
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
4185
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
4195
4186
|
}, {
|
|
4196
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(groups.value, (group, groupIndex) => {
|
|
4197
|
-
return openBlock(), createBlock(unref(SelectGroup_default), {
|
|
4187
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(groups.value, (group, groupIndex) => {
|
|
4188
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectGroup_default), {
|
|
4198
4189
|
key: `group-${groupIndex}`,
|
|
4199
4190
|
"data-slot": "group",
|
|
4200
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4191
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4201
4192
|
}, {
|
|
4202
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
4203
|
-
return openBlock(), createBlock(Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(SelectLabel_default), {
|
|
4193
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
4194
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: `group-${groupIndex}-${index}` }, [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectLabel_default), {
|
|
4204
4195
|
key: 0,
|
|
4205
4196
|
"data-slot": "label",
|
|
4206
4197
|
class: ui.value.label({ class: [
|
|
4207
|
-
unref(props).ui?.label,
|
|
4198
|
+
vueExports.unref(props).ui?.label,
|
|
4208
4199
|
item.ui?.label,
|
|
4209
4200
|
item.class
|
|
4210
4201
|
] })
|
|
4211
4202
|
}, {
|
|
4212
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
4203
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
4213
4204
|
_: 2
|
|
4214
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(SelectSeparator_default), {
|
|
4205
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectSeparator_default), {
|
|
4215
4206
|
key: 1,
|
|
4216
4207
|
"data-slot": "separator",
|
|
4217
4208
|
class: ui.value.separator({ class: [
|
|
4218
|
-
unref(props).ui?.separator,
|
|
4209
|
+
vueExports.unref(props).ui?.separator,
|
|
4219
4210
|
item.ui?.separator,
|
|
4220
4211
|
item.class
|
|
4221
4212
|
] })
|
|
4222
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(SelectItem_default), {
|
|
4213
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectItem_default), {
|
|
4223
4214
|
key: 2,
|
|
4224
4215
|
"data-slot": "item",
|
|
4225
4216
|
class: ui.value.item({ class: [
|
|
4226
|
-
unref(props).ui?.item,
|
|
4217
|
+
vueExports.unref(props).ui?.item,
|
|
4227
4218
|
isSelectItem(item) && item.ui?.item,
|
|
4228
4219
|
isSelectItem(item) && item.class
|
|
4229
4220
|
] }),
|
|
4230
4221
|
disabled: isSelectItem(item) && item.disabled,
|
|
4231
|
-
value: isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
4222
|
+
value: isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
4232
4223
|
onSelect: ($event) => isSelectItem(item) && item.onSelect?.($event)
|
|
4233
4224
|
}, {
|
|
4234
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
4225
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
4235
4226
|
item,
|
|
4236
4227
|
index,
|
|
4237
4228
|
ui: ui.value
|
|
4238
4229
|
}, () => [
|
|
4239
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
4230
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
4240
4231
|
item,
|
|
4241
4232
|
index,
|
|
4242
4233
|
ui: ui.value
|
|
4243
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4234
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4244
4235
|
key: 0,
|
|
4245
4236
|
name: item.icon,
|
|
4246
4237
|
"data-slot": "itemLeadingIcon",
|
|
4247
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
4248
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3$1, mergeProps({
|
|
4238
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
4239
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3$1, vueExports.mergeProps({
|
|
4249
4240
|
key: 1,
|
|
4250
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4241
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4251
4242
|
}, { ref_for: true }, item.avatar, {
|
|
4252
4243
|
"data-slot": "itemLeadingAvatar",
|
|
4253
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
4254
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4$1, mergeProps({
|
|
4244
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
4245
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4$1, vueExports.mergeProps({
|
|
4255
4246
|
key: 2,
|
|
4256
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
4247
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
4257
4248
|
inset: "",
|
|
4258
4249
|
standalone: ""
|
|
4259
4250
|
}, { ref_for: true }, item.chip, {
|
|
4260
4251
|
"data-slot": "itemLeadingChip",
|
|
4261
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
4262
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
4263
|
-
createVNode("span", {
|
|
4252
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
4253
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
4254
|
+
vueExports.createVNode("span", {
|
|
4264
4255
|
"data-slot": "itemWrapper",
|
|
4265
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
4266
|
-
}, [createVNode(unref(SelectItemText_default), {
|
|
4256
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
4257
|
+
}, [vueExports.createVNode(vueExports.unref(SelectItemText_default), {
|
|
4267
4258
|
"data-slot": "itemLabel",
|
|
4268
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
4259
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
4269
4260
|
}, {
|
|
4270
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item-label", {
|
|
4261
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
4271
4262
|
item,
|
|
4272
4263
|
index
|
|
4273
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])]),
|
|
4264
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])]),
|
|
4274
4265
|
_: 2
|
|
4275
|
-
}, 1032, ["class"]), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
4266
|
+
}, 1032, ["class"]), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4276
4267
|
key: 0,
|
|
4277
4268
|
"data-slot": "itemDescription",
|
|
4278
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
4279
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
4269
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
4270
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
4280
4271
|
item,
|
|
4281
4272
|
index
|
|
4282
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
4283
|
-
createVNode("span", {
|
|
4273
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
4274
|
+
vueExports.createVNode("span", {
|
|
4284
4275
|
"data-slot": "itemTrailing",
|
|
4285
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
4286
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
4276
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
4277
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
4287
4278
|
item,
|
|
4288
4279
|
index,
|
|
4289
4280
|
ui: ui.value
|
|
4290
|
-
}), createVNode(unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
4291
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
4292
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
4281
|
+
}), vueExports.createVNode(vueExports.unref(SelectItemIndicator_default), { "as-child": "" }, {
|
|
4282
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
4283
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
4293
4284
|
"data-slot": "itemTrailingIcon",
|
|
4294
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
4285
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
4295
4286
|
}, null, 8, ["name", "class"])]),
|
|
4296
4287
|
_: 2
|
|
4297
4288
|
}, 1024)], 2)
|
|
@@ -4309,11 +4300,11 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4309
4300
|
}), 128))]),
|
|
4310
4301
|
_: 3
|
|
4311
4302
|
}, 8, ["class"])),
|
|
4312
|
-
renderSlot(_ctx.$slots, "content-bottom"),
|
|
4313
|
-
!!unref(props).arrow ? (openBlock(), createBlock(unref(SelectArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
4303
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom"),
|
|
4304
|
+
!!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(SelectArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
4314
4305
|
"data-slot": "arrow",
|
|
4315
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
4316
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
4306
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
4307
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)
|
|
4317
4308
|
]),
|
|
4318
4309
|
_: 3
|
|
4319
4310
|
}, 16, ["class"])]),
|
|
@@ -4329,7 +4320,7 @@ var _sfc_main$1 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4329
4320
|
});
|
|
4330
4321
|
var _sfc_setup$2 = _sfc_main$1.setup;
|
|
4331
4322
|
_sfc_main$1.setup = (props, ctx) => {
|
|
4332
|
-
const ssrContext = useSSRContext();
|
|
4323
|
+
const ssrContext = vueExports.useSSRContext();
|
|
4333
4324
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Select.vue");
|
|
4334
4325
|
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
4335
4326
|
};
|
|
@@ -4749,8 +4740,8 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4749
4740
|
const rootProps = useForwardProps(reactivePick(props, "as", "stepSnapping", "formatOptions", "disableWheelChange", "invertWheelChange", "required", "readonly", "focusOnChange", "locale"), emits);
|
|
4750
4741
|
const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, id, color, size: formFieldSize, name, highlight, disabled, ariaAttrs } = useFormField(_props);
|
|
4751
4742
|
const { orientation, size: fieldGroupSize } = useFieldGroup(_props);
|
|
4752
|
-
const inputSize = computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
4753
|
-
const ui = computed(() => tv({
|
|
4743
|
+
const inputSize = vueExports.computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
4744
|
+
const ui = vueExports.computed(() => tv({
|
|
4754
4745
|
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Finput_number_default,
|
|
4755
4746
|
...appConfig.ui?.inputNumber || {}
|
|
4756
4747
|
})({
|
|
@@ -4764,9 +4755,9 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4764
4755
|
increment: props.orientation === "vertical" ? !!props.increment || !!props.decrement : !!props.increment,
|
|
4765
4756
|
decrement: props.orientation === "vertical" ? false : !!props.decrement
|
|
4766
4757
|
}));
|
|
4767
|
-
const incrementIcon = computed(() => props.incrementIcon || (props.orientation === "horizontal" ? appConfig.ui.icons.plus : appConfig.ui.icons.chevronUp));
|
|
4768
|
-
const decrementIcon = computed(() => props.decrementIcon || (props.orientation === "horizontal" ? appConfig.ui.icons.minus : appConfig.ui.icons.chevronDown));
|
|
4769
|
-
const inputRef = useTemplateRef("inputRef");
|
|
4758
|
+
const incrementIcon = vueExports.computed(() => props.incrementIcon || (props.orientation === "horizontal" ? appConfig.ui.icons.plus : appConfig.ui.icons.chevronUp));
|
|
4759
|
+
const decrementIcon = vueExports.computed(() => props.decrementIcon || (props.orientation === "horizontal" ? appConfig.ui.icons.minus : appConfig.ui.icons.chevronDown));
|
|
4760
|
+
const inputRef = vueExports.useTemplateRef("inputRef");
|
|
4770
4761
|
function onUpdate(value) {
|
|
4771
4762
|
if (props.modelModifiers?.optional) modelValue.value = value = value ?? void 0;
|
|
4772
4763
|
const event = new Event("change", { target: { value } });
|
|
@@ -4778,59 +4769,59 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4778
4769
|
emitFormBlur();
|
|
4779
4770
|
emits("blur", event);
|
|
4780
4771
|
}
|
|
4781
|
-
__expose({ inputRef: toRef(() => inputRef.value?.$el) });
|
|
4772
|
+
__expose({ inputRef: vueExports.toRef(() => inputRef.value?.$el) });
|
|
4782
4773
|
return (_ctx, _push, _parent, _attrs) => {
|
|
4783
|
-
_push(
|
|
4784
|
-
id: unref(id),
|
|
4785
|
-
"default-value": unref(props).defaultValue,
|
|
4786
|
-
"model-value": unref(modelValue),
|
|
4787
|
-
min: unref(props).min,
|
|
4788
|
-
max: unref(props).max,
|
|
4789
|
-
step: unref(props).step,
|
|
4774
|
+
_push(ssrRenderComponent_1(vueExports.unref(NumberFieldRoot_default), vueExports.mergeProps(vueExports.unref(rootProps), {
|
|
4775
|
+
id: vueExports.unref(id),
|
|
4776
|
+
"default-value": vueExports.unref(props).defaultValue,
|
|
4777
|
+
"model-value": vueExports.unref(modelValue),
|
|
4778
|
+
min: vueExports.unref(props).min,
|
|
4779
|
+
max: vueExports.unref(props).max,
|
|
4780
|
+
step: vueExports.unref(props).step,
|
|
4790
4781
|
"data-slot": _ctx.$attrs["data-slot"] ?? "root",
|
|
4791
|
-
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }),
|
|
4792
|
-
name: unref(name),
|
|
4793
|
-
disabled: unref(disabled),
|
|
4782
|
+
class: ui.value.root({ class: [vueExports.unref(props).ui?.root, vueExports.unref(props).class] }),
|
|
4783
|
+
name: vueExports.unref(name),
|
|
4784
|
+
disabled: vueExports.unref(disabled),
|
|
4794
4785
|
"onUpdate:modelValue": (val) => onUpdate(val)
|
|
4795
4786
|
}, _attrs), {
|
|
4796
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
4787
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
4797
4788
|
if (_push) {
|
|
4798
|
-
_push(
|
|
4789
|
+
_push(ssrRenderComponent_1(vueExports.unref(NumberFieldInput_default), vueExports.mergeProps({
|
|
4799
4790
|
..._ctx.$attrs,
|
|
4800
|
-
...unref(ariaAttrs)
|
|
4791
|
+
...vueExports.unref(ariaAttrs)
|
|
4801
4792
|
}, {
|
|
4802
4793
|
ref_key: "inputRef",
|
|
4803
4794
|
ref: inputRef,
|
|
4804
|
-
placeholder: unref(props).placeholder,
|
|
4805
|
-
required: unref(props).required,
|
|
4795
|
+
placeholder: vueExports.unref(props).placeholder,
|
|
4796
|
+
required: vueExports.unref(props).required,
|
|
4806
4797
|
"data-slot": "base",
|
|
4807
|
-
class: ui.value.base({ class: unref(props).ui?.base }),
|
|
4798
|
+
class: ui.value.base({ class: vueExports.unref(props).ui?.base }),
|
|
4808
4799
|
onBlur,
|
|
4809
|
-
onFocus: unref(emitFormFocus)
|
|
4800
|
+
onFocus: vueExports.unref(emitFormFocus)
|
|
4810
4801
|
}), null, _parent, _scopeId));
|
|
4811
|
-
if (!!unref(props).increment) {
|
|
4812
|
-
_push(`<div data-slot="increment" class="${
|
|
4813
|
-
_push(
|
|
4802
|
+
if (!!vueExports.unref(props).increment) {
|
|
4803
|
+
_push(`<div data-slot="increment" class="${ssrRenderClass_1(ui.value.increment({ class: vueExports.unref(props).ui?.increment }))}"${_scopeId}>`);
|
|
4804
|
+
_push(ssrRenderComponent_1(vueExports.unref(NumberFieldIncrement_default), {
|
|
4814
4805
|
"as-child": "",
|
|
4815
|
-
disabled: unref(disabled) || unref(props).incrementDisabled
|
|
4806
|
+
disabled: vueExports.unref(disabled) || vueExports.unref(props).incrementDisabled
|
|
4816
4807
|
}, {
|
|
4817
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
4818
|
-
if (_push)
|
|
4819
|
-
_push(
|
|
4808
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
4809
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "increment", {}, () => {
|
|
4810
|
+
_push(ssrRenderComponent_1(_sfc_main$3, vueExports.mergeProps({
|
|
4820
4811
|
icon: incrementIcon.value,
|
|
4821
|
-
color: unref(color),
|
|
4812
|
+
color: vueExports.unref(color),
|
|
4822
4813
|
size: inputSize.value,
|
|
4823
4814
|
variant: "link",
|
|
4824
|
-
"aria-label": unref(t)("inputNumber.increment")
|
|
4825
|
-
}, typeof unref(props).increment === "object" ? unref(props).increment : void 0), null, _parent, _scopeId));
|
|
4815
|
+
"aria-label": vueExports.unref(t)("inputNumber.increment")
|
|
4816
|
+
}, typeof vueExports.unref(props).increment === "object" ? vueExports.unref(props).increment : void 0), null, _parent, _scopeId));
|
|
4826
4817
|
}, _push, _parent, _scopeId);
|
|
4827
|
-
else return [renderSlot(_ctx.$slots, "increment", {}, () => [createVNode(_sfc_main$
|
|
4818
|
+
else return [vueExports.renderSlot(_ctx.$slots, "increment", {}, () => [vueExports.createVNode(_sfc_main$3, vueExports.mergeProps({
|
|
4828
4819
|
icon: incrementIcon.value,
|
|
4829
|
-
color: unref(color),
|
|
4820
|
+
color: vueExports.unref(color),
|
|
4830
4821
|
size: inputSize.value,
|
|
4831
4822
|
variant: "link",
|
|
4832
|
-
"aria-label": unref(t)("inputNumber.increment")
|
|
4833
|
-
}, typeof unref(props).increment === "object" ? unref(props).increment : void 0), null, 16, [
|
|
4823
|
+
"aria-label": vueExports.unref(t)("inputNumber.increment")
|
|
4824
|
+
}, typeof vueExports.unref(props).increment === "object" ? vueExports.unref(props).increment : void 0), null, 16, [
|
|
4834
4825
|
"icon",
|
|
4835
4826
|
"color",
|
|
4836
4827
|
"size",
|
|
@@ -4841,29 +4832,29 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4841
4832
|
}, _parent, _scopeId));
|
|
4842
4833
|
_push(`</div>`);
|
|
4843
4834
|
} else _push(`<!---->`);
|
|
4844
|
-
if (!!unref(props).decrement) {
|
|
4845
|
-
_push(`<div data-slot="decrement" class="${
|
|
4846
|
-
_push(
|
|
4835
|
+
if (!!vueExports.unref(props).decrement) {
|
|
4836
|
+
_push(`<div data-slot="decrement" class="${ssrRenderClass_1(ui.value.decrement({ class: vueExports.unref(props).ui?.decrement }))}"${_scopeId}>`);
|
|
4837
|
+
_push(ssrRenderComponent_1(vueExports.unref(NumberFieldDecrement_default), {
|
|
4847
4838
|
"as-child": "",
|
|
4848
|
-
disabled: unref(disabled) || unref(props).decrementDisabled
|
|
4839
|
+
disabled: vueExports.unref(disabled) || vueExports.unref(props).decrementDisabled
|
|
4849
4840
|
}, {
|
|
4850
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
4851
|
-
if (_push)
|
|
4852
|
-
_push(
|
|
4841
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
4842
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "decrement", {}, () => {
|
|
4843
|
+
_push(ssrRenderComponent_1(_sfc_main$3, vueExports.mergeProps({
|
|
4853
4844
|
icon: decrementIcon.value,
|
|
4854
|
-
color: unref(color),
|
|
4845
|
+
color: vueExports.unref(color),
|
|
4855
4846
|
size: inputSize.value,
|
|
4856
4847
|
variant: "link",
|
|
4857
|
-
"aria-label": unref(t)("inputNumber.decrement")
|
|
4858
|
-
}, typeof unref(props).decrement === "object" ? unref(props).decrement : void 0), null, _parent, _scopeId));
|
|
4848
|
+
"aria-label": vueExports.unref(t)("inputNumber.decrement")
|
|
4849
|
+
}, typeof vueExports.unref(props).decrement === "object" ? vueExports.unref(props).decrement : void 0), null, _parent, _scopeId));
|
|
4859
4850
|
}, _push, _parent, _scopeId);
|
|
4860
|
-
else return [renderSlot(_ctx.$slots, "decrement", {}, () => [createVNode(_sfc_main$
|
|
4851
|
+
else return [vueExports.renderSlot(_ctx.$slots, "decrement", {}, () => [vueExports.createVNode(_sfc_main$3, vueExports.mergeProps({
|
|
4861
4852
|
icon: decrementIcon.value,
|
|
4862
|
-
color: unref(color),
|
|
4853
|
+
color: vueExports.unref(color),
|
|
4863
4854
|
size: inputSize.value,
|
|
4864
4855
|
variant: "link",
|
|
4865
|
-
"aria-label": unref(t)("inputNumber.decrement")
|
|
4866
|
-
}, typeof unref(props).decrement === "object" ? unref(props).decrement : void 0), null, 16, [
|
|
4856
|
+
"aria-label": vueExports.unref(t)("inputNumber.decrement")
|
|
4857
|
+
}, typeof vueExports.unref(props).decrement === "object" ? vueExports.unref(props).decrement : void 0), null, 16, [
|
|
4867
4858
|
"icon",
|
|
4868
4859
|
"color",
|
|
4869
4860
|
"size",
|
|
@@ -4875,68 +4866,68 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4875
4866
|
_push(`</div>`);
|
|
4876
4867
|
} else _push(`<!---->`);
|
|
4877
4868
|
} else return [
|
|
4878
|
-
createVNode(unref(NumberFieldInput_default), mergeProps({
|
|
4869
|
+
vueExports.createVNode(vueExports.unref(NumberFieldInput_default), vueExports.mergeProps({
|
|
4879
4870
|
..._ctx.$attrs,
|
|
4880
|
-
...unref(ariaAttrs)
|
|
4871
|
+
...vueExports.unref(ariaAttrs)
|
|
4881
4872
|
}, {
|
|
4882
4873
|
ref_key: "inputRef",
|
|
4883
4874
|
ref: inputRef,
|
|
4884
|
-
placeholder: unref(props).placeholder,
|
|
4885
|
-
required: unref(props).required,
|
|
4875
|
+
placeholder: vueExports.unref(props).placeholder,
|
|
4876
|
+
required: vueExports.unref(props).required,
|
|
4886
4877
|
"data-slot": "base",
|
|
4887
|
-
class: ui.value.base({ class: unref(props).ui?.base }),
|
|
4878
|
+
class: ui.value.base({ class: vueExports.unref(props).ui?.base }),
|
|
4888
4879
|
onBlur,
|
|
4889
|
-
onFocus: unref(emitFormFocus)
|
|
4880
|
+
onFocus: vueExports.unref(emitFormFocus)
|
|
4890
4881
|
}), null, 16, [
|
|
4891
4882
|
"placeholder",
|
|
4892
4883
|
"required",
|
|
4893
4884
|
"class",
|
|
4894
4885
|
"onFocus"
|
|
4895
4886
|
]),
|
|
4896
|
-
!!unref(props).increment ? (openBlock(), createBlock("div", {
|
|
4887
|
+
!!vueExports.unref(props).increment ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
4897
4888
|
key: 0,
|
|
4898
4889
|
"data-slot": "increment",
|
|
4899
|
-
class: ui.value.increment({ class: unref(props).ui?.increment })
|
|
4900
|
-
}, [createVNode(unref(NumberFieldIncrement_default), {
|
|
4890
|
+
class: ui.value.increment({ class: vueExports.unref(props).ui?.increment })
|
|
4891
|
+
}, [vueExports.createVNode(vueExports.unref(NumberFieldIncrement_default), {
|
|
4901
4892
|
"as-child": "",
|
|
4902
|
-
disabled: unref(disabled) || unref(props).incrementDisabled
|
|
4893
|
+
disabled: vueExports.unref(disabled) || vueExports.unref(props).incrementDisabled
|
|
4903
4894
|
}, {
|
|
4904
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "increment", {}, () => [createVNode(_sfc_main$
|
|
4895
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "increment", {}, () => [vueExports.createVNode(_sfc_main$3, vueExports.mergeProps({
|
|
4905
4896
|
icon: incrementIcon.value,
|
|
4906
|
-
color: unref(color),
|
|
4897
|
+
color: vueExports.unref(color),
|
|
4907
4898
|
size: inputSize.value,
|
|
4908
4899
|
variant: "link",
|
|
4909
|
-
"aria-label": unref(t)("inputNumber.increment")
|
|
4910
|
-
}, typeof unref(props).increment === "object" ? unref(props).increment : void 0), null, 16, [
|
|
4900
|
+
"aria-label": vueExports.unref(t)("inputNumber.increment")
|
|
4901
|
+
}, typeof vueExports.unref(props).increment === "object" ? vueExports.unref(props).increment : void 0), null, 16, [
|
|
4911
4902
|
"icon",
|
|
4912
4903
|
"color",
|
|
4913
4904
|
"size",
|
|
4914
4905
|
"aria-label"
|
|
4915
4906
|
])])]),
|
|
4916
4907
|
_: 3
|
|
4917
|
-
}, 8, ["disabled"])], 2)) : createCommentVNode("", true),
|
|
4918
|
-
!!unref(props).decrement ? (openBlock(), createBlock("div", {
|
|
4908
|
+
}, 8, ["disabled"])], 2)) : vueExports.createCommentVNode("", true),
|
|
4909
|
+
!!vueExports.unref(props).decrement ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
4919
4910
|
key: 1,
|
|
4920
4911
|
"data-slot": "decrement",
|
|
4921
|
-
class: ui.value.decrement({ class: unref(props).ui?.decrement })
|
|
4922
|
-
}, [createVNode(unref(NumberFieldDecrement_default), {
|
|
4912
|
+
class: ui.value.decrement({ class: vueExports.unref(props).ui?.decrement })
|
|
4913
|
+
}, [vueExports.createVNode(vueExports.unref(NumberFieldDecrement_default), {
|
|
4923
4914
|
"as-child": "",
|
|
4924
|
-
disabled: unref(disabled) || unref(props).decrementDisabled
|
|
4915
|
+
disabled: vueExports.unref(disabled) || vueExports.unref(props).decrementDisabled
|
|
4925
4916
|
}, {
|
|
4926
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "decrement", {}, () => [createVNode(_sfc_main$
|
|
4917
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "decrement", {}, () => [vueExports.createVNode(_sfc_main$3, vueExports.mergeProps({
|
|
4927
4918
|
icon: decrementIcon.value,
|
|
4928
|
-
color: unref(color),
|
|
4919
|
+
color: vueExports.unref(color),
|
|
4929
4920
|
size: inputSize.value,
|
|
4930
4921
|
variant: "link",
|
|
4931
|
-
"aria-label": unref(t)("inputNumber.decrement")
|
|
4932
|
-
}, typeof unref(props).decrement === "object" ? unref(props).decrement : void 0), null, 16, [
|
|
4922
|
+
"aria-label": vueExports.unref(t)("inputNumber.decrement")
|
|
4923
|
+
}, typeof vueExports.unref(props).decrement === "object" ? vueExports.unref(props).decrement : void 0), null, 16, [
|
|
4933
4924
|
"icon",
|
|
4934
4925
|
"color",
|
|
4935
4926
|
"size",
|
|
4936
4927
|
"aria-label"
|
|
4937
4928
|
])])]),
|
|
4938
4929
|
_: 3
|
|
4939
|
-
}, 8, ["disabled"])], 2)) : createCommentVNode("", true)
|
|
4930
|
+
}, 8, ["disabled"])], 2)) : vueExports.createCommentVNode("", true)
|
|
4940
4931
|
];
|
|
4941
4932
|
}),
|
|
4942
4933
|
_: 3
|
|
@@ -4946,13 +4937,13 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4946
4937
|
});
|
|
4947
4938
|
var _sfc_setup$1 = _sfc_main.setup;
|
|
4948
4939
|
_sfc_main.setup = (props, ctx) => {
|
|
4949
|
-
const ssrContext = useSSRContext();
|
|
4940
|
+
const ssrContext = vueExports.useSSRContext();
|
|
4950
4941
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/InputNumber.vue");
|
|
4951
4942
|
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
4952
4943
|
};
|
|
4953
4944
|
//#endregion
|
|
4954
4945
|
//#region app/pages/tasks.vue?vue&type=script&setup=true&lang.ts
|
|
4955
|
-
var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
4946
|
+
var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ vueExports.defineComponent({
|
|
4956
4947
|
__name: "tasks",
|
|
4957
4948
|
__ssrInlineRender: true,
|
|
4958
4949
|
setup(__props) {
|
|
@@ -4960,15 +4951,16 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
4960
4951
|
const route = useRoute$1();
|
|
4961
4952
|
const toast = useToast();
|
|
4962
4953
|
const workspace = useFileWorkspace();
|
|
4963
|
-
const taskView = ref(route.path === "/tasks/details" ? "details" : "preview");
|
|
4964
|
-
const confirmStart = ref(false);
|
|
4965
|
-
const
|
|
4966
|
-
const
|
|
4967
|
-
const
|
|
4968
|
-
const
|
|
4969
|
-
const
|
|
4970
|
-
const
|
|
4971
|
-
const
|
|
4954
|
+
const taskView = vueExports.ref(route.path === "/tasks/details" ? "details" : "preview");
|
|
4955
|
+
const confirmStart = vueExports.ref(false);
|
|
4956
|
+
const startPending = vueExports.ref(false);
|
|
4957
|
+
const confirmDeleteTask = vueExports.ref(false);
|
|
4958
|
+
const createTaskOpen = vueExports.ref(false);
|
|
4959
|
+
const exportOpen = vueExports.ref(false);
|
|
4960
|
+
const exportPending = vueExports.ref(false);
|
|
4961
|
+
const exportEstimate = vueExports.shallowRef(null);
|
|
4962
|
+
const exportError = vueExports.ref("");
|
|
4963
|
+
const exportState = vueExports.reactive({
|
|
4972
4964
|
format: "mbtiles",
|
|
4973
4965
|
minZoom: DEFAULT_EXPORT_MIN_ZOOM,
|
|
4974
4966
|
maxZoom: DEFAULT_EXPORT_MAX_ZOOM
|
|
@@ -4982,25 +4974,25 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
4982
4974
|
value: "pmtiles",
|
|
4983
4975
|
icon: "i-lucide-package"
|
|
4984
4976
|
}];
|
|
4985
|
-
const createTaskState = reactive({ filename: "" });
|
|
4986
|
-
const createTaskSchema =
|
|
4977
|
+
const createTaskState = vueExports.reactive({ filename: "" });
|
|
4978
|
+
const createTaskSchema = object({ filename: string().trim().min(1, "请输入文件名").max(120, "文件名不能超过 120 个字符").refine((filename) => !filename.toLowerCase().endsWith(".uomtiles"), "扩展名由系统自动添加") });
|
|
4987
4979
|
let estimateTimer;
|
|
4988
4980
|
let estimateGeneration = 0;
|
|
4989
|
-
const tasks = computed(() => workspace.files.value.filter((file) => file.kind === "uomtiles"));
|
|
4990
|
-
const selectedTask = computed(() => workspace.selected.value?.kind === "uomtiles" ? workspace.selected.value : null);
|
|
4991
|
-
const selectedIsRunning = computed(() => Boolean(selectedTask.value?.locked));
|
|
4992
|
-
const taskState = computed(() => selectedIsRunning.value ? "running" : selectedTask.value?.summary?.state || "incomplete");
|
|
4993
|
-
const canStart = computed(() => Boolean(selectedTask.value && taskState.value !== "completed" && !selectedIsRunning.value));
|
|
4994
|
-
const canDelete = computed(() => Boolean(selectedTask.value && !selectedIsRunning.value && !selectedTask.value.locked));
|
|
4995
|
-
const startLabel = computed(() => selectedTask.value?.summary?.startedAt ? "继续下载" : "开始下载");
|
|
4981
|
+
const tasks = vueExports.computed(() => workspace.files.value.filter((file) => file.kind === "uomtiles"));
|
|
4982
|
+
const selectedTask = vueExports.computed(() => workspace.selected.value?.kind === "uomtiles" ? workspace.selected.value : null);
|
|
4983
|
+
const selectedIsRunning = vueExports.computed(() => Boolean(selectedTask.value?.locked));
|
|
4984
|
+
const taskState = vueExports.computed(() => selectedIsRunning.value ? "running" : selectedTask.value?.summary?.state || "incomplete");
|
|
4985
|
+
const canStart = vueExports.computed(() => Boolean(selectedTask.value && taskState.value !== "completed" && !selectedIsRunning.value));
|
|
4986
|
+
const canDelete = vueExports.computed(() => Boolean(selectedTask.value && !selectedIsRunning.value && !selectedTask.value.locked));
|
|
4987
|
+
const startLabel = vueExports.computed(() => selectedTask.value?.summary?.startedAt ? "继续下载" : "开始下载");
|
|
4996
4988
|
const dateTime = new Intl.DateTimeFormat("zh-CN", {
|
|
4997
4989
|
month: "2-digit",
|
|
4998
4990
|
day: "2-digit",
|
|
4999
4991
|
hour: "2-digit",
|
|
5000
4992
|
minute: "2-digit"
|
|
5001
4993
|
});
|
|
5002
|
-
const now = ref(Date.now());
|
|
5003
|
-
const viewItems = computed(() => [{
|
|
4994
|
+
const now = vueExports.ref(Date.now());
|
|
4995
|
+
const viewItems = vueExports.computed(() => [{
|
|
5004
4996
|
label: "实时预览",
|
|
5005
4997
|
icon: "i-lucide-map",
|
|
5006
4998
|
value: "preview",
|
|
@@ -5011,21 +5003,23 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5011
5003
|
value: "details",
|
|
5012
5004
|
disabled: !selectedTask.value
|
|
5013
5005
|
}]);
|
|
5014
|
-
watch(() => route.path, (path) => {
|
|
5006
|
+
vueExports.watch(() => route.path, (path) => {
|
|
5015
5007
|
taskView.value = path === "/tasks/details" ? "details" : "preview";
|
|
5016
5008
|
});
|
|
5017
|
-
watch(taskView, (view) => {
|
|
5009
|
+
vueExports.watch(taskView, (view) => {
|
|
5018
5010
|
if (!selectedTask.value) return;
|
|
5019
5011
|
if (view === "details" && route.path !== "/tasks/details") navigateTo({ name: "tasks-details" });
|
|
5020
5012
|
if (view === "preview" && route.path !== "/tasks") navigateTo({ name: "tasks" });
|
|
5021
5013
|
});
|
|
5022
|
-
watch([
|
|
5014
|
+
vueExports.watch([
|
|
5023
5015
|
exportOpen,
|
|
5024
5016
|
() => exportState.format,
|
|
5025
5017
|
() => exportState.minZoom,
|
|
5026
5018
|
() => exportState.maxZoom
|
|
5027
5019
|
], () => scheduleExportEstimate());
|
|
5028
5020
|
async function start() {
|
|
5021
|
+
if (startPending.value) return;
|
|
5022
|
+
startPending.value = true;
|
|
5029
5023
|
try {
|
|
5030
5024
|
await workspace.start();
|
|
5031
5025
|
confirmStart.value = false;
|
|
@@ -5040,6 +5034,8 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5040
5034
|
description: error?.data?.message || error?.message,
|
|
5041
5035
|
color: "error"
|
|
5042
5036
|
});
|
|
5037
|
+
} finally {
|
|
5038
|
+
startPending.value = false;
|
|
5043
5039
|
}
|
|
5044
5040
|
}
|
|
5045
5041
|
function stateOf(task) {
|
|
@@ -5216,14 +5212,14 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5216
5212
|
return (_ctx, _push, _parent, _attrs) => {
|
|
5217
5213
|
const _component_UDashboardPanel = _sfc_main$7;
|
|
5218
5214
|
const _component_UDashboardNavbar = _sfc_main$6$1;
|
|
5219
|
-
const _component_UButton = _sfc_main$
|
|
5215
|
+
const _component_UButton = _sfc_main$3;
|
|
5220
5216
|
const _component_FileDropZone = FileDropZone_default;
|
|
5221
|
-
const _component_UScrollArea = _sfc_main$
|
|
5217
|
+
const _component_UScrollArea = _sfc_main$2;
|
|
5222
5218
|
const _component_UBadge = _sfc_main$4;
|
|
5223
5219
|
const _component_UProgress = _sfc_main$7$1;
|
|
5224
5220
|
const _component_UIcon = _sfc_main$5;
|
|
5225
|
-
const _component_UEmpty = _sfc_main$
|
|
5226
|
-
const _component_UTabs = _sfc_main$
|
|
5221
|
+
const _component_UEmpty = _sfc_main$6;
|
|
5222
|
+
const _component_UTabs = _sfc_main$1$1;
|
|
5227
5223
|
const _component_MapLayerControl = MapLayerControl_default;
|
|
5228
5224
|
const _component_NuxtPage = page_default;
|
|
5229
5225
|
const _component_UModal = _sfc_main$8;
|
|
@@ -5235,16 +5231,16 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5235
5231
|
const _component_USkeleton = _sfc_main$c;
|
|
5236
5232
|
const _component_UAlert = _sfc_main$d;
|
|
5237
5233
|
_push(`<!--[-->`);
|
|
5238
|
-
_push(
|
|
5234
|
+
_push(ssrRenderComponent_1(_component_UDashboardPanel, {
|
|
5239
5235
|
id: "download-tasks",
|
|
5240
5236
|
class: "h-svh min-w-0 overflow-hidden",
|
|
5241
5237
|
ui: { body: "gap-0 overflow-hidden p-0 sm:gap-0 sm:p-0" }
|
|
5242
5238
|
}, {
|
|
5243
|
-
header: withCtx((_, _push, _parent, _scopeId) => {
|
|
5244
|
-
if (_push) _push(
|
|
5245
|
-
right: withCtx((_, _push, _parent, _scopeId) => {
|
|
5239
|
+
header: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5240
|
+
if (_push) _push(ssrRenderComponent_1(_component_UDashboardNavbar, { title: "地图下载任务" }, {
|
|
5241
|
+
right: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5246
5242
|
if (_push) {
|
|
5247
|
-
_push(
|
|
5243
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5248
5244
|
icon: "i-lucide-plus",
|
|
5249
5245
|
label: "新建任务",
|
|
5250
5246
|
color: "neutral",
|
|
@@ -5252,29 +5248,29 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5252
5248
|
size: "sm",
|
|
5253
5249
|
onClick: openCreateTask
|
|
5254
5250
|
}, null, _parent, _scopeId));
|
|
5255
|
-
_push(
|
|
5251
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5256
5252
|
icon: "i-lucide-refresh-cw",
|
|
5257
5253
|
label: "刷新",
|
|
5258
5254
|
color: "neutral",
|
|
5259
5255
|
variant: "outline",
|
|
5260
5256
|
size: "sm",
|
|
5261
|
-
loading: unref(workspace).pending.value,
|
|
5262
|
-
onClick: unref(workspace).refresh
|
|
5257
|
+
loading: vueExports.unref(workspace).pending.value,
|
|
5258
|
+
onClick: vueExports.unref(workspace).refresh
|
|
5263
5259
|
}, null, _parent, _scopeId));
|
|
5264
|
-
if (unref(selectedTask)) _push(
|
|
5260
|
+
if (vueExports.unref(selectedTask)) _push(ssrRenderComponent_1(_component_UButton, {
|
|
5265
5261
|
icon: "i-lucide-trash-2",
|
|
5266
5262
|
label: "删除任务",
|
|
5267
5263
|
color: "error",
|
|
5268
5264
|
variant: "outline",
|
|
5269
5265
|
size: "sm",
|
|
5270
|
-
disabled: !unref(canDelete),
|
|
5266
|
+
disabled: !vueExports.unref(canDelete),
|
|
5271
5267
|
onClick: ($event) => confirmDeleteTask.value = true
|
|
5272
5268
|
}, null, _parent, _scopeId));
|
|
5273
5269
|
else _push(`<!---->`);
|
|
5274
|
-
if (unref(selectedTask) && unref(taskState) === "completed") {
|
|
5270
|
+
if (vueExports.unref(selectedTask) && vueExports.unref(taskState) === "completed") {
|
|
5275
5271
|
_push(`<!--[-->`);
|
|
5276
|
-
_push(
|
|
5277
|
-
to: `/api/workspace/${encodeURIComponent(unref(selectedTask).filename)}/download`,
|
|
5272
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5273
|
+
to: `/api/workspace/${encodeURIComponent(vueExports.unref(selectedTask).filename)}/download`,
|
|
5278
5274
|
target: "_blank",
|
|
5279
5275
|
icon: "i-lucide-download",
|
|
5280
5276
|
label: "UOMTiles",
|
|
@@ -5282,7 +5278,7 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5282
5278
|
variant: "outline",
|
|
5283
5279
|
size: "sm"
|
|
5284
5280
|
}, null, _parent, _scopeId));
|
|
5285
|
-
_push(
|
|
5281
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5286
5282
|
icon: "i-lucide-package-open",
|
|
5287
5283
|
label: "导出地图",
|
|
5288
5284
|
color: "neutral",
|
|
@@ -5292,24 +5288,24 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5292
5288
|
}, null, _parent, _scopeId));
|
|
5293
5289
|
_push(`<!--]-->`);
|
|
5294
5290
|
} else _push(`<!---->`);
|
|
5295
|
-
if (unref(selectedIsRunning)) _push(
|
|
5291
|
+
if (vueExports.unref(selectedIsRunning)) _push(ssrRenderComponent_1(_component_UButton, {
|
|
5296
5292
|
icon: "i-lucide-square",
|
|
5297
5293
|
label: "停止下载",
|
|
5298
5294
|
color: "warning",
|
|
5299
5295
|
variant: "outline",
|
|
5300
5296
|
size: "sm",
|
|
5301
|
-
onClick: ($event) => unref(workspace).stop(unref(selectedTask)?.filename)
|
|
5297
|
+
onClick: ($event) => vueExports.unref(workspace).stop(vueExports.unref(selectedTask)?.filename)
|
|
5302
5298
|
}, null, _parent, _scopeId));
|
|
5303
|
-
else if (unref(canStart)) _push(
|
|
5299
|
+
else if (vueExports.unref(canStart)) _push(ssrRenderComponent_1(_component_UButton, {
|
|
5304
5300
|
icon: "i-lucide-play",
|
|
5305
|
-
label: unref(startLabel),
|
|
5301
|
+
label: vueExports.unref(startLabel),
|
|
5306
5302
|
variant: "outline",
|
|
5307
5303
|
size: "sm",
|
|
5308
5304
|
onClick: ($event) => confirmStart.value = true
|
|
5309
5305
|
}, null, _parent, _scopeId));
|
|
5310
5306
|
else _push(`<!---->`);
|
|
5311
5307
|
} else return [
|
|
5312
|
-
createVNode(_component_UButton, {
|
|
5308
|
+
vueExports.createVNode(_component_UButton, {
|
|
5313
5309
|
icon: "i-lucide-plus",
|
|
5314
5310
|
label: "新建任务",
|
|
5315
5311
|
color: "neutral",
|
|
@@ -5317,64 +5313,64 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5317
5313
|
size: "sm",
|
|
5318
5314
|
onClick: openCreateTask
|
|
5319
5315
|
}),
|
|
5320
|
-
createVNode(_component_UButton, {
|
|
5316
|
+
vueExports.createVNode(_component_UButton, {
|
|
5321
5317
|
icon: "i-lucide-refresh-cw",
|
|
5322
5318
|
label: "刷新",
|
|
5323
5319
|
color: "neutral",
|
|
5324
5320
|
variant: "outline",
|
|
5325
5321
|
size: "sm",
|
|
5326
|
-
loading: unref(workspace).pending.value,
|
|
5327
|
-
onClick: unref(workspace).refresh
|
|
5322
|
+
loading: vueExports.unref(workspace).pending.value,
|
|
5323
|
+
onClick: vueExports.unref(workspace).refresh
|
|
5328
5324
|
}, null, 8, ["loading", "onClick"]),
|
|
5329
|
-
unref(selectedTask) ? (openBlock(), createBlock(_component_UButton, {
|
|
5325
|
+
vueExports.unref(selectedTask) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5330
5326
|
key: 0,
|
|
5331
5327
|
icon: "i-lucide-trash-2",
|
|
5332
5328
|
label: "删除任务",
|
|
5333
5329
|
color: "error",
|
|
5334
5330
|
variant: "outline",
|
|
5335
5331
|
size: "sm",
|
|
5336
|
-
disabled: !unref(canDelete),
|
|
5332
|
+
disabled: !vueExports.unref(canDelete),
|
|
5337
5333
|
onClick: ($event) => confirmDeleteTask.value = true
|
|
5338
|
-
}, null, 8, ["disabled", "onClick"])) : createCommentVNode("", true),
|
|
5339
|
-
unref(selectedTask) && unref(taskState) === "completed" ? (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode(_component_UButton, {
|
|
5340
|
-
to: `/api/workspace/${encodeURIComponent(unref(selectedTask).filename)}/download`,
|
|
5334
|
+
}, null, 8, ["disabled", "onClick"])) : vueExports.createCommentVNode("", true),
|
|
5335
|
+
vueExports.unref(selectedTask) && vueExports.unref(taskState) === "completed" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [vueExports.createVNode(_component_UButton, {
|
|
5336
|
+
to: `/api/workspace/${encodeURIComponent(vueExports.unref(selectedTask).filename)}/download`,
|
|
5341
5337
|
target: "_blank",
|
|
5342
5338
|
icon: "i-lucide-download",
|
|
5343
5339
|
label: "UOMTiles",
|
|
5344
5340
|
color: "neutral",
|
|
5345
5341
|
variant: "outline",
|
|
5346
5342
|
size: "sm"
|
|
5347
|
-
}, null, 8, ["to"]), createVNode(_component_UButton, {
|
|
5343
|
+
}, null, 8, ["to"]), vueExports.createVNode(_component_UButton, {
|
|
5348
5344
|
icon: "i-lucide-package-open",
|
|
5349
5345
|
label: "导出地图",
|
|
5350
5346
|
color: "neutral",
|
|
5351
5347
|
variant: "outline",
|
|
5352
5348
|
size: "sm",
|
|
5353
5349
|
onClick: openExport
|
|
5354
|
-
})], 64)) : createCommentVNode("", true),
|
|
5355
|
-
unref(selectedIsRunning) ? (openBlock(), createBlock(_component_UButton, {
|
|
5350
|
+
})], 64)) : vueExports.createCommentVNode("", true),
|
|
5351
|
+
vueExports.unref(selectedIsRunning) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5356
5352
|
key: 2,
|
|
5357
5353
|
icon: "i-lucide-square",
|
|
5358
5354
|
label: "停止下载",
|
|
5359
5355
|
color: "warning",
|
|
5360
5356
|
variant: "outline",
|
|
5361
5357
|
size: "sm",
|
|
5362
|
-
onClick: ($event) => unref(workspace).stop(unref(selectedTask)?.filename)
|
|
5363
|
-
}, null, 8, ["onClick"])) : unref(canStart) ? (openBlock(), createBlock(_component_UButton, {
|
|
5358
|
+
onClick: ($event) => vueExports.unref(workspace).stop(vueExports.unref(selectedTask)?.filename)
|
|
5359
|
+
}, null, 8, ["onClick"])) : vueExports.unref(canStart) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5364
5360
|
key: 3,
|
|
5365
5361
|
icon: "i-lucide-play",
|
|
5366
|
-
label: unref(startLabel),
|
|
5362
|
+
label: vueExports.unref(startLabel),
|
|
5367
5363
|
variant: "outline",
|
|
5368
5364
|
size: "sm",
|
|
5369
5365
|
onClick: ($event) => confirmStart.value = true
|
|
5370
|
-
}, null, 8, ["label", "onClick"])) : createCommentVNode("", true)
|
|
5366
|
+
}, null, 8, ["label", "onClick"])) : vueExports.createCommentVNode("", true)
|
|
5371
5367
|
];
|
|
5372
5368
|
}),
|
|
5373
5369
|
_: 1
|
|
5374
5370
|
}, _parent, _scopeId));
|
|
5375
|
-
else return [createVNode(_component_UDashboardNavbar, { title: "地图下载任务" }, {
|
|
5376
|
-
right: withCtx(() => [
|
|
5377
|
-
createVNode(_component_UButton, {
|
|
5371
|
+
else return [vueExports.createVNode(_component_UDashboardNavbar, { title: "地图下载任务" }, {
|
|
5372
|
+
right: vueExports.withCtx(() => [
|
|
5373
|
+
vueExports.createVNode(_component_UButton, {
|
|
5378
5374
|
icon: "i-lucide-plus",
|
|
5379
5375
|
label: "新建任务",
|
|
5380
5376
|
color: "neutral",
|
|
@@ -5382,90 +5378,90 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5382
5378
|
size: "sm",
|
|
5383
5379
|
onClick: openCreateTask
|
|
5384
5380
|
}),
|
|
5385
|
-
createVNode(_component_UButton, {
|
|
5381
|
+
vueExports.createVNode(_component_UButton, {
|
|
5386
5382
|
icon: "i-lucide-refresh-cw",
|
|
5387
5383
|
label: "刷新",
|
|
5388
5384
|
color: "neutral",
|
|
5389
5385
|
variant: "outline",
|
|
5390
5386
|
size: "sm",
|
|
5391
|
-
loading: unref(workspace).pending.value,
|
|
5392
|
-
onClick: unref(workspace).refresh
|
|
5387
|
+
loading: vueExports.unref(workspace).pending.value,
|
|
5388
|
+
onClick: vueExports.unref(workspace).refresh
|
|
5393
5389
|
}, null, 8, ["loading", "onClick"]),
|
|
5394
|
-
unref(selectedTask) ? (openBlock(), createBlock(_component_UButton, {
|
|
5390
|
+
vueExports.unref(selectedTask) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5395
5391
|
key: 0,
|
|
5396
5392
|
icon: "i-lucide-trash-2",
|
|
5397
5393
|
label: "删除任务",
|
|
5398
5394
|
color: "error",
|
|
5399
5395
|
variant: "outline",
|
|
5400
5396
|
size: "sm",
|
|
5401
|
-
disabled: !unref(canDelete),
|
|
5397
|
+
disabled: !vueExports.unref(canDelete),
|
|
5402
5398
|
onClick: ($event) => confirmDeleteTask.value = true
|
|
5403
|
-
}, null, 8, ["disabled", "onClick"])) : createCommentVNode("", true),
|
|
5404
|
-
unref(selectedTask) && unref(taskState) === "completed" ? (openBlock(), createBlock(Fragment, { key: 1 }, [createVNode(_component_UButton, {
|
|
5405
|
-
to: `/api/workspace/${encodeURIComponent(unref(selectedTask).filename)}/download`,
|
|
5399
|
+
}, null, 8, ["disabled", "onClick"])) : vueExports.createCommentVNode("", true),
|
|
5400
|
+
vueExports.unref(selectedTask) && vueExports.unref(taskState) === "completed" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [vueExports.createVNode(_component_UButton, {
|
|
5401
|
+
to: `/api/workspace/${encodeURIComponent(vueExports.unref(selectedTask).filename)}/download`,
|
|
5406
5402
|
target: "_blank",
|
|
5407
5403
|
icon: "i-lucide-download",
|
|
5408
5404
|
label: "UOMTiles",
|
|
5409
5405
|
color: "neutral",
|
|
5410
5406
|
variant: "outline",
|
|
5411
5407
|
size: "sm"
|
|
5412
|
-
}, null, 8, ["to"]), createVNode(_component_UButton, {
|
|
5408
|
+
}, null, 8, ["to"]), vueExports.createVNode(_component_UButton, {
|
|
5413
5409
|
icon: "i-lucide-package-open",
|
|
5414
5410
|
label: "导出地图",
|
|
5415
5411
|
color: "neutral",
|
|
5416
5412
|
variant: "outline",
|
|
5417
5413
|
size: "sm",
|
|
5418
5414
|
onClick: openExport
|
|
5419
|
-
})], 64)) : createCommentVNode("", true),
|
|
5420
|
-
unref(selectedIsRunning) ? (openBlock(), createBlock(_component_UButton, {
|
|
5415
|
+
})], 64)) : vueExports.createCommentVNode("", true),
|
|
5416
|
+
vueExports.unref(selectedIsRunning) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5421
5417
|
key: 2,
|
|
5422
5418
|
icon: "i-lucide-square",
|
|
5423
5419
|
label: "停止下载",
|
|
5424
5420
|
color: "warning",
|
|
5425
5421
|
variant: "outline",
|
|
5426
5422
|
size: "sm",
|
|
5427
|
-
onClick: ($event) => unref(workspace).stop(unref(selectedTask)?.filename)
|
|
5428
|
-
}, null, 8, ["onClick"])) : unref(canStart) ? (openBlock(), createBlock(_component_UButton, {
|
|
5423
|
+
onClick: ($event) => vueExports.unref(workspace).stop(vueExports.unref(selectedTask)?.filename)
|
|
5424
|
+
}, null, 8, ["onClick"])) : vueExports.unref(canStart) ? (vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5429
5425
|
key: 3,
|
|
5430
5426
|
icon: "i-lucide-play",
|
|
5431
|
-
label: unref(startLabel),
|
|
5427
|
+
label: vueExports.unref(startLabel),
|
|
5432
5428
|
variant: "outline",
|
|
5433
5429
|
size: "sm",
|
|
5434
5430
|
onClick: ($event) => confirmStart.value = true
|
|
5435
|
-
}, null, 8, ["label", "onClick"])) : createCommentVNode("", true)
|
|
5431
|
+
}, null, 8, ["label", "onClick"])) : vueExports.createCommentVNode("", true)
|
|
5436
5432
|
]),
|
|
5437
5433
|
_: 1
|
|
5438
5434
|
})];
|
|
5439
5435
|
}),
|
|
5440
|
-
body: withCtx((_, _push, _parent, _scopeId) => {
|
|
5436
|
+
body: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5441
5437
|
if (_push) {
|
|
5442
5438
|
_push(`<div class="grid min-h-0 flex-1 lg:grid-cols-[20rem_minmax(0,1fr)]"${_scopeId}><aside class="flex max-h-[24rem] min-h-0 flex-col overflow-hidden border-b border-default lg:max-h-none lg:border-r lg:border-b-0"${_scopeId}><div class="border-b border-default p-3"${_scopeId}>`);
|
|
5443
|
-
_push(
|
|
5439
|
+
_push(ssrRenderComponent_1(_component_FileDropZone, {
|
|
5444
5440
|
accept: ".uomtiles",
|
|
5445
5441
|
title: "导入任务",
|
|
5446
|
-
pending: unref(workspace).pending.value,
|
|
5442
|
+
pending: vueExports.unref(workspace).pending.value,
|
|
5447
5443
|
onSelect: openTask
|
|
5448
5444
|
}, null, _parent, _scopeId));
|
|
5449
|
-
_push(`</div><div class="flex items-center justify-between gap-2 border-b border-default px-4 py-3"${_scopeId}><div class="flex items-center gap-2"${_scopeId}><h2 class="text-sm font-semibold"${_scopeId}>任务列表</h2><span class="uom-mono text-xs text-muted"${_scopeId}>${
|
|
5450
|
-
if (unref(workspace).ready.value && unref(tasks).length) _push(
|
|
5451
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5445
|
+
_push(`</div><div class="flex items-center justify-between gap-2 border-b border-default px-4 py-3"${_scopeId}><div class="flex items-center gap-2"${_scopeId}><h2 class="text-sm font-semibold"${_scopeId}>任务列表</h2><span class="uom-mono text-xs text-muted"${_scopeId}>${ssrInterpolate_1(vueExports.unref(tasks).length)}</span></div></div>`);
|
|
5446
|
+
if (vueExports.unref(workspace).ready.value && vueExports.unref(tasks).length) _push(ssrRenderComponent_1(_component_UScrollArea, { class: "min-h-0 flex-1" }, {
|
|
5447
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5452
5448
|
if (_push) {
|
|
5453
5449
|
_push(`<div class="space-y-1 p-1"${_scopeId}><!--[-->`);
|
|
5454
|
-
|
|
5455
|
-
_push(
|
|
5450
|
+
ssrRenderList_1(vueExports.unref(tasks), (task) => {
|
|
5451
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5456
5452
|
key: task.filename,
|
|
5457
5453
|
type: "button",
|
|
5458
5454
|
block: "",
|
|
5459
5455
|
color: taskColor(task),
|
|
5460
5456
|
variant: taskVariant(task),
|
|
5461
5457
|
class: "h-auto min-h-16 w-full items-start justify-start px-3 py-3 text-left",
|
|
5462
|
-
"aria-pressed": unref(selectedTask)?.filename === task.filename,
|
|
5463
|
-
onClick: ($event) => unref(workspace).selectTask(task.filename)
|
|
5458
|
+
"aria-pressed": vueExports.unref(selectedTask)?.filename === task.filename,
|
|
5459
|
+
onClick: ($event) => vueExports.unref(workspace).selectTask(task.filename)
|
|
5464
5460
|
}, {
|
|
5465
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5461
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5466
5462
|
if (_push) {
|
|
5467
|
-
_push(`<div class="w-full min-w-0"${_scopeId}><div class="flex items-center gap-2"${_scopeId}><span class="min-w-0 flex-1 truncate text-sm font-medium"${_scopeId}>${
|
|
5468
|
-
_push(
|
|
5463
|
+
_push(`<div class="w-full min-w-0"${_scopeId}><div class="flex items-center gap-2"${_scopeId}><span class="min-w-0 flex-1 truncate text-sm font-medium"${_scopeId}>${ssrInterpolate_1(displayName(task.filename))}</span>`);
|
|
5464
|
+
_push(ssrRenderComponent_1(_component_UBadge, {
|
|
5469
5465
|
label: stateLabel(stateOf(task)),
|
|
5470
5466
|
color: stateColor(stateOf(task)),
|
|
5471
5467
|
variant: "subtle",
|
|
@@ -5473,85 +5469,85 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5473
5469
|
}, null, _parent, _scopeId));
|
|
5474
5470
|
_push(`</div>`);
|
|
5475
5471
|
if (stateOf(task) === "running") {
|
|
5476
|
-
_push(`<div class="mt-2 space-y-1.5"${_scopeId}><div class="flex items-center justify-between gap-2 text-[11px] text-muted"${_scopeId}><span${_scopeId}>${
|
|
5477
|
-
_push(
|
|
5472
|
+
_push(`<div class="mt-2 space-y-1.5"${_scopeId}><div class="flex items-center justify-between gap-2 text-[11px] text-muted"${_scopeId}><span${_scopeId}>${ssrInterpolate_1(progressFor(task).completed)} / ${ssrInterpolate_1(progressFor(task).total || 6030)} 个网格</span><span class="uom-mono"${_scopeId}>${ssrInterpolate_1(Math.floor(progressFor(task).percent))}%</span></div>`);
|
|
5473
|
+
_push(ssrRenderComponent_1(_component_UProgress, {
|
|
5478
5474
|
"model-value": progressFor(task).percent,
|
|
5479
5475
|
max: 100,
|
|
5480
5476
|
size: "sm",
|
|
5481
5477
|
color: "info"
|
|
5482
5478
|
}, null, _parent, _scopeId));
|
|
5483
|
-
_push(`<div class="flex items-center justify-between gap-2 text-[11px] text-muted"${_scopeId}><span${_scopeId}>正在下载</span><span class="uom-mono"${_scopeId}>${
|
|
5479
|
+
_push(`<div class="flex items-center justify-between gap-2 text-[11px] text-muted"${_scopeId}><span${_scopeId}>正在下载</span><span class="uom-mono"${_scopeId}>${ssrInterpolate_1(etaFor(task))}</span></div></div>`);
|
|
5484
5480
|
} else {
|
|
5485
|
-
_push(`<div class="mt-1.5 flex items-center justify-between gap-3 text-xs text-muted"${_scopeId}><span${_scopeId}>${
|
|
5486
|
-
if (task.summary?.roots.completed) _push(`<span class="uom-mono"${_scopeId}>${
|
|
5481
|
+
_push(`<div class="mt-1.5 flex items-center justify-between gap-3 text-xs text-muted"${_scopeId}><span${_scopeId}>${ssrInterpolate_1(vueExports.unref(dateTime).format(new Date(task.modifiedAt)))}</span>`);
|
|
5482
|
+
if (task.summary?.roots.completed) _push(`<span class="uom-mono"${_scopeId}>${ssrInterpolate_1(task.summary.roots.completed)} / 6030</span>`);
|
|
5487
5483
|
else _push(`<!---->`);
|
|
5488
5484
|
_push(`</div>`);
|
|
5489
5485
|
}
|
|
5490
5486
|
_push(`</div>`);
|
|
5491
|
-
} else return [createVNode("div", { class: "w-full min-w-0" }, [createVNode("div", { class: "flex items-center gap-2" }, [createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, toDisplayString(displayName(task.filename)), 1), createVNode(_component_UBadge, {
|
|
5487
|
+
} else return [vueExports.createVNode("div", { class: "w-full min-w-0" }, [vueExports.createVNode("div", { class: "flex items-center gap-2" }, [vueExports.createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, vueExports.toDisplayString(displayName(task.filename)), 1), vueExports.createVNode(_component_UBadge, {
|
|
5492
5488
|
label: stateLabel(stateOf(task)),
|
|
5493
5489
|
color: stateColor(stateOf(task)),
|
|
5494
5490
|
variant: "subtle",
|
|
5495
5491
|
size: "xs"
|
|
5496
|
-
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (openBlock(), createBlock("div", {
|
|
5492
|
+
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5497
5493
|
key: 0,
|
|
5498
5494
|
class: "mt-2 space-y-1.5"
|
|
5499
5495
|
}, [
|
|
5500
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, toDisplayString(progressFor(task).completed) + " / " + toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), createVNode("span", { class: "uom-mono" }, toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5501
|
-
createVNode(_component_UProgress, {
|
|
5496
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, vueExports.toDisplayString(progressFor(task).completed) + " / " + vueExports.toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5497
|
+
vueExports.createVNode(_component_UProgress, {
|
|
5502
5498
|
"model-value": progressFor(task).percent,
|
|
5503
5499
|
max: 100,
|
|
5504
5500
|
size: "sm",
|
|
5505
5501
|
color: "info"
|
|
5506
5502
|
}, null, 8, ["model-value"]),
|
|
5507
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, "正在下载"), createVNode("span", { class: "uom-mono" }, toDisplayString(etaFor(task)), 1)])
|
|
5508
|
-
])) : (openBlock(), createBlock("div", {
|
|
5503
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, "正在下载"), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(etaFor(task)), 1)])
|
|
5504
|
+
])) : (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5509
5505
|
key: 1,
|
|
5510
5506
|
class: "mt-1.5 flex items-center justify-between gap-3 text-xs text-muted"
|
|
5511
|
-
}, [createVNode("span", null, toDisplayString(unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (openBlock(), createBlock("span", {
|
|
5507
|
+
}, [vueExports.createVNode("span", null, vueExports.toDisplayString(vueExports.unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
5512
5508
|
key: 0,
|
|
5513
5509
|
class: "uom-mono"
|
|
5514
|
-
}, toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : createCommentVNode("", true)]))])];
|
|
5510
|
+
}, vueExports.toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : vueExports.createCommentVNode("", true)]))])];
|
|
5515
5511
|
}),
|
|
5516
5512
|
_: 2
|
|
5517
5513
|
}, _parent, _scopeId));
|
|
5518
5514
|
});
|
|
5519
5515
|
_push(`<!--]--></div>`);
|
|
5520
|
-
} else return [createVNode("div", { class: "space-y-1 p-1" }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(tasks), (task) => {
|
|
5521
|
-
return openBlock(), createBlock(_component_UButton, {
|
|
5516
|
+
} else return [vueExports.createVNode("div", { class: "space-y-1 p-1" }, [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(vueExports.unref(tasks), (task) => {
|
|
5517
|
+
return vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5522
5518
|
key: task.filename,
|
|
5523
5519
|
type: "button",
|
|
5524
5520
|
block: "",
|
|
5525
5521
|
color: taskColor(task),
|
|
5526
5522
|
variant: taskVariant(task),
|
|
5527
5523
|
class: "h-auto min-h-16 w-full items-start justify-start px-3 py-3 text-left",
|
|
5528
|
-
"aria-pressed": unref(selectedTask)?.filename === task.filename,
|
|
5529
|
-
onClick: ($event) => unref(workspace).selectTask(task.filename)
|
|
5524
|
+
"aria-pressed": vueExports.unref(selectedTask)?.filename === task.filename,
|
|
5525
|
+
onClick: ($event) => vueExports.unref(workspace).selectTask(task.filename)
|
|
5530
5526
|
}, {
|
|
5531
|
-
default: withCtx(() => [createVNode("div", { class: "w-full min-w-0" }, [createVNode("div", { class: "flex items-center gap-2" }, [createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, toDisplayString(displayName(task.filename)), 1), createVNode(_component_UBadge, {
|
|
5527
|
+
default: vueExports.withCtx(() => [vueExports.createVNode("div", { class: "w-full min-w-0" }, [vueExports.createVNode("div", { class: "flex items-center gap-2" }, [vueExports.createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, vueExports.toDisplayString(displayName(task.filename)), 1), vueExports.createVNode(_component_UBadge, {
|
|
5532
5528
|
label: stateLabel(stateOf(task)),
|
|
5533
5529
|
color: stateColor(stateOf(task)),
|
|
5534
5530
|
variant: "subtle",
|
|
5535
5531
|
size: "xs"
|
|
5536
|
-
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (openBlock(), createBlock("div", {
|
|
5532
|
+
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5537
5533
|
key: 0,
|
|
5538
5534
|
class: "mt-2 space-y-1.5"
|
|
5539
5535
|
}, [
|
|
5540
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, toDisplayString(progressFor(task).completed) + " / " + toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), createVNode("span", { class: "uom-mono" }, toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5541
|
-
createVNode(_component_UProgress, {
|
|
5536
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, vueExports.toDisplayString(progressFor(task).completed) + " / " + vueExports.toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5537
|
+
vueExports.createVNode(_component_UProgress, {
|
|
5542
5538
|
"model-value": progressFor(task).percent,
|
|
5543
5539
|
max: 100,
|
|
5544
5540
|
size: "sm",
|
|
5545
5541
|
color: "info"
|
|
5546
5542
|
}, null, 8, ["model-value"]),
|
|
5547
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, "正在下载"), createVNode("span", { class: "uom-mono" }, toDisplayString(etaFor(task)), 1)])
|
|
5548
|
-
])) : (openBlock(), createBlock("div", {
|
|
5543
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, "正在下载"), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(etaFor(task)), 1)])
|
|
5544
|
+
])) : (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5549
5545
|
key: 1,
|
|
5550
5546
|
class: "mt-1.5 flex items-center justify-between gap-3 text-xs text-muted"
|
|
5551
|
-
}, [createVNode("span", null, toDisplayString(unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (openBlock(), createBlock("span", {
|
|
5547
|
+
}, [vueExports.createVNode("span", null, vueExports.toDisplayString(vueExports.unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
5552
5548
|
key: 0,
|
|
5553
5549
|
class: "uom-mono"
|
|
5554
|
-
}, toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : createCommentVNode("", true)]))])]),
|
|
5550
|
+
}, vueExports.toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : vueExports.createCommentVNode("", true)]))])]),
|
|
5555
5551
|
_: 2
|
|
5556
5552
|
}, 1032, [
|
|
5557
5553
|
"color",
|
|
@@ -5563,80 +5559,80 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5563
5559
|
}),
|
|
5564
5560
|
_: 1
|
|
5565
5561
|
}, _parent, _scopeId));
|
|
5566
|
-
else if (!unref(workspace).ready.value) {
|
|
5562
|
+
else if (!vueExports.unref(workspace).ready.value) {
|
|
5567
5563
|
_push(`<div class="flex min-h-48 flex-1 flex-col items-center justify-center gap-3 px-4 text-sm text-muted"${_scopeId}>`);
|
|
5568
|
-
_push(
|
|
5564
|
+
_push(ssrRenderComponent_1(_component_UIcon, {
|
|
5569
5565
|
name: "i-lucide-loader-circle",
|
|
5570
5566
|
class: "size-5 animate-spin text-primary"
|
|
5571
5567
|
}, null, _parent, _scopeId));
|
|
5572
5568
|
_push(`<span${_scopeId}>加载任务</span></div>`);
|
|
5573
5569
|
} else {
|
|
5574
5570
|
_push(`<div class="flex min-h-48 flex-1 items-center justify-center px-4 py-8"${_scopeId}>`);
|
|
5575
|
-
_push(
|
|
5571
|
+
_push(ssrRenderComponent_1(_component_UEmpty, {
|
|
5576
5572
|
icon: "i-lucide-files",
|
|
5577
5573
|
title: "暂无任务"
|
|
5578
5574
|
}, null, _parent, _scopeId));
|
|
5579
5575
|
_push(`</div>`);
|
|
5580
5576
|
}
|
|
5581
5577
|
_push(`</aside><div class="flex min-h-0 flex-col"${_scopeId}><div class="flex min-h-12 flex-wrap items-center justify-between gap-2 border-b border-default px-4 py-1.5"${_scopeId}>`);
|
|
5582
|
-
_push(
|
|
5583
|
-
modelValue: unref(taskView),
|
|
5584
|
-
"onUpdate:modelValue": ($event) => isRef(taskView) ? taskView.value = $event : null,
|
|
5585
|
-
items: unref(viewItems),
|
|
5578
|
+
_push(ssrRenderComponent_1(_component_UTabs, {
|
|
5579
|
+
modelValue: vueExports.unref(taskView),
|
|
5580
|
+
"onUpdate:modelValue": ($event) => vueExports.isRef(taskView) ? taskView.value = $event : null,
|
|
5581
|
+
items: vueExports.unref(viewItems),
|
|
5586
5582
|
content: false,
|
|
5587
5583
|
size: "sm"
|
|
5588
5584
|
}, null, _parent, _scopeId));
|
|
5589
|
-
_push(
|
|
5585
|
+
_push(ssrRenderComponent_1(_component_MapLayerControl, null, null, _parent, _scopeId));
|
|
5590
5586
|
_push(`</div><div class="min-h-0 flex-1"${_scopeId}>`);
|
|
5591
|
-
_push(
|
|
5587
|
+
_push(ssrRenderComponent_1(_component_NuxtPage, null, null, _parent, _scopeId));
|
|
5592
5588
|
_push(`</div></div></div>`);
|
|
5593
|
-
} else return [createVNode("div", { class: "grid min-h-0 flex-1 lg:grid-cols-[20rem_minmax(0,1fr)]" }, [createVNode("aside", { class: "flex max-h-[24rem] min-h-0 flex-col overflow-hidden border-b border-default lg:max-h-none lg:border-r lg:border-b-0" }, [
|
|
5594
|
-
createVNode("div", { class: "border-b border-default p-3" }, [createVNode(_component_FileDropZone, {
|
|
5589
|
+
} else return [vueExports.createVNode("div", { class: "grid min-h-0 flex-1 lg:grid-cols-[20rem_minmax(0,1fr)]" }, [vueExports.createVNode("aside", { class: "flex max-h-[24rem] min-h-0 flex-col overflow-hidden border-b border-default lg:max-h-none lg:border-r lg:border-b-0" }, [
|
|
5590
|
+
vueExports.createVNode("div", { class: "border-b border-default p-3" }, [vueExports.createVNode(_component_FileDropZone, {
|
|
5595
5591
|
accept: ".uomtiles",
|
|
5596
5592
|
title: "导入任务",
|
|
5597
|
-
pending: unref(workspace).pending.value,
|
|
5593
|
+
pending: vueExports.unref(workspace).pending.value,
|
|
5598
5594
|
onSelect: openTask
|
|
5599
5595
|
}, null, 8, ["pending"])]),
|
|
5600
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 border-b border-default px-4 py-3" }, [createVNode("div", { class: "flex items-center gap-2" }, [createVNode("h2", { class: "text-sm font-semibold" }, "任务列表"), createVNode("span", { class: "uom-mono text-xs text-muted" }, toDisplayString(unref(tasks).length), 1)])]),
|
|
5601
|
-
unref(workspace).ready.value && unref(tasks).length ? (openBlock(), createBlock(_component_UScrollArea, {
|
|
5596
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 border-b border-default px-4 py-3" }, [vueExports.createVNode("div", { class: "flex items-center gap-2" }, [vueExports.createVNode("h2", { class: "text-sm font-semibold" }, "任务列表"), vueExports.createVNode("span", { class: "uom-mono text-xs text-muted" }, vueExports.toDisplayString(vueExports.unref(tasks).length), 1)])]),
|
|
5597
|
+
vueExports.unref(workspace).ready.value && vueExports.unref(tasks).length ? (vueExports.openBlock(), vueExports.createBlock(_component_UScrollArea, {
|
|
5602
5598
|
key: 0,
|
|
5603
5599
|
class: "min-h-0 flex-1"
|
|
5604
5600
|
}, {
|
|
5605
|
-
default: withCtx(() => [createVNode("div", { class: "space-y-1 p-1" }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(tasks), (task) => {
|
|
5606
|
-
return openBlock(), createBlock(_component_UButton, {
|
|
5601
|
+
default: vueExports.withCtx(() => [vueExports.createVNode("div", { class: "space-y-1 p-1" }, [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(vueExports.unref(tasks), (task) => {
|
|
5602
|
+
return vueExports.openBlock(), vueExports.createBlock(_component_UButton, {
|
|
5607
5603
|
key: task.filename,
|
|
5608
5604
|
type: "button",
|
|
5609
5605
|
block: "",
|
|
5610
5606
|
color: taskColor(task),
|
|
5611
5607
|
variant: taskVariant(task),
|
|
5612
5608
|
class: "h-auto min-h-16 w-full items-start justify-start px-3 py-3 text-left",
|
|
5613
|
-
"aria-pressed": unref(selectedTask)?.filename === task.filename,
|
|
5614
|
-
onClick: ($event) => unref(workspace).selectTask(task.filename)
|
|
5609
|
+
"aria-pressed": vueExports.unref(selectedTask)?.filename === task.filename,
|
|
5610
|
+
onClick: ($event) => vueExports.unref(workspace).selectTask(task.filename)
|
|
5615
5611
|
}, {
|
|
5616
|
-
default: withCtx(() => [createVNode("div", { class: "w-full min-w-0" }, [createVNode("div", { class: "flex items-center gap-2" }, [createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, toDisplayString(displayName(task.filename)), 1), createVNode(_component_UBadge, {
|
|
5612
|
+
default: vueExports.withCtx(() => [vueExports.createVNode("div", { class: "w-full min-w-0" }, [vueExports.createVNode("div", { class: "flex items-center gap-2" }, [vueExports.createVNode("span", { class: "min-w-0 flex-1 truncate text-sm font-medium" }, vueExports.toDisplayString(displayName(task.filename)), 1), vueExports.createVNode(_component_UBadge, {
|
|
5617
5613
|
label: stateLabel(stateOf(task)),
|
|
5618
5614
|
color: stateColor(stateOf(task)),
|
|
5619
5615
|
variant: "subtle",
|
|
5620
5616
|
size: "xs"
|
|
5621
|
-
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (openBlock(), createBlock("div", {
|
|
5617
|
+
}, null, 8, ["label", "color"])]), stateOf(task) === "running" ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5622
5618
|
key: 0,
|
|
5623
5619
|
class: "mt-2 space-y-1.5"
|
|
5624
5620
|
}, [
|
|
5625
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, toDisplayString(progressFor(task).completed) + " / " + toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), createVNode("span", { class: "uom-mono" }, toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5626
|
-
createVNode(_component_UProgress, {
|
|
5621
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, vueExports.toDisplayString(progressFor(task).completed) + " / " + vueExports.toDisplayString(progressFor(task).total || 6030) + " 个网格", 1), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(Math.floor(progressFor(task).percent)) + "%", 1)]),
|
|
5622
|
+
vueExports.createVNode(_component_UProgress, {
|
|
5627
5623
|
"model-value": progressFor(task).percent,
|
|
5628
5624
|
max: 100,
|
|
5629
5625
|
size: "sm",
|
|
5630
5626
|
color: "info"
|
|
5631
5627
|
}, null, 8, ["model-value"]),
|
|
5632
|
-
createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [createVNode("span", null, "正在下载"), createVNode("span", { class: "uom-mono" }, toDisplayString(etaFor(task)), 1)])
|
|
5633
|
-
])) : (openBlock(), createBlock("div", {
|
|
5628
|
+
vueExports.createVNode("div", { class: "flex items-center justify-between gap-2 text-[11px] text-muted" }, [vueExports.createVNode("span", null, "正在下载"), vueExports.createVNode("span", { class: "uom-mono" }, vueExports.toDisplayString(etaFor(task)), 1)])
|
|
5629
|
+
])) : (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5634
5630
|
key: 1,
|
|
5635
5631
|
class: "mt-1.5 flex items-center justify-between gap-3 text-xs text-muted"
|
|
5636
|
-
}, [createVNode("span", null, toDisplayString(unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (openBlock(), createBlock("span", {
|
|
5632
|
+
}, [vueExports.createVNode("span", null, vueExports.toDisplayString(vueExports.unref(dateTime).format(new Date(task.modifiedAt))), 1), task.summary?.roots.completed ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
5637
5633
|
key: 0,
|
|
5638
5634
|
class: "uom-mono"
|
|
5639
|
-
}, toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : createCommentVNode("", true)]))])]),
|
|
5635
|
+
}, vueExports.toDisplayString(task.summary.roots.completed) + " / 6030", 1)) : vueExports.createCommentVNode("", true)]))])]),
|
|
5640
5636
|
_: 2
|
|
5641
5637
|
}, 1032, [
|
|
5642
5638
|
"color",
|
|
@@ -5646,91 +5642,91 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5646
5642
|
]);
|
|
5647
5643
|
}), 128))])]),
|
|
5648
5644
|
_: 1
|
|
5649
|
-
})) : !unref(workspace).ready.value ? (openBlock(), createBlock("div", {
|
|
5645
|
+
})) : !vueExports.unref(workspace).ready.value ? (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5650
5646
|
key: 1,
|
|
5651
5647
|
class: "flex min-h-48 flex-1 flex-col items-center justify-center gap-3 px-4 text-sm text-muted"
|
|
5652
|
-
}, [createVNode(_component_UIcon, {
|
|
5648
|
+
}, [vueExports.createVNode(_component_UIcon, {
|
|
5653
5649
|
name: "i-lucide-loader-circle",
|
|
5654
5650
|
class: "size-5 animate-spin text-primary"
|
|
5655
|
-
}), createVNode("span", null, "加载任务")])) : (openBlock(), createBlock("div", {
|
|
5651
|
+
}), vueExports.createVNode("span", null, "加载任务")])) : (vueExports.openBlock(), vueExports.createBlock("div", {
|
|
5656
5652
|
key: 2,
|
|
5657
5653
|
class: "flex min-h-48 flex-1 items-center justify-center px-4 py-8"
|
|
5658
|
-
}, [createVNode(_component_UEmpty, {
|
|
5654
|
+
}, [vueExports.createVNode(_component_UEmpty, {
|
|
5659
5655
|
icon: "i-lucide-files",
|
|
5660
5656
|
title: "暂无任务"
|
|
5661
5657
|
})]))
|
|
5662
|
-
]), createVNode("div", { class: "flex min-h-0 flex-col" }, [createVNode("div", { class: "flex min-h-12 flex-wrap items-center justify-between gap-2 border-b border-default px-4 py-1.5" }, [createVNode(_component_UTabs, {
|
|
5663
|
-
modelValue: unref(taskView),
|
|
5664
|
-
"onUpdate:modelValue": ($event) => isRef(taskView) ? taskView.value = $event : null,
|
|
5665
|
-
items: unref(viewItems),
|
|
5658
|
+
]), vueExports.createVNode("div", { class: "flex min-h-0 flex-col" }, [vueExports.createVNode("div", { class: "flex min-h-12 flex-wrap items-center justify-between gap-2 border-b border-default px-4 py-1.5" }, [vueExports.createVNode(_component_UTabs, {
|
|
5659
|
+
modelValue: vueExports.unref(taskView),
|
|
5660
|
+
"onUpdate:modelValue": ($event) => vueExports.isRef(taskView) ? taskView.value = $event : null,
|
|
5661
|
+
items: vueExports.unref(viewItems),
|
|
5666
5662
|
content: false,
|
|
5667
5663
|
size: "sm"
|
|
5668
5664
|
}, null, 8, [
|
|
5669
5665
|
"modelValue",
|
|
5670
5666
|
"onUpdate:modelValue",
|
|
5671
5667
|
"items"
|
|
5672
|
-
]), createVNode(_component_MapLayerControl)]), createVNode("div", { class: "min-h-0 flex-1" }, [createVNode(_component_NuxtPage)])])])];
|
|
5668
|
+
]), vueExports.createVNode(_component_MapLayerControl)]), vueExports.createVNode("div", { class: "min-h-0 flex-1" }, [vueExports.createVNode(_component_NuxtPage)])])])];
|
|
5673
5669
|
}),
|
|
5674
5670
|
_: 1
|
|
5675
5671
|
}, _parent));
|
|
5676
|
-
_push(
|
|
5677
|
-
open: unref(createTaskOpen),
|
|
5678
|
-
"onUpdate:open": ($event) => isRef(createTaskOpen) ? createTaskOpen.value = $event : null,
|
|
5672
|
+
_push(ssrRenderComponent_1(_component_UModal, {
|
|
5673
|
+
open: vueExports.unref(createTaskOpen),
|
|
5674
|
+
"onUpdate:open": ($event) => vueExports.isRef(createTaskOpen) ? createTaskOpen.value = $event : null,
|
|
5679
5675
|
title: "新建地图下载任务"
|
|
5680
5676
|
}, {
|
|
5681
|
-
body: withCtx((_, _push, _parent, _scopeId) => {
|
|
5682
|
-
if (_push) _push(
|
|
5677
|
+
body: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5678
|
+
if (_push) _push(ssrRenderComponent_1(_component_UForm, {
|
|
5683
5679
|
id: "create-task-form",
|
|
5684
|
-
schema: unref(createTaskSchema),
|
|
5685
|
-
state: unref(createTaskState),
|
|
5680
|
+
schema: vueExports.unref(createTaskSchema),
|
|
5681
|
+
state: vueExports.unref(createTaskState),
|
|
5686
5682
|
onSubmit: createTask
|
|
5687
5683
|
}, {
|
|
5688
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5689
|
-
if (_push) _push(
|
|
5684
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5685
|
+
if (_push) _push(ssrRenderComponent_1(_component_UFormField, {
|
|
5690
5686
|
name: "filename",
|
|
5691
5687
|
label: "任务文件名",
|
|
5692
5688
|
required: ""
|
|
5693
5689
|
}, {
|
|
5694
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5695
|
-
if (_push) _push(
|
|
5696
|
-
modelValue: unref(createTaskState).filename,
|
|
5697
|
-
"onUpdate:modelValue": ($event) => unref(createTaskState).filename = $event,
|
|
5690
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5691
|
+
if (_push) _push(ssrRenderComponent_1(_component_UInput, {
|
|
5692
|
+
modelValue: vueExports.unref(createTaskState).filename,
|
|
5693
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(createTaskState).filename = $event,
|
|
5698
5694
|
class: "w-full",
|
|
5699
5695
|
autocomplete: "off",
|
|
5700
5696
|
icon: "i-lucide-file-database"
|
|
5701
5697
|
}, {
|
|
5702
|
-
trailing: withCtx((_, _push, _parent, _scopeId) => {
|
|
5698
|
+
trailing: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5703
5699
|
if (_push) _push(`<span class="uom-mono text-xs text-muted"${_scopeId}>.uomtiles</span>`);
|
|
5704
|
-
else return [createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")];
|
|
5700
|
+
else return [vueExports.createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")];
|
|
5705
5701
|
}),
|
|
5706
5702
|
_: 1
|
|
5707
5703
|
}, _parent, _scopeId));
|
|
5708
|
-
else return [createVNode(_component_UInput, {
|
|
5709
|
-
modelValue: unref(createTaskState).filename,
|
|
5710
|
-
"onUpdate:modelValue": ($event) => unref(createTaskState).filename = $event,
|
|
5704
|
+
else return [vueExports.createVNode(_component_UInput, {
|
|
5705
|
+
modelValue: vueExports.unref(createTaskState).filename,
|
|
5706
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(createTaskState).filename = $event,
|
|
5711
5707
|
class: "w-full",
|
|
5712
5708
|
autocomplete: "off",
|
|
5713
5709
|
icon: "i-lucide-file-database"
|
|
5714
5710
|
}, {
|
|
5715
|
-
trailing: withCtx(() => [createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5711
|
+
trailing: vueExports.withCtx(() => [vueExports.createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5716
5712
|
_: 1
|
|
5717
5713
|
}, 8, ["modelValue", "onUpdate:modelValue"])];
|
|
5718
5714
|
}),
|
|
5719
5715
|
_: 1
|
|
5720
5716
|
}, _parent, _scopeId));
|
|
5721
|
-
else return [createVNode(_component_UFormField, {
|
|
5717
|
+
else return [vueExports.createVNode(_component_UFormField, {
|
|
5722
5718
|
name: "filename",
|
|
5723
5719
|
label: "任务文件名",
|
|
5724
5720
|
required: ""
|
|
5725
5721
|
}, {
|
|
5726
|
-
default: withCtx(() => [createVNode(_component_UInput, {
|
|
5727
|
-
modelValue: unref(createTaskState).filename,
|
|
5728
|
-
"onUpdate:modelValue": ($event) => unref(createTaskState).filename = $event,
|
|
5722
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_UInput, {
|
|
5723
|
+
modelValue: vueExports.unref(createTaskState).filename,
|
|
5724
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(createTaskState).filename = $event,
|
|
5729
5725
|
class: "w-full",
|
|
5730
5726
|
autocomplete: "off",
|
|
5731
5727
|
icon: "i-lucide-file-database"
|
|
5732
5728
|
}, {
|
|
5733
|
-
trailing: withCtx(() => [createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5729
|
+
trailing: vueExports.withCtx(() => [vueExports.createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5734
5730
|
_: 1
|
|
5735
5731
|
}, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
5736
5732
|
_: 1
|
|
@@ -5738,25 +5734,25 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5738
5734
|
}),
|
|
5739
5735
|
_: 1
|
|
5740
5736
|
}, _parent, _scopeId));
|
|
5741
|
-
else return [createVNode(_component_UForm, {
|
|
5737
|
+
else return [vueExports.createVNode(_component_UForm, {
|
|
5742
5738
|
id: "create-task-form",
|
|
5743
|
-
schema: unref(createTaskSchema),
|
|
5744
|
-
state: unref(createTaskState),
|
|
5739
|
+
schema: vueExports.unref(createTaskSchema),
|
|
5740
|
+
state: vueExports.unref(createTaskState),
|
|
5745
5741
|
onSubmit: createTask
|
|
5746
5742
|
}, {
|
|
5747
|
-
default: withCtx(() => [createVNode(_component_UFormField, {
|
|
5743
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_UFormField, {
|
|
5748
5744
|
name: "filename",
|
|
5749
5745
|
label: "任务文件名",
|
|
5750
5746
|
required: ""
|
|
5751
5747
|
}, {
|
|
5752
|
-
default: withCtx(() => [createVNode(_component_UInput, {
|
|
5753
|
-
modelValue: unref(createTaskState).filename,
|
|
5754
|
-
"onUpdate:modelValue": ($event) => unref(createTaskState).filename = $event,
|
|
5748
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_UInput, {
|
|
5749
|
+
modelValue: vueExports.unref(createTaskState).filename,
|
|
5750
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(createTaskState).filename = $event,
|
|
5755
5751
|
class: "w-full",
|
|
5756
5752
|
autocomplete: "off",
|
|
5757
5753
|
icon: "i-lucide-file-database"
|
|
5758
5754
|
}, {
|
|
5759
|
-
trailing: withCtx(() => [createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5755
|
+
trailing: vueExports.withCtx(() => [vueExports.createVNode("span", { class: "uom-mono text-xs text-muted" }, ".uomtiles")]),
|
|
5760
5756
|
_: 1
|
|
5761
5757
|
}, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
5762
5758
|
_: 1
|
|
@@ -5764,126 +5760,130 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5764
5760
|
_: 1
|
|
5765
5761
|
}, 8, ["schema", "state"])];
|
|
5766
5762
|
}),
|
|
5767
|
-
footer: withCtx((_, _push, _parent, _scopeId) => {
|
|
5763
|
+
footer: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5768
5764
|
if (_push) {
|
|
5769
|
-
_push(
|
|
5765
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5770
5766
|
label: "取消",
|
|
5771
5767
|
color: "neutral",
|
|
5772
5768
|
variant: "ghost",
|
|
5773
5769
|
onClick: ($event) => createTaskOpen.value = false
|
|
5774
5770
|
}, null, _parent, _scopeId));
|
|
5775
|
-
_push(
|
|
5771
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5776
5772
|
type: "submit",
|
|
5777
5773
|
form: "create-task-form",
|
|
5778
5774
|
label: "创建",
|
|
5779
5775
|
icon: "i-lucide-plus",
|
|
5780
|
-
loading: unref(workspace).pending.value
|
|
5776
|
+
loading: vueExports.unref(workspace).pending.value
|
|
5781
5777
|
}, null, _parent, _scopeId));
|
|
5782
|
-
} else return [createVNode(_component_UButton, {
|
|
5778
|
+
} else return [vueExports.createVNode(_component_UButton, {
|
|
5783
5779
|
label: "取消",
|
|
5784
5780
|
color: "neutral",
|
|
5785
5781
|
variant: "ghost",
|
|
5786
5782
|
onClick: ($event) => createTaskOpen.value = false
|
|
5787
|
-
}, null, 8, ["onClick"]), createVNode(_component_UButton, {
|
|
5783
|
+
}, null, 8, ["onClick"]), vueExports.createVNode(_component_UButton, {
|
|
5788
5784
|
type: "submit",
|
|
5789
5785
|
form: "create-task-form",
|
|
5790
5786
|
label: "创建",
|
|
5791
5787
|
icon: "i-lucide-plus",
|
|
5792
|
-
loading: unref(workspace).pending.value
|
|
5788
|
+
loading: vueExports.unref(workspace).pending.value
|
|
5793
5789
|
}, null, 8, ["loading"])];
|
|
5794
5790
|
}),
|
|
5795
5791
|
_: 1
|
|
5796
5792
|
}, _parent));
|
|
5797
|
-
_push(
|
|
5798
|
-
open: unref(confirmStart),
|
|
5799
|
-
"onUpdate:open": ($event) => isRef(confirmStart) ? confirmStart.value = $event : null,
|
|
5800
|
-
title: unref(startLabel)
|
|
5793
|
+
_push(ssrRenderComponent_1(_component_UModal, {
|
|
5794
|
+
open: vueExports.unref(confirmStart),
|
|
5795
|
+
"onUpdate:open": ($event) => vueExports.isRef(confirmStart) ? confirmStart.value = $event : null,
|
|
5796
|
+
title: vueExports.unref(startLabel)
|
|
5801
5797
|
}, {
|
|
5802
|
-
footer: withCtx((_, _push, _parent, _scopeId) => {
|
|
5798
|
+
footer: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5803
5799
|
if (_push) {
|
|
5804
|
-
_push(
|
|
5800
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5805
5801
|
label: "取消",
|
|
5806
5802
|
color: "neutral",
|
|
5807
5803
|
variant: "ghost",
|
|
5804
|
+
disabled: vueExports.unref(startPending),
|
|
5808
5805
|
onClick: ($event) => confirmStart.value = false
|
|
5809
5806
|
}, null, _parent, _scopeId));
|
|
5810
|
-
_push(
|
|
5811
|
-
label: unref(startLabel),
|
|
5807
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5808
|
+
label: vueExports.unref(startLabel),
|
|
5812
5809
|
icon: "i-lucide-play",
|
|
5810
|
+
loading: vueExports.unref(startPending),
|
|
5813
5811
|
onClick: start
|
|
5814
5812
|
}, null, _parent, _scopeId));
|
|
5815
|
-
} else return [createVNode(_component_UButton, {
|
|
5813
|
+
} else return [vueExports.createVNode(_component_UButton, {
|
|
5816
5814
|
label: "取消",
|
|
5817
5815
|
color: "neutral",
|
|
5818
5816
|
variant: "ghost",
|
|
5817
|
+
disabled: vueExports.unref(startPending),
|
|
5819
5818
|
onClick: ($event) => confirmStart.value = false
|
|
5820
|
-
}, null, 8, ["onClick"]), createVNode(_component_UButton, {
|
|
5821
|
-
label: unref(startLabel),
|
|
5819
|
+
}, null, 8, ["disabled", "onClick"]), vueExports.createVNode(_component_UButton, {
|
|
5820
|
+
label: vueExports.unref(startLabel),
|
|
5822
5821
|
icon: "i-lucide-play",
|
|
5822
|
+
loading: vueExports.unref(startPending),
|
|
5823
5823
|
onClick: start
|
|
5824
|
-
}, null, 8, ["label"])];
|
|
5824
|
+
}, null, 8, ["label", "loading"])];
|
|
5825
5825
|
}),
|
|
5826
5826
|
_: 1
|
|
5827
5827
|
}, _parent));
|
|
5828
|
-
_push(
|
|
5829
|
-
open: unref(confirmDeleteTask),
|
|
5830
|
-
"onUpdate:open": ($event) => isRef(confirmDeleteTask) ? confirmDeleteTask.value = $event : null,
|
|
5828
|
+
_push(ssrRenderComponent_1(_component_UModal, {
|
|
5829
|
+
open: vueExports.unref(confirmDeleteTask),
|
|
5830
|
+
"onUpdate:open": ($event) => vueExports.isRef(confirmDeleteTask) ? confirmDeleteTask.value = $event : null,
|
|
5831
5831
|
title: "删除地图下载任务"
|
|
5832
5832
|
}, {
|
|
5833
|
-
body: withCtx((_, _push, _parent, _scopeId) => {
|
|
5834
|
-
if (_push) _push(`<p class="text-sm text-muted"${_scopeId}>确定删除“${
|
|
5835
|
-
else return [createVNode("p", { class: "text-sm text-muted" }, "确定删除“" + toDisplayString(unref(selectedTask) ? displayName(unref(selectedTask).filename) : "") + "”吗?任务文件和已抓取数据将被永久删除。", 1)];
|
|
5833
|
+
body: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5834
|
+
if (_push) _push(`<p class="text-sm text-muted"${_scopeId}>确定删除“${ssrInterpolate_1(vueExports.unref(selectedTask) ? displayName(vueExports.unref(selectedTask).filename) : "")}”吗?任务文件和已抓取数据将被永久删除。</p>`);
|
|
5835
|
+
else return [vueExports.createVNode("p", { class: "text-sm text-muted" }, "确定删除“" + vueExports.toDisplayString(vueExports.unref(selectedTask) ? displayName(vueExports.unref(selectedTask).filename) : "") + "”吗?任务文件和已抓取数据将被永久删除。", 1)];
|
|
5836
5836
|
}),
|
|
5837
|
-
footer: withCtx((_, _push, _parent, _scopeId) => {
|
|
5837
|
+
footer: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5838
5838
|
if (_push) {
|
|
5839
|
-
_push(
|
|
5839
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5840
5840
|
label: "取消",
|
|
5841
5841
|
color: "neutral",
|
|
5842
5842
|
variant: "ghost",
|
|
5843
5843
|
onClick: ($event) => confirmDeleteTask.value = false
|
|
5844
5844
|
}, null, _parent, _scopeId));
|
|
5845
|
-
_push(
|
|
5845
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
5846
5846
|
label: "确认删除",
|
|
5847
5847
|
icon: "i-lucide-trash-2",
|
|
5848
5848
|
color: "error",
|
|
5849
|
-
loading: unref(workspace).pending.value,
|
|
5849
|
+
loading: vueExports.unref(workspace).pending.value,
|
|
5850
5850
|
onClick: deleteTask
|
|
5851
5851
|
}, null, _parent, _scopeId));
|
|
5852
|
-
} else return [createVNode(_component_UButton, {
|
|
5852
|
+
} else return [vueExports.createVNode(_component_UButton, {
|
|
5853
5853
|
label: "取消",
|
|
5854
5854
|
color: "neutral",
|
|
5855
5855
|
variant: "ghost",
|
|
5856
5856
|
onClick: ($event) => confirmDeleteTask.value = false
|
|
5857
|
-
}, null, 8, ["onClick"]), createVNode(_component_UButton, {
|
|
5857
|
+
}, null, 8, ["onClick"]), vueExports.createVNode(_component_UButton, {
|
|
5858
5858
|
label: "确认删除",
|
|
5859
5859
|
icon: "i-lucide-trash-2",
|
|
5860
5860
|
color: "error",
|
|
5861
|
-
loading: unref(workspace).pending.value,
|
|
5861
|
+
loading: vueExports.unref(workspace).pending.value,
|
|
5862
5862
|
onClick: deleteTask
|
|
5863
5863
|
}, null, 8, ["loading"])];
|
|
5864
5864
|
}),
|
|
5865
5865
|
_: 1
|
|
5866
5866
|
}, _parent));
|
|
5867
|
-
_push(
|
|
5868
|
-
open: unref(exportOpen),
|
|
5869
|
-
"onUpdate:open": ($event) => isRef(exportOpen) ? exportOpen.value = $event : null,
|
|
5867
|
+
_push(ssrRenderComponent_1(_component_UModal, {
|
|
5868
|
+
open: vueExports.unref(exportOpen),
|
|
5869
|
+
"onUpdate:open": ($event) => vueExports.isRef(exportOpen) ? exportOpen.value = $event : null,
|
|
5870
5870
|
title: "导出地图"
|
|
5871
5871
|
}, {
|
|
5872
|
-
body: withCtx((_, _push, _parent, _scopeId) => {
|
|
5872
|
+
body: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5873
5873
|
if (_push) {
|
|
5874
5874
|
_push(`<div class="space-y-5"${_scopeId}>`);
|
|
5875
|
-
_push(
|
|
5876
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5877
|
-
if (_push) _push(
|
|
5878
|
-
modelValue: unref(exportState).format,
|
|
5879
|
-
"onUpdate:modelValue": ($event) => unref(exportState).format = $event,
|
|
5875
|
+
_push(ssrRenderComponent_1(_component_UFormField, { label: "文件格式" }, {
|
|
5876
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5877
|
+
if (_push) _push(ssrRenderComponent_1(_component_USelect, {
|
|
5878
|
+
modelValue: vueExports.unref(exportState).format,
|
|
5879
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).format = $event,
|
|
5880
5880
|
items: exportFormats,
|
|
5881
5881
|
"value-key": "value",
|
|
5882
5882
|
class: "w-full"
|
|
5883
5883
|
}, null, _parent, _scopeId));
|
|
5884
|
-
else return [createVNode(_component_USelect, {
|
|
5885
|
-
modelValue: unref(exportState).format,
|
|
5886
|
-
"onUpdate:modelValue": ($event) => unref(exportState).format = $event,
|
|
5884
|
+
else return [vueExports.createVNode(_component_USelect, {
|
|
5885
|
+
modelValue: vueExports.unref(exportState).format,
|
|
5886
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).format = $event,
|
|
5887
5887
|
items: exportFormats,
|
|
5888
5888
|
"value-key": "value",
|
|
5889
5889
|
class: "w-full"
|
|
@@ -5892,20 +5892,20 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5892
5892
|
_: 1
|
|
5893
5893
|
}, _parent, _scopeId));
|
|
5894
5894
|
_push(`<div class="grid grid-cols-2 gap-4"${_scopeId}>`);
|
|
5895
|
-
_push(
|
|
5896
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5897
|
-
if (_push) _push(
|
|
5898
|
-
modelValue: unref(exportState).minZoom,
|
|
5899
|
-
"onUpdate:modelValue": ($event) => unref(exportState).minZoom = $event,
|
|
5900
|
-
min: unref(EXPORT_MIN_ZOOM),
|
|
5901
|
-
max: unref(exportState).maxZoom,
|
|
5895
|
+
_push(ssrRenderComponent_1(_component_UFormField, { label: "最小层级" }, {
|
|
5896
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5897
|
+
if (_push) _push(ssrRenderComponent_1(_component_UInputNumber, {
|
|
5898
|
+
modelValue: vueExports.unref(exportState).minZoom,
|
|
5899
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).minZoom = $event,
|
|
5900
|
+
min: vueExports.unref(EXPORT_MIN_ZOOM),
|
|
5901
|
+
max: vueExports.unref(exportState).maxZoom,
|
|
5902
5902
|
class: "w-full"
|
|
5903
5903
|
}, null, _parent, _scopeId));
|
|
5904
|
-
else return [createVNode(_component_UInputNumber, {
|
|
5905
|
-
modelValue: unref(exportState).minZoom,
|
|
5906
|
-
"onUpdate:modelValue": ($event) => unref(exportState).minZoom = $event,
|
|
5907
|
-
min: unref(EXPORT_MIN_ZOOM),
|
|
5908
|
-
max: unref(exportState).maxZoom,
|
|
5904
|
+
else return [vueExports.createVNode(_component_UInputNumber, {
|
|
5905
|
+
modelValue: vueExports.unref(exportState).minZoom,
|
|
5906
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).minZoom = $event,
|
|
5907
|
+
min: vueExports.unref(EXPORT_MIN_ZOOM),
|
|
5908
|
+
max: vueExports.unref(exportState).maxZoom,
|
|
5909
5909
|
class: "w-full"
|
|
5910
5910
|
}, null, 8, [
|
|
5911
5911
|
"modelValue",
|
|
@@ -5916,20 +5916,20 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5916
5916
|
}),
|
|
5917
5917
|
_: 1
|
|
5918
5918
|
}, _parent, _scopeId));
|
|
5919
|
-
_push(
|
|
5920
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
5921
|
-
if (_push) _push(
|
|
5922
|
-
modelValue: unref(exportState).maxZoom,
|
|
5923
|
-
"onUpdate:modelValue": ($event) => unref(exportState).maxZoom = $event,
|
|
5924
|
-
min: unref(exportState).minZoom,
|
|
5925
|
-
max: unref(EXPORT_MAX_ZOOM),
|
|
5919
|
+
_push(ssrRenderComponent_1(_component_UFormField, { label: "最大层级" }, {
|
|
5920
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
5921
|
+
if (_push) _push(ssrRenderComponent_1(_component_UInputNumber, {
|
|
5922
|
+
modelValue: vueExports.unref(exportState).maxZoom,
|
|
5923
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).maxZoom = $event,
|
|
5924
|
+
min: vueExports.unref(exportState).minZoom,
|
|
5925
|
+
max: vueExports.unref(EXPORT_MAX_ZOOM),
|
|
5926
5926
|
class: "w-full"
|
|
5927
5927
|
}, null, _parent, _scopeId));
|
|
5928
|
-
else return [createVNode(_component_UInputNumber, {
|
|
5929
|
-
modelValue: unref(exportState).maxZoom,
|
|
5930
|
-
"onUpdate:modelValue": ($event) => unref(exportState).maxZoom = $event,
|
|
5931
|
-
min: unref(exportState).minZoom,
|
|
5932
|
-
max: unref(EXPORT_MAX_ZOOM),
|
|
5928
|
+
else return [vueExports.createVNode(_component_UInputNumber, {
|
|
5929
|
+
modelValue: vueExports.unref(exportState).maxZoom,
|
|
5930
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).maxZoom = $event,
|
|
5931
|
+
min: vueExports.unref(exportState).minZoom,
|
|
5932
|
+
max: vueExports.unref(EXPORT_MAX_ZOOM),
|
|
5933
5933
|
class: "w-full"
|
|
5934
5934
|
}, null, 8, [
|
|
5935
5935
|
"modelValue",
|
|
@@ -5941,37 +5941,37 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5941
5941
|
_: 1
|
|
5942
5942
|
}, _parent, _scopeId));
|
|
5943
5943
|
_push(`</div><div class="grid min-h-16 grid-cols-2 gap-4 border-y border-default py-3"${_scopeId}><div${_scopeId}><p class="text-xs text-muted"${_scopeId}>预计文件大小</p>`);
|
|
5944
|
-
if (unref(exportPending)) _push(
|
|
5945
|
-
else _push(`<p class="uom-mono mt-1 text-sm font-medium"${_scopeId}>${
|
|
5944
|
+
if (vueExports.unref(exportPending)) _push(ssrRenderComponent_1(_component_USkeleton, { class: "mt-2 h-5 w-24" }, null, _parent, _scopeId));
|
|
5945
|
+
else _push(`<p class="uom-mono mt-1 text-sm font-medium"${_scopeId}>${ssrInterpolate_1(vueExports.unref(exportEstimate) ? `约 ${formatBytes(vueExports.unref(exportEstimate).estimatedBytes)}` : "—")}</p>`);
|
|
5946
5946
|
_push(`</div><div${_scopeId}><p class="text-xs text-muted"${_scopeId}>非空瓦片</p>`);
|
|
5947
|
-
if (unref(exportPending)) _push(
|
|
5948
|
-
else _push(`<p class="uom-mono mt-1 text-sm font-medium"${_scopeId}>${
|
|
5947
|
+
if (vueExports.unref(exportPending)) _push(ssrRenderComponent_1(_component_USkeleton, { class: "mt-2 h-5 w-24" }, null, _parent, _scopeId));
|
|
5948
|
+
else _push(`<p class="uom-mono mt-1 text-sm font-medium"${_scopeId}>${ssrInterpolate_1(vueExports.unref(exportEstimate) ? vueExports.unref(exportEstimate).tileCount.toLocaleString("zh-CN") : "—")}</p>`);
|
|
5949
5949
|
_push(`</div></div>`);
|
|
5950
|
-
if (unref(exportError)) _push(
|
|
5950
|
+
if (vueExports.unref(exportError)) _push(ssrRenderComponent_1(_component_UAlert, {
|
|
5951
5951
|
color: "error",
|
|
5952
5952
|
variant: "subtle",
|
|
5953
5953
|
icon: "i-lucide-circle-alert",
|
|
5954
|
-
description: unref(exportError)
|
|
5954
|
+
description: vueExports.unref(exportError)
|
|
5955
5955
|
}, null, _parent, _scopeId));
|
|
5956
5956
|
else _push(`<!---->`);
|
|
5957
5957
|
_push(`</div>`);
|
|
5958
|
-
} else return [createVNode("div", { class: "space-y-5" }, [
|
|
5959
|
-
createVNode(_component_UFormField, { label: "文件格式" }, {
|
|
5960
|
-
default: withCtx(() => [createVNode(_component_USelect, {
|
|
5961
|
-
modelValue: unref(exportState).format,
|
|
5962
|
-
"onUpdate:modelValue": ($event) => unref(exportState).format = $event,
|
|
5958
|
+
} else return [vueExports.createVNode("div", { class: "space-y-5" }, [
|
|
5959
|
+
vueExports.createVNode(_component_UFormField, { label: "文件格式" }, {
|
|
5960
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_USelect, {
|
|
5961
|
+
modelValue: vueExports.unref(exportState).format,
|
|
5962
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).format = $event,
|
|
5963
5963
|
items: exportFormats,
|
|
5964
5964
|
"value-key": "value",
|
|
5965
5965
|
class: "w-full"
|
|
5966
5966
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
5967
5967
|
_: 1
|
|
5968
5968
|
}),
|
|
5969
|
-
createVNode("div", { class: "grid grid-cols-2 gap-4" }, [createVNode(_component_UFormField, { label: "最小层级" }, {
|
|
5970
|
-
default: withCtx(() => [createVNode(_component_UInputNumber, {
|
|
5971
|
-
modelValue: unref(exportState).minZoom,
|
|
5972
|
-
"onUpdate:modelValue": ($event) => unref(exportState).minZoom = $event,
|
|
5973
|
-
min: unref(EXPORT_MIN_ZOOM),
|
|
5974
|
-
max: unref(exportState).maxZoom,
|
|
5969
|
+
vueExports.createVNode("div", { class: "grid grid-cols-2 gap-4" }, [vueExports.createVNode(_component_UFormField, { label: "最小层级" }, {
|
|
5970
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_UInputNumber, {
|
|
5971
|
+
modelValue: vueExports.unref(exportState).minZoom,
|
|
5972
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).minZoom = $event,
|
|
5973
|
+
min: vueExports.unref(EXPORT_MIN_ZOOM),
|
|
5974
|
+
max: vueExports.unref(exportState).maxZoom,
|
|
5975
5975
|
class: "w-full"
|
|
5976
5976
|
}, null, 8, [
|
|
5977
5977
|
"modelValue",
|
|
@@ -5980,12 +5980,12 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5980
5980
|
"max"
|
|
5981
5981
|
])]),
|
|
5982
5982
|
_: 1
|
|
5983
|
-
}), createVNode(_component_UFormField, { label: "最大层级" }, {
|
|
5984
|
-
default: withCtx(() => [createVNode(_component_UInputNumber, {
|
|
5985
|
-
modelValue: unref(exportState).maxZoom,
|
|
5986
|
-
"onUpdate:modelValue": ($event) => unref(exportState).maxZoom = $event,
|
|
5987
|
-
min: unref(exportState).minZoom,
|
|
5988
|
-
max: unref(EXPORT_MAX_ZOOM),
|
|
5983
|
+
}), vueExports.createVNode(_component_UFormField, { label: "最大层级" }, {
|
|
5984
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_component_UInputNumber, {
|
|
5985
|
+
modelValue: vueExports.unref(exportState).maxZoom,
|
|
5986
|
+
"onUpdate:modelValue": ($event) => vueExports.unref(exportState).maxZoom = $event,
|
|
5987
|
+
min: vueExports.unref(exportState).minZoom,
|
|
5988
|
+
max: vueExports.unref(EXPORT_MAX_ZOOM),
|
|
5989
5989
|
class: "w-full"
|
|
5990
5990
|
}, null, 8, [
|
|
5991
5991
|
"modelValue",
|
|
@@ -5995,53 +5995,53 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
5995
5995
|
])]),
|
|
5996
5996
|
_: 1
|
|
5997
5997
|
})]),
|
|
5998
|
-
createVNode("div", { class: "grid min-h-16 grid-cols-2 gap-4 border-y border-default py-3" }, [createVNode("div", null, [createVNode("p", { class: "text-xs text-muted" }, "预计文件大小"), unref(exportPending) ? (openBlock(), createBlock(_component_USkeleton, {
|
|
5998
|
+
vueExports.createVNode("div", { class: "grid min-h-16 grid-cols-2 gap-4 border-y border-default py-3" }, [vueExports.createVNode("div", null, [vueExports.createVNode("p", { class: "text-xs text-muted" }, "预计文件大小"), vueExports.unref(exportPending) ? (vueExports.openBlock(), vueExports.createBlock(_component_USkeleton, {
|
|
5999
5999
|
key: 0,
|
|
6000
6000
|
class: "mt-2 h-5 w-24"
|
|
6001
|
-
})) : (openBlock(), createBlock("p", {
|
|
6001
|
+
})) : (vueExports.openBlock(), vueExports.createBlock("p", {
|
|
6002
6002
|
key: 1,
|
|
6003
6003
|
class: "uom-mono mt-1 text-sm font-medium"
|
|
6004
|
-
}, toDisplayString(unref(exportEstimate) ? `约 ${formatBytes(unref(exportEstimate).estimatedBytes)}` : "—"), 1))]), createVNode("div", null, [createVNode("p", { class: "text-xs text-muted" }, "非空瓦片"), unref(exportPending) ? (openBlock(), createBlock(_component_USkeleton, {
|
|
6004
|
+
}, vueExports.toDisplayString(vueExports.unref(exportEstimate) ? `约 ${formatBytes(vueExports.unref(exportEstimate).estimatedBytes)}` : "—"), 1))]), vueExports.createVNode("div", null, [vueExports.createVNode("p", { class: "text-xs text-muted" }, "非空瓦片"), vueExports.unref(exportPending) ? (vueExports.openBlock(), vueExports.createBlock(_component_USkeleton, {
|
|
6005
6005
|
key: 0,
|
|
6006
6006
|
class: "mt-2 h-5 w-24"
|
|
6007
|
-
})) : (openBlock(), createBlock("p", {
|
|
6007
|
+
})) : (vueExports.openBlock(), vueExports.createBlock("p", {
|
|
6008
6008
|
key: 1,
|
|
6009
6009
|
class: "uom-mono mt-1 text-sm font-medium"
|
|
6010
|
-
}, toDisplayString(unref(exportEstimate) ? unref(exportEstimate).tileCount.toLocaleString("zh-CN") : "—"), 1))])]),
|
|
6011
|
-
unref(exportError) ? (openBlock(), createBlock(_component_UAlert, {
|
|
6010
|
+
}, vueExports.toDisplayString(vueExports.unref(exportEstimate) ? vueExports.unref(exportEstimate).tileCount.toLocaleString("zh-CN") : "—"), 1))])]),
|
|
6011
|
+
vueExports.unref(exportError) ? (vueExports.openBlock(), vueExports.createBlock(_component_UAlert, {
|
|
6012
6012
|
key: 0,
|
|
6013
6013
|
color: "error",
|
|
6014
6014
|
variant: "subtle",
|
|
6015
6015
|
icon: "i-lucide-circle-alert",
|
|
6016
|
-
description: unref(exportError)
|
|
6017
|
-
}, null, 8, ["description"])) : createCommentVNode("", true)
|
|
6016
|
+
description: vueExports.unref(exportError)
|
|
6017
|
+
}, null, 8, ["description"])) : vueExports.createCommentVNode("", true)
|
|
6018
6018
|
])];
|
|
6019
6019
|
}),
|
|
6020
|
-
footer: withCtx((_, _push, _parent, _scopeId) => {
|
|
6020
|
+
footer: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
6021
6021
|
if (_push) {
|
|
6022
|
-
_push(
|
|
6022
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
6023
6023
|
label: "取消",
|
|
6024
6024
|
color: "neutral",
|
|
6025
6025
|
variant: "ghost",
|
|
6026
6026
|
onClick: ($event) => exportOpen.value = false
|
|
6027
6027
|
}, null, _parent, _scopeId));
|
|
6028
|
-
_push(
|
|
6028
|
+
_push(ssrRenderComponent_1(_component_UButton, {
|
|
6029
6029
|
label: "开始导出",
|
|
6030
6030
|
icon: "i-lucide-download",
|
|
6031
|
-
loading: unref(exportPending),
|
|
6032
|
-
disabled: !unref(exportEstimate) || !exportRangeValid(),
|
|
6031
|
+
loading: vueExports.unref(exportPending),
|
|
6032
|
+
disabled: !vueExports.unref(exportEstimate) || !exportRangeValid(),
|
|
6033
6033
|
onClick: startExport
|
|
6034
6034
|
}, null, _parent, _scopeId));
|
|
6035
|
-
} else return [createVNode(_component_UButton, {
|
|
6035
|
+
} else return [vueExports.createVNode(_component_UButton, {
|
|
6036
6036
|
label: "取消",
|
|
6037
6037
|
color: "neutral",
|
|
6038
6038
|
variant: "ghost",
|
|
6039
6039
|
onClick: ($event) => exportOpen.value = false
|
|
6040
|
-
}, null, 8, ["onClick"]), createVNode(_component_UButton, {
|
|
6040
|
+
}, null, 8, ["onClick"]), vueExports.createVNode(_component_UButton, {
|
|
6041
6041
|
label: "开始导出",
|
|
6042
6042
|
icon: "i-lucide-download",
|
|
6043
|
-
loading: unref(exportPending),
|
|
6044
|
-
disabled: !unref(exportEstimate) || !exportRangeValid(),
|
|
6043
|
+
loading: vueExports.unref(exportPending),
|
|
6044
|
+
disabled: !vueExports.unref(exportEstimate) || !exportRangeValid(),
|
|
6045
6045
|
onClick: startExport
|
|
6046
6046
|
}, null, 8, ["loading", "disabled"])];
|
|
6047
6047
|
}),
|
|
@@ -6055,11 +6055,11 @@ var tasks_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
6055
6055
|
//#region app/pages/tasks.vue
|
|
6056
6056
|
var _sfc_setup = tasks_vue_vue_type_script_setup_true_lang_default.setup;
|
|
6057
6057
|
tasks_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
6058
|
-
const ssrContext = useSSRContext();
|
|
6058
|
+
const ssrContext = vueExports.useSSRContext();
|
|
6059
6059
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/tasks.vue");
|
|
6060
6060
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
6061
6061
|
};
|
|
6062
6062
|
var tasks_default = tasks_vue_vue_type_script_setup_true_lang_default;
|
|
6063
6063
|
|
|
6064
6064
|
export { tasks_default as default };
|
|
6065
|
-
//# sourceMappingURL=tasks-
|
|
6065
|
+
//# sourceMappingURL=tasks-Bbc6_UeW.mjs.map
|