uomtiles 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/87P1vrJx2.js +1 -0
- package/.output/public/_nuxt/{BA52uD81.js → B30iI6NY.js} +1 -1
- package/.output/public/_nuxt/{CD84FXNW.js → B3Fqmbvs.js} +1 -1
- package/.output/public/_nuxt/BhdViME82.js +1 -0
- package/.output/public/_nuxt/{D-IOtyQX.js → BryCauXl.js} +1 -1
- package/.output/public/_nuxt/{CkfS_Wbu.js → BsG4RgIF.js} +1 -1
- package/.output/public/_nuxt/{zUWhKXtw2.js → BvI0Fk652.js} +1 -1
- package/.output/public/_nuxt/Bw9ZfIEz.js +1 -0
- package/.output/public/_nuxt/BxH0LSKl2.js +1 -0
- package/.output/public/_nuxt/{C5Y76DD6.js → C0tXXd_q.js} +1 -1
- package/.output/public/_nuxt/{CVwoxklV.js → C3P9RWxN.js} +1 -1
- package/.output/public/_nuxt/{D3Us7gX72.js → C9NpqQyG2.js} +1 -1
- package/.output/public/_nuxt/CJxz3JZZ2.js +2 -0
- package/.output/public/_nuxt/{JdUwgqKv.js → CNw483Zj.js} +1 -1
- package/.output/public/_nuxt/{Hbp_Okvs.js → CQoH790U.js} +2 -2
- package/.output/public/_nuxt/{D8GHPYwQ.js → CS7MV-ad.js} +4 -4
- package/.output/public/_nuxt/{DnVJUY7B.js → CVIKhDCB.js} +1 -1
- package/.output/public/_nuxt/{CeHZqNQ0.js → CVfH720g.js} +1 -1
- package/.output/public/_nuxt/{DLIy3f3M.js → CZ6SZO_d.js} +1 -1
- package/.output/public/_nuxt/{Bpc1HTfh.js → CanHJd1e.js} +1 -1
- package/.output/public/_nuxt/CeHFmSjl.js +1 -0
- package/.output/public/_nuxt/CeVhOOkF2.js +1 -0
- package/.output/public/_nuxt/Cigra9s92.js +1 -0
- package/.output/public/_nuxt/{Bh2Uv1S7.js → ClKxITwT.js} +1 -1
- package/.output/public/_nuxt/{sMWyPZfC2.js → CsaKOXaj2.js} +1 -1
- package/.output/public/_nuxt/{GqgcWtrL.js → CttzcMfv.js} +1 -1
- package/.output/public/_nuxt/Cw2siAf_2.js +1 -0
- package/.output/public/_nuxt/{DQ8r1OSk.js → DE6808Yp.js} +1 -1
- package/.output/public/_nuxt/{CUJ4QmLF.js → DUBSg_Y2.js} +1 -1
- package/.output/public/_nuxt/{CxkDmpVY.js → DWmS9_5P.js} +1 -1
- package/.output/public/_nuxt/DYM416m_.js +1 -0
- package/.output/public/_nuxt/{D_9SjQFe.js → D_SGIxNl.js} +1 -1
- package/.output/public/_nuxt/{BHSn2vP72.js → DbaWJJIa2.js} +1 -1
- package/.output/public/_nuxt/{C-b4mqsD.js → DjVe4luM.js} +1 -1
- package/.output/public/_nuxt/{CoPjdBwX.js → Dv7uv3N72.js} +1 -1
- package/.output/public/_nuxt/{CM9IbYJz.js → P5kgsppB.js} +1 -1
- package/.output/public/_nuxt/{KttxEAyP2.js → XR4gtbmm.js} +1 -1
- package/.output/public/_nuxt/_5p6z8Bm.js +2 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/98e45168-6e30-460e-aa28-fab54f032a83.json +1 -0
- package/.output/public/_nuxt/entry.DaxLd-bD.css +1 -0
- package/.output/public/_nuxt/flight-area-analysis.worker-CWQYRs9s.js +26 -0
- package/.output/public/_nuxt/hB2w6SMP2.js +64 -0
- package/.output/public/_nuxt/hePW80VL.js +1 -0
- package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
- package/.output/public/_nuxt/{nearest-area.worker-iSLH0Y_s.js → nearest-area.worker-BYHYA0SF.js} +1 -1
- package/.output/public/_nuxt/uomtiles-validation.worker-BTXhap7R.js +2 -0
- package/.output/server/chunks/_/antigravity-nfz.mjs +16 -3
- package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -1
- package/.output/server/chunks/_/coerce.mjs +8 -0
- package/.output/server/chunks/_/coerce.mjs.map +1 -0
- package/.output/server/chunks/_/config.mjs +1 -1
- package/.output/server/chunks/_/error-500.mjs +2 -2
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/file-workspace.mjs +57 -5
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -1
- package/.output/server/chunks/_/map-service.mjs +1 -1
- package/.output/server/chunks/_/pixel-diff.mjs +1 -1
- package/.output/server/{node_modules/consola/dist/chunks → chunks/_}/prompt.mjs +2 -2
- package/.output/server/chunks/_/prompt.mjs.map +1 -0
- package/.output/server/chunks/_/schemas.mjs +5005 -0
- package/.output/server/chunks/_/schemas.mjs.map +1 -0
- package/.output/server/{node_modules/@vue/shared/dist/shared.cjs.prod.js → chunks/_/shared.cjs.prod.mjs} +90 -76
- package/.output/server/chunks/_/shared.cjs.prod.mjs.map +1 -0
- package/.output/server/chunks/_/uom-auth.mjs +42 -5
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -1
- package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs → CompletedTaskSelect-nkBeLFh1.mjs} +768 -769
- package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs.map → CompletedTaskSelect-nkBeLFh1.mjs.map} +1 -1
- package/.output/server/chunks/build/Empty-Cq-rSwil.mjs +259 -0
- package/.output/server/chunks/build/Empty-Cq-rSwil.mjs.map +1 -0
- package/.output/server/chunks/build/{interval-i5OZnTaK.mjs → Form-6_bvrptP.mjs} +37 -43
- package/.output/server/chunks/build/Form-6_bvrptP.mjs.map +1 -0
- package/.output/server/chunks/build/FormField-DJWBDPj5.mjs +246 -0
- package/.output/server/chunks/build/FormField-DJWBDPj5.mjs.map +1 -0
- package/.output/server/chunks/build/{Input-DnAric-z.mjs → Input-BeUryJZ5.mjs} +67 -68
- package/.output/server/chunks/build/Input-BeUryJZ5.mjs.map +1 -0
- package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs → MapLayerControl-DPdRMmuw.mjs} +771 -772
- package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs.map → MapLayerControl-DPdRMmuw.mjs.map} +1 -1
- package/.output/server/chunks/build/Modal-BZfMeBGt.mjs +1319 -0
- package/.output/server/chunks/build/{Modal-BLhN9Eg2.mjs.map → Modal-BZfMeBGt.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-B-sCfHkC.mjs → OnlineMap-CYdaIiq1.mjs} +46 -23
- package/.output/server/chunks/build/OnlineMap-CYdaIiq1.mjs.map +1 -0
- package/.output/server/chunks/build/Pagination-5jGo7sr3.mjs +1024 -0
- package/.output/server/chunks/build/{Pagination-CUzoLc_-.mjs.map → Pagination-5jGo7sr3.mjs.map} +1 -1
- package/.output/server/chunks/build/{Tabs-cdLsZZoL.mjs → ScrollArea-1y_sQGDj.mjs} +951 -952
- package/.output/server/chunks/build/ScrollArea-1y_sQGDj.mjs.map +1 -0
- package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs → Skeleton-hv0ZqADP.mjs} +10 -11
- package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs.map → Skeleton-hv0ZqADP.mjs.map} +1 -1
- package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs → Slider-DMNQ5v0F.mjs} +150 -151
- package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs.map → Slider-DMNQ5v0F.mjs.map} +1 -1
- package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs → Tooltip-Da_m4qTB.mjs} +151 -152
- package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs.map → Tooltip-Da_m4qTB.mjs.map} +1 -1
- package/.output/server/chunks/build/advanced-CQaZH879.mjs +5011 -0
- package/.output/server/chunks/build/advanced-CQaZH879.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-DaE10Dhp.mjs → compare-CXhy8zkR.mjs} +297 -306
- package/.output/server/chunks/build/compare-CXhy8zkR.mjs.map +1 -0
- package/.output/server/chunks/build/{cookie-CziAmOf1.mjs → cookie-B6O7_fHD.mjs} +6 -6
- package/.output/server/chunks/build/{cookie-CziAmOf1.mjs.map → cookie-B6O7_fHD.mjs.map} +1 -1
- package/.output/server/chunks/build/dashboard-m7MkDiLb.mjs +3229 -0
- package/.output/server/chunks/build/{dashboard-Dq8mphss.mjs.map → dashboard-m7MkDiLb.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-DCNvSBgn.mjs → details-BuFz0zbq.mjs} +207 -216
- package/.output/server/chunks/build/details-BuFz0zbq.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +12 -21
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -1
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +8 -17
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -1
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +10 -10
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -1
- package/.output/server/chunks/build/{file-workspace-DMzPuPyG.mjs → file-workspace-C9v6Qocb.mjs} +4 -4
- package/.output/server/chunks/build/file-workspace-C9v6Qocb.mjs.map +1 -0
- package/.output/server/chunks/build/{layers-50nqoWES.mjs → layers-BXomRZx1.mjs} +107 -116
- package/.output/server/chunks/build/layers-BXomRZx1.mjs.map +1 -0
- package/.output/server/chunks/build/{login-BHSHtO-R.mjs → login-Bc6Roxwo.mjs} +149 -153
- package/.output/server/chunks/build/login-Bc6Roxwo.mjs.map +1 -0
- package/.output/server/chunks/build/{map-layers-C3HJoCLw.mjs → map-layers-CTSGZGmW.mjs} +6 -6
- package/.output/server/chunks/build/map-layers-CTSGZGmW.mjs.map +1 -0
- package/.output/server/chunks/build/{overlay-BS4_B29H.mjs → overlay-LIOZRR0G.mjs} +174 -154
- package/.output/server/chunks/build/{overlay-BS4_B29H.mjs.map → overlay-LIOZRR0G.mjs.map} +1 -1
- package/.output/server/chunks/build/pages-CBsYYFMD.mjs +210 -0
- package/.output/server/chunks/build/pages-CBsYYFMD.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-5yYRS5nX.mjs → pages-DN0BdqEU.mjs} +5 -5
- package/.output/server/chunks/build/pages-DN0BdqEU.mjs.map +1 -0
- package/.output/server/chunks/build/{services-DWlDpsbi.mjs → services-DnEkW3P_.mjs} +255 -264
- package/.output/server/chunks/build/{services-DWlDpsbi.mjs.map → services-DnEkW3P_.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs → tasks-Bbc6_UeW.mjs} +1084 -1084
- package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs.map → tasks-Bbc6_UeW.mjs.map} +1 -1
- package/.output/server/chunks/build/tasks-BzxHEsMV.mjs +82 -0
- package/.output/server/chunks/build/tasks-BzxHEsMV.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +1861 -310
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/login.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/logout.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/base/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +3 -2
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +8 -8
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +3 -3
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +5 -5
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +3 -3
- package/.output/server/chunks/routes/api/uom/myspace.post.mjs +71 -0
- package/.output/server/chunks/routes/api/uom/myspace.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +8 -13
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +8 -7
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +9 -8
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +6 -5
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +7 -6
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +10 -9
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +5 -5
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +5 -5
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +4 -4
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +42597 -155
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wms.get.mjs +14 -13
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +14 -13
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -1
- package/.output/server/chunks/virtual/entry.mjs +1317 -1136
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +4 -3
- package/.output/server/index.mjs.map +1 -1
- package/README.md +7 -31
- package/dist/package.json +6 -1
- package/dist/src/cli.js +4 -3
- package/dist/src/core/fetch-process.js +11 -0
- package/package.json +6 -1
- package/.output/public/_nuxt/7KYNy7kZ.js +0 -1
- package/.output/public/_nuxt/7Rgc2iDI2.js +0 -1
- package/.output/public/_nuxt/BRsHq3Fz2.js +0 -1
- package/.output/public/_nuxt/BiRI-vq-.js +0 -1
- package/.output/public/_nuxt/CGkIG2vL2.js +0 -1
- package/.output/public/_nuxt/CUQ3MZqI.js +0 -1
- package/.output/public/_nuxt/CzRdWh7s2.js +0 -1
- package/.output/public/_nuxt/DK3Fl9T5.js +0 -1
- package/.output/public/_nuxt/D_Ggu6R_2.js +0 -1
- package/.output/public/_nuxt/DuGgjt-h2.js +0 -64
- package/.output/public/_nuxt/GEOST6As.js +0 -1
- package/.output/public/_nuxt/L0GXeO1Y2.js +0 -1
- package/.output/public/_nuxt/builds/meta/ad8f3148-5aa4-4a0f-8e7a-e55147c5de1a.json +0 -1
- package/.output/public/_nuxt/entry.U-KS0GEu.css +0 -1
- package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs +0 -260
- package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +0 -1
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs +0 -247
- package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +0 -1
- package/.output/server/chunks/build/Input-DnAric-z.mjs.map +0 -1
- package/.output/server/chunks/build/Modal-BLhN9Eg2.mjs +0 -1320
- package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +0 -1
- package/.output/server/chunks/build/Pagination-CUzoLc_-.mjs +0 -1025
- package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs +0 -1426
- package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +0 -1
- package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +0 -1
- package/.output/server/chunks/build/dashboard-Dq8mphss.mjs +0 -3238
- package/.output/server/chunks/build/details-DCNvSBgn.mjs.map +0 -1
- package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +0 -1
- package/.output/server/chunks/build/interval-i5OZnTaK.mjs.map +0 -1
- package/.output/server/chunks/build/layers-50nqoWES.mjs.map +0 -1
- package/.output/server/chunks/build/login-BHSHtO-R.mjs.map +0 -1
- package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +0 -1
- package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +0 -1
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs +0 -219
- package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs +0 -91
- package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +0 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14611
- package/.output/server/node_modules/@babel/parser/package.json +0 -50
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
- package/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
- package/.output/server/node_modules/@iconify/utils/package.json +0 -119
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6801
- package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -692
- package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1420
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1903
- package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6976
- package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1841
- package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -904
- package/.output/server/node_modules/@vue/server-renderer/package.json +0 -53
- package/.output/server/node_modules/@vue/shared/package.json +0 -47
- package/.output/server/node_modules/consola/dist/core.mjs +0 -512
- package/.output/server/node_modules/consola/dist/index.mjs +0 -651
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
- package/.output/server/node_modules/consola/package.json +0 -136
- package/.output/server/node_modules/devalue/index.js +0 -17
- package/.output/server/node_modules/devalue/package.json +0 -39
- package/.output/server/node_modules/devalue/src/base64.js +0 -60
- package/.output/server/node_modules/devalue/src/constants.js +0 -12
- package/.output/server/node_modules/devalue/src/operations.js +0 -193
- package/.output/server/node_modules/devalue/src/parse.js +0 -270
- package/.output/server/node_modules/devalue/src/stringify.js +0 -428
- package/.output/server/node_modules/devalue/src/uneval.js +0 -582
- package/.output/server/node_modules/devalue/src/utils.js +0 -185
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
- package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
- package/.output/server/node_modules/entities/package.json +0 -120
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
- package/.output/server/node_modules/estree-walker/package.json +0 -37
- package/.output/server/node_modules/fflate/esm/index.mjs +0 -2710
- package/.output/server/node_modules/fflate/package.json +0 -128
- package/.output/server/node_modules/fnv1a-64/dist/index.mjs +0 -95
- package/.output/server/node_modules/fnv1a-64/package.json +0 -75
- package/.output/server/node_modules/hookable/dist/index.mjs +0 -257
- package/.output/server/node_modules/hookable/package.json +0 -53
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +0 -19
- package/.output/server/node_modules/nostics/dist/index.mjs +0 -187
- package/.output/server/node_modules/nostics/package.json +0 -125
- package/.output/server/node_modules/object-identity/index.js +0 -60
- package/.output/server/node_modules/object-identity/package.json +0 -40
- package/.output/server/node_modules/p-limit/index.js +0 -104
- package/.output/server/node_modules/p-limit/package.json +0 -58
- package/.output/server/node_modules/pmtiles/dist/esm/index.js +0 -2
- package/.output/server/node_modules/pmtiles/package.json +0 -50
- package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
- package/.output/server/node_modules/source-map-js/package.json +0 -71
- package/.output/server/node_modules/source-map-js/source-map.js +0 -8
- package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +0 -1
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
- package/.output/server/node_modules/tailwindcss/package.json +0 -89
- package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
- package/.output/server/node_modules/ufo/package.json +0 -48
- package/.output/server/node_modules/undici/index.js +0 -234
- package/.output/server/node_modules/undici/lib/api/abort-signal.js +0 -59
- package/.output/server/node_modules/undici/lib/api/api-connect.js +0 -110
- package/.output/server/node_modules/undici/lib/api/api-pipeline.js +0 -252
- package/.output/server/node_modules/undici/lib/api/api-request.js +0 -214
- package/.output/server/node_modules/undici/lib/api/api-stream.js +0 -209
- package/.output/server/node_modules/undici/lib/api/api-upgrade.js +0 -111
- package/.output/server/node_modules/undici/lib/api/index.js +0 -7
- package/.output/server/node_modules/undici/lib/api/readable.js +0 -580
- package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
- package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
- package/.output/server/node_modules/undici/lib/core/connect.js +0 -153
- package/.output/server/node_modules/undici/lib/core/constants.js +0 -143
- package/.output/server/node_modules/undici/lib/core/diagnostics.js +0 -227
- package/.output/server/node_modules/undici/lib/core/errors.js +0 -477
- package/.output/server/node_modules/undici/lib/core/request.js +0 -464
- package/.output/server/node_modules/undici/lib/core/socks5-client.js +0 -422
- package/.output/server/node_modules/undici/lib/core/socks5-utils.js +0 -212
- package/.output/server/node_modules/undici/lib/core/symbols.js +0 -75
- package/.output/server/node_modules/undici/lib/core/tree.js +0 -160
- package/.output/server/node_modules/undici/lib/core/util.js +0 -992
- package/.output/server/node_modules/undici/lib/dispatcher/agent.js +0 -158
- package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
- package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
- package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
- package/.output/server/node_modules/undici/lib/dispatcher/client.js +0 -664
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
- package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
- package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
- package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
- package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
- package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
- package/.output/server/node_modules/undici/lib/dispatcher/pool.js +0 -118
- package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
- package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
- package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
- package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
- package/.output/server/node_modules/undici/lib/encoding/index.js +0 -33
- package/.output/server/node_modules/undici/lib/global.js +0 -59
- package/.output/server/node_modules/undici/lib/handler/cache-handler.js +0 -760
- package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
- package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +0 -67
- package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
- package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +0 -238
- package/.output/server/node_modules/undici/lib/handler/retry-handler.js +0 -418
- package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
- package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +0 -105
- package/.output/server/node_modules/undici/lib/interceptor/cache.js +0 -602
- package/.output/server/node_modules/undici/lib/interceptor/decompress.js +0 -259
- package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
- package/.output/server/node_modules/undici/lib/interceptor/dns.js +0 -571
- package/.output/server/node_modules/undici/lib/interceptor/dump.js +0 -112
- package/.output/server/node_modules/undici/lib/interceptor/redirect.js +0 -21
- package/.output/server/node_modules/undici/lib/interceptor/response-error.js +0 -95
- package/.output/server/node_modules/undici/lib/interceptor/retry.js +0 -19
- package/.output/server/node_modules/undici/lib/llhttp/constants.js +0 -531
- package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
- package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
- package/.output/server/node_modules/undici/lib/llhttp/utils.js +0 -12
- package/.output/server/node_modules/undici/lib/mock/mock-agent.js +0 -232
- package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +0 -248
- package/.output/server/node_modules/undici/lib/mock/mock-client.js +0 -68
- package/.output/server/node_modules/undici/lib/mock/mock-errors.js +0 -29
- package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
- package/.output/server/node_modules/undici/lib/mock/mock-pool.js +0 -68
- package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +0 -32
- package/.output/server/node_modules/undici/lib/mock/mock-utils.js +0 -486
- package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
- package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
- package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
- package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
- package/.output/server/node_modules/undici/lib/util/cache.js +0 -676
- package/.output/server/node_modules/undici/lib/util/date.js +0 -670
- package/.output/server/node_modules/undici/lib/util/promise.js +0 -28
- package/.output/server/node_modules/undici/lib/util/runtime-features.js +0 -124
- package/.output/server/node_modules/undici/lib/util/stats.js +0 -32
- package/.output/server/node_modules/undici/lib/util/timers.js +0 -425
- package/.output/server/node_modules/undici/lib/web/cache/cache.js +0 -864
- package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
- package/.output/server/node_modules/undici/lib/web/cache/util.js +0 -45
- package/.output/server/node_modules/undici/lib/web/cookies/constants.js +0 -12
- package/.output/server/node_modules/undici/lib/web/cookies/index.js +0 -199
- package/.output/server/node_modules/undici/lib/web/cookies/parse.js +0 -314
- package/.output/server/node_modules/undici/lib/web/cookies/util.js +0 -352
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
- package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
- package/.output/server/node_modules/undici/lib/web/eventsource/util.js +0 -29
- package/.output/server/node_modules/undici/lib/web/fetch/body.js +0 -509
- package/.output/server/node_modules/undici/lib/web/fetch/constants.js +0 -131
- package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +0 -596
- package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
- package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +0 -259
- package/.output/server/node_modules/undici/lib/web/fetch/global.js +0 -40
- package/.output/server/node_modules/undici/lib/web/fetch/headers.js +0 -719
- package/.output/server/node_modules/undici/lib/web/fetch/index.js +0 -2413
- package/.output/server/node_modules/undici/lib/web/fetch/request.js +0 -1115
- package/.output/server/node_modules/undici/lib/web/fetch/response.js +0 -641
- package/.output/server/node_modules/undici/lib/web/fetch/util.js +0 -1522
- package/.output/server/node_modules/undici/lib/web/infra/index.js +0 -229
- package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
- package/.output/server/node_modules/undici/lib/web/webidl/index.js +0 -1006
- package/.output/server/node_modules/undici/lib/web/websocket/connection.js +0 -329
- package/.output/server/node_modules/undici/lib/web/websocket/constants.js +0 -126
- package/.output/server/node_modules/undici/lib/web/websocket/events.js +0 -331
- package/.output/server/node_modules/undici/lib/web/websocket/frame.js +0 -133
- package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
- package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +0 -507
- package/.output/server/node_modules/undici/lib/web/websocket/sender.js +0 -109
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
- package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
- package/.output/server/node_modules/undici/lib/web/websocket/util.js +0 -347
- package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +0 -758
- package/.output/server/node_modules/undici/package.json +0 -152
- package/.output/server/node_modules/unhead/dist/client.mjs +0 -22
- package/.output/server/node_modules/unhead/dist/index.mjs +0 -52
- package/.output/server/node_modules/unhead/dist/legacy.mjs +0 -33
- package/.output/server/node_modules/unhead/dist/minify.mjs +0 -183
- package/.output/server/node_modules/unhead/dist/parser.mjs +0 -518
- package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -631
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/server.mjs +0 -99
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +0 -673
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +0 -47
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +0 -192
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +0 -67
- package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +0 -585
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +0 -6
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +0 -17
- package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +0 -223
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +0 -32
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +0 -7
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +0 -27
- package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +0 -196
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +0 -59
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +0 -400
- package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +0 -19
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +0 -240
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +0 -28
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +0 -2
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +0 -264
- package/.output/server/node_modules/unhead/dist/utils.mjs +0 -7
- package/.output/server/node_modules/unhead/package.json +0 -179
- package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/vue/index.js +0 -7
- package/.output/server/node_modules/vue/index.mjs +0 -1
- package/.output/server/node_modules/vue/package.json +0 -112
- package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -278
- package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -54
- package/.output/server/node_modules/yocto-queue/index.js +0 -90
- package/.output/server/node_modules/yocto-queue/package.json +0 -48
- package/.output/server/node_modules/zod/index.js +0 -4
- package/.output/server/node_modules/zod/package.json +0 -135
- package/.output/server/node_modules/zod/v4/classic/checks.js +0 -1
- package/.output/server/node_modules/zod/v4/classic/coerce.js +0 -17
- package/.output/server/node_modules/zod/v4/classic/compat.js +0 -31
- package/.output/server/node_modules/zod/v4/classic/errors.js +0 -48
- package/.output/server/node_modules/zod/v4/classic/external.js +0 -20
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +0 -599
- package/.output/server/node_modules/zod/v4/classic/iso.js +0 -30
- package/.output/server/node_modules/zod/v4/classic/package.json +0 -7
- package/.output/server/node_modules/zod/v4/classic/parse.js +0 -15
- package/.output/server/node_modules/zod/v4/classic/schemas.js +0 -1395
- package/.output/server/node_modules/zod/v4/core/api.js +0 -1087
- package/.output/server/node_modules/zod/v4/core/checks.js +0 -575
- package/.output/server/node_modules/zod/v4/core/core.js +0 -78
- package/.output/server/node_modules/zod/v4/core/doc.js +0 -35
- package/.output/server/node_modules/zod/v4/core/errors.js +0 -185
- package/.output/server/node_modules/zod/v4/core/index.js +0 -16
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +0 -601
- package/.output/server/node_modules/zod/v4/core/json-schema.js +0 -1
- package/.output/server/node_modules/zod/v4/core/package.json +0 -7
- package/.output/server/node_modules/zod/v4/core/parse.js +0 -93
- package/.output/server/node_modules/zod/v4/core/regexes.js +0 -139
- package/.output/server/node_modules/zod/v4/core/registries.js +0 -51
- package/.output/server/node_modules/zod/v4/core/schemas.js +0 -2239
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +0 -448
- package/.output/server/node_modules/zod/v4/core/util.js +0 -674
- package/.output/server/node_modules/zod/v4/core/versions.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/ar.js +0 -106
- package/.output/server/node_modules/zod/v4/locales/az.js +0 -105
- package/.output/server/node_modules/zod/v4/locales/be.js +0 -156
- package/.output/server/node_modules/zod/v4/locales/bg.js +0 -120
- package/.output/server/node_modules/zod/v4/locales/ca.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/cs.js +0 -111
- package/.output/server/node_modules/zod/v4/locales/da.js +0 -115
- package/.output/server/node_modules/zod/v4/locales/de.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/el.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/en.js +0 -113
- package/.output/server/node_modules/zod/v4/locales/eo.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/es.js +0 -132
- package/.output/server/node_modules/zod/v4/locales/fa.js +0 -114
- package/.output/server/node_modules/zod/v4/locales/fi.js +0 -112
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/fr.js +0 -125
- package/.output/server/node_modules/zod/v4/locales/he.js +0 -214
- package/.output/server/node_modules/zod/v4/locales/hr.js +0 -122
- package/.output/server/node_modules/zod/v4/locales/hu.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/hy.js +0 -147
- package/.output/server/node_modules/zod/v4/locales/id.js +0 -106
- package/.output/server/node_modules/zod/v4/locales/index.js +0 -52
- package/.output/server/node_modules/zod/v4/locales/is.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/it.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ja.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/ka.js +0 -112
- package/.output/server/node_modules/zod/v4/locales/kh.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/km.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/ko.js +0 -111
- package/.output/server/node_modules/zod/v4/locales/lt.js +0 -203
- package/.output/server/node_modules/zod/v4/locales/mk.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/ms.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/nl.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/no.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ota.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/package.json +0 -7
- package/.output/server/node_modules/zod/v4/locales/pl.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/ps.js +0 -114
- package/.output/server/node_modules/zod/v4/locales/pt.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ro.js +0 -119
- package/.output/server/node_modules/zod/v4/locales/ru.js +0 -156
- package/.output/server/node_modules/zod/v4/locales/sl.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/sv.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/ta.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/th.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/tr.js +0 -105
- package/.output/server/node_modules/zod/v4/locales/ua.js +0 -5
- package/.output/server/node_modules/zod/v4/locales/uk.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/ur.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/uz.js +0 -110
- package/.output/server/node_modules/zod/v4/locales/vi.js +0 -108
- package/.output/server/node_modules/zod/v4/locales/yo.js +0 -107
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/.output/server/package.json +0 -38
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { d as useComponentProps, e as useLocale, f as useAppConfig, g as useForwardProps, r as reactivePick, h as usePortal, i as useFormField, j as useFieldGroup, k as useComponentIcons, l as createReusableTemplate, t as tv, m as isArrayOfArray, n as compare$1, o as get,
|
|
2
|
-
import { F as FocusScope_default, u as useId$1, a as useDirection, P as PopperRoot_default, b as PopperAnchor_default, c as useForwardPropsEmits, d as PopperArrow_default, e as useBodyScrollLock, f as useHideOthers, D as DismissableLayer_default, g as PopperContent_default, h as handleAndDispatchCustomEvent } from './overlay-
|
|
3
|
-
import { u as useFormControl, V as VisuallyHiddenInput_default,
|
|
4
|
-
import { u as useComposing, b as useTypeahead, g as getNextMatch, c as useKbd } from './
|
|
1
|
+
import { d as useComponentProps, e as useLocale, f as useAppConfig, g as useForwardProps, r as reactivePick, h as usePortal, i as useFormField, j as useFieldGroup, k as useComponentIcons, l as createReusableTemplate, t as tv, m as isArrayOfArray, n as compare$1, o as get, b as _sfc_main$5, p as _sfc_main$3, q as _sfc_main$4, _ as _sfc_main$1, F as FieldGroupReset, s as usePrimitiveElement, v as useForwardExpose, P as Primitive, w as useVModel, x as looseToNumber, y as getDisplayValue, T as Teleport_default, z as Presence_default, A as createContext, B as useCollection, C as createEventHook, D as useForwardProps$1, E as useParentElement, G as refAutoReset, H as getActiveElement } from '../virtual/entry.mjs';
|
|
2
|
+
import { F as FocusScope_default, u as useId$1, a as useDirection, P as PopperRoot_default, b as PopperAnchor_default, c as useForwardPropsEmits, d as PopperArrow_default, e as useBodyScrollLock, f as useHideOthers, D as DismissableLayer_default, g as PopperContent_default, h as handleAndDispatchCustomEvent } from './overlay-LIOZRR0G.mjs';
|
|
3
|
+
import { u as useFormControl, V as VisuallyHiddenInput_default, d as useFocusGuards, e as MAP_KEY_TO_FOCUS_INTENT, g as getFocusIntent } from './MapLayerControl-DPdRMmuw.mjs';
|
|
4
|
+
import { u as useComposing, b as useTypeahead, g as getNextMatch, c as useKbd } from './ScrollArea-1y_sQGDj.mjs';
|
|
5
5
|
import { u as useVirtualizer } from './esm-Dp2lJXbp.mjs';
|
|
6
|
-
import { _ as _sfc_main$2 } from './Input-
|
|
7
|
-
import { u as useFileWorkspace } from './file-workspace-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { ssrRenderComponent, ssrRenderClass, ssrRenderSlot, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
|
|
6
|
+
import { _ as _sfc_main$2 } from './Input-BeUryJZ5.mjs';
|
|
7
|
+
import { u as useFileWorkspace } from './file-workspace-C9v6Qocb.mjs';
|
|
8
|
+
import { E as defu, Q as isEqual } from '../nitro/nitro.mjs';
|
|
9
|
+
import { v as vueExports, s as ssrRenderComponent_1, b as ssrRenderClass_1, a as ssrRenderSlot_1, e as ssrInterpolate_1, k as ssrRenderList_1 } from '../routes/renderer.mjs';
|
|
11
10
|
|
|
12
11
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/arrays.js
|
|
13
12
|
/**
|
|
@@ -49,8 +48,8 @@ function findValuesBetween(array, start, end) {
|
|
|
49
48
|
* contains('hello', 'ell'); // true
|
|
50
49
|
*/
|
|
51
50
|
function useFilter$1(options) {
|
|
52
|
-
const computedOptions = computed(() => unref(options));
|
|
53
|
-
const collator = computed(() => new Intl.Collator("en", {
|
|
51
|
+
const computedOptions = vueExports.computed(() => vueExports.unref(options));
|
|
52
|
+
const collator = vueExports.computed(() => new Intl.Collator("en", {
|
|
54
53
|
usage: "search",
|
|
55
54
|
...computedOptions.value
|
|
56
55
|
}));
|
|
@@ -104,7 +103,7 @@ function compare(value, currentValue, comparator) {
|
|
|
104
103
|
//#endregion
|
|
105
104
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js
|
|
106
105
|
var [injectListboxRootContext, provideListboxRootContext] = /*#__PURE__*/ createContext("ListboxRoot");
|
|
107
|
-
var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
106
|
+
var ListboxRoot_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
108
107
|
__name: "ListboxRoot",
|
|
109
108
|
props: {
|
|
110
109
|
modelValue: {
|
|
@@ -171,16 +170,16 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
171
170
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
172
171
|
const props = __props;
|
|
173
172
|
const emits = __emit;
|
|
174
|
-
const { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = toRefs(props);
|
|
173
|
+
const { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = vueExports.toRefs(props);
|
|
175
174
|
const { getItems } = useCollection({ isProvider: true });
|
|
176
175
|
const { handleTypeaheadSearch } = useTypeahead();
|
|
177
176
|
const { primitiveElement, currentElement } = usePrimitiveElement();
|
|
178
177
|
const kbd = useKbd();
|
|
179
178
|
const dir = useDirection(propDir);
|
|
180
179
|
const isFormControl = useFormControl(currentElement);
|
|
181
|
-
const firstValue = ref();
|
|
182
|
-
const isUserAction = ref(false);
|
|
183
|
-
const focusable = ref(true);
|
|
180
|
+
const firstValue = vueExports.ref();
|
|
181
|
+
const isUserAction = vueExports.ref(false);
|
|
182
|
+
const focusable = vueExports.ref(true);
|
|
184
183
|
const modelValue = useVModel(props, "modelValue", emits, {
|
|
185
184
|
defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
|
|
186
185
|
passive: props.modelValue === void 0,
|
|
@@ -205,10 +204,10 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
205
204
|
isUserAction.value = false;
|
|
206
205
|
}, 1);
|
|
207
206
|
}
|
|
208
|
-
const highlightedElement = ref(null);
|
|
209
|
-
const previousElement = ref(null);
|
|
210
|
-
const isVirtual = ref(false);
|
|
211
|
-
const isComposing = ref(false);
|
|
207
|
+
const highlightedElement = vueExports.ref(null);
|
|
208
|
+
const previousElement = vueExports.ref(null);
|
|
209
|
+
const isVirtual = vueExports.ref(false);
|
|
210
|
+
const isComposing = vueExports.ref(false);
|
|
212
211
|
const virtualFocusHook = createEventHook();
|
|
213
212
|
const virtualKeydownHook = createEventHook();
|
|
214
213
|
const virtualHighlightHook = createEventHook();
|
|
@@ -267,12 +266,12 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
267
266
|
isComposing.value = true;
|
|
268
267
|
}
|
|
269
268
|
function onCompositionEnd() {
|
|
270
|
-
nextTick(() => {
|
|
269
|
+
vueExports.nextTick(() => {
|
|
271
270
|
isComposing.value = false;
|
|
272
271
|
});
|
|
273
272
|
}
|
|
274
273
|
function highlightFirstItem() {
|
|
275
|
-
nextTick(() => {
|
|
274
|
+
vueExports.nextTick(() => {
|
|
276
275
|
onKeydownNavigation(new KeyboardEvent("keydown", { key: "PageUp" }));
|
|
277
276
|
});
|
|
278
277
|
}
|
|
@@ -330,11 +329,11 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
330
329
|
}
|
|
331
330
|
async function highlightSelected(event, scroll = true) {}
|
|
332
331
|
let hasHighlightedOnMount = false;
|
|
333
|
-
watch(modelValue, () => {
|
|
332
|
+
vueExports.watch(modelValue, () => {
|
|
334
333
|
if (!isUserAction.value) {
|
|
335
334
|
const scroll = hasHighlightedOnMount;
|
|
336
335
|
hasHighlightedOnMount = true;
|
|
337
|
-
nextTick(() => {
|
|
336
|
+
vueExports.nextTick(() => {
|
|
338
337
|
highlightSelected(void 0, scroll);
|
|
339
338
|
});
|
|
340
339
|
}
|
|
@@ -377,32 +376,32 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
377
376
|
highlightFirstItem
|
|
378
377
|
});
|
|
379
378
|
return (_ctx, _cache) => {
|
|
380
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
379
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), {
|
|
381
380
|
ref_key: "primitiveElement",
|
|
382
381
|
ref: primitiveElement,
|
|
383
382
|
as: _ctx.as,
|
|
384
383
|
"as-child": _ctx.asChild,
|
|
385
|
-
dir: unref(dir),
|
|
386
|
-
"data-disabled": unref(disabled) ? "" : void 0,
|
|
384
|
+
dir: vueExports.unref(dir),
|
|
385
|
+
"data-disabled": vueExports.unref(disabled) ? "" : void 0,
|
|
387
386
|
onPointerleave: onLeave,
|
|
388
387
|
onFocusout: _cache[0] || (_cache[0] = async (event) => {
|
|
389
388
|
const target = event.relatedTarget || event.target;
|
|
390
|
-
await nextTick();
|
|
391
|
-
if (highlightedElement.value && unref(currentElement) && !unref(currentElement).contains(target)) onLeave(event);
|
|
389
|
+
await vueExports.nextTick();
|
|
390
|
+
if (highlightedElement.value && vueExports.unref(currentElement) && !vueExports.unref(currentElement).contains(target)) onLeave(event);
|
|
392
391
|
})
|
|
393
392
|
}, {
|
|
394
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
|
|
393
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", { modelValue: vueExports.unref(modelValue) }), vueExports.unref(isFormControl) && _ctx.name ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(VisuallyHiddenInput_default), {
|
|
395
394
|
key: 0,
|
|
396
395
|
name: _ctx.name,
|
|
397
|
-
value: unref(modelValue),
|
|
398
|
-
disabled: unref(disabled),
|
|
396
|
+
value: vueExports.unref(modelValue),
|
|
397
|
+
disabled: vueExports.unref(disabled),
|
|
399
398
|
required: _ctx.required
|
|
400
399
|
}, null, 8, [
|
|
401
400
|
"name",
|
|
402
401
|
"value",
|
|
403
402
|
"disabled",
|
|
404
403
|
"required"
|
|
405
|
-
])) : createCommentVNode("v-if", true)]),
|
|
404
|
+
])) : vueExports.createCommentVNode("v-if", true)]),
|
|
406
405
|
_: 3
|
|
407
406
|
}, 8, [
|
|
408
407
|
"as",
|
|
@@ -415,7 +414,7 @@ var ListboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
415
414
|
});
|
|
416
415
|
//#endregion
|
|
417
416
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js
|
|
418
|
-
var ListboxContent_default = /* @__PURE__ */ defineComponent({
|
|
417
|
+
var ListboxContent_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
419
418
|
__name: "ListboxContent",
|
|
420
419
|
props: {
|
|
421
420
|
asChild: {
|
|
@@ -432,25 +431,25 @@ var ListboxContent_default = /* @__PURE__ */ defineComponent({
|
|
|
432
431
|
const rootContext = injectListboxRootContext();
|
|
433
432
|
const isClickFocus = refAutoReset(false, 10);
|
|
434
433
|
return (_ctx, _cache) => {
|
|
435
|
-
return openBlock(), createBlock(unref(CollectionSlot), null, {
|
|
436
|
-
default: withCtx(() => [createVNode(unref(Primitive), {
|
|
434
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(CollectionSlot), null, {
|
|
435
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), {
|
|
437
436
|
role: "listbox",
|
|
438
437
|
as: _ctx.as,
|
|
439
438
|
"as-child": _ctx.asChild,
|
|
440
|
-
tabindex: unref(rootContext).focusable.value ? unref(rootContext).highlightedElement.value ? "-1" : "0" : "-1",
|
|
441
|
-
"aria-orientation": unref(rootContext).orientation.value,
|
|
442
|
-
"aria-multiselectable": !!unref(rootContext).multiple.value,
|
|
443
|
-
"data-orientation": unref(rootContext).orientation.value,
|
|
444
|
-
onMousedown: _cache[0] || (_cache[0] = withModifiers(($event) => isClickFocus.value = true, ["left"])),
|
|
439
|
+
tabindex: vueExports.unref(rootContext).focusable.value ? vueExports.unref(rootContext).highlightedElement.value ? "-1" : "0" : "-1",
|
|
440
|
+
"aria-orientation": vueExports.unref(rootContext).orientation.value,
|
|
441
|
+
"aria-multiselectable": !!vueExports.unref(rootContext).multiple.value,
|
|
442
|
+
"data-orientation": vueExports.unref(rootContext).orientation.value,
|
|
443
|
+
onMousedown: _cache[0] || (_cache[0] = vueExports.withModifiers(($event) => isClickFocus.value = true, ["left"])),
|
|
445
444
|
onFocus: _cache[1] || (_cache[1] = (ev) => {
|
|
446
|
-
if (unref(isClickFocus)) return;
|
|
447
|
-
unref(rootContext).onEnter(ev);
|
|
445
|
+
if (vueExports.unref(isClickFocus)) return;
|
|
446
|
+
vueExports.unref(rootContext).onEnter(ev);
|
|
448
447
|
}),
|
|
449
448
|
onKeydown: [
|
|
450
|
-
_cache[2] || (_cache[2] = withKeys((event) => {
|
|
451
|
-
if (unref(rootContext).orientation.value === "vertical" && (event.key === "ArrowLeft" || event.key === "ArrowRight") || unref(rootContext).orientation.value === "horizontal" && (event.key === "ArrowUp" || event.key === "ArrowDown")) return;
|
|
449
|
+
_cache[2] || (_cache[2] = vueExports.withKeys((event) => {
|
|
450
|
+
if (vueExports.unref(rootContext).orientation.value === "vertical" && (event.key === "ArrowLeft" || event.key === "ArrowRight") || vueExports.unref(rootContext).orientation.value === "horizontal" && (event.key === "ArrowUp" || event.key === "ArrowDown")) return;
|
|
452
451
|
event.preventDefault();
|
|
453
|
-
unref(rootContext).focusable.value && unref(rootContext).onKeydownNavigation(event);
|
|
452
|
+
vueExports.unref(rootContext).focusable.value && vueExports.unref(rootContext).onKeydownNavigation(event);
|
|
454
453
|
}, [
|
|
455
454
|
"down",
|
|
456
455
|
"up",
|
|
@@ -459,11 +458,11 @@ var ListboxContent_default = /* @__PURE__ */ defineComponent({
|
|
|
459
458
|
"home",
|
|
460
459
|
"end"
|
|
461
460
|
])),
|
|
462
|
-
withKeys(unref(rootContext).onKeydownEnter, ["enter"]),
|
|
463
|
-
unref(rootContext).onKeydownTypeAhead
|
|
461
|
+
vueExports.withKeys(vueExports.unref(rootContext).onKeydownEnter, ["enter"]),
|
|
462
|
+
vueExports.unref(rootContext).onKeydownTypeAhead
|
|
464
463
|
]
|
|
465
464
|
}, {
|
|
466
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
465
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
467
466
|
_: 3
|
|
468
467
|
}, 8, [
|
|
469
468
|
"as",
|
|
@@ -481,7 +480,7 @@ var ListboxContent_default = /* @__PURE__ */ defineComponent({
|
|
|
481
480
|
});
|
|
482
481
|
//#endregion
|
|
483
482
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js
|
|
484
|
-
var ListboxFilter_default = /* @__PURE__ */ defineComponent({
|
|
483
|
+
var ListboxFilter_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
485
484
|
__name: "ListboxFilter",
|
|
486
485
|
props: {
|
|
487
486
|
modelValue: {
|
|
@@ -515,9 +514,9 @@ var ListboxFilter_default = /* @__PURE__ */ defineComponent({
|
|
|
515
514
|
});
|
|
516
515
|
const rootContext = injectListboxRootContext();
|
|
517
516
|
const { primitiveElement} = usePrimitiveElement();
|
|
518
|
-
const disabled = computed(() => props.disabled || rootContext.disabled.value || false);
|
|
519
|
-
const activedescendant = ref();
|
|
520
|
-
watchSyncEffect(() => activedescendant.value = rootContext.highlightedElement.value?.id);
|
|
517
|
+
const disabled = vueExports.computed(() => props.disabled || rootContext.disabled.value || false);
|
|
518
|
+
const activedescendant = vueExports.ref();
|
|
519
|
+
vueExports.watchSyncEffect(() => activedescendant.value = rootContext.highlightedElement.value?.id);
|
|
521
520
|
const { isComposing, handleCompositionStart, handleCompositionEnd } = useComposing((event) => {
|
|
522
521
|
modelValue.value = event.target.value;
|
|
523
522
|
rootContext.onCompositionEnd();
|
|
@@ -542,28 +541,28 @@ var ListboxFilter_default = /* @__PURE__ */ defineComponent({
|
|
|
542
541
|
rootContext.onKeydownEnter(event);
|
|
543
542
|
}
|
|
544
543
|
return (_ctx, _cache) => {
|
|
545
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
544
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), {
|
|
546
545
|
ref_key: "primitiveElement",
|
|
547
546
|
ref: primitiveElement,
|
|
548
547
|
as: _ctx.as,
|
|
549
548
|
"as-child": _ctx.asChild,
|
|
550
|
-
value: unref(modelValue),
|
|
549
|
+
value: vueExports.unref(modelValue),
|
|
551
550
|
disabled: disabled.value ? "" : void 0,
|
|
552
551
|
"data-disabled": disabled.value ? "" : void 0,
|
|
553
552
|
"aria-disabled": disabled.value ?? void 0,
|
|
554
553
|
"aria-activedescendant": activedescendant.value,
|
|
555
554
|
type: "text",
|
|
556
|
-
onKeydown: [withKeys(handleKeydownNavigation, [
|
|
555
|
+
onKeydown: [vueExports.withKeys(handleKeydownNavigation, [
|
|
557
556
|
"down",
|
|
558
557
|
"up",
|
|
559
558
|
"home",
|
|
560
559
|
"end"
|
|
561
|
-
]), withKeys(handleKeydownEnter, ["enter"])],
|
|
560
|
+
]), vueExports.withKeys(handleKeydownEnter, ["enter"])],
|
|
562
561
|
onInput: handleInput,
|
|
563
562
|
onCompositionstart: onCompositionStart,
|
|
564
|
-
onCompositionend: unref(handleCompositionEnd)
|
|
563
|
+
onCompositionend: vueExports.unref(handleCompositionEnd)
|
|
565
564
|
}, {
|
|
566
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) })]),
|
|
565
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", { modelValue: vueExports.unref(modelValue) })]),
|
|
567
566
|
_: 3
|
|
568
567
|
}, 8, [
|
|
569
568
|
"as",
|
|
@@ -581,7 +580,7 @@ var ListboxFilter_default = /* @__PURE__ */ defineComponent({
|
|
|
581
580
|
//#endregion
|
|
582
581
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxGroup.js
|
|
583
582
|
var [injectListboxGroupContext, provideListboxGroupContext] = /*#__PURE__*/ createContext("ListboxGroup");
|
|
584
|
-
var ListboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
583
|
+
var ListboxGroup_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
585
584
|
__name: "ListboxGroup",
|
|
586
585
|
props: {
|
|
587
586
|
asChild: {
|
|
@@ -598,8 +597,8 @@ var ListboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
598
597
|
const id = useId$1(void 0, "reka-listbox-group");
|
|
599
598
|
provideListboxGroupContext({ id });
|
|
600
599
|
return (_ctx, _cache) => {
|
|
601
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({ role: "group" }, props, { "aria-labelledby": unref(id) }), {
|
|
602
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
600
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({ role: "group" }, props, { "aria-labelledby": vueExports.unref(id) }), {
|
|
601
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
603
602
|
_: 3
|
|
604
603
|
}, 16, ["aria-labelledby"]);
|
|
605
604
|
};
|
|
@@ -609,7 +608,7 @@ var ListboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
609
608
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js
|
|
610
609
|
var LISTBOX_SELECT = "listbox.select";
|
|
611
610
|
var [injectListboxItemContext, provideListboxItemContext] = /*#__PURE__*/ createContext("ListboxItem");
|
|
612
|
-
var ListboxItem_default = /* @__PURE__ */ defineComponent({
|
|
611
|
+
var ListboxItem_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
613
612
|
__name: "ListboxItem",
|
|
614
613
|
props: {
|
|
615
614
|
value: {
|
|
@@ -638,9 +637,9 @@ var ListboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
638
637
|
const { CollectionItem } = useCollection();
|
|
639
638
|
const { forwardRef, currentElement } = useForwardExpose();
|
|
640
639
|
const rootContext = injectListboxRootContext();
|
|
641
|
-
const isHighlighted = computed(() => currentElement.value != null && currentElement.value === rootContext.highlightedElement.value);
|
|
642
|
-
const isSelected = computed(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));
|
|
643
|
-
const disabled = computed(() => rootContext.disabled.value || props.disabled);
|
|
640
|
+
const isHighlighted = vueExports.computed(() => currentElement.value != null && currentElement.value === rootContext.highlightedElement.value);
|
|
641
|
+
const isSelected = vueExports.computed(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));
|
|
642
|
+
const disabled = vueExports.computed(() => rootContext.disabled.value || props.disabled);
|
|
644
643
|
async function handleSelect(ev) {
|
|
645
644
|
emits("select", ev);
|
|
646
645
|
if (ev?.defaultPrevented) return;
|
|
@@ -658,16 +657,16 @@ var ListboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
658
657
|
}
|
|
659
658
|
provideListboxItemContext({ isSelected });
|
|
660
659
|
return (_ctx, _cache) => {
|
|
661
|
-
return openBlock(), createBlock(unref(CollectionItem), { value: _ctx.value }, {
|
|
662
|
-
default: withCtx(() => [withMemo([
|
|
660
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(CollectionItem), { value: _ctx.value }, {
|
|
661
|
+
default: vueExports.withCtx(() => [vueExports.withMemo([
|
|
663
662
|
isHighlighted.value,
|
|
664
663
|
isSelected.value,
|
|
665
664
|
disabled.value,
|
|
666
|
-
unref(rootContext).focusable.value
|
|
667
|
-
], () => createVNode(unref(Primitive), mergeProps({ id: unref(id) }, _ctx.$attrs, {
|
|
668
|
-
ref: unref(forwardRef),
|
|
665
|
+
vueExports.unref(rootContext).focusable.value
|
|
666
|
+
], () => vueExports.createVNode(vueExports.unref(Primitive), vueExports.mergeProps({ id: vueExports.unref(id) }, _ctx.$attrs, {
|
|
667
|
+
ref: vueExports.unref(forwardRef),
|
|
669
668
|
role: "option",
|
|
670
|
-
tabindex: unref(rootContext).focusable.value ? isHighlighted.value ? "0" : "-1" : -1,
|
|
669
|
+
tabindex: vueExports.unref(rootContext).focusable.value ? isHighlighted.value ? "0" : "-1" : -1,
|
|
671
670
|
"aria-selected": isSelected.value,
|
|
672
671
|
as: _ctx.as,
|
|
673
672
|
"as-child": _ctx.asChild,
|
|
@@ -676,13 +675,13 @@ var ListboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
676
675
|
"data-highlighted": isHighlighted.value ? "" : void 0,
|
|
677
676
|
"data-state": isSelected.value ? "checked" : "unchecked",
|
|
678
677
|
onClick: handleSelectCustomEvent,
|
|
679
|
-
onKeydown: withKeys(withModifiers(handleSelectCustomEvent, ["prevent"]), ["space"]),
|
|
678
|
+
onKeydown: vueExports.withKeys(vueExports.withModifiers(handleSelectCustomEvent, ["prevent"]), ["space"]),
|
|
680
679
|
onPointermove: _cache[0] || (_cache[0] = () => {
|
|
681
|
-
if (unref(rootContext).highlightedElement.value === unref(currentElement)) return;
|
|
682
|
-
if (unref(rootContext).highlightOnHover.value) unref(rootContext).changeHighlight(unref(currentElement), false, false);
|
|
680
|
+
if (vueExports.unref(rootContext).highlightedElement.value === vueExports.unref(currentElement)) return;
|
|
681
|
+
if (vueExports.unref(rootContext).highlightOnHover.value) vueExports.unref(rootContext).changeHighlight(vueExports.unref(currentElement), false, false);
|
|
683
682
|
})
|
|
684
683
|
}), {
|
|
685
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
684
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
686
685
|
_: 3
|
|
687
686
|
}, 16, [
|
|
688
687
|
"id",
|
|
@@ -703,7 +702,7 @@ var ListboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
703
702
|
});
|
|
704
703
|
//#endregion
|
|
705
704
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js
|
|
706
|
-
var ListboxItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
705
|
+
var ListboxItemIndicator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
707
706
|
__name: "ListboxItemIndicator",
|
|
708
707
|
props: {
|
|
709
708
|
asChild: {
|
|
@@ -721,19 +720,19 @@ var ListboxItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
721
720
|
useForwardExpose();
|
|
722
721
|
const itemContext = injectListboxItemContext();
|
|
723
722
|
return (_ctx, _cache) => {
|
|
724
|
-
return unref(itemContext).isSelected.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
723
|
+
return vueExports.unref(itemContext).isSelected.value ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
725
724
|
key: 0,
|
|
726
725
|
"aria-hidden": "true"
|
|
727
726
|
}, props), {
|
|
728
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
727
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
729
728
|
_: 3
|
|
730
|
-
}, 16)) : createCommentVNode("v-if", true);
|
|
729
|
+
}, 16)) : vueExports.createCommentVNode("v-if", true);
|
|
731
730
|
};
|
|
732
731
|
}
|
|
733
732
|
});
|
|
734
733
|
//#endregion
|
|
735
734
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Listbox/ListboxVirtualizer.js
|
|
736
|
-
var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
735
|
+
var ListboxVirtualizer_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
737
736
|
__name: "ListboxVirtualizer",
|
|
738
737
|
props: {
|
|
739
738
|
options: {
|
|
@@ -755,12 +754,12 @@ var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
755
754
|
},
|
|
756
755
|
setup(__props) {
|
|
757
756
|
const props = __props;
|
|
758
|
-
const slots = useSlots();
|
|
757
|
+
const slots = vueExports.useSlots();
|
|
759
758
|
const rootContext = injectListboxRootContext();
|
|
760
759
|
const parentEl = useParentElement();
|
|
761
760
|
const { getItems } = useCollection();
|
|
762
761
|
rootContext.isVirtual.value = true;
|
|
763
|
-
const padding = computed(() => {
|
|
762
|
+
const padding = vueExports.computed(() => {
|
|
764
763
|
const el = parentEl.value;
|
|
765
764
|
if (!el) return {
|
|
766
765
|
start: 0,
|
|
@@ -796,16 +795,16 @@ var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
796
795
|
},
|
|
797
796
|
overscan: props.overscan ?? 12
|
|
798
797
|
});
|
|
799
|
-
const virtualizedItems = computed(() => virtualizer.value.getVirtualItems().map((item) => {
|
|
798
|
+
const virtualizedItems = vueExports.computed(() => virtualizer.value.getVirtualItems().map((item) => {
|
|
800
799
|
const defaultNode = slots.default({
|
|
801
800
|
option: props.options[item.index],
|
|
802
801
|
virtualizer: virtualizer.value,
|
|
803
802
|
virtualItem: item
|
|
804
803
|
})[0];
|
|
805
|
-
const targetNode = defaultNode.type === Fragment && Array.isArray(defaultNode.children) ? defaultNode.children.find((child) => typeof child.type !== "symbol") : defaultNode;
|
|
804
|
+
const targetNode = defaultNode.type === vueExports.Fragment && Array.isArray(defaultNode.children) ? defaultNode.children.find((child) => typeof child.type !== "symbol") : defaultNode;
|
|
806
805
|
return {
|
|
807
806
|
item,
|
|
808
|
-
is: cloneVNode(targetNode, {
|
|
807
|
+
is: vueExports.cloneVNode(targetNode, {
|
|
809
808
|
"key": `${item.key}`,
|
|
810
809
|
"data-index": item.index,
|
|
811
810
|
"aria-setsize": props.options.length,
|
|
@@ -852,7 +851,7 @@ var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
852
851
|
});
|
|
853
852
|
});
|
|
854
853
|
const search = refAutoReset("", 1e3);
|
|
855
|
-
const optionsWithMetadata = computed(() => {
|
|
854
|
+
const optionsWithMetadata = vueExports.computed(() => {
|
|
856
855
|
const parseTextContent = (option) => {
|
|
857
856
|
if (props.textContent) return props.textContent(option);
|
|
858
857
|
else return option?.toString().toLowerCase();
|
|
@@ -914,15 +913,15 @@ var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
914
913
|
}
|
|
915
914
|
});
|
|
916
915
|
return (_ctx, _cache) => {
|
|
917
|
-
return openBlock(), createElementBlock("div", {
|
|
916
|
+
return vueExports.openBlock(), vueExports.createElementBlock("div", {
|
|
918
917
|
"data-reka-virtualizer": "",
|
|
919
|
-
style: normalizeStyle({
|
|
918
|
+
style: vueExports.normalizeStyle({
|
|
920
919
|
position: "relative",
|
|
921
920
|
width: "100%",
|
|
922
|
-
height: `${unref(virtualizer).getTotalSize()}px`
|
|
921
|
+
height: `${vueExports.unref(virtualizer).getTotalSize()}px`
|
|
923
922
|
})
|
|
924
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(virtualizedItems.value, ({ is, item }) => {
|
|
925
|
-
return openBlock(), createBlock(resolveDynamicComponent(is), { key: item.index });
|
|
923
|
+
}, [(vueExports.openBlock(true), vueExports.createElementBlock(vueExports.Fragment, null, vueExports.renderList(virtualizedItems.value, ({ is, item }) => {
|
|
924
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(is), { key: item.index });
|
|
926
925
|
}), 128))], 4);
|
|
927
926
|
};
|
|
928
927
|
}
|
|
@@ -930,7 +929,7 @@ var ListboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
930
929
|
//#endregion
|
|
931
930
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js
|
|
932
931
|
var [injectComboboxRootContext, provideComboboxRootContext] = /*#__PURE__*/ createContext("ComboboxRoot");
|
|
933
|
-
var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
932
|
+
var ComboboxRoot_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
934
933
|
__name: "ComboboxRoot",
|
|
935
934
|
props: {
|
|
936
935
|
open: {
|
|
@@ -1026,7 +1025,7 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1026
1025
|
const props = __props;
|
|
1027
1026
|
const emits = __emit;
|
|
1028
1027
|
const { primitiveElement, currentElement: parentElement } = usePrimitiveElement();
|
|
1029
|
-
const { multiple, disabled, ignoreFilter, resetSearchTermOnSelect, openOnFocus, openOnClick, dir: propDir, resetModelValueOnClear, highlightOnHover } = toRefs(props);
|
|
1028
|
+
const { multiple, disabled, ignoreFilter, resetSearchTermOnSelect, openOnFocus, openOnClick, dir: propDir, resetModelValueOnClear, highlightOnHover } = vueExports.toRefs(props);
|
|
1030
1029
|
const dir = useDirection(propDir);
|
|
1031
1030
|
const modelValue = useVModel(props, "modelValue", emits, {
|
|
1032
1031
|
defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
|
|
@@ -1041,7 +1040,7 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1041
1040
|
open.value = val;
|
|
1042
1041
|
filterSearch.value = "";
|
|
1043
1042
|
if (val) {
|
|
1044
|
-
await nextTick();
|
|
1043
|
+
await vueExports.nextTick();
|
|
1045
1044
|
primitiveElement.value?.highlightSelected();
|
|
1046
1045
|
isUserInputted.value = true;
|
|
1047
1046
|
inputElement.value?.focus();
|
|
@@ -1053,16 +1052,16 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1053
1052
|
}
|
|
1054
1053
|
}
|
|
1055
1054
|
const resetSearchTerm = createEventHook();
|
|
1056
|
-
const isUserInputted = ref(false);
|
|
1057
|
-
const isVirtual = ref(false);
|
|
1058
|
-
const inputElement = ref();
|
|
1059
|
-
const triggerElement = ref();
|
|
1060
|
-
const highlightedElement = computed(() => primitiveElement.value?.highlightedElement ?? void 0);
|
|
1061
|
-
const allItems = ref(/* @__PURE__ */ new Map());
|
|
1062
|
-
const allGroups = ref(/* @__PURE__ */ new Map());
|
|
1055
|
+
const isUserInputted = vueExports.ref(false);
|
|
1056
|
+
const isVirtual = vueExports.ref(false);
|
|
1057
|
+
const inputElement = vueExports.ref();
|
|
1058
|
+
const triggerElement = vueExports.ref();
|
|
1059
|
+
const highlightedElement = vueExports.computed(() => primitiveElement.value?.highlightedElement ?? void 0);
|
|
1060
|
+
const allItems = vueExports.ref(/* @__PURE__ */ new Map());
|
|
1061
|
+
const allGroups = vueExports.ref(/* @__PURE__ */ new Map());
|
|
1063
1062
|
const { contains } = useFilter$1({ sensitivity: "base" });
|
|
1064
|
-
const filterSearch = ref("");
|
|
1065
|
-
const filterState = computed((oldValue) => {
|
|
1063
|
+
const filterSearch = vueExports.ref("");
|
|
1064
|
+
const filterState = vueExports.computed((oldValue) => {
|
|
1066
1065
|
if (!filterSearch.value || props.ignoreFilter || isVirtual.value) return {
|
|
1067
1066
|
count: allItems.value.size,
|
|
1068
1067
|
items: oldValue?.items ?? /* @__PURE__ */ new Map(),
|
|
@@ -1086,7 +1085,7 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1086
1085
|
groups: filteredGroups
|
|
1087
1086
|
};
|
|
1088
1087
|
});
|
|
1089
|
-
getCurrentInstance();
|
|
1088
|
+
vueExports.getCurrentInstance();
|
|
1090
1089
|
__expose({
|
|
1091
1090
|
filtered: filterState,
|
|
1092
1091
|
highlightedElement,
|
|
@@ -1121,28 +1120,28 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1121
1120
|
resetModelValueOnClear
|
|
1122
1121
|
});
|
|
1123
1122
|
return (_ctx, _cache) => {
|
|
1124
|
-
return openBlock(), createBlock(unref(PopperRoot_default), null, {
|
|
1125
|
-
default: withCtx(() => [createVNode(unref(ListboxRoot_default), mergeProps({
|
|
1123
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperRoot_default), null, {
|
|
1124
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ListboxRoot_default), vueExports.mergeProps({
|
|
1126
1125
|
ref_key: "primitiveElement",
|
|
1127
1126
|
ref: primitiveElement
|
|
1128
1127
|
}, _ctx.$attrs, {
|
|
1129
|
-
modelValue: unref(modelValue),
|
|
1130
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
1131
|
-
style: { pointerEvents: unref(open) ? "auto" : void 0 },
|
|
1128
|
+
modelValue: vueExports.unref(modelValue),
|
|
1129
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vueExports.isRef(modelValue) ? modelValue.value = $event : null),
|
|
1130
|
+
style: { pointerEvents: vueExports.unref(open) ? "auto" : void 0 },
|
|
1132
1131
|
as: _ctx.as,
|
|
1133
1132
|
"as-child": _ctx.asChild,
|
|
1134
|
-
dir: unref(dir),
|
|
1135
|
-
multiple: unref(multiple),
|
|
1133
|
+
dir: vueExports.unref(dir),
|
|
1134
|
+
multiple: vueExports.unref(multiple),
|
|
1136
1135
|
name: _ctx.name,
|
|
1137
1136
|
required: _ctx.required,
|
|
1138
|
-
disabled: unref(disabled),
|
|
1139
|
-
"highlight-on-hover": unref(highlightOnHover),
|
|
1137
|
+
disabled: vueExports.unref(disabled),
|
|
1138
|
+
"highlight-on-hover": vueExports.unref(highlightOnHover),
|
|
1140
1139
|
by: props.by,
|
|
1141
1140
|
onHighlight: _cache[1] || (_cache[1] = ($event) => emits("highlight", $event))
|
|
1142
1141
|
}), {
|
|
1143
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
1144
|
-
open: unref(open),
|
|
1145
|
-
modelValue: unref(modelValue)
|
|
1142
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {
|
|
1143
|
+
open: vueExports.unref(open),
|
|
1144
|
+
modelValue: vueExports.unref(modelValue)
|
|
1146
1145
|
})]),
|
|
1147
1146
|
_: 3
|
|
1148
1147
|
}, 16, [
|
|
@@ -1165,7 +1164,7 @@ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
|
|
|
1165
1164
|
});
|
|
1166
1165
|
//#endregion
|
|
1167
1166
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js
|
|
1168
|
-
var ComboboxAnchor_default = /* @__PURE__ */ defineComponent({
|
|
1167
|
+
var ComboboxAnchor_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1169
1168
|
__name: "ComboboxAnchor",
|
|
1170
1169
|
props: {
|
|
1171
1170
|
reference: {
|
|
@@ -1184,16 +1183,16 @@ var ComboboxAnchor_default = /* @__PURE__ */ defineComponent({
|
|
|
1184
1183
|
setup(__props) {
|
|
1185
1184
|
const { forwardRef } = useForwardExpose();
|
|
1186
1185
|
return (_ctx, _cache) => {
|
|
1187
|
-
return openBlock(), createBlock(unref(PopperAnchor_default), {
|
|
1186
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperAnchor_default), {
|
|
1188
1187
|
"as-child": "",
|
|
1189
1188
|
reference: _ctx.reference
|
|
1190
1189
|
}, {
|
|
1191
|
-
default: withCtx(() => [createVNode(unref(Primitive), mergeProps({
|
|
1192
|
-
ref: unref(forwardRef),
|
|
1190
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(Primitive), vueExports.mergeProps({
|
|
1191
|
+
ref: vueExports.unref(forwardRef),
|
|
1193
1192
|
"as-child": _ctx.asChild,
|
|
1194
1193
|
as: _ctx.as
|
|
1195
1194
|
}, _ctx.$attrs), {
|
|
1196
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1195
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1197
1196
|
_: 3
|
|
1198
1197
|
}, 16, ["as-child", "as"])]),
|
|
1199
1198
|
_: 3
|
|
@@ -1204,7 +1203,7 @@ var ComboboxAnchor_default = /* @__PURE__ */ defineComponent({
|
|
|
1204
1203
|
//#endregion
|
|
1205
1204
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js
|
|
1206
1205
|
var [injectComboboxContentContext, provideComboboxContentContext] = /*#__PURE__*/ createContext("ComboboxContent");
|
|
1207
|
-
var ComboboxContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
1206
|
+
var ComboboxContentImpl_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1208
1207
|
__name: "ComboboxContentImpl",
|
|
1209
1208
|
props: {
|
|
1210
1209
|
position: {
|
|
@@ -1322,14 +1321,14 @@ var ComboboxContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1322
1321
|
setup(__props, { emit: __emit }) {
|
|
1323
1322
|
const props = __props;
|
|
1324
1323
|
const emits = __emit;
|
|
1325
|
-
const { position } = toRefs(props);
|
|
1324
|
+
const { position } = vueExports.toRefs(props);
|
|
1326
1325
|
const rootContext = injectComboboxRootContext();
|
|
1327
|
-
const isEmpty = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
|
|
1326
|
+
const isEmpty = vueExports.computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
|
|
1328
1327
|
const { forwardRef} = useForwardExpose();
|
|
1329
1328
|
useBodyScrollLock(props.bodyLock);
|
|
1330
1329
|
useFocusGuards();
|
|
1331
1330
|
useHideOthers(rootContext.parentElement);
|
|
1332
|
-
const pickedProps = computed(() => {
|
|
1331
|
+
const pickedProps = vueExports.computed(() => {
|
|
1333
1332
|
if (props.position === "popper") return props;
|
|
1334
1333
|
else return {};
|
|
1335
1334
|
});
|
|
@@ -1343,23 +1342,23 @@ var ComboboxContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1343
1342
|
"--reka-combobox-trigger-height": "var(--reka-popper-anchor-height)"
|
|
1344
1343
|
};
|
|
1345
1344
|
provideComboboxContentContext({ position });
|
|
1346
|
-
ref(false);
|
|
1345
|
+
vueExports.ref(false);
|
|
1347
1346
|
function isEventTargetWithinCombobox(target) {
|
|
1348
1347
|
if (rootContext.parentElement.value?.contains(target)) return true;
|
|
1349
1348
|
const control = (target instanceof Element ? target.closest("label") : null)?.control;
|
|
1350
1349
|
return !!control && !!rootContext.parentElement.value?.contains(control);
|
|
1351
1350
|
}
|
|
1352
1351
|
return (_ctx, _cache) => {
|
|
1353
|
-
return openBlock(), createBlock(unref(ListboxContent_default), { "as-child": "" }, {
|
|
1354
|
-
default: withCtx(() => [createVNode(unref(FocusScope_default), {
|
|
1352
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ListboxContent_default), { "as-child": "" }, {
|
|
1353
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
1355
1354
|
"as-child": "",
|
|
1356
|
-
onMountAutoFocus: _cache[5] || (_cache[5] = withModifiers(() => {}, ["prevent"])),
|
|
1357
|
-
onUnmountAutoFocus: _cache[6] || (_cache[6] = withModifiers(() => {}, ["prevent"]))
|
|
1355
|
+
onMountAutoFocus: _cache[5] || (_cache[5] = vueExports.withModifiers(() => {}, ["prevent"])),
|
|
1356
|
+
onUnmountAutoFocus: _cache[6] || (_cache[6] = vueExports.withModifiers(() => {}, ["prevent"]))
|
|
1358
1357
|
}, {
|
|
1359
|
-
default: withCtx(() => [createVNode(unref(DismissableLayer_default), {
|
|
1358
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(DismissableLayer_default), {
|
|
1360
1359
|
"as-child": "",
|
|
1361
1360
|
"disable-outside-pointer-events": _ctx.disableOutsidePointerEvents,
|
|
1362
|
-
onDismiss: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false)),
|
|
1361
|
+
onDismiss: _cache[0] || (_cache[0] = ($event) => vueExports.unref(rootContext).onOpenChange(false)),
|
|
1363
1362
|
onFocusOutside: _cache[1] || (_cache[1] = (ev) => {
|
|
1364
1363
|
if (isEventTargetWithinCombobox(ev.target)) ev.preventDefault();
|
|
1365
1364
|
emits("focusOutside", ev);
|
|
@@ -1371,23 +1370,23 @@ var ComboboxContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1371
1370
|
emits("pointerDownOutside", ev);
|
|
1372
1371
|
})
|
|
1373
1372
|
}, {
|
|
1374
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(position) === "popper" ? unref(PopperContent_default) : unref(Primitive)), mergeProps({
|
|
1373
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(), vueExports.createBlock(vueExports.resolveDynamicComponent(vueExports.unref(position) === "popper" ? vueExports.unref(PopperContent_default) : vueExports.unref(Primitive)), vueExports.mergeProps({
|
|
1375
1374
|
..._ctx.$attrs,
|
|
1376
|
-
...unref(forwardedProps)
|
|
1375
|
+
...vueExports.unref(forwardedProps)
|
|
1377
1376
|
}, {
|
|
1378
|
-
id: unref(rootContext).contentId,
|
|
1379
|
-
ref: unref(forwardRef),
|
|
1380
|
-
"memo-dependencies": unref(position) === "popper" ? [unref(rootContext).filterSearch.value, unref(rootContext).filterState.value] : void 0,
|
|
1381
|
-
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
1377
|
+
id: vueExports.unref(rootContext).contentId,
|
|
1378
|
+
ref: vueExports.unref(forwardRef),
|
|
1379
|
+
"memo-dependencies": vueExports.unref(position) === "popper" ? [vueExports.unref(rootContext).filterSearch.value, vueExports.unref(rootContext).filterState.value] : void 0,
|
|
1380
|
+
"data-state": vueExports.unref(rootContext).open.value ? "open" : "closed",
|
|
1382
1381
|
"data-empty": isEmpty.value ? "" : void 0,
|
|
1383
1382
|
style: {
|
|
1384
1383
|
display: props.hideWhenEmpty && isEmpty.value ? "none" : "flex",
|
|
1385
1384
|
flexDirection: "column",
|
|
1386
1385
|
outline: "none",
|
|
1387
|
-
...unref(position) === "popper" ? popperStyle : {}
|
|
1386
|
+
...vueExports.unref(position) === "popper" ? popperStyle : {}
|
|
1388
1387
|
}
|
|
1389
1388
|
}), {
|
|
1390
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1389
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1391
1390
|
_: 3
|
|
1392
1391
|
}, 16, [
|
|
1393
1392
|
"id",
|
|
@@ -1407,7 +1406,7 @@ var ComboboxContentImpl_default = /* @__PURE__ */ defineComponent({
|
|
|
1407
1406
|
});
|
|
1408
1407
|
//#endregion
|
|
1409
1408
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxArrow.js
|
|
1410
|
-
var ComboboxArrow_default = /* @__PURE__ */ defineComponent({
|
|
1409
|
+
var ComboboxArrow_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1411
1410
|
__name: "ComboboxArrow",
|
|
1412
1411
|
props: {
|
|
1413
1412
|
width: {
|
|
@@ -1440,16 +1439,16 @@ var ComboboxArrow_default = /* @__PURE__ */ defineComponent({
|
|
|
1440
1439
|
const contentContext = injectComboboxContentContext();
|
|
1441
1440
|
useForwardExpose();
|
|
1442
1441
|
return (_ctx, _cache) => {
|
|
1443
|
-
return unref(rootContext).open.value && unref(contentContext).position.value === "popper" ? (openBlock(), createBlock(unref(PopperArrow_default), normalizeProps(mergeProps({ key: 0 }, props)), {
|
|
1444
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1442
|
+
return vueExports.unref(rootContext).open.value && vueExports.unref(contentContext).position.value === "popper" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(PopperArrow_default), vueExports.normalizeProps(vueExports.mergeProps({ key: 0 }, props)), {
|
|
1443
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1445
1444
|
_: 3
|
|
1446
|
-
}, 16)) : createCommentVNode("v-if", true);
|
|
1445
|
+
}, 16)) : vueExports.createCommentVNode("v-if", true);
|
|
1447
1446
|
};
|
|
1448
1447
|
}
|
|
1449
1448
|
});
|
|
1450
1449
|
//#endregion
|
|
1451
1450
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxCancel.js
|
|
1452
|
-
var ComboboxCancel_default = /* @__PURE__ */ defineComponent({
|
|
1451
|
+
var ComboboxCancel_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1453
1452
|
__name: "ComboboxCancel",
|
|
1454
1453
|
props: {
|
|
1455
1454
|
asChild: {
|
|
@@ -1475,11 +1474,11 @@ var ComboboxCancel_default = /* @__PURE__ */ defineComponent({
|
|
|
1475
1474
|
if (rootContext.resetModelValueOnClear?.value) rootContext.modelValue.value = rootContext.multiple.value ? [] : null;
|
|
1476
1475
|
}
|
|
1477
1476
|
return (_ctx, _cache) => {
|
|
1478
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({ type: _ctx.as === "button" ? "button" : void 0 }, props, {
|
|
1477
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps({ type: _ctx.as === "button" ? "button" : void 0 }, props, {
|
|
1479
1478
|
tabindex: "-1",
|
|
1480
1479
|
onClick: handleClick
|
|
1481
1480
|
}), {
|
|
1482
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1481
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1483
1482
|
_: 3
|
|
1484
1483
|
}, 16, ["type"]);
|
|
1485
1484
|
};
|
|
@@ -1487,7 +1486,7 @@ var ComboboxCancel_default = /* @__PURE__ */ defineComponent({
|
|
|
1487
1486
|
});
|
|
1488
1487
|
//#endregion
|
|
1489
1488
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js
|
|
1490
|
-
var ComboboxContent_default = /* @__PURE__ */ defineComponent({
|
|
1489
|
+
var ComboboxContent_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1491
1490
|
__name: "ComboboxContent",
|
|
1492
1491
|
props: {
|
|
1493
1492
|
forceMount: {
|
|
@@ -1611,12 +1610,12 @@ var ComboboxContent_default = /* @__PURE__ */ defineComponent({
|
|
|
1611
1610
|
const rootContext = injectComboboxRootContext();
|
|
1612
1611
|
rootContext.contentId ||= useId$1(void 0, "reka-combobox-content");
|
|
1613
1612
|
return (_ctx, _cache) => {
|
|
1614
|
-
return openBlock(), createBlock(unref(Presence_default), { present: _ctx.forceMount || unref(rootContext).open.value }, {
|
|
1615
|
-
default: withCtx(() => [createVNode(ComboboxContentImpl_default, mergeProps({
|
|
1616
|
-
...unref(forwarded),
|
|
1613
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Presence_default), { present: _ctx.forceMount || vueExports.unref(rootContext).open.value }, {
|
|
1614
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(ComboboxContentImpl_default, vueExports.mergeProps({
|
|
1615
|
+
...vueExports.unref(forwarded),
|
|
1617
1616
|
..._ctx.$attrs
|
|
1618
|
-
}, { ref: unref(forwardRef) }), {
|
|
1619
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1617
|
+
}, { ref: vueExports.unref(forwardRef) }), {
|
|
1618
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1620
1619
|
_: 3
|
|
1621
1620
|
}, 16)]),
|
|
1622
1621
|
_: 3
|
|
@@ -1626,7 +1625,7 @@ var ComboboxContent_default = /* @__PURE__ */ defineComponent({
|
|
|
1626
1625
|
});
|
|
1627
1626
|
//#endregion
|
|
1628
1627
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js
|
|
1629
|
-
var ComboboxEmpty_default = /* @__PURE__ */ defineComponent({
|
|
1628
|
+
var ComboboxEmpty_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1630
1629
|
__name: "ComboboxEmpty",
|
|
1631
1630
|
props: {
|
|
1632
1631
|
asChild: {
|
|
@@ -1641,19 +1640,19 @@ var ComboboxEmpty_default = /* @__PURE__ */ defineComponent({
|
|
|
1641
1640
|
setup(__props) {
|
|
1642
1641
|
const props = __props;
|
|
1643
1642
|
const rootContext = injectComboboxRootContext();
|
|
1644
|
-
const isRender = computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
|
|
1643
|
+
const isRender = vueExports.computed(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
|
|
1645
1644
|
return (_ctx, _cache) => {
|
|
1646
|
-
return isRender.value ? (openBlock(), createBlock(unref(Primitive), normalizeProps(mergeProps({ key: 0 }, props)), {
|
|
1647
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = createTextVNode("No options"))])]),
|
|
1645
|
+
return isRender.value ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.normalizeProps(vueExports.mergeProps({ key: 0 }, props)), {
|
|
1646
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = vueExports.createTextVNode("No options"))])]),
|
|
1648
1647
|
_: 3
|
|
1649
|
-
}, 16)) : createCommentVNode("v-if", true);
|
|
1648
|
+
}, 16)) : vueExports.createCommentVNode("v-if", true);
|
|
1650
1649
|
};
|
|
1651
1650
|
}
|
|
1652
1651
|
});
|
|
1653
1652
|
//#endregion
|
|
1654
1653
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js
|
|
1655
1654
|
var [injectComboboxGroupContext, provideComboboxGroupContext] = /*#__PURE__*/ createContext("ComboboxGroup");
|
|
1656
|
-
var ComboboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
1655
|
+
var ComboboxGroup_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1657
1656
|
__name: "ComboboxGroup",
|
|
1658
1657
|
props: {
|
|
1659
1658
|
asChild: {
|
|
@@ -1669,17 +1668,17 @@ var ComboboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
1669
1668
|
const props = __props;
|
|
1670
1669
|
const id = useId$1(void 0, "reka-combobox-group");
|
|
1671
1670
|
const rootContext = injectComboboxRootContext();
|
|
1672
|
-
const isRender = computed(() => rootContext.ignoreFilter.value ? true : !rootContext.filterSearch.value ? true : rootContext.filterState.value.groups.has(id));
|
|
1671
|
+
const isRender = vueExports.computed(() => rootContext.ignoreFilter.value ? true : !rootContext.filterSearch.value ? true : rootContext.filterState.value.groups.has(id));
|
|
1673
1672
|
const context = provideComboboxGroupContext({
|
|
1674
1673
|
id,
|
|
1675
1674
|
labelId: ""
|
|
1676
1675
|
});
|
|
1677
1676
|
return (_ctx, _cache) => {
|
|
1678
|
-
return openBlock(), createBlock(unref(ListboxGroup_default), mergeProps({
|
|
1679
|
-
id: unref(id),
|
|
1680
|
-
"aria-labelledby": unref(context).labelId
|
|
1677
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ListboxGroup_default), vueExports.mergeProps({
|
|
1678
|
+
id: vueExports.unref(id),
|
|
1679
|
+
"aria-labelledby": vueExports.unref(context).labelId
|
|
1681
1680
|
}, props, { hidden: isRender.value ? void 0 : true }), {
|
|
1682
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1681
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1683
1682
|
_: 3
|
|
1684
1683
|
}, 16, [
|
|
1685
1684
|
"id",
|
|
@@ -1691,7 +1690,7 @@ var ComboboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
1691
1690
|
});
|
|
1692
1691
|
//#endregion
|
|
1693
1692
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js
|
|
1694
|
-
var ComboboxInput_default = /* @__PURE__ */ defineComponent({
|
|
1693
|
+
var ComboboxInput_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1695
1694
|
__name: "ComboboxInput",
|
|
1696
1695
|
props: {
|
|
1697
1696
|
displayValue: {
|
|
@@ -1740,7 +1739,7 @@ var ComboboxInput_default = /* @__PURE__ */ defineComponent({
|
|
|
1740
1739
|
function processInputValue(value) {
|
|
1741
1740
|
if (!rootContext.open.value) {
|
|
1742
1741
|
rootContext.onOpenChange(true);
|
|
1743
|
-
nextTick(() => {
|
|
1742
|
+
vueExports.nextTick(() => {
|
|
1744
1743
|
if (value) {
|
|
1745
1744
|
rootContext.filterSearch.value = value;
|
|
1746
1745
|
listboxContext.highlightFirstItem();
|
|
@@ -1776,46 +1775,46 @@ var ComboboxInput_default = /* @__PURE__ */ defineComponent({
|
|
|
1776
1775
|
else if (!rootContext.multiple.value && rootModelValue && !Array.isArray(rootModelValue)) if (typeof rootModelValue !== "object") modelValue.value = rootModelValue.toString();
|
|
1777
1776
|
else modelValue.value = "";
|
|
1778
1777
|
else modelValue.value = "";
|
|
1779
|
-
nextTick(() => {
|
|
1778
|
+
vueExports.nextTick(() => {
|
|
1780
1779
|
modelValue.value = modelValue.value;
|
|
1781
1780
|
});
|
|
1782
1781
|
}
|
|
1783
1782
|
rootContext.onResetSearchTerm(() => {
|
|
1784
1783
|
resetSearchTerm();
|
|
1785
1784
|
});
|
|
1786
|
-
watch(rootContext.modelValue, async () => {
|
|
1785
|
+
vueExports.watch(rootContext.modelValue, async () => {
|
|
1787
1786
|
if (!rootContext.isUserInputted.value && rootContext.resetSearchTermOnSelect.value) resetSearchTerm();
|
|
1788
1787
|
}, {
|
|
1789
1788
|
immediate: true,
|
|
1790
1789
|
deep: true
|
|
1791
1790
|
});
|
|
1792
|
-
watch(rootContext.filterState, (_newValue, oldValue) => {
|
|
1791
|
+
vueExports.watch(rootContext.filterState, (_newValue, oldValue) => {
|
|
1793
1792
|
if (!rootContext.isVirtual.value && oldValue.count === 0) listboxContext.highlightFirstItem();
|
|
1794
1793
|
});
|
|
1795
1794
|
return (_ctx, _cache) => {
|
|
1796
|
-
return openBlock(), createBlock(unref(ListboxFilter_default), {
|
|
1795
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ListboxFilter_default), {
|
|
1797
1796
|
ref_key: "primitiveElement",
|
|
1798
1797
|
ref: primitiveElement,
|
|
1799
|
-
modelValue: unref(modelValue),
|
|
1800
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
1798
|
+
modelValue: vueExports.unref(modelValue),
|
|
1799
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vueExports.isRef(modelValue) ? modelValue.value = $event : null),
|
|
1801
1800
|
as: _ctx.as,
|
|
1802
1801
|
"as-child": _ctx.asChild,
|
|
1803
1802
|
"auto-focus": _ctx.autoFocus,
|
|
1804
1803
|
disabled: _ctx.disabled,
|
|
1805
|
-
"aria-expanded": unref(rootContext).open.value,
|
|
1806
|
-
"aria-controls": unref(rootContext).contentId,
|
|
1804
|
+
"aria-expanded": vueExports.unref(rootContext).open.value,
|
|
1805
|
+
"aria-controls": vueExports.unref(rootContext).contentId,
|
|
1807
1806
|
"aria-autocomplete": "list",
|
|
1808
1807
|
role: "combobox",
|
|
1809
1808
|
autocomplete: "off",
|
|
1810
1809
|
onClick: handleClick,
|
|
1811
1810
|
onInput: handleInput,
|
|
1812
|
-
onKeydown: withKeys(handleKeyDown, ["down", "up"]),
|
|
1811
|
+
onKeydown: vueExports.withKeys(handleKeyDown, ["down", "up"]),
|
|
1813
1812
|
onFocus: handleFocus,
|
|
1814
1813
|
onBlur: handleBlur,
|
|
1815
|
-
onCompositionstart: unref(handleCompositionStart),
|
|
1816
|
-
onCompositionend: unref(handleCompositionEnd)
|
|
1814
|
+
onCompositionstart: vueExports.unref(handleCompositionStart),
|
|
1815
|
+
onCompositionend: vueExports.unref(handleCompositionEnd)
|
|
1817
1816
|
}, {
|
|
1818
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1817
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1819
1818
|
_: 3
|
|
1820
1819
|
}, 8, [
|
|
1821
1820
|
"modelValue",
|
|
@@ -1833,7 +1832,7 @@ var ComboboxInput_default = /* @__PURE__ */ defineComponent({
|
|
|
1833
1832
|
});
|
|
1834
1833
|
//#endregion
|
|
1835
1834
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js
|
|
1836
|
-
var ComboboxItem_default = /* @__PURE__ */ defineComponent({
|
|
1835
|
+
var ComboboxItem_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1837
1836
|
__name: "ComboboxItem",
|
|
1838
1837
|
props: {
|
|
1839
1838
|
textValue: {
|
|
@@ -1866,7 +1865,7 @@ var ComboboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
1866
1865
|
injectComboboxGroupContext(null);
|
|
1867
1866
|
const { primitiveElement} = usePrimitiveElement();
|
|
1868
1867
|
if (props.value === "") throw new Error("A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");
|
|
1869
|
-
const isRender = computed(() => {
|
|
1868
|
+
const isRender = vueExports.computed(() => {
|
|
1870
1869
|
if (rootContext.isVirtual.value || rootContext.ignoreFilter.value || !rootContext.filterSearch.value) return true;
|
|
1871
1870
|
else {
|
|
1872
1871
|
const filteredCurrentItem = rootContext.filterState.value.items.get(id);
|
|
@@ -1875,39 +1874,39 @@ var ComboboxItem_default = /* @__PURE__ */ defineComponent({
|
|
|
1875
1874
|
}
|
|
1876
1875
|
});
|
|
1877
1876
|
return (_ctx, _cache) => {
|
|
1878
|
-
return isRender.value ? withMemo([
|
|
1877
|
+
return isRender.value ? vueExports.withMemo([
|
|
1879
1878
|
isRender.value,
|
|
1880
|
-
unref(rootContext).filterSearch.value,
|
|
1881
|
-
unref(rootContext).disabled.value,
|
|
1879
|
+
vueExports.unref(rootContext).filterSearch.value,
|
|
1880
|
+
vueExports.unref(rootContext).disabled.value,
|
|
1882
1881
|
_ctx.disabled,
|
|
1883
1882
|
props.value,
|
|
1884
1883
|
props.as,
|
|
1885
1884
|
props.asChild,
|
|
1886
1885
|
...Object.values(_ctx.$attrs)
|
|
1887
|
-
], () => (openBlock(), createBlock(unref(ListboxItem_default), mergeProps({ key: 0 }, props, {
|
|
1888
|
-
id: unref(id),
|
|
1886
|
+
], () => (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ListboxItem_default), vueExports.mergeProps({ key: 0 }, props, {
|
|
1887
|
+
id: vueExports.unref(id),
|
|
1889
1888
|
ref_key: "primitiveElement",
|
|
1890
1889
|
ref: primitiveElement,
|
|
1891
|
-
disabled: unref(rootContext).disabled.value || _ctx.disabled,
|
|
1890
|
+
disabled: vueExports.unref(rootContext).disabled.value || _ctx.disabled,
|
|
1892
1891
|
onSelect: _cache[0] || (_cache[0] = (event) => {
|
|
1893
1892
|
emits("select", event);
|
|
1894
1893
|
if (event.defaultPrevented) return;
|
|
1895
|
-
if (!unref(rootContext).multiple.value && !_ctx.disabled && !unref(rootContext).disabled.value) {
|
|
1894
|
+
if (!vueExports.unref(rootContext).multiple.value && !_ctx.disabled && !vueExports.unref(rootContext).disabled.value) {
|
|
1896
1895
|
event.preventDefault();
|
|
1897
|
-
unref(rootContext).onOpenChange(false);
|
|
1898
|
-
unref(rootContext).modelValue.value = props.value;
|
|
1899
|
-
} else if (unref(rootContext).multiple.value) unref(rootContext).inputElement.value?.focus();
|
|
1896
|
+
vueExports.unref(rootContext).onOpenChange(false);
|
|
1897
|
+
vueExports.unref(rootContext).modelValue.value = props.value;
|
|
1898
|
+
} else if (vueExports.unref(rootContext).multiple.value) vueExports.unref(rootContext).inputElement.value?.focus();
|
|
1900
1899
|
})
|
|
1901
1900
|
}), {
|
|
1902
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.value), 1)])]),
|
|
1901
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default", {}, () => [vueExports.createTextVNode(vueExports.toDisplayString(_ctx.value), 1)])]),
|
|
1903
1902
|
_: 3
|
|
1904
|
-
}, 16, ["id", "disabled"])), _cache, 1) : createCommentVNode("v-if", true);
|
|
1903
|
+
}, 16, ["id", "disabled"])), _cache, 1) : vueExports.createCommentVNode("v-if", true);
|
|
1905
1904
|
};
|
|
1906
1905
|
}
|
|
1907
1906
|
});
|
|
1908
1907
|
//#endregion
|
|
1909
1908
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js
|
|
1910
|
-
var ComboboxItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
1909
|
+
var ComboboxItemIndicator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1911
1910
|
__name: "ComboboxItemIndicator",
|
|
1912
1911
|
props: {
|
|
1913
1912
|
asChild: {
|
|
@@ -1923,8 +1922,8 @@ var ComboboxItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
1923
1922
|
setup(__props) {
|
|
1924
1923
|
const props = __props;
|
|
1925
1924
|
return (_ctx, _cache) => {
|
|
1926
|
-
return openBlock(), createBlock(unref(ListboxItemIndicator_default), normalizeProps(guardReactiveProps(props)), {
|
|
1927
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1925
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ListboxItemIndicator_default), vueExports.normalizeProps(vueExports.guardReactiveProps(props)), {
|
|
1926
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1928
1927
|
_: 3
|
|
1929
1928
|
}, 16);
|
|
1930
1929
|
};
|
|
@@ -1932,7 +1931,7 @@ var ComboboxItemIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
1932
1931
|
});
|
|
1933
1932
|
//#endregion
|
|
1934
1933
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxLabel.js
|
|
1935
|
-
var ComboboxLabel_default = /* @__PURE__ */ defineComponent({
|
|
1934
|
+
var ComboboxLabel_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1936
1935
|
__name: "ComboboxLabel",
|
|
1937
1936
|
props: {
|
|
1938
1937
|
for: {
|
|
@@ -1958,8 +1957,8 @@ var ComboboxLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
1958
1957
|
});
|
|
1959
1958
|
groupContext.labelId ||= useId$1(void 0, "reka-combobox-group-label");
|
|
1960
1959
|
return (_ctx, _cache) => {
|
|
1961
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(groupContext).labelId }), {
|
|
1962
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1960
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, { id: vueExports.unref(groupContext).labelId }), {
|
|
1961
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1963
1962
|
_: 3
|
|
1964
1963
|
}, 16, ["id"]);
|
|
1965
1964
|
};
|
|
@@ -1967,7 +1966,7 @@ var ComboboxLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
1967
1966
|
});
|
|
1968
1967
|
//#endregion
|
|
1969
1968
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js
|
|
1970
|
-
var ComboboxPortal_default = /* @__PURE__ */ defineComponent({
|
|
1969
|
+
var ComboboxPortal_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
1971
1970
|
__name: "ComboboxPortal",
|
|
1972
1971
|
props: {
|
|
1973
1972
|
to: {
|
|
@@ -1990,8 +1989,8 @@ var ComboboxPortal_default = /* @__PURE__ */ defineComponent({
|
|
|
1990
1989
|
setup(__props) {
|
|
1991
1990
|
const props = __props;
|
|
1992
1991
|
return (_ctx, _cache) => {
|
|
1993
|
-
return openBlock(), createBlock(unref(Teleport_default), normalizeProps(guardReactiveProps(props)), {
|
|
1994
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1992
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Teleport_default), vueExports.normalizeProps(vueExports.guardReactiveProps(props)), {
|
|
1993
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
1995
1994
|
_: 3
|
|
1996
1995
|
}, 16);
|
|
1997
1996
|
};
|
|
@@ -1999,7 +1998,7 @@ var ComboboxPortal_default = /* @__PURE__ */ defineComponent({
|
|
|
1999
1998
|
});
|
|
2000
1999
|
//#endregion
|
|
2001
2000
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxSeparator.js
|
|
2002
|
-
var ComboboxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
2001
|
+
var ComboboxSeparator_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2003
2002
|
__name: "ComboboxSeparator",
|
|
2004
2003
|
props: {
|
|
2005
2004
|
asChild: {
|
|
@@ -2015,8 +2014,8 @@ var ComboboxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
2015
2014
|
const props = __props;
|
|
2016
2015
|
useForwardExpose();
|
|
2017
2016
|
return (_ctx, _cache) => {
|
|
2018
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { "aria-hidden": "true" }), {
|
|
2019
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2017
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, { "aria-hidden": "true" }), {
|
|
2018
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2020
2019
|
_: 3
|
|
2021
2020
|
}, 16);
|
|
2022
2021
|
};
|
|
@@ -2024,7 +2023,7 @@ var ComboboxSeparator_default = /* @__PURE__ */ defineComponent({
|
|
|
2024
2023
|
});
|
|
2025
2024
|
//#endregion
|
|
2026
2025
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js
|
|
2027
|
-
var ComboboxTrigger_default = /* @__PURE__ */ defineComponent({
|
|
2026
|
+
var ComboboxTrigger_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2028
2027
|
__name: "ComboboxTrigger",
|
|
2029
2028
|
props: {
|
|
2030
2029
|
disabled: {
|
|
@@ -2045,23 +2044,23 @@ var ComboboxTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
2045
2044
|
const props = __props;
|
|
2046
2045
|
const { forwardRef} = useForwardExpose();
|
|
2047
2046
|
const rootContext = injectComboboxRootContext();
|
|
2048
|
-
const disabled = computed(() => props.disabled || rootContext.disabled.value || false);
|
|
2047
|
+
const disabled = vueExports.computed(() => props.disabled || rootContext.disabled.value || false);
|
|
2049
2048
|
return (_ctx, _cache) => {
|
|
2050
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
2051
|
-
ref: unref(forwardRef),
|
|
2049
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(Primitive), vueExports.mergeProps(props, {
|
|
2050
|
+
ref: vueExports.unref(forwardRef),
|
|
2052
2051
|
type: _ctx.as === "button" ? "button" : void 0,
|
|
2053
2052
|
tabindex: "-1",
|
|
2054
2053
|
"aria-label": "Show popup",
|
|
2055
2054
|
"aria-haspopup": "listbox",
|
|
2056
|
-
"aria-expanded": unref(rootContext).open.value,
|
|
2057
|
-
"aria-controls": unref(rootContext).contentId,
|
|
2058
|
-
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
2055
|
+
"aria-expanded": vueExports.unref(rootContext).open.value,
|
|
2056
|
+
"aria-controls": vueExports.unref(rootContext).contentId,
|
|
2057
|
+
"data-state": vueExports.unref(rootContext).open.value ? "open" : "closed",
|
|
2059
2058
|
disabled: disabled.value,
|
|
2060
2059
|
"data-disabled": disabled.value ? "" : void 0,
|
|
2061
2060
|
"aria-disabled": disabled.value ?? void 0,
|
|
2062
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(!unref(rootContext).open.value))
|
|
2061
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vueExports.unref(rootContext).onOpenChange(!vueExports.unref(rootContext).open.value))
|
|
2063
2062
|
}), {
|
|
2064
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
2063
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "default")]),
|
|
2065
2064
|
_: 3
|
|
2066
2065
|
}, 16, [
|
|
2067
2066
|
"type",
|
|
@@ -2077,7 +2076,7 @@ var ComboboxTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
2077
2076
|
});
|
|
2078
2077
|
//#endregion
|
|
2079
2078
|
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Combobox/ComboboxVirtualizer.js
|
|
2080
|
-
var ComboboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
2079
|
+
var ComboboxVirtualizer_default = /* @__PURE__ */ vueExports.defineComponent({
|
|
2081
2080
|
__name: "ComboboxVirtualizer",
|
|
2082
2081
|
props: {
|
|
2083
2082
|
options: {
|
|
@@ -2102,8 +2101,8 @@ var ComboboxVirtualizer_default = /* @__PURE__ */ defineComponent({
|
|
|
2102
2101
|
const rootContext = injectComboboxRootContext();
|
|
2103
2102
|
rootContext.isVirtual.value = true;
|
|
2104
2103
|
return (_ctx, _cache) => {
|
|
2105
|
-
return openBlock(), createBlock(ListboxVirtualizer_default, normalizeProps(guardReactiveProps(props)), {
|
|
2106
|
-
default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
|
|
2104
|
+
return vueExports.openBlock(), vueExports.createBlock(ListboxVirtualizer_default, vueExports.normalizeProps(vueExports.guardReactiveProps(props)), {
|
|
2105
|
+
default: vueExports.withCtx((slotProps) => [vueExports.renderSlot(_ctx.$slots, "default", vueExports.normalizeProps(vueExports.guardReactiveProps(slotProps)))]),
|
|
2107
2106
|
_: 3
|
|
2108
2107
|
}, 16);
|
|
2109
2108
|
};
|
|
@@ -2563,7 +2562,7 @@ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fselect_menu_default
|
|
|
2563
2562
|
var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
2564
2563
|
__name: "USelectMenu",
|
|
2565
2564
|
__ssrInlineRender: true,
|
|
2566
|
-
props: /*@__PURE__*/ mergeModels({
|
|
2565
|
+
props: /*@__PURE__*/ vueExports.mergeModels({
|
|
2567
2566
|
id: {
|
|
2568
2567
|
type: String,
|
|
2569
2568
|
required: false
|
|
@@ -2773,7 +2772,7 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2773
2772
|
},
|
|
2774
2773
|
"searchTermModifiers": {}
|
|
2775
2774
|
}),
|
|
2776
|
-
emits: /*@__PURE__*/ mergeModels([
|
|
2775
|
+
emits: /*@__PURE__*/ vueExports.mergeModels([
|
|
2777
2776
|
"change",
|
|
2778
2777
|
"blur",
|
|
2779
2778
|
"focus",
|
|
@@ -2786,9 +2785,9 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2786
2785
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2787
2786
|
const _props = __props;
|
|
2788
2787
|
const emits = __emit;
|
|
2789
|
-
const slots = useSlots();
|
|
2788
|
+
const slots = vueExports.useSlots();
|
|
2790
2789
|
const props = useComponentProps("selectMenu", _props);
|
|
2791
|
-
const searchTerm = useModel(__props, "searchTerm", {
|
|
2790
|
+
const searchTerm = vueExports.useModel(__props, "searchTerm", {
|
|
2792
2791
|
type: String,
|
|
2793
2792
|
default: ""
|
|
2794
2793
|
});
|
|
@@ -2796,27 +2795,27 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2796
2795
|
const appConfig = useAppConfig();
|
|
2797
2796
|
const { filterGroups } = useFilter();
|
|
2798
2797
|
const rootProps = useForwardProps(reactivePick(props, "modelValue", "defaultValue", "open", "defaultOpen", "required", "multiple", "resetSearchTermOnBlur", "resetSearchTermOnSelect", "resetModelValueOnClear", "highlightOnHover", "by"), emits);
|
|
2799
|
-
const portalProps = usePortal(toRef(() => props.portal));
|
|
2800
|
-
const contentProps = toRef(() => defu(props.content, {
|
|
2798
|
+
const portalProps = usePortal(vueExports.toRef(() => props.portal));
|
|
2799
|
+
const contentProps = vueExports.toRef(() => defu(props.content, {
|
|
2801
2800
|
side: "bottom",
|
|
2802
2801
|
sideOffset: 8,
|
|
2803
2802
|
collisionPadding: 8,
|
|
2804
2803
|
position: "popper"
|
|
2805
2804
|
}));
|
|
2806
|
-
const arrowProps = toRef(() => defu(props.arrow, { rounded: true }));
|
|
2807
|
-
const clearProps = computed(() => typeof props.clear === "object" ? props.clear : {});
|
|
2808
|
-
const virtualizerProps = toRef(() => {
|
|
2805
|
+
const arrowProps = vueExports.toRef(() => defu(props.arrow, { rounded: true }));
|
|
2806
|
+
const clearProps = vueExports.computed(() => typeof props.clear === "object" ? props.clear : {});
|
|
2807
|
+
const virtualizerProps = vueExports.toRef(() => {
|
|
2809
2808
|
if (!props.virtualize) return false;
|
|
2810
2809
|
return defu(typeof props.virtualize === "boolean" ? {} : props.virtualize, { estimateSize: getEstimateSize(filteredItems.value, selectSize.value || "md", props.descriptionKey, !!slots["item-description"]) });
|
|
2811
2810
|
});
|
|
2812
|
-
const searchInputProps = toRef(() => defu(props.searchInput, {
|
|
2811
|
+
const searchInputProps = vueExports.toRef(() => defu(props.searchInput, {
|
|
2813
2812
|
placeholder: t("selectMenu.search"),
|
|
2814
2813
|
variant: "none"
|
|
2815
2814
|
}));
|
|
2816
2815
|
const { emitFormBlur, emitFormFocus, emitFormInput, emitFormChange, size: formFieldSize, color, id, name, highlight, disabled, ariaAttrs } = useFormField(_props);
|
|
2817
2816
|
const { orientation, size: fieldGroupSize } = useFieldGroup(_props);
|
|
2818
|
-
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
|
|
2819
|
-
const selectSize = computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
2817
|
+
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(vueExports.toRef(() => defu(props, { trailingIcon: appConfig.ui.icons.chevronDown })));
|
|
2818
|
+
const selectSize = vueExports.computed(() => fieldGroupSize.value || formFieldSize.value);
|
|
2820
2819
|
const [DefineCreateItemTemplate, ReuseCreateItemTemplate] = createReusableTemplate();
|
|
2821
2820
|
const [DefineItemTemplate, ReuseItemTemplate] = createReusableTemplate({ props: {
|
|
2822
2821
|
item: {
|
|
@@ -2833,7 +2832,7 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2833
2832
|
required: false
|
|
2834
2833
|
}
|
|
2835
2834
|
} });
|
|
2836
|
-
const ui = computed(() => tv({
|
|
2835
|
+
const ui = vueExports.computed(() => tv({
|
|
2837
2836
|
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fselect_menu_default,
|
|
2838
2837
|
...appConfig.ui?.selectMenu || {}
|
|
2839
2838
|
})({
|
|
@@ -2863,9 +2862,9 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2863
2862
|
by: props.by
|
|
2864
2863
|
});
|
|
2865
2864
|
}
|
|
2866
|
-
const groups = computed(() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []);
|
|
2867
|
-
const items = computed(() => groups.value.flatMap((group) => group));
|
|
2868
|
-
const filteredGroups = computed(() => {
|
|
2865
|
+
const groups = vueExports.computed(() => props.items?.length ? isArrayOfArray(props.items) ? props.items : [props.items] : []);
|
|
2866
|
+
const items = vueExports.computed(() => groups.value.flatMap((group) => group));
|
|
2867
|
+
const filteredGroups = vueExports.computed(() => {
|
|
2869
2868
|
if (props.ignoreFilter || !searchTerm.value) return groups.value;
|
|
2870
2869
|
const fields = Array.isArray(props.filterFields) ? props.filterFields : [props.labelKey];
|
|
2871
2870
|
return filterGroups(groups.value, searchTerm.value, {
|
|
@@ -2873,17 +2872,17 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2873
2872
|
isStructural: (item) => isSelectItem(item) && !!item.type && ["label", "separator"].includes(item.type)
|
|
2874
2873
|
});
|
|
2875
2874
|
});
|
|
2876
|
-
const filteredItems = computed(() => filteredGroups.value.flatMap((group) => group));
|
|
2877
|
-
const createItem = computed(() => {
|
|
2875
|
+
const filteredItems = vueExports.computed(() => filteredGroups.value.flatMap((group) => group));
|
|
2876
|
+
const createItem = vueExports.computed(() => {
|
|
2878
2877
|
if (!props.createItem || !searchTerm.value) return false;
|
|
2879
2878
|
const newItem = props.valueKey ? { [props.valueKey]: searchTerm.value } : searchTerm.value;
|
|
2880
2879
|
if (typeof props.createItem === "object" && props.createItem.when === "always" || props.createItem === "always") return !filteredItems.value.find((item) => compare$1(item, newItem, props.by ?? props.valueKey));
|
|
2881
2880
|
return !filteredItems.value.length;
|
|
2882
2881
|
});
|
|
2883
|
-
const createItemPosition = computed(() => typeof props.createItem === "object" ? props.createItem.position : "bottom");
|
|
2884
|
-
const triggerRef = useTemplateRef("triggerRef");
|
|
2882
|
+
const createItemPosition = vueExports.computed(() => typeof props.createItem === "object" ? props.createItem.position : "bottom");
|
|
2883
|
+
const triggerRef = vueExports.useTemplateRef("triggerRef");
|
|
2885
2884
|
function onUpdate(value) {
|
|
2886
|
-
if (toRaw(props.modelValue) === value) return;
|
|
2885
|
+
if (vueExports.toRaw(props.modelValue) === value) return;
|
|
2887
2886
|
if (props.modelModifiers?.trim && (typeof value === "string" || value === null || value === void 0)) value = value?.trim() ?? null;
|
|
2888
2887
|
if (props.modelModifiers?.number) value = looseToNumber(value);
|
|
2889
2888
|
if (props.modelModifiers?.nullable) value ??= null;
|
|
@@ -2894,7 +2893,7 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2894
2893
|
emitFormInput();
|
|
2895
2894
|
if (props.resetSearchTermOnSelect) searchTerm.value = "";
|
|
2896
2895
|
}
|
|
2897
|
-
const isOpen = ref(false);
|
|
2896
|
+
const isOpen = vueExports.ref(false);
|
|
2898
2897
|
function onUpdateOpen(value) {
|
|
2899
2898
|
isOpen.value = value;
|
|
2900
2899
|
let timeoutId;
|
|
@@ -2935,221 +2934,221 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
2935
2934
|
function onClear() {
|
|
2936
2935
|
emits("clear");
|
|
2937
2936
|
}
|
|
2938
|
-
const viewportRef = useTemplateRef("viewportRef");
|
|
2939
|
-
const comboboxRootRef = useTemplateRef("comboboxRootRef");
|
|
2940
|
-
watch(() => props.items, async () => {
|
|
2937
|
+
const viewportRef = vueExports.useTemplateRef("viewportRef");
|
|
2938
|
+
const comboboxRootRef = vueExports.useTemplateRef("comboboxRootRef");
|
|
2939
|
+
vueExports.watch(() => props.items, async () => {
|
|
2941
2940
|
if (!isOpen.value || !props.createItem) return;
|
|
2942
|
-
await nextTick();
|
|
2941
|
+
await vueExports.nextTick();
|
|
2943
2942
|
comboboxRootRef.value?.highlightFirstItem?.();
|
|
2944
2943
|
}, { flush: "post" });
|
|
2945
2944
|
__expose({
|
|
2946
|
-
triggerRef: toRef(() => triggerRef.value?.$el),
|
|
2947
|
-
viewportRef: toRef(() => viewportRef.value)
|
|
2945
|
+
triggerRef: vueExports.toRef(() => triggerRef.value?.$el),
|
|
2946
|
+
viewportRef: vueExports.toRef(() => viewportRef.value)
|
|
2948
2947
|
});
|
|
2949
2948
|
return (_ctx, _push, _parent, _attrs) => {
|
|
2950
2949
|
_push(`<!--[-->`);
|
|
2951
|
-
_push(
|
|
2952
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
2953
|
-
if (_push) _push(
|
|
2950
|
+
_push(ssrRenderComponent_1(vueExports.unref(DefineCreateItemTemplate), null, {
|
|
2951
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
2952
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ComboboxItem_default), {
|
|
2954
2953
|
"data-slot": "item",
|
|
2955
|
-
class: ui.value.item({ class: unref(props).ui?.item }),
|
|
2954
|
+
class: ui.value.item({ class: vueExports.unref(props).ui?.item }),
|
|
2956
2955
|
value: searchTerm.value,
|
|
2957
2956
|
onSelect: onCreate
|
|
2958
2957
|
}, {
|
|
2959
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
2958
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
2960
2959
|
if (_push) {
|
|
2961
|
-
_push(`<span data-slot="itemLabel" class="${
|
|
2962
|
-
|
|
2963
|
-
_push(`${
|
|
2960
|
+
_push(`<span data-slot="itemLabel" class="${ssrRenderClass_1(ui.value.itemLabel({ class: vueExports.unref(props).ui?.itemLabel }))}"${_scopeId}>`);
|
|
2961
|
+
ssrRenderSlot_1(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => {
|
|
2962
|
+
_push(`${ssrInterpolate_1(vueExports.unref(t)("selectMenu.create", { label: searchTerm.value }))}`);
|
|
2964
2963
|
}, _push, _parent, _scopeId);
|
|
2965
2964
|
_push(`</span>`);
|
|
2966
|
-
} else return [createVNode("span", {
|
|
2965
|
+
} else return [vueExports.createVNode("span", {
|
|
2967
2966
|
"data-slot": "itemLabel",
|
|
2968
|
-
class: ui.value.itemLabel({ class: unref(props).ui?.itemLabel })
|
|
2969
|
-
}, [renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)])], 2)];
|
|
2967
|
+
class: ui.value.itemLabel({ class: vueExports.unref(props).ui?.itemLabel })
|
|
2968
|
+
}, [vueExports.renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(t)("selectMenu.create", { label: searchTerm.value })), 1)])], 2)];
|
|
2970
2969
|
}),
|
|
2971
2970
|
_: 3
|
|
2972
2971
|
}, _parent, _scopeId));
|
|
2973
|
-
else return [createVNode(unref(ComboboxItem_default), {
|
|
2972
|
+
else return [vueExports.createVNode(vueExports.unref(ComboboxItem_default), {
|
|
2974
2973
|
"data-slot": "item",
|
|
2975
|
-
class: ui.value.item({ class: unref(props).ui?.item }),
|
|
2974
|
+
class: ui.value.item({ class: vueExports.unref(props).ui?.item }),
|
|
2976
2975
|
value: searchTerm.value,
|
|
2977
2976
|
onSelect: onCreate
|
|
2978
2977
|
}, {
|
|
2979
|
-
default: withCtx(() => [createVNode("span", {
|
|
2978
|
+
default: vueExports.withCtx(() => [vueExports.createVNode("span", {
|
|
2980
2979
|
"data-slot": "itemLabel",
|
|
2981
|
-
class: ui.value.itemLabel({ class: unref(props).ui?.itemLabel })
|
|
2982
|
-
}, [renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [createTextVNode(toDisplayString(unref(t)("selectMenu.create", { label: searchTerm.value })), 1)])], 2)]),
|
|
2980
|
+
class: ui.value.itemLabel({ class: vueExports.unref(props).ui?.itemLabel })
|
|
2981
|
+
}, [vueExports.renderSlot(_ctx.$slots, "create-item-label", { item: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(t)("selectMenu.create", { label: searchTerm.value })), 1)])], 2)]),
|
|
2983
2982
|
_: 3
|
|
2984
2983
|
}, 8, ["class", "value"])];
|
|
2985
2984
|
}),
|
|
2986
2985
|
_: 3
|
|
2987
2986
|
}, _parent));
|
|
2988
|
-
_push(
|
|
2989
|
-
default: withCtx(({ item, index }, _push, _parent, _scopeId) => {
|
|
2987
|
+
_push(ssrRenderComponent_1(vueExports.unref(DefineItemTemplate), null, {
|
|
2988
|
+
default: vueExports.withCtx(({ item, index }, _push, _parent, _scopeId) => {
|
|
2990
2989
|
if (_push) {
|
|
2991
|
-
if (isSelectItem(item) && item.type === "label") _push(
|
|
2990
|
+
if (isSelectItem(item) && item.type === "label") _push(ssrRenderComponent_1(vueExports.unref(ComboboxLabel_default), {
|
|
2992
2991
|
"data-slot": "label",
|
|
2993
2992
|
class: ui.value.label({ class: [
|
|
2994
|
-
unref(props).ui?.label,
|
|
2993
|
+
vueExports.unref(props).ui?.label,
|
|
2995
2994
|
item.ui?.label,
|
|
2996
2995
|
item.class
|
|
2997
2996
|
] })
|
|
2998
2997
|
}, {
|
|
2999
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3000
|
-
if (_push) _push(`${
|
|
3001
|
-
else return [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)];
|
|
2998
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
2999
|
+
if (_push) _push(`${ssrInterpolate_1(vueExports.unref(get)(item, vueExports.unref(props).labelKey))}`);
|
|
3000
|
+
else return [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)];
|
|
3002
3001
|
}),
|
|
3003
3002
|
_: 2
|
|
3004
3003
|
}, _parent, _scopeId));
|
|
3005
|
-
else if (isSelectItem(item) && item.type === "separator") _push(
|
|
3004
|
+
else if (isSelectItem(item) && item.type === "separator") _push(ssrRenderComponent_1(vueExports.unref(ComboboxSeparator_default), {
|
|
3006
3005
|
"data-slot": "separator",
|
|
3007
3006
|
class: ui.value.separator({ class: [
|
|
3008
|
-
unref(props).ui?.separator,
|
|
3007
|
+
vueExports.unref(props).ui?.separator,
|
|
3009
3008
|
item.ui?.separator,
|
|
3010
3009
|
item.class
|
|
3011
3010
|
] })
|
|
3012
3011
|
}, null, _parent, _scopeId));
|
|
3013
|
-
else _push(
|
|
3012
|
+
else _push(ssrRenderComponent_1(vueExports.unref(ComboboxItem_default), {
|
|
3014
3013
|
"data-slot": "item",
|
|
3015
3014
|
class: ui.value.item({ class: [
|
|
3016
|
-
unref(props).ui?.item,
|
|
3015
|
+
vueExports.unref(props).ui?.item,
|
|
3017
3016
|
isSelectItem(item) && item.ui?.item,
|
|
3018
3017
|
isSelectItem(item) && item.class
|
|
3019
3018
|
] }),
|
|
3020
3019
|
disabled: isSelectItem(item) && item.disabled,
|
|
3021
|
-
value: unref(props).valueKey && isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3020
|
+
value: vueExports.unref(props).valueKey && isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3022
3021
|
onSelect: ($event) => onSelect($event, item)
|
|
3023
3022
|
}, {
|
|
3024
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3025
|
-
if (_push)
|
|
3023
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3024
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "item", {
|
|
3026
3025
|
item,
|
|
3027
3026
|
index,
|
|
3028
3027
|
ui: ui.value
|
|
3029
3028
|
}, () => {
|
|
3030
|
-
|
|
3029
|
+
ssrRenderSlot_1(_ctx.$slots, "item-leading", {
|
|
3031
3030
|
item,
|
|
3032
3031
|
index,
|
|
3033
3032
|
ui: ui.value
|
|
3034
3033
|
}, () => {
|
|
3035
|
-
if (isSelectItem(item) && item.icon) _push(
|
|
3034
|
+
if (isSelectItem(item) && item.icon) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3036
3035
|
name: item.icon,
|
|
3037
3036
|
"data-slot": "itemLeadingIcon",
|
|
3038
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3037
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3039
3038
|
}, null, _parent, _scopeId));
|
|
3040
|
-
else if (isSelectItem(item) && item.avatar) _push(
|
|
3039
|
+
else if (isSelectItem(item) && item.avatar) _push(ssrRenderComponent_1(_sfc_main$3, vueExports.mergeProps({ size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize() }, item.avatar, {
|
|
3041
3040
|
"data-slot": "itemLeadingAvatar",
|
|
3042
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3041
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3043
3042
|
}), null, _parent, _scopeId));
|
|
3044
|
-
else if (isSelectItem(item) && item.chip) _push(
|
|
3045
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3043
|
+
else if (isSelectItem(item) && item.chip) _push(ssrRenderComponent_1(_sfc_main$4, vueExports.mergeProps({
|
|
3044
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3046
3045
|
inset: "",
|
|
3047
3046
|
standalone: ""
|
|
3048
3047
|
}, item.chip, {
|
|
3049
3048
|
"data-slot": "itemLeadingChip",
|
|
3050
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3049
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3051
3050
|
}), null, _parent, _scopeId));
|
|
3052
3051
|
else _push(`<!---->`);
|
|
3053
3052
|
}, _push, _parent, _scopeId);
|
|
3054
|
-
_push(`<span data-slot="itemWrapper" class="${
|
|
3055
|
-
|
|
3053
|
+
_push(`<span data-slot="itemWrapper" class="${ssrRenderClass_1(ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] }))}"${_scopeId}><span data-slot="itemLabel" class="${ssrRenderClass_1(ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] }))}"${_scopeId}>`);
|
|
3054
|
+
ssrRenderSlot_1(_ctx.$slots, "item-label", {
|
|
3056
3055
|
item,
|
|
3057
3056
|
index
|
|
3058
3057
|
}, () => {
|
|
3059
|
-
_push(`${
|
|
3058
|
+
_push(`${ssrInterpolate_1(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item)}`);
|
|
3060
3059
|
}, _push, _parent, _scopeId);
|
|
3061
3060
|
_push(`</span>`);
|
|
3062
|
-
if (isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"])) {
|
|
3063
|
-
_push(`<span data-slot="itemDescription" class="${
|
|
3064
|
-
|
|
3061
|
+
if (isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"])) {
|
|
3062
|
+
_push(`<span data-slot="itemDescription" class="${ssrRenderClass_1(ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] }))}"${_scopeId}>`);
|
|
3063
|
+
ssrRenderSlot_1(_ctx.$slots, "item-description", {
|
|
3065
3064
|
item,
|
|
3066
3065
|
index
|
|
3067
3066
|
}, () => {
|
|
3068
|
-
_push(`${
|
|
3067
|
+
_push(`${ssrInterpolate_1(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey))}`);
|
|
3069
3068
|
}, _push, _parent, _scopeId);
|
|
3070
3069
|
_push(`</span>`);
|
|
3071
3070
|
} else _push(`<!---->`);
|
|
3072
|
-
_push(`</span><span data-slot="itemTrailing" class="${
|
|
3073
|
-
|
|
3071
|
+
_push(`</span><span data-slot="itemTrailing" class="${ssrRenderClass_1(ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] }))}"${_scopeId}>`);
|
|
3072
|
+
ssrRenderSlot_1(_ctx.$slots, "item-trailing", {
|
|
3074
3073
|
item,
|
|
3075
3074
|
index,
|
|
3076
3075
|
ui: ui.value
|
|
3077
3076
|
}, null, _push, _parent, _scopeId);
|
|
3078
|
-
_push(
|
|
3079
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3080
|
-
if (_push) _push(
|
|
3081
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3077
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxItemIndicator_default), { "as-child": "" }, {
|
|
3078
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3079
|
+
if (_push) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3080
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3082
3081
|
"data-slot": "itemTrailingIcon",
|
|
3083
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3082
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3084
3083
|
}, null, _parent, _scopeId));
|
|
3085
|
-
else return [createVNode(_sfc_main$5, {
|
|
3086
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3084
|
+
else return [vueExports.createVNode(_sfc_main$5, {
|
|
3085
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3087
3086
|
"data-slot": "itemTrailingIcon",
|
|
3088
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3087
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3089
3088
|
}, null, 8, ["name", "class"])];
|
|
3090
3089
|
}),
|
|
3091
3090
|
_: 2
|
|
3092
3091
|
}, _parent, _scopeId));
|
|
3093
3092
|
_push(`</span>`);
|
|
3094
3093
|
}, _push, _parent, _scopeId);
|
|
3095
|
-
else return [renderSlot(_ctx.$slots, "item", {
|
|
3094
|
+
else return [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3096
3095
|
item,
|
|
3097
3096
|
index,
|
|
3098
3097
|
ui: ui.value
|
|
3099
3098
|
}, () => [
|
|
3100
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3099
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3101
3100
|
item,
|
|
3102
3101
|
index,
|
|
3103
3102
|
ui: ui.value
|
|
3104
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3103
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3105
3104
|
key: 0,
|
|
3106
3105
|
name: item.icon,
|
|
3107
3106
|
"data-slot": "itemLeadingIcon",
|
|
3108
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3109
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
3107
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3108
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
3110
3109
|
key: 1,
|
|
3111
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3110
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3112
3111
|
}, item.avatar, {
|
|
3113
3112
|
"data-slot": "itemLeadingAvatar",
|
|
3114
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3115
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
3113
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3114
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4, vueExports.mergeProps({
|
|
3116
3115
|
key: 2,
|
|
3117
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3116
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3118
3117
|
inset: "",
|
|
3119
3118
|
standalone: ""
|
|
3120
3119
|
}, item.chip, {
|
|
3121
3120
|
"data-slot": "itemLeadingChip",
|
|
3122
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3123
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3124
|
-
createVNode("span", {
|
|
3121
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3122
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3123
|
+
vueExports.createVNode("span", {
|
|
3125
3124
|
"data-slot": "itemWrapper",
|
|
3126
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3127
|
-
}, [createVNode("span", {
|
|
3125
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3126
|
+
}, [vueExports.createVNode("span", {
|
|
3128
3127
|
"data-slot": "itemLabel",
|
|
3129
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3130
|
-
}, [renderSlot(_ctx.$slots, "item-label", {
|
|
3128
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3129
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3131
3130
|
item,
|
|
3132
3131
|
index
|
|
3133
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])], 2), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3132
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])], 2), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3134
3133
|
key: 0,
|
|
3135
3134
|
"data-slot": "itemDescription",
|
|
3136
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3137
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3135
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3136
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3138
3137
|
item,
|
|
3139
3138
|
index
|
|
3140
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3141
|
-
createVNode("span", {
|
|
3139
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3140
|
+
vueExports.createVNode("span", {
|
|
3142
3141
|
"data-slot": "itemTrailing",
|
|
3143
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3144
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3142
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3143
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3145
3144
|
item,
|
|
3146
3145
|
index,
|
|
3147
3146
|
ui: ui.value
|
|
3148
|
-
}), createVNode(unref(ComboboxItemIndicator_default), { "as-child": "" }, {
|
|
3149
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3150
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3147
|
+
}), vueExports.createVNode(vueExports.unref(ComboboxItemIndicator_default), { "as-child": "" }, {
|
|
3148
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3149
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3151
3150
|
"data-slot": "itemTrailingIcon",
|
|
3152
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3151
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3153
3152
|
}, null, 8, ["name", "class"])]),
|
|
3154
3153
|
_: 2
|
|
3155
3154
|
}, 1024)], 2)
|
|
@@ -3157,95 +3156,95 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3157
3156
|
}),
|
|
3158
3157
|
_: 2
|
|
3159
3158
|
}, _parent, _scopeId));
|
|
3160
|
-
} else return [isSelectItem(item) && item.type === "label" ? (openBlock(), createBlock(unref(ComboboxLabel_default), {
|
|
3159
|
+
} else return [isSelectItem(item) && item.type === "label" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxLabel_default), {
|
|
3161
3160
|
key: 0,
|
|
3162
3161
|
"data-slot": "label",
|
|
3163
3162
|
class: ui.value.label({ class: [
|
|
3164
|
-
unref(props).ui?.label,
|
|
3163
|
+
vueExports.unref(props).ui?.label,
|
|
3165
3164
|
item.ui?.label,
|
|
3166
3165
|
item.class
|
|
3167
3166
|
] })
|
|
3168
3167
|
}, {
|
|
3169
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(get)(item, unref(props).labelKey)), 1)]),
|
|
3168
|
+
default: vueExports.withCtx(() => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).labelKey)), 1)]),
|
|
3170
3169
|
_: 2
|
|
3171
|
-
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (openBlock(), createBlock(unref(ComboboxSeparator_default), {
|
|
3170
|
+
}, 1032, ["class"])) : isSelectItem(item) && item.type === "separator" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxSeparator_default), {
|
|
3172
3171
|
key: 1,
|
|
3173
3172
|
"data-slot": "separator",
|
|
3174
3173
|
class: ui.value.separator({ class: [
|
|
3175
|
-
unref(props).ui?.separator,
|
|
3174
|
+
vueExports.unref(props).ui?.separator,
|
|
3176
3175
|
item.ui?.separator,
|
|
3177
3176
|
item.class
|
|
3178
3177
|
] })
|
|
3179
|
-
}, null, 8, ["class"])) : (openBlock(), createBlock(unref(ComboboxItem_default), {
|
|
3178
|
+
}, null, 8, ["class"])) : (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxItem_default), {
|
|
3180
3179
|
key: 2,
|
|
3181
3180
|
"data-slot": "item",
|
|
3182
3181
|
class: ui.value.item({ class: [
|
|
3183
|
-
unref(props).ui?.item,
|
|
3182
|
+
vueExports.unref(props).ui?.item,
|
|
3184
3183
|
isSelectItem(item) && item.ui?.item,
|
|
3185
3184
|
isSelectItem(item) && item.class
|
|
3186
3185
|
] }),
|
|
3187
3186
|
disabled: isSelectItem(item) && item.disabled,
|
|
3188
|
-
value: unref(props).valueKey && isSelectItem(item) ? unref(get)(item, unref(props).valueKey) : item,
|
|
3187
|
+
value: vueExports.unref(props).valueKey && isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).valueKey) : item,
|
|
3189
3188
|
onSelect: ($event) => onSelect($event, item)
|
|
3190
3189
|
}, {
|
|
3191
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
3190
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "item", {
|
|
3192
3191
|
item,
|
|
3193
3192
|
index,
|
|
3194
3193
|
ui: ui.value
|
|
3195
3194
|
}, () => [
|
|
3196
|
-
renderSlot(_ctx.$slots, "item-leading", {
|
|
3195
|
+
vueExports.renderSlot(_ctx.$slots, "item-leading", {
|
|
3197
3196
|
item,
|
|
3198
3197
|
index,
|
|
3199
3198
|
ui: ui.value
|
|
3200
|
-
}, () => [isSelectItem(item) && item.icon ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3199
|
+
}, () => [isSelectItem(item) && item.icon ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3201
3200
|
key: 0,
|
|
3202
3201
|
name: item.icon,
|
|
3203
3202
|
"data-slot": "itemLeadingIcon",
|
|
3204
|
-
class: ui.value.itemLeadingIcon({ class: [unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3205
|
-
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
3203
|
+
class: ui.value.itemLeadingIcon({ class: [vueExports.unref(props).ui?.itemLeadingIcon, item.ui?.itemLeadingIcon] })
|
|
3204
|
+
}, null, 8, ["name", "class"])) : isSelectItem(item) && item.avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
3206
3205
|
key: 1,
|
|
3207
|
-
size: item.ui?.itemLeadingAvatarSize || unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3206
|
+
size: item.ui?.itemLeadingAvatarSize || vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3208
3207
|
}, item.avatar, {
|
|
3209
3208
|
"data-slot": "itemLeadingAvatar",
|
|
3210
|
-
class: ui.value.itemLeadingAvatar({ class: [unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3211
|
-
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
3209
|
+
class: ui.value.itemLeadingAvatar({ class: [vueExports.unref(props).ui?.itemLeadingAvatar, item.ui?.itemLeadingAvatar] })
|
|
3210
|
+
}), null, 16, ["size", "class"])) : isSelectItem(item) && item.chip ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$4, vueExports.mergeProps({
|
|
3212
3211
|
key: 2,
|
|
3213
|
-
size: item.ui?.itemLeadingChipSize || unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3212
|
+
size: item.ui?.itemLeadingChipSize || vueExports.unref(props).ui?.itemLeadingChipSize || ui.value.itemLeadingChipSize(),
|
|
3214
3213
|
inset: "",
|
|
3215
3214
|
standalone: ""
|
|
3216
3215
|
}, item.chip, {
|
|
3217
3216
|
"data-slot": "itemLeadingChip",
|
|
3218
|
-
class: ui.value.itemLeadingChip({ class: [unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3219
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)]),
|
|
3220
|
-
createVNode("span", {
|
|
3217
|
+
class: ui.value.itemLeadingChip({ class: [vueExports.unref(props).ui?.itemLeadingChip, item.ui?.itemLeadingChip] })
|
|
3218
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)]),
|
|
3219
|
+
vueExports.createVNode("span", {
|
|
3221
3220
|
"data-slot": "itemWrapper",
|
|
3222
|
-
class: ui.value.itemWrapper({ class: [unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3223
|
-
}, [createVNode("span", {
|
|
3221
|
+
class: ui.value.itemWrapper({ class: [vueExports.unref(props).ui?.itemWrapper, isSelectItem(item) && item.ui?.itemWrapper] })
|
|
3222
|
+
}, [vueExports.createVNode("span", {
|
|
3224
3223
|
"data-slot": "itemLabel",
|
|
3225
|
-
class: ui.value.itemLabel({ class: [unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3226
|
-
}, [renderSlot(_ctx.$slots, "item-label", {
|
|
3224
|
+
class: ui.value.itemLabel({ class: [vueExports.unref(props).ui?.itemLabel, isSelectItem(item) && item.ui?.itemLabel] })
|
|
3225
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-label", {
|
|
3227
3226
|
item,
|
|
3228
3227
|
index
|
|
3229
|
-
}, () => [createTextVNode(toDisplayString(isSelectItem(item) ? unref(get)(item, unref(props).labelKey) : item), 1)])], 2), isSelectItem(item) && (unref(get)(item, unref(props).descriptionKey) || !!slots["item-description"]) ? (openBlock(), createBlock("span", {
|
|
3228
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(isSelectItem(item) ? vueExports.unref(get)(item, vueExports.unref(props).labelKey) : item), 1)])], 2), isSelectItem(item) && (vueExports.unref(get)(item, vueExports.unref(props).descriptionKey) || !!slots["item-description"]) ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3230
3229
|
key: 0,
|
|
3231
3230
|
"data-slot": "itemDescription",
|
|
3232
|
-
class: ui.value.itemDescription({ class: [unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3233
|
-
}, [renderSlot(_ctx.$slots, "item-description", {
|
|
3231
|
+
class: ui.value.itemDescription({ class: [vueExports.unref(props).ui?.itemDescription, isSelectItem(item) && item.ui?.itemDescription] })
|
|
3232
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-description", {
|
|
3234
3233
|
item,
|
|
3235
3234
|
index
|
|
3236
|
-
}, () => [createTextVNode(toDisplayString(unref(get)(item, unref(props).descriptionKey)), 1)])], 2)) : createCommentVNode("", true)], 2),
|
|
3237
|
-
createVNode("span", {
|
|
3235
|
+
}, () => [vueExports.createTextVNode(vueExports.toDisplayString(vueExports.unref(get)(item, vueExports.unref(props).descriptionKey)), 1)])], 2)) : vueExports.createCommentVNode("", true)], 2),
|
|
3236
|
+
vueExports.createVNode("span", {
|
|
3238
3237
|
"data-slot": "itemTrailing",
|
|
3239
|
-
class: ui.value.itemTrailing({ class: [unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3240
|
-
}, [renderSlot(_ctx.$slots, "item-trailing", {
|
|
3238
|
+
class: ui.value.itemTrailing({ class: [vueExports.unref(props).ui?.itemTrailing, isSelectItem(item) && item.ui?.itemTrailing] })
|
|
3239
|
+
}, [vueExports.renderSlot(_ctx.$slots, "item-trailing", {
|
|
3241
3240
|
item,
|
|
3242
3241
|
index,
|
|
3243
3242
|
ui: ui.value
|
|
3244
|
-
}), createVNode(unref(ComboboxItemIndicator_default), { "as-child": "" }, {
|
|
3245
|
-
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
3246
|
-
name: unref(props).selectedIcon || unref(appConfig).ui.icons.check,
|
|
3243
|
+
}), vueExports.createVNode(vueExports.unref(ComboboxItemIndicator_default), { "as-child": "" }, {
|
|
3244
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$5, {
|
|
3245
|
+
name: vueExports.unref(props).selectedIcon || vueExports.unref(appConfig).ui.icons.check,
|
|
3247
3246
|
"data-slot": "itemTrailingIcon",
|
|
3248
|
-
class: ui.value.itemTrailingIcon({ class: [unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3247
|
+
class: ui.value.itemTrailingIcon({ class: [vueExports.unref(props).ui?.itemTrailingIcon, isSelectItem(item) && item.ui?.itemTrailingIcon] })
|
|
3249
3248
|
}, null, 8, ["name", "class"])]),
|
|
3250
3249
|
_: 2
|
|
3251
3250
|
}, 1024)], 2)
|
|
@@ -3260,100 +3259,100 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3260
3259
|
}),
|
|
3261
3260
|
_: 3
|
|
3262
3261
|
}, _parent));
|
|
3263
|
-
_push(
|
|
3262
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxRoot_default), vueExports.mergeProps({
|
|
3264
3263
|
ref_key: "comboboxRootRef",
|
|
3265
3264
|
ref: comboboxRootRef
|
|
3266
|
-
}, unref(rootProps), {
|
|
3265
|
+
}, vueExports.unref(rootProps), {
|
|
3267
3266
|
"ignore-filter": "",
|
|
3268
3267
|
"as-child": "",
|
|
3269
|
-
name: unref(name),
|
|
3270
|
-
disabled: unref(disabled),
|
|
3268
|
+
name: vueExports.unref(name),
|
|
3269
|
+
disabled: vueExports.unref(disabled),
|
|
3271
3270
|
"onUpdate:modelValue": onUpdate,
|
|
3272
3271
|
"onUpdate:open": onUpdateOpen
|
|
3273
3272
|
}), {
|
|
3274
|
-
default: withCtx(({ modelValue, open }, _push, _parent, _scopeId) => {
|
|
3273
|
+
default: vueExports.withCtx(({ modelValue, open }, _push, _parent, _scopeId) => {
|
|
3275
3274
|
if (_push) {
|
|
3276
|
-
_push(
|
|
3277
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3278
|
-
if (_push) _push(
|
|
3279
|
-
id: unref(id),
|
|
3275
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxAnchor_default), { "as-child": "" }, {
|
|
3276
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3277
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ComboboxTrigger_default), vueExports.mergeProps({
|
|
3278
|
+
id: vueExports.unref(id),
|
|
3280
3279
|
ref_key: "triggerRef",
|
|
3281
3280
|
ref: triggerRef,
|
|
3282
3281
|
"data-slot": "base",
|
|
3283
|
-
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] }),
|
|
3282
|
+
class: ui.value.base({ class: [vueExports.unref(props).ui?.base, vueExports.unref(props).class] }),
|
|
3284
3283
|
tabindex: "0"
|
|
3285
3284
|
}, {
|
|
3286
3285
|
..._ctx.$attrs,
|
|
3287
|
-
...unref(ariaAttrs)
|
|
3286
|
+
...vueExports.unref(ariaAttrs)
|
|
3288
3287
|
}), {
|
|
3289
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3288
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3290
3289
|
if (_push) {
|
|
3291
|
-
if (unref(isLeading) || !!unref(props).avatar || !!slots.leading) {
|
|
3292
|
-
_push(`<span data-slot="leading" class="${
|
|
3293
|
-
|
|
3290
|
+
if (vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading) {
|
|
3291
|
+
_push(`<span data-slot="leading" class="${ssrRenderClass_1(ui.value.leading({ class: vueExports.unref(props).ui?.leading }))}"${_scopeId}>`);
|
|
3292
|
+
ssrRenderSlot_1(_ctx.$slots, "leading", {
|
|
3294
3293
|
modelValue,
|
|
3295
3294
|
open,
|
|
3296
3295
|
ui: ui.value
|
|
3297
3296
|
}, () => {
|
|
3298
|
-
if (unref(isLeading) && unref(leadingIconName)) _push(
|
|
3299
|
-
name: unref(leadingIconName),
|
|
3297
|
+
if (vueExports.unref(isLeading) && vueExports.unref(leadingIconName)) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3298
|
+
name: vueExports.unref(leadingIconName),
|
|
3300
3299
|
"data-slot": "leadingIcon",
|
|
3301
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
3300
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
3302
3301
|
}, null, _parent, _scopeId));
|
|
3303
|
-
else if (!!unref(props).avatar) _push(
|
|
3302
|
+
else if (!!vueExports.unref(props).avatar) _push(ssrRenderComponent_1(_sfc_main$3, vueExports.mergeProps({ size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize() }, vueExports.unref(props).avatar, {
|
|
3304
3303
|
"data-slot": "itemLeadingAvatar",
|
|
3305
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
3304
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
3306
3305
|
}), null, _parent, _scopeId));
|
|
3307
3306
|
else _push(`<!---->`);
|
|
3308
3307
|
}, _push, _parent, _scopeId);
|
|
3309
3308
|
_push(`</span>`);
|
|
3310
3309
|
} else _push(`<!---->`);
|
|
3311
|
-
|
|
3310
|
+
ssrRenderSlot_1(_ctx.$slots, "default", {
|
|
3312
3311
|
modelValue,
|
|
3313
3312
|
open,
|
|
3314
3313
|
ui: ui.value
|
|
3315
3314
|
}, () => {
|
|
3316
3315
|
_push(`<!--[-->`);
|
|
3317
|
-
|
|
3316
|
+
ssrRenderList_1([displayValue(modelValue)], (displayedModelValue) => {
|
|
3318
3317
|
_push(`<!--[-->`);
|
|
3319
|
-
if (displayedModelValue !== void 0 && displayedModelValue !== null) _push(`<span data-slot="value" class="${
|
|
3320
|
-
else _push(`<span data-slot="placeholder" class="${
|
|
3318
|
+
if (displayedModelValue !== void 0 && displayedModelValue !== null) _push(`<span data-slot="value" class="${ssrRenderClass_1(ui.value.value({ class: vueExports.unref(props).ui?.value }))}"${_scopeId}>${ssrInterpolate_1(displayedModelValue)}</span>`);
|
|
3319
|
+
else _push(`<span data-slot="placeholder" class="${ssrRenderClass_1(ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder }))}"${_scopeId}>${ssrInterpolate_1(vueExports.unref(props).placeholder ?? "\xA0")}</span>`);
|
|
3321
3320
|
_push(`<!--]-->`);
|
|
3322
3321
|
});
|
|
3323
3322
|
_push(`<!--]-->`);
|
|
3324
3323
|
}, _push, _parent, _scopeId);
|
|
3325
|
-
if (unref(isTrailing) || !!slots.trailing || !!unref(props).clear) {
|
|
3326
|
-
_push(`<span data-slot="trailing" class="${
|
|
3327
|
-
|
|
3324
|
+
if (vueExports.unref(isTrailing) || !!slots.trailing || !!vueExports.unref(props).clear) {
|
|
3325
|
+
_push(`<span data-slot="trailing" class="${ssrRenderClass_1(ui.value.trailing({ class: vueExports.unref(props).ui?.trailing }))}"${_scopeId}>`);
|
|
3326
|
+
ssrRenderSlot_1(_ctx.$slots, "trailing", {
|
|
3328
3327
|
modelValue,
|
|
3329
3328
|
open,
|
|
3330
3329
|
ui: ui.value
|
|
3331
3330
|
}, () => {
|
|
3332
|
-
if (!!unref(props).clear && !isModelValueEmpty(modelValue)) _push(
|
|
3333
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3334
|
-
if (_push) _push(
|
|
3331
|
+
if (!!vueExports.unref(props).clear && !isModelValueEmpty(modelValue)) _push(ssrRenderComponent_1(vueExports.unref(ComboboxCancel_default), { "as-child": "" }, {
|
|
3332
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3333
|
+
if (_push) _push(ssrRenderComponent_1(_sfc_main$1, vueExports.mergeProps({
|
|
3335
3334
|
as: "span",
|
|
3336
|
-
icon: unref(props).clearIcon || unref(appConfig).ui.icons.close,
|
|
3335
|
+
icon: vueExports.unref(props).clearIcon || vueExports.unref(appConfig).ui.icons.close,
|
|
3337
3336
|
size: selectSize.value,
|
|
3338
3337
|
variant: "link",
|
|
3339
3338
|
color: "neutral",
|
|
3340
3339
|
tabindex: "-1"
|
|
3341
3340
|
}, clearProps.value, {
|
|
3342
3341
|
"data-slot": "trailingClear",
|
|
3343
|
-
class: ui.value.trailingClear({ class: unref(props).ui?.trailingClear }),
|
|
3342
|
+
class: ui.value.trailingClear({ class: vueExports.unref(props).ui?.trailingClear }),
|
|
3344
3343
|
onClick: onClear
|
|
3345
3344
|
}), null, _parent, _scopeId));
|
|
3346
|
-
else return [createVNode(_sfc_main$1, mergeProps({
|
|
3345
|
+
else return [vueExports.createVNode(_sfc_main$1, vueExports.mergeProps({
|
|
3347
3346
|
as: "span",
|
|
3348
|
-
icon: unref(props).clearIcon || unref(appConfig).ui.icons.close,
|
|
3347
|
+
icon: vueExports.unref(props).clearIcon || vueExports.unref(appConfig).ui.icons.close,
|
|
3349
3348
|
size: selectSize.value,
|
|
3350
3349
|
variant: "link",
|
|
3351
3350
|
color: "neutral",
|
|
3352
3351
|
tabindex: "-1"
|
|
3353
3352
|
}, clearProps.value, {
|
|
3354
3353
|
"data-slot": "trailingClear",
|
|
3355
|
-
class: ui.value.trailingClear({ class: unref(props).ui?.trailingClear }),
|
|
3356
|
-
onClick: withModifiers(onClear, ["stop"])
|
|
3354
|
+
class: ui.value.trailingClear({ class: vueExports.unref(props).ui?.trailingClear }),
|
|
3355
|
+
onClick: vueExports.withModifiers(onClear, ["stop"])
|
|
3357
3356
|
}), null, 16, [
|
|
3358
3357
|
"icon",
|
|
3359
3358
|
"size",
|
|
@@ -3362,222 +3361,222 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3362
3361
|
}),
|
|
3363
3362
|
_: 2
|
|
3364
3363
|
}, _parent, _scopeId));
|
|
3365
|
-
else if (unref(trailingIconName)) _push(
|
|
3366
|
-
name: unref(trailingIconName),
|
|
3364
|
+
else if (vueExports.unref(trailingIconName)) _push(ssrRenderComponent_1(_sfc_main$5, {
|
|
3365
|
+
name: vueExports.unref(trailingIconName),
|
|
3367
3366
|
"data-slot": "trailingIcon",
|
|
3368
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
3367
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
3369
3368
|
}, null, _parent, _scopeId));
|
|
3370
3369
|
else _push(`<!---->`);
|
|
3371
3370
|
}, _push, _parent, _scopeId);
|
|
3372
3371
|
_push(`</span>`);
|
|
3373
3372
|
} else _push(`<!---->`);
|
|
3374
3373
|
} else return [
|
|
3375
|
-
unref(isLeading) || !!unref(props).avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
3374
|
+
vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3376
3375
|
key: 0,
|
|
3377
3376
|
"data-slot": "leading",
|
|
3378
|
-
class: ui.value.leading({ class: unref(props).ui?.leading })
|
|
3379
|
-
}, [renderSlot(_ctx.$slots, "leading", {
|
|
3377
|
+
class: ui.value.leading({ class: vueExports.unref(props).ui?.leading })
|
|
3378
|
+
}, [vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
3380
3379
|
modelValue,
|
|
3381
3380
|
open,
|
|
3382
3381
|
ui: ui.value
|
|
3383
|
-
}, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3382
|
+
}, () => [vueExports.unref(isLeading) && vueExports.unref(leadingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3384
3383
|
key: 0,
|
|
3385
|
-
name: unref(leadingIconName),
|
|
3384
|
+
name: vueExports.unref(leadingIconName),
|
|
3386
3385
|
"data-slot": "leadingIcon",
|
|
3387
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
3388
|
-
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
3386
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
3387
|
+
}, null, 8, ["name", "class"])) : !!vueExports.unref(props).avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
3389
3388
|
key: 1,
|
|
3390
|
-
size: unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3391
|
-
}, unref(props).avatar, {
|
|
3389
|
+
size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3390
|
+
}, vueExports.unref(props).avatar, {
|
|
3392
3391
|
"data-slot": "itemLeadingAvatar",
|
|
3393
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
3394
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
3395
|
-
renderSlot(_ctx.$slots, "default", {
|
|
3392
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
3393
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true),
|
|
3394
|
+
vueExports.renderSlot(_ctx.$slots, "default", {
|
|
3396
3395
|
modelValue,
|
|
3397
3396
|
open,
|
|
3398
3397
|
ui: ui.value
|
|
3399
|
-
}, () => [(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3400
|
-
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
3398
|
+
}, () => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3399
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3401
3400
|
key: 0,
|
|
3402
3401
|
"data-slot": "value",
|
|
3403
|
-
class: ui.value.value({ class: unref(props).ui?.value })
|
|
3404
|
-
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
3402
|
+
class: ui.value.value({ class: vueExports.unref(props).ui?.value })
|
|
3403
|
+
}, vueExports.toDisplayString(displayedModelValue), 3)) : (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3405
3404
|
key: 1,
|
|
3406
3405
|
"data-slot": "placeholder",
|
|
3407
|
-
class: ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
3408
|
-
}, toDisplayString(unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
3406
|
+
class: ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
3407
|
+
}, vueExports.toDisplayString(vueExports.unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
3409
3408
|
}), 128))]),
|
|
3410
|
-
unref(isTrailing) || !!slots.trailing || !!unref(props).clear ? (openBlock(), createBlock("span", {
|
|
3409
|
+
vueExports.unref(isTrailing) || !!slots.trailing || !!vueExports.unref(props).clear ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3411
3410
|
key: 1,
|
|
3412
3411
|
"data-slot": "trailing",
|
|
3413
|
-
class: ui.value.trailing({ class: unref(props).ui?.trailing })
|
|
3414
|
-
}, [renderSlot(_ctx.$slots, "trailing", {
|
|
3412
|
+
class: ui.value.trailing({ class: vueExports.unref(props).ui?.trailing })
|
|
3413
|
+
}, [vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
3415
3414
|
modelValue,
|
|
3416
3415
|
open,
|
|
3417
3416
|
ui: ui.value
|
|
3418
|
-
}, () => [!!unref(props).clear && !isModelValueEmpty(modelValue) ? (openBlock(), createBlock(unref(ComboboxCancel_default), {
|
|
3417
|
+
}, () => [!!vueExports.unref(props).clear && !isModelValueEmpty(modelValue) ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxCancel_default), {
|
|
3419
3418
|
key: 0,
|
|
3420
3419
|
"as-child": ""
|
|
3421
3420
|
}, {
|
|
3422
|
-
default: withCtx(() => [createVNode(_sfc_main$1, mergeProps({
|
|
3421
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$1, vueExports.mergeProps({
|
|
3423
3422
|
as: "span",
|
|
3424
|
-
icon: unref(props).clearIcon || unref(appConfig).ui.icons.close,
|
|
3423
|
+
icon: vueExports.unref(props).clearIcon || vueExports.unref(appConfig).ui.icons.close,
|
|
3425
3424
|
size: selectSize.value,
|
|
3426
3425
|
variant: "link",
|
|
3427
3426
|
color: "neutral",
|
|
3428
3427
|
tabindex: "-1"
|
|
3429
3428
|
}, clearProps.value, {
|
|
3430
3429
|
"data-slot": "trailingClear",
|
|
3431
|
-
class: ui.value.trailingClear({ class: unref(props).ui?.trailingClear }),
|
|
3432
|
-
onClick: withModifiers(onClear, ["stop"])
|
|
3430
|
+
class: ui.value.trailingClear({ class: vueExports.unref(props).ui?.trailingClear }),
|
|
3431
|
+
onClick: vueExports.withModifiers(onClear, ["stop"])
|
|
3433
3432
|
}), null, 16, [
|
|
3434
3433
|
"icon",
|
|
3435
3434
|
"size",
|
|
3436
3435
|
"class"
|
|
3437
3436
|
])]),
|
|
3438
3437
|
_: 1
|
|
3439
|
-
})) : unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3438
|
+
})) : vueExports.unref(trailingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3440
3439
|
key: 1,
|
|
3441
|
-
name: unref(trailingIconName),
|
|
3440
|
+
name: vueExports.unref(trailingIconName),
|
|
3442
3441
|
"data-slot": "trailingIcon",
|
|
3443
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
3444
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
3442
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
3443
|
+
}, null, 8, ["name", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true)
|
|
3445
3444
|
];
|
|
3446
3445
|
}),
|
|
3447
3446
|
_: 2
|
|
3448
3447
|
}, _parent, _scopeId));
|
|
3449
|
-
else return [createVNode(unref(ComboboxTrigger_default), mergeProps({
|
|
3450
|
-
id: unref(id),
|
|
3448
|
+
else return [vueExports.createVNode(vueExports.unref(ComboboxTrigger_default), vueExports.mergeProps({
|
|
3449
|
+
id: vueExports.unref(id),
|
|
3451
3450
|
ref_key: "triggerRef",
|
|
3452
3451
|
ref: triggerRef,
|
|
3453
3452
|
"data-slot": "base",
|
|
3454
|
-
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] }),
|
|
3453
|
+
class: ui.value.base({ class: [vueExports.unref(props).ui?.base, vueExports.unref(props).class] }),
|
|
3455
3454
|
tabindex: "0"
|
|
3456
3455
|
}, {
|
|
3457
3456
|
..._ctx.$attrs,
|
|
3458
|
-
...unref(ariaAttrs)
|
|
3457
|
+
...vueExports.unref(ariaAttrs)
|
|
3459
3458
|
}), {
|
|
3460
|
-
default: withCtx(() => [
|
|
3461
|
-
unref(isLeading) || !!unref(props).avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
3459
|
+
default: vueExports.withCtx(() => [
|
|
3460
|
+
vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3462
3461
|
key: 0,
|
|
3463
3462
|
"data-slot": "leading",
|
|
3464
|
-
class: ui.value.leading({ class: unref(props).ui?.leading })
|
|
3465
|
-
}, [renderSlot(_ctx.$slots, "leading", {
|
|
3463
|
+
class: ui.value.leading({ class: vueExports.unref(props).ui?.leading })
|
|
3464
|
+
}, [vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
3466
3465
|
modelValue,
|
|
3467
3466
|
open,
|
|
3468
3467
|
ui: ui.value
|
|
3469
|
-
}, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3468
|
+
}, () => [vueExports.unref(isLeading) && vueExports.unref(leadingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3470
3469
|
key: 0,
|
|
3471
|
-
name: unref(leadingIconName),
|
|
3470
|
+
name: vueExports.unref(leadingIconName),
|
|
3472
3471
|
"data-slot": "leadingIcon",
|
|
3473
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
3474
|
-
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
3472
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
3473
|
+
}, null, 8, ["name", "class"])) : !!vueExports.unref(props).avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
3475
3474
|
key: 1,
|
|
3476
|
-
size: unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3477
|
-
}, unref(props).avatar, {
|
|
3475
|
+
size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
3476
|
+
}, vueExports.unref(props).avatar, {
|
|
3478
3477
|
"data-slot": "itemLeadingAvatar",
|
|
3479
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
3480
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
3481
|
-
renderSlot(_ctx.$slots, "default", {
|
|
3478
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
3479
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true),
|
|
3480
|
+
vueExports.renderSlot(_ctx.$slots, "default", {
|
|
3482
3481
|
modelValue,
|
|
3483
3482
|
open,
|
|
3484
3483
|
ui: ui.value
|
|
3485
|
-
}, () => [(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3486
|
-
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
3484
|
+
}, () => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
3485
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3487
3486
|
key: 0,
|
|
3488
3487
|
"data-slot": "value",
|
|
3489
|
-
class: ui.value.value({ class: unref(props).ui?.value })
|
|
3490
|
-
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
3488
|
+
class: ui.value.value({ class: vueExports.unref(props).ui?.value })
|
|
3489
|
+
}, vueExports.toDisplayString(displayedModelValue), 3)) : (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3491
3490
|
key: 1,
|
|
3492
3491
|
"data-slot": "placeholder",
|
|
3493
|
-
class: ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
3494
|
-
}, toDisplayString(unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
3492
|
+
class: ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
3493
|
+
}, vueExports.toDisplayString(vueExports.unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
3495
3494
|
}), 128))]),
|
|
3496
|
-
unref(isTrailing) || !!slots.trailing || !!unref(props).clear ? (openBlock(), createBlock("span", {
|
|
3495
|
+
vueExports.unref(isTrailing) || !!slots.trailing || !!vueExports.unref(props).clear ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
3497
3496
|
key: 1,
|
|
3498
3497
|
"data-slot": "trailing",
|
|
3499
|
-
class: ui.value.trailing({ class: unref(props).ui?.trailing })
|
|
3500
|
-
}, [renderSlot(_ctx.$slots, "trailing", {
|
|
3498
|
+
class: ui.value.trailing({ class: vueExports.unref(props).ui?.trailing })
|
|
3499
|
+
}, [vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
3501
3500
|
modelValue,
|
|
3502
3501
|
open,
|
|
3503
3502
|
ui: ui.value
|
|
3504
|
-
}, () => [!!unref(props).clear && !isModelValueEmpty(modelValue) ? (openBlock(), createBlock(unref(ComboboxCancel_default), {
|
|
3503
|
+
}, () => [!!vueExports.unref(props).clear && !isModelValueEmpty(modelValue) ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxCancel_default), {
|
|
3505
3504
|
key: 0,
|
|
3506
3505
|
"as-child": ""
|
|
3507
3506
|
}, {
|
|
3508
|
-
default: withCtx(() => [createVNode(_sfc_main$1, mergeProps({
|
|
3507
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$1, vueExports.mergeProps({
|
|
3509
3508
|
as: "span",
|
|
3510
|
-
icon: unref(props).clearIcon || unref(appConfig).ui.icons.close,
|
|
3509
|
+
icon: vueExports.unref(props).clearIcon || vueExports.unref(appConfig).ui.icons.close,
|
|
3511
3510
|
size: selectSize.value,
|
|
3512
3511
|
variant: "link",
|
|
3513
3512
|
color: "neutral",
|
|
3514
3513
|
tabindex: "-1"
|
|
3515
3514
|
}, clearProps.value, {
|
|
3516
3515
|
"data-slot": "trailingClear",
|
|
3517
|
-
class: ui.value.trailingClear({ class: unref(props).ui?.trailingClear }),
|
|
3518
|
-
onClick: withModifiers(onClear, ["stop"])
|
|
3516
|
+
class: ui.value.trailingClear({ class: vueExports.unref(props).ui?.trailingClear }),
|
|
3517
|
+
onClick: vueExports.withModifiers(onClear, ["stop"])
|
|
3519
3518
|
}), null, 16, [
|
|
3520
3519
|
"icon",
|
|
3521
3520
|
"size",
|
|
3522
3521
|
"class"
|
|
3523
3522
|
])]),
|
|
3524
3523
|
_: 1
|
|
3525
|
-
})) : unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3524
|
+
})) : vueExports.unref(trailingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
3526
3525
|
key: 1,
|
|
3527
|
-
name: unref(trailingIconName),
|
|
3526
|
+
name: vueExports.unref(trailingIconName),
|
|
3528
3527
|
"data-slot": "trailingIcon",
|
|
3529
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
3530
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
3528
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
3529
|
+
}, null, 8, ["name", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true)
|
|
3531
3530
|
]),
|
|
3532
3531
|
_: 2
|
|
3533
3532
|
}, 1040, ["id", "class"])];
|
|
3534
3533
|
}),
|
|
3535
3534
|
_: 2
|
|
3536
3535
|
}, _parent, _scopeId));
|
|
3537
|
-
_push(
|
|
3538
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3539
|
-
if (_push) _push(
|
|
3540
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3541
|
-
if (_push) _push(
|
|
3536
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxPortal_default), vueExports.unref(portalProps), {
|
|
3537
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3538
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(FieldGroupReset), null, {
|
|
3539
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3540
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ComboboxContent_default), vueExports.mergeProps({
|
|
3542
3541
|
"data-slot": "content",
|
|
3543
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
3542
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
3544
3543
|
}, contentProps.value), {
|
|
3545
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3544
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3546
3545
|
if (_push) {
|
|
3547
|
-
_push(
|
|
3546
|
+
_push(ssrRenderComponent_1(vueExports.unref(FocusScope_default), {
|
|
3548
3547
|
trapped: "",
|
|
3549
3548
|
"data-slot": "focusScope",
|
|
3550
|
-
class: ui.value.focusScope({ class: unref(props).ui?.focusScope })
|
|
3549
|
+
class: ui.value.focusScope({ class: vueExports.unref(props).ui?.focusScope })
|
|
3551
3550
|
}, {
|
|
3552
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3551
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3553
3552
|
if (_push) {
|
|
3554
|
-
|
|
3555
|
-
if (!!unref(props).searchInput) _push(
|
|
3553
|
+
ssrRenderSlot_1(_ctx.$slots, "content-top", {}, null, _push, _parent, _scopeId);
|
|
3554
|
+
if (!!vueExports.unref(props).searchInput) _push(ssrRenderComponent_1(vueExports.unref(ComboboxInput_default), {
|
|
3556
3555
|
modelValue: searchTerm.value,
|
|
3557
3556
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
3558
3557
|
"display-value": () => searchTerm.value,
|
|
3559
3558
|
"as-child": ""
|
|
3560
3559
|
}, {
|
|
3561
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3562
|
-
if (_push) _push(
|
|
3560
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3561
|
+
if (_push) _push(ssrRenderComponent_1(_sfc_main$2, vueExports.mergeProps({
|
|
3563
3562
|
autofocus: "",
|
|
3564
3563
|
autocomplete: "off",
|
|
3565
3564
|
size: selectSize.value
|
|
3566
3565
|
}, searchInputProps.value, {
|
|
3567
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
3566
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
3568
3567
|
"data-slot": "input",
|
|
3569
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
3568
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
3570
3569
|
onChange: () => {}
|
|
3571
3570
|
}), null, _parent, _scopeId));
|
|
3572
|
-
else return [createVNode(_sfc_main$2, mergeProps({
|
|
3571
|
+
else return [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
3573
3572
|
autofocus: "",
|
|
3574
3573
|
autocomplete: "off",
|
|
3575
3574
|
size: selectSize.value
|
|
3576
3575
|
}, searchInputProps.value, {
|
|
3577
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
3576
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
3578
3577
|
"data-slot": "input",
|
|
3579
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
3580
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
3578
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
3579
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
3581
3580
|
}), null, 16, [
|
|
3582
3581
|
"size",
|
|
3583
3582
|
"model-modifiers",
|
|
@@ -3588,75 +3587,75 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3588
3587
|
_: 2
|
|
3589
3588
|
}, _parent, _scopeId));
|
|
3590
3589
|
else _push(`<!---->`);
|
|
3591
|
-
_push(
|
|
3590
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxEmpty_default), {
|
|
3592
3591
|
"data-slot": "empty",
|
|
3593
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
3592
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
3594
3593
|
}, {
|
|
3595
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3596
|
-
if (_push)
|
|
3597
|
-
_push(`${
|
|
3594
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3595
|
+
if (_push) ssrRenderSlot_1(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => {
|
|
3596
|
+
_push(`${ssrInterpolate_1(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData"))}`);
|
|
3598
3597
|
}, _push, _parent, _scopeId);
|
|
3599
|
-
else return [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])];
|
|
3598
|
+
else return [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])];
|
|
3600
3599
|
}),
|
|
3601
3600
|
_: 2
|
|
3602
3601
|
}, _parent, _scopeId));
|
|
3603
|
-
_push(`<div role="presentation" data-slot="viewport" class="${
|
|
3604
|
-
if (!!unref(props).virtualize) {
|
|
3602
|
+
_push(`<div role="presentation" data-slot="viewport" class="${ssrRenderClass_1(ui.value.viewport({ class: vueExports.unref(props).ui?.viewport }))}"${_scopeId}>`);
|
|
3603
|
+
if (!!vueExports.unref(props).virtualize) {
|
|
3605
3604
|
_push(`<!--[-->`);
|
|
3606
|
-
if (createItem.value && createItemPosition.value === "top") _push(
|
|
3605
|
+
if (createItem.value && createItemPosition.value === "top") _push(ssrRenderComponent_1(vueExports.unref(ReuseCreateItemTemplate), null, null, _parent, _scopeId));
|
|
3607
3606
|
else _push(`<!---->`);
|
|
3608
|
-
_push(
|
|
3607
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
3609
3608
|
options: filteredItems.value,
|
|
3610
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
3609
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
3611
3610
|
}, virtualizerProps.value), {
|
|
3612
|
-
default: withCtx(({ option: item, virtualItem }, _push, _parent, _scopeId) => {
|
|
3613
|
-
if (_push) _push(
|
|
3611
|
+
default: vueExports.withCtx(({ option: item, virtualItem }, _push, _parent, _scopeId) => {
|
|
3612
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ReuseItemTemplate), {
|
|
3614
3613
|
item,
|
|
3615
3614
|
index: virtualItem.index
|
|
3616
3615
|
}, null, _parent, _scopeId));
|
|
3617
|
-
else return [createVNode(unref(ReuseItemTemplate), {
|
|
3616
|
+
else return [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
3618
3617
|
item,
|
|
3619
3618
|
index: virtualItem.index
|
|
3620
3619
|
}, null, 8, ["item", "index"])];
|
|
3621
3620
|
}),
|
|
3622
3621
|
_: 2
|
|
3623
3622
|
}, _parent, _scopeId));
|
|
3624
|
-
if (createItem.value && createItemPosition.value === "bottom") _push(
|
|
3623
|
+
if (createItem.value && createItemPosition.value === "bottom") _push(ssrRenderComponent_1(vueExports.unref(ReuseCreateItemTemplate), null, null, _parent, _scopeId));
|
|
3625
3624
|
else _push(`<!---->`);
|
|
3626
3625
|
_push(`<!--]-->`);
|
|
3627
3626
|
} else {
|
|
3628
3627
|
_push(`<!--[-->`);
|
|
3629
|
-
if (createItem.value && createItemPosition.value === "top") _push(
|
|
3628
|
+
if (createItem.value && createItemPosition.value === "top") _push(ssrRenderComponent_1(vueExports.unref(ComboboxGroup_default), {
|
|
3630
3629
|
"data-slot": "group",
|
|
3631
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3630
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3632
3631
|
}, {
|
|
3633
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3634
|
-
if (_push) _push(
|
|
3635
|
-
else return [createVNode(unref(ReuseCreateItemTemplate))];
|
|
3632
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3633
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ReuseCreateItemTemplate), null, null, _parent, _scopeId));
|
|
3634
|
+
else return [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))];
|
|
3636
3635
|
}),
|
|
3637
3636
|
_: 2
|
|
3638
3637
|
}, _parent, _scopeId));
|
|
3639
3638
|
else _push(`<!---->`);
|
|
3640
3639
|
_push(`<!--[-->`);
|
|
3641
|
-
|
|
3642
|
-
_push(
|
|
3640
|
+
ssrRenderList_1(filteredGroups.value, (group, groupIndex) => {
|
|
3641
|
+
_push(ssrRenderComponent_1(vueExports.unref(ComboboxGroup_default), {
|
|
3643
3642
|
key: `group-${groupIndex}`,
|
|
3644
3643
|
"data-slot": "group",
|
|
3645
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3644
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3646
3645
|
}, {
|
|
3647
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3646
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3648
3647
|
if (_push) {
|
|
3649
3648
|
_push(`<!--[-->`);
|
|
3650
|
-
|
|
3651
|
-
_push(
|
|
3649
|
+
ssrRenderList_1(group, (item, index) => {
|
|
3650
|
+
_push(ssrRenderComponent_1(vueExports.unref(ReuseItemTemplate), {
|
|
3652
3651
|
key: `group-${groupIndex}-${index}`,
|
|
3653
3652
|
item,
|
|
3654
3653
|
index
|
|
3655
3654
|
}, null, _parent, _scopeId));
|
|
3656
3655
|
});
|
|
3657
3656
|
_push(`<!--]-->`);
|
|
3658
|
-
} else return [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3659
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
3657
|
+
} else return [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3658
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
3660
3659
|
key: `group-${groupIndex}-${index}`,
|
|
3661
3660
|
item,
|
|
3662
3661
|
index
|
|
@@ -3667,13 +3666,13 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3667
3666
|
}, _parent, _scopeId));
|
|
3668
3667
|
});
|
|
3669
3668
|
_push(`<!--]-->`);
|
|
3670
|
-
if (createItem.value && createItemPosition.value === "bottom") _push(
|
|
3669
|
+
if (createItem.value && createItemPosition.value === "bottom") _push(ssrRenderComponent_1(vueExports.unref(ComboboxGroup_default), {
|
|
3671
3670
|
"data-slot": "group",
|
|
3672
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3671
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3673
3672
|
}, {
|
|
3674
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3675
|
-
if (_push) _push(
|
|
3676
|
-
else return [createVNode(unref(ReuseCreateItemTemplate))];
|
|
3673
|
+
default: vueExports.withCtx((_, _push, _parent, _scopeId) => {
|
|
3674
|
+
if (_push) _push(ssrRenderComponent_1(vueExports.unref(ReuseCreateItemTemplate), null, null, _parent, _scopeId));
|
|
3675
|
+
else return [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))];
|
|
3677
3676
|
}),
|
|
3678
3677
|
_: 2
|
|
3679
3678
|
}, _parent, _scopeId));
|
|
@@ -3681,25 +3680,25 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3681
3680
|
_push(`<!--]-->`);
|
|
3682
3681
|
}
|
|
3683
3682
|
_push(`</div>`);
|
|
3684
|
-
|
|
3683
|
+
ssrRenderSlot_1(_ctx.$slots, "content-bottom", {}, null, _push, _parent, _scopeId);
|
|
3685
3684
|
} else return [
|
|
3686
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3687
|
-
!!unref(props).searchInput ? (openBlock(), createBlock(unref(ComboboxInput_default), {
|
|
3685
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3686
|
+
!!vueExports.unref(props).searchInput ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxInput_default), {
|
|
3688
3687
|
key: 0,
|
|
3689
3688
|
modelValue: searchTerm.value,
|
|
3690
3689
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
3691
3690
|
"display-value": () => searchTerm.value,
|
|
3692
3691
|
"as-child": ""
|
|
3693
3692
|
}, {
|
|
3694
|
-
default: withCtx(() => [createVNode(_sfc_main$2, mergeProps({
|
|
3693
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
3695
3694
|
autofocus: "",
|
|
3696
3695
|
autocomplete: "off",
|
|
3697
3696
|
size: selectSize.value
|
|
3698
3697
|
}, searchInputProps.value, {
|
|
3699
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
3698
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
3700
3699
|
"data-slot": "input",
|
|
3701
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
3702
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
3700
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
3701
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
3703
3702
|
}), null, 16, [
|
|
3704
3703
|
"size",
|
|
3705
3704
|
"model-modifiers",
|
|
@@ -3711,50 +3710,50 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3711
3710
|
"modelValue",
|
|
3712
3711
|
"onUpdate:modelValue",
|
|
3713
3712
|
"display-value"
|
|
3714
|
-
])) : createCommentVNode("", true),
|
|
3715
|
-
createVNode(unref(ComboboxEmpty_default), {
|
|
3713
|
+
])) : vueExports.createCommentVNode("", true),
|
|
3714
|
+
vueExports.createVNode(vueExports.unref(ComboboxEmpty_default), {
|
|
3716
3715
|
"data-slot": "empty",
|
|
3717
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
3716
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
3718
3717
|
}, {
|
|
3719
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])]),
|
|
3718
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])]),
|
|
3720
3719
|
_: 3
|
|
3721
3720
|
}, 8, ["class"]),
|
|
3722
|
-
createVNode("div", {
|
|
3721
|
+
vueExports.createVNode("div", {
|
|
3723
3722
|
ref_key: "viewportRef",
|
|
3724
3723
|
ref: viewportRef,
|
|
3725
3724
|
role: "presentation",
|
|
3726
3725
|
"data-slot": "viewport",
|
|
3727
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3728
|
-
}, [!!unref(props).virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
3729
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
3730
|
-
createVNode(unref(ComboboxVirtualizer_default), mergeProps({
|
|
3726
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3727
|
+
}, [!!vueExports.unref(props).virtualize ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 0 }, [
|
|
3728
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 0 })) : vueExports.createCommentVNode("", true),
|
|
3729
|
+
vueExports.createVNode(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
3731
3730
|
options: filteredItems.value,
|
|
3732
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
3731
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
3733
3732
|
}, virtualizerProps.value), {
|
|
3734
|
-
default: withCtx(({ option: item, virtualItem }) => [createVNode(unref(ReuseItemTemplate), {
|
|
3733
|
+
default: vueExports.withCtx(({ option: item, virtualItem }) => [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
3735
3734
|
item,
|
|
3736
3735
|
index: virtualItem.index
|
|
3737
3736
|
}, null, 8, ["item", "index"])]),
|
|
3738
3737
|
_: 1
|
|
3739
3738
|
}, 16, ["options", "text-content"]),
|
|
3740
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
3741
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
3742
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3739
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 1 })) : vueExports.createCommentVNode("", true)
|
|
3740
|
+
], 64)) : (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [
|
|
3741
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3743
3742
|
key: 0,
|
|
3744
3743
|
"data-slot": "group",
|
|
3745
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3744
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3746
3745
|
}, {
|
|
3747
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3746
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3748
3747
|
_: 1
|
|
3749
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
3750
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3751
|
-
return openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3748
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true),
|
|
3749
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3750
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3752
3751
|
key: `group-${groupIndex}`,
|
|
3753
3752
|
"data-slot": "group",
|
|
3754
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3753
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3755
3754
|
}, {
|
|
3756
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3757
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
3755
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3756
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
3758
3757
|
key: `group-${groupIndex}-${index}`,
|
|
3759
3758
|
item,
|
|
3760
3759
|
index
|
|
@@ -3763,48 +3762,48 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3763
3762
|
_: 2
|
|
3764
3763
|
}, 1032, ["class"]);
|
|
3765
3764
|
}), 128)),
|
|
3766
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3765
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3767
3766
|
key: 1,
|
|
3768
3767
|
"data-slot": "group",
|
|
3769
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3768
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3770
3769
|
}, {
|
|
3771
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3770
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3772
3771
|
_: 1
|
|
3773
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
3772
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true)
|
|
3774
3773
|
], 64))], 2),
|
|
3775
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
3774
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom")
|
|
3776
3775
|
];
|
|
3777
3776
|
}),
|
|
3778
3777
|
_: 2
|
|
3779
3778
|
}, _parent, _scopeId));
|
|
3780
|
-
if (!!unref(props).arrow) _push(
|
|
3779
|
+
if (!!vueExports.unref(props).arrow) _push(ssrRenderComponent_1(vueExports.unref(ComboboxArrow_default), vueExports.mergeProps(arrowProps.value, {
|
|
3781
3780
|
"data-slot": "arrow",
|
|
3782
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3781
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3783
3782
|
}), null, _parent, _scopeId));
|
|
3784
3783
|
else _push(`<!---->`);
|
|
3785
|
-
} else return [createVNode(unref(FocusScope_default), {
|
|
3784
|
+
} else return [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
3786
3785
|
trapped: "",
|
|
3787
3786
|
"data-slot": "focusScope",
|
|
3788
|
-
class: ui.value.focusScope({ class: unref(props).ui?.focusScope })
|
|
3787
|
+
class: ui.value.focusScope({ class: vueExports.unref(props).ui?.focusScope })
|
|
3789
3788
|
}, {
|
|
3790
|
-
default: withCtx(() => [
|
|
3791
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3792
|
-
!!unref(props).searchInput ? (openBlock(), createBlock(unref(ComboboxInput_default), {
|
|
3789
|
+
default: vueExports.withCtx(() => [
|
|
3790
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3791
|
+
!!vueExports.unref(props).searchInput ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxInput_default), {
|
|
3793
3792
|
key: 0,
|
|
3794
3793
|
modelValue: searchTerm.value,
|
|
3795
3794
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
3796
3795
|
"display-value": () => searchTerm.value,
|
|
3797
3796
|
"as-child": ""
|
|
3798
3797
|
}, {
|
|
3799
|
-
default: withCtx(() => [createVNode(_sfc_main$2, mergeProps({
|
|
3798
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
3800
3799
|
autofocus: "",
|
|
3801
3800
|
autocomplete: "off",
|
|
3802
3801
|
size: selectSize.value
|
|
3803
3802
|
}, searchInputProps.value, {
|
|
3804
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
3803
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
3805
3804
|
"data-slot": "input",
|
|
3806
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
3807
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
3805
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
3806
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
3808
3807
|
}), null, 16, [
|
|
3809
3808
|
"size",
|
|
3810
3809
|
"model-modifiers",
|
|
@@ -3816,50 +3815,50 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3816
3815
|
"modelValue",
|
|
3817
3816
|
"onUpdate:modelValue",
|
|
3818
3817
|
"display-value"
|
|
3819
|
-
])) : createCommentVNode("", true),
|
|
3820
|
-
createVNode(unref(ComboboxEmpty_default), {
|
|
3818
|
+
])) : vueExports.createCommentVNode("", true),
|
|
3819
|
+
vueExports.createVNode(vueExports.unref(ComboboxEmpty_default), {
|
|
3821
3820
|
"data-slot": "empty",
|
|
3822
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
3821
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
3823
3822
|
}, {
|
|
3824
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])]),
|
|
3823
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])]),
|
|
3825
3824
|
_: 3
|
|
3826
3825
|
}, 8, ["class"]),
|
|
3827
|
-
createVNode("div", {
|
|
3826
|
+
vueExports.createVNode("div", {
|
|
3828
3827
|
ref_key: "viewportRef",
|
|
3829
3828
|
ref: viewportRef,
|
|
3830
3829
|
role: "presentation",
|
|
3831
3830
|
"data-slot": "viewport",
|
|
3832
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3833
|
-
}, [!!unref(props).virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
3834
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
3835
|
-
createVNode(unref(ComboboxVirtualizer_default), mergeProps({
|
|
3831
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3832
|
+
}, [!!vueExports.unref(props).virtualize ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 0 }, [
|
|
3833
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 0 })) : vueExports.createCommentVNode("", true),
|
|
3834
|
+
vueExports.createVNode(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
3836
3835
|
options: filteredItems.value,
|
|
3837
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
3836
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
3838
3837
|
}, virtualizerProps.value), {
|
|
3839
|
-
default: withCtx(({ option: item, virtualItem }) => [createVNode(unref(ReuseItemTemplate), {
|
|
3838
|
+
default: vueExports.withCtx(({ option: item, virtualItem }) => [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
3840
3839
|
item,
|
|
3841
3840
|
index: virtualItem.index
|
|
3842
3841
|
}, null, 8, ["item", "index"])]),
|
|
3843
3842
|
_: 1
|
|
3844
3843
|
}, 16, ["options", "text-content"]),
|
|
3845
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
3846
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
3847
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3844
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 1 })) : vueExports.createCommentVNode("", true)
|
|
3845
|
+
], 64)) : (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [
|
|
3846
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3848
3847
|
key: 0,
|
|
3849
3848
|
"data-slot": "group",
|
|
3850
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3849
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3851
3850
|
}, {
|
|
3852
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3851
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3853
3852
|
_: 1
|
|
3854
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
3855
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3856
|
-
return openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3853
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true),
|
|
3854
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3855
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3857
3856
|
key: `group-${groupIndex}`,
|
|
3858
3857
|
"data-slot": "group",
|
|
3859
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3858
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3860
3859
|
}, {
|
|
3861
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3862
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
3860
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3861
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
3863
3862
|
key: `group-${groupIndex}-${index}`,
|
|
3864
3863
|
item,
|
|
3865
3864
|
index
|
|
@@ -3868,52 +3867,52 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3868
3867
|
_: 2
|
|
3869
3868
|
}, 1032, ["class"]);
|
|
3870
3869
|
}), 128)),
|
|
3871
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3870
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3872
3871
|
key: 1,
|
|
3873
3872
|
"data-slot": "group",
|
|
3874
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3873
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3875
3874
|
}, {
|
|
3876
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3875
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3877
3876
|
_: 1
|
|
3878
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
3877
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true)
|
|
3879
3878
|
], 64))], 2),
|
|
3880
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
3879
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom")
|
|
3881
3880
|
]),
|
|
3882
3881
|
_: 3
|
|
3883
|
-
}, 8, ["class"]), !!unref(props).arrow ? (openBlock(), createBlock(unref(ComboboxArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
3882
|
+
}, 8, ["class"]), !!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
3884
3883
|
"data-slot": "arrow",
|
|
3885
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3886
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)];
|
|
3884
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3885
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)];
|
|
3887
3886
|
}),
|
|
3888
3887
|
_: 2
|
|
3889
3888
|
}, _parent, _scopeId));
|
|
3890
|
-
else return [createVNode(unref(ComboboxContent_default), mergeProps({
|
|
3889
|
+
else return [vueExports.createVNode(vueExports.unref(ComboboxContent_default), vueExports.mergeProps({
|
|
3891
3890
|
"data-slot": "content",
|
|
3892
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
3891
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
3893
3892
|
}, contentProps.value), {
|
|
3894
|
-
default: withCtx(() => [createVNode(unref(FocusScope_default), {
|
|
3893
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
3895
3894
|
trapped: "",
|
|
3896
3895
|
"data-slot": "focusScope",
|
|
3897
|
-
class: ui.value.focusScope({ class: unref(props).ui?.focusScope })
|
|
3896
|
+
class: ui.value.focusScope({ class: vueExports.unref(props).ui?.focusScope })
|
|
3898
3897
|
}, {
|
|
3899
|
-
default: withCtx(() => [
|
|
3900
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
3901
|
-
!!unref(props).searchInput ? (openBlock(), createBlock(unref(ComboboxInput_default), {
|
|
3898
|
+
default: vueExports.withCtx(() => [
|
|
3899
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
3900
|
+
!!vueExports.unref(props).searchInput ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxInput_default), {
|
|
3902
3901
|
key: 0,
|
|
3903
3902
|
modelValue: searchTerm.value,
|
|
3904
3903
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
3905
3904
|
"display-value": () => searchTerm.value,
|
|
3906
3905
|
"as-child": ""
|
|
3907
3906
|
}, {
|
|
3908
|
-
default: withCtx(() => [createVNode(_sfc_main$2, mergeProps({
|
|
3907
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
3909
3908
|
autofocus: "",
|
|
3910
3909
|
autocomplete: "off",
|
|
3911
3910
|
size: selectSize.value
|
|
3912
3911
|
}, searchInputProps.value, {
|
|
3913
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
3912
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
3914
3913
|
"data-slot": "input",
|
|
3915
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
3916
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
3914
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
3915
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
3917
3916
|
}), null, 16, [
|
|
3918
3917
|
"size",
|
|
3919
3918
|
"model-modifiers",
|
|
@@ -3925,50 +3924,50 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3925
3924
|
"modelValue",
|
|
3926
3925
|
"onUpdate:modelValue",
|
|
3927
3926
|
"display-value"
|
|
3928
|
-
])) : createCommentVNode("", true),
|
|
3929
|
-
createVNode(unref(ComboboxEmpty_default), {
|
|
3927
|
+
])) : vueExports.createCommentVNode("", true),
|
|
3928
|
+
vueExports.createVNode(vueExports.unref(ComboboxEmpty_default), {
|
|
3930
3929
|
"data-slot": "empty",
|
|
3931
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
3930
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
3932
3931
|
}, {
|
|
3933
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])]),
|
|
3932
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])]),
|
|
3934
3933
|
_: 3
|
|
3935
3934
|
}, 8, ["class"]),
|
|
3936
|
-
createVNode("div", {
|
|
3935
|
+
vueExports.createVNode("div", {
|
|
3937
3936
|
ref_key: "viewportRef",
|
|
3938
3937
|
ref: viewportRef,
|
|
3939
3938
|
role: "presentation",
|
|
3940
3939
|
"data-slot": "viewport",
|
|
3941
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
3942
|
-
}, [!!unref(props).virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
3943
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
3944
|
-
createVNode(unref(ComboboxVirtualizer_default), mergeProps({
|
|
3940
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
3941
|
+
}, [!!vueExports.unref(props).virtualize ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 0 }, [
|
|
3942
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 0 })) : vueExports.createCommentVNode("", true),
|
|
3943
|
+
vueExports.createVNode(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
3945
3944
|
options: filteredItems.value,
|
|
3946
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
3945
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
3947
3946
|
}, virtualizerProps.value), {
|
|
3948
|
-
default: withCtx(({ option: item, virtualItem }) => [createVNode(unref(ReuseItemTemplate), {
|
|
3947
|
+
default: vueExports.withCtx(({ option: item, virtualItem }) => [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
3949
3948
|
item,
|
|
3950
3949
|
index: virtualItem.index
|
|
3951
3950
|
}, null, 8, ["item", "index"])]),
|
|
3952
3951
|
_: 1
|
|
3953
3952
|
}, 16, ["options", "text-content"]),
|
|
3954
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
3955
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
3956
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3953
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 1 })) : vueExports.createCommentVNode("", true)
|
|
3954
|
+
], 64)) : (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [
|
|
3955
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3957
3956
|
key: 0,
|
|
3958
3957
|
"data-slot": "group",
|
|
3959
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3958
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3960
3959
|
}, {
|
|
3961
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3960
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3962
3961
|
_: 1
|
|
3963
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
3964
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3965
|
-
return openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3962
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true),
|
|
3963
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(filteredGroups.value, (group, groupIndex) => {
|
|
3964
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3966
3965
|
key: `group-${groupIndex}`,
|
|
3967
3966
|
"data-slot": "group",
|
|
3968
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3967
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3969
3968
|
}, {
|
|
3970
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
3971
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
3969
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
3970
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
3972
3971
|
key: `group-${groupIndex}-${index}`,
|
|
3973
3972
|
item,
|
|
3974
3973
|
index
|
|
@@ -3977,55 +3976,55 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
3977
3976
|
_: 2
|
|
3978
3977
|
}, 1032, ["class"]);
|
|
3979
3978
|
}), 128)),
|
|
3980
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
3979
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
3981
3980
|
key: 1,
|
|
3982
3981
|
"data-slot": "group",
|
|
3983
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
3982
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
3984
3983
|
}, {
|
|
3985
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
3984
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
3986
3985
|
_: 1
|
|
3987
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
3986
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true)
|
|
3988
3987
|
], 64))], 2),
|
|
3989
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
3988
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom")
|
|
3990
3989
|
]),
|
|
3991
3990
|
_: 3
|
|
3992
|
-
}, 8, ["class"]), !!unref(props).arrow ? (openBlock(), createBlock(unref(ComboboxArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
3991
|
+
}, 8, ["class"]), !!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
3993
3992
|
"data-slot": "arrow",
|
|
3994
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
3995
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)]),
|
|
3993
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
3994
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)]),
|
|
3996
3995
|
_: 3
|
|
3997
3996
|
}, 16, ["class"])];
|
|
3998
3997
|
}),
|
|
3999
3998
|
_: 2
|
|
4000
3999
|
}, _parent, _scopeId));
|
|
4001
|
-
else return [createVNode(unref(FieldGroupReset), null, {
|
|
4002
|
-
default: withCtx(() => [createVNode(unref(ComboboxContent_default), mergeProps({
|
|
4000
|
+
else return [vueExports.createVNode(vueExports.unref(FieldGroupReset), null, {
|
|
4001
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ComboboxContent_default), vueExports.mergeProps({
|
|
4003
4002
|
"data-slot": "content",
|
|
4004
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
4003
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
4005
4004
|
}, contentProps.value), {
|
|
4006
|
-
default: withCtx(() => [createVNode(unref(FocusScope_default), {
|
|
4005
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
4007
4006
|
trapped: "",
|
|
4008
4007
|
"data-slot": "focusScope",
|
|
4009
|
-
class: ui.value.focusScope({ class: unref(props).ui?.focusScope })
|
|
4008
|
+
class: ui.value.focusScope({ class: vueExports.unref(props).ui?.focusScope })
|
|
4010
4009
|
}, {
|
|
4011
|
-
default: withCtx(() => [
|
|
4012
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
4013
|
-
!!unref(props).searchInput ? (openBlock(), createBlock(unref(ComboboxInput_default), {
|
|
4010
|
+
default: vueExports.withCtx(() => [
|
|
4011
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
4012
|
+
!!vueExports.unref(props).searchInput ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxInput_default), {
|
|
4014
4013
|
key: 0,
|
|
4015
4014
|
modelValue: searchTerm.value,
|
|
4016
4015
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
4017
4016
|
"display-value": () => searchTerm.value,
|
|
4018
4017
|
"as-child": ""
|
|
4019
4018
|
}, {
|
|
4020
|
-
default: withCtx(() => [createVNode(_sfc_main$2, mergeProps({
|
|
4019
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
4021
4020
|
autofocus: "",
|
|
4022
4021
|
autocomplete: "off",
|
|
4023
4022
|
size: selectSize.value
|
|
4024
4023
|
}, searchInputProps.value, {
|
|
4025
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
4024
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
4026
4025
|
"data-slot": "input",
|
|
4027
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
4028
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
4026
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
4027
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
4029
4028
|
}), null, 16, [
|
|
4030
4029
|
"size",
|
|
4031
4030
|
"model-modifiers",
|
|
@@ -4037,50 +4036,50 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4037
4036
|
"modelValue",
|
|
4038
4037
|
"onUpdate:modelValue",
|
|
4039
4038
|
"display-value"
|
|
4040
|
-
])) : createCommentVNode("", true),
|
|
4041
|
-
createVNode(unref(ComboboxEmpty_default), {
|
|
4039
|
+
])) : vueExports.createCommentVNode("", true),
|
|
4040
|
+
vueExports.createVNode(vueExports.unref(ComboboxEmpty_default), {
|
|
4042
4041
|
"data-slot": "empty",
|
|
4043
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
4042
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
4044
4043
|
}, {
|
|
4045
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])]),
|
|
4044
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])]),
|
|
4046
4045
|
_: 3
|
|
4047
4046
|
}, 8, ["class"]),
|
|
4048
|
-
createVNode("div", {
|
|
4047
|
+
vueExports.createVNode("div", {
|
|
4049
4048
|
ref_key: "viewportRef",
|
|
4050
4049
|
ref: viewportRef,
|
|
4051
4050
|
role: "presentation",
|
|
4052
4051
|
"data-slot": "viewport",
|
|
4053
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
4054
|
-
}, [!!unref(props).virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
4055
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
4056
|
-
createVNode(unref(ComboboxVirtualizer_default), mergeProps({
|
|
4052
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
4053
|
+
}, [!!vueExports.unref(props).virtualize ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 0 }, [
|
|
4054
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 0 })) : vueExports.createCommentVNode("", true),
|
|
4055
|
+
vueExports.createVNode(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
4057
4056
|
options: filteredItems.value,
|
|
4058
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
4057
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
4059
4058
|
}, virtualizerProps.value), {
|
|
4060
|
-
default: withCtx(({ option: item, virtualItem }) => [createVNode(unref(ReuseItemTemplate), {
|
|
4059
|
+
default: vueExports.withCtx(({ option: item, virtualItem }) => [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
4061
4060
|
item,
|
|
4062
4061
|
index: virtualItem.index
|
|
4063
4062
|
}, null, 8, ["item", "index"])]),
|
|
4064
4063
|
_: 1
|
|
4065
4064
|
}, 16, ["options", "text-content"]),
|
|
4066
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
4067
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
4068
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4065
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 1 })) : vueExports.createCommentVNode("", true)
|
|
4066
|
+
], 64)) : (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [
|
|
4067
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4069
4068
|
key: 0,
|
|
4070
4069
|
"data-slot": "group",
|
|
4071
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4070
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4072
4071
|
}, {
|
|
4073
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
4072
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
4074
4073
|
_: 1
|
|
4075
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
4076
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
4077
|
-
return openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4074
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true),
|
|
4075
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(filteredGroups.value, (group, groupIndex) => {
|
|
4076
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4078
4077
|
key: `group-${groupIndex}`,
|
|
4079
4078
|
"data-slot": "group",
|
|
4080
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4079
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4081
4080
|
}, {
|
|
4082
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
4083
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
4081
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
4082
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
4084
4083
|
key: `group-${groupIndex}-${index}`,
|
|
4085
4084
|
item,
|
|
4086
4085
|
index
|
|
@@ -4089,22 +4088,22 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4089
4088
|
_: 2
|
|
4090
4089
|
}, 1032, ["class"]);
|
|
4091
4090
|
}), 128)),
|
|
4092
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4091
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4093
4092
|
key: 1,
|
|
4094
4093
|
"data-slot": "group",
|
|
4095
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4094
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4096
4095
|
}, {
|
|
4097
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
4096
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
4098
4097
|
_: 1
|
|
4099
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
4098
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true)
|
|
4100
4099
|
], 64))], 2),
|
|
4101
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
4100
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom")
|
|
4102
4101
|
]),
|
|
4103
4102
|
_: 3
|
|
4104
|
-
}, 8, ["class"]), !!unref(props).arrow ? (openBlock(), createBlock(unref(ComboboxArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
4103
|
+
}, 8, ["class"]), !!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
4105
4104
|
"data-slot": "arrow",
|
|
4106
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
4107
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)]),
|
|
4105
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
4106
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)]),
|
|
4108
4107
|
_: 3
|
|
4109
4108
|
}, 16, ["class"])]),
|
|
4110
4109
|
_: 3
|
|
@@ -4112,122 +4111,122 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4112
4111
|
}),
|
|
4113
4112
|
_: 2
|
|
4114
4113
|
}, _parent, _scopeId));
|
|
4115
|
-
} else return [createVNode(unref(ComboboxAnchor_default), { "as-child": "" }, {
|
|
4116
|
-
default: withCtx(() => [createVNode(unref(ComboboxTrigger_default), mergeProps({
|
|
4117
|
-
id: unref(id),
|
|
4114
|
+
} else return [vueExports.createVNode(vueExports.unref(ComboboxAnchor_default), { "as-child": "" }, {
|
|
4115
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ComboboxTrigger_default), vueExports.mergeProps({
|
|
4116
|
+
id: vueExports.unref(id),
|
|
4118
4117
|
ref_key: "triggerRef",
|
|
4119
4118
|
ref: triggerRef,
|
|
4120
4119
|
"data-slot": "base",
|
|
4121
|
-
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] }),
|
|
4120
|
+
class: ui.value.base({ class: [vueExports.unref(props).ui?.base, vueExports.unref(props).class] }),
|
|
4122
4121
|
tabindex: "0"
|
|
4123
4122
|
}, {
|
|
4124
4123
|
..._ctx.$attrs,
|
|
4125
|
-
...unref(ariaAttrs)
|
|
4124
|
+
...vueExports.unref(ariaAttrs)
|
|
4126
4125
|
}), {
|
|
4127
|
-
default: withCtx(() => [
|
|
4128
|
-
unref(isLeading) || !!unref(props).avatar || !!slots.leading ? (openBlock(), createBlock("span", {
|
|
4126
|
+
default: vueExports.withCtx(() => [
|
|
4127
|
+
vueExports.unref(isLeading) || !!vueExports.unref(props).avatar || !!slots.leading ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4129
4128
|
key: 0,
|
|
4130
4129
|
"data-slot": "leading",
|
|
4131
|
-
class: ui.value.leading({ class: unref(props).ui?.leading })
|
|
4132
|
-
}, [renderSlot(_ctx.$slots, "leading", {
|
|
4130
|
+
class: ui.value.leading({ class: vueExports.unref(props).ui?.leading })
|
|
4131
|
+
}, [vueExports.renderSlot(_ctx.$slots, "leading", {
|
|
4133
4132
|
modelValue,
|
|
4134
4133
|
open,
|
|
4135
4134
|
ui: ui.value
|
|
4136
|
-
}, () => [unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4135
|
+
}, () => [vueExports.unref(isLeading) && vueExports.unref(leadingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4137
4136
|
key: 0,
|
|
4138
|
-
name: unref(leadingIconName),
|
|
4137
|
+
name: vueExports.unref(leadingIconName),
|
|
4139
4138
|
"data-slot": "leadingIcon",
|
|
4140
|
-
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
4141
|
-
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
4139
|
+
class: ui.value.leadingIcon({ class: vueExports.unref(props).ui?.leadingIcon })
|
|
4140
|
+
}, null, 8, ["name", "class"])) : !!vueExports.unref(props).avatar ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$3, vueExports.mergeProps({
|
|
4142
4141
|
key: 1,
|
|
4143
|
-
size: unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4144
|
-
}, unref(props).avatar, {
|
|
4142
|
+
size: vueExports.unref(props).ui?.itemLeadingAvatarSize || ui.value.itemLeadingAvatarSize()
|
|
4143
|
+
}, vueExports.unref(props).avatar, {
|
|
4145
4144
|
"data-slot": "itemLeadingAvatar",
|
|
4146
|
-
class: ui.value.itemLeadingAvatar({ class: unref(props).ui?.itemLeadingAvatar })
|
|
4147
|
-
}), null, 16, ["size", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
|
|
4148
|
-
renderSlot(_ctx.$slots, "default", {
|
|
4145
|
+
class: ui.value.itemLeadingAvatar({ class: vueExports.unref(props).ui?.itemLeadingAvatar })
|
|
4146
|
+
}), null, 16, ["size", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true),
|
|
4147
|
+
vueExports.renderSlot(_ctx.$slots, "default", {
|
|
4149
4148
|
modelValue,
|
|
4150
4149
|
open,
|
|
4151
4150
|
ui: ui.value
|
|
4152
|
-
}, () => [(openBlock(true), createBlock(Fragment, null, renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
4153
|
-
return openBlock(), createBlock(Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (openBlock(), createBlock("span", {
|
|
4151
|
+
}, () => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList([displayValue(modelValue)], (displayedModelValue) => {
|
|
4152
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: displayedModelValue }, [displayedModelValue !== void 0 && displayedModelValue !== null ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4154
4153
|
key: 0,
|
|
4155
4154
|
"data-slot": "value",
|
|
4156
|
-
class: ui.value.value({ class: unref(props).ui?.value })
|
|
4157
|
-
}, toDisplayString(displayedModelValue), 3)) : (openBlock(), createBlock("span", {
|
|
4155
|
+
class: ui.value.value({ class: vueExports.unref(props).ui?.value })
|
|
4156
|
+
}, vueExports.toDisplayString(displayedModelValue), 3)) : (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4158
4157
|
key: 1,
|
|
4159
4158
|
"data-slot": "placeholder",
|
|
4160
|
-
class: ui.value.placeholder({ class: unref(props).ui?.placeholder })
|
|
4161
|
-
}, toDisplayString(unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
4159
|
+
class: ui.value.placeholder({ class: vueExports.unref(props).ui?.placeholder })
|
|
4160
|
+
}, vueExports.toDisplayString(vueExports.unref(props).placeholder ?? "\xA0"), 3))], 64);
|
|
4162
4161
|
}), 128))]),
|
|
4163
|
-
unref(isTrailing) || !!slots.trailing || !!unref(props).clear ? (openBlock(), createBlock("span", {
|
|
4162
|
+
vueExports.unref(isTrailing) || !!slots.trailing || !!vueExports.unref(props).clear ? (vueExports.openBlock(), vueExports.createBlock("span", {
|
|
4164
4163
|
key: 1,
|
|
4165
4164
|
"data-slot": "trailing",
|
|
4166
|
-
class: ui.value.trailing({ class: unref(props).ui?.trailing })
|
|
4167
|
-
}, [renderSlot(_ctx.$slots, "trailing", {
|
|
4165
|
+
class: ui.value.trailing({ class: vueExports.unref(props).ui?.trailing })
|
|
4166
|
+
}, [vueExports.renderSlot(_ctx.$slots, "trailing", {
|
|
4168
4167
|
modelValue,
|
|
4169
4168
|
open,
|
|
4170
4169
|
ui: ui.value
|
|
4171
|
-
}, () => [!!unref(props).clear && !isModelValueEmpty(modelValue) ? (openBlock(), createBlock(unref(ComboboxCancel_default), {
|
|
4170
|
+
}, () => [!!vueExports.unref(props).clear && !isModelValueEmpty(modelValue) ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxCancel_default), {
|
|
4172
4171
|
key: 0,
|
|
4173
4172
|
"as-child": ""
|
|
4174
4173
|
}, {
|
|
4175
|
-
default: withCtx(() => [createVNode(_sfc_main$1, mergeProps({
|
|
4174
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$1, vueExports.mergeProps({
|
|
4176
4175
|
as: "span",
|
|
4177
|
-
icon: unref(props).clearIcon || unref(appConfig).ui.icons.close,
|
|
4176
|
+
icon: vueExports.unref(props).clearIcon || vueExports.unref(appConfig).ui.icons.close,
|
|
4178
4177
|
size: selectSize.value,
|
|
4179
4178
|
variant: "link",
|
|
4180
4179
|
color: "neutral",
|
|
4181
4180
|
tabindex: "-1"
|
|
4182
4181
|
}, clearProps.value, {
|
|
4183
4182
|
"data-slot": "trailingClear",
|
|
4184
|
-
class: ui.value.trailingClear({ class: unref(props).ui?.trailingClear }),
|
|
4185
|
-
onClick: withModifiers(onClear, ["stop"])
|
|
4183
|
+
class: ui.value.trailingClear({ class: vueExports.unref(props).ui?.trailingClear }),
|
|
4184
|
+
onClick: vueExports.withModifiers(onClear, ["stop"])
|
|
4186
4185
|
}), null, 16, [
|
|
4187
4186
|
"icon",
|
|
4188
4187
|
"size",
|
|
4189
4188
|
"class"
|
|
4190
4189
|
])]),
|
|
4191
4190
|
_: 1
|
|
4192
|
-
})) : unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
4191
|
+
})) : vueExports.unref(trailingIconName) ? (vueExports.openBlock(), vueExports.createBlock(_sfc_main$5, {
|
|
4193
4192
|
key: 1,
|
|
4194
|
-
name: unref(trailingIconName),
|
|
4193
|
+
name: vueExports.unref(trailingIconName),
|
|
4195
4194
|
"data-slot": "trailingIcon",
|
|
4196
|
-
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
4197
|
-
}, null, 8, ["name", "class"])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)
|
|
4195
|
+
class: ui.value.trailingIcon({ class: vueExports.unref(props).ui?.trailingIcon })
|
|
4196
|
+
}, null, 8, ["name", "class"])) : vueExports.createCommentVNode("", true)])], 2)) : vueExports.createCommentVNode("", true)
|
|
4198
4197
|
]),
|
|
4199
4198
|
_: 2
|
|
4200
4199
|
}, 1040, ["id", "class"])]),
|
|
4201
4200
|
_: 2
|
|
4202
|
-
}, 1024), createVNode(unref(ComboboxPortal_default), unref(portalProps), {
|
|
4203
|
-
default: withCtx(() => [createVNode(unref(FieldGroupReset), null, {
|
|
4204
|
-
default: withCtx(() => [createVNode(unref(ComboboxContent_default), mergeProps({
|
|
4201
|
+
}, 1024), vueExports.createVNode(vueExports.unref(ComboboxPortal_default), vueExports.unref(portalProps), {
|
|
4202
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FieldGroupReset), null, {
|
|
4203
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ComboboxContent_default), vueExports.mergeProps({
|
|
4205
4204
|
"data-slot": "content",
|
|
4206
|
-
class: ui.value.content({ class: unref(props).ui?.content })
|
|
4205
|
+
class: ui.value.content({ class: vueExports.unref(props).ui?.content })
|
|
4207
4206
|
}, contentProps.value), {
|
|
4208
|
-
default: withCtx(() => [createVNode(unref(FocusScope_default), {
|
|
4207
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(FocusScope_default), {
|
|
4209
4208
|
trapped: "",
|
|
4210
4209
|
"data-slot": "focusScope",
|
|
4211
|
-
class: ui.value.focusScope({ class: unref(props).ui?.focusScope })
|
|
4210
|
+
class: ui.value.focusScope({ class: vueExports.unref(props).ui?.focusScope })
|
|
4212
4211
|
}, {
|
|
4213
|
-
default: withCtx(() => [
|
|
4214
|
-
renderSlot(_ctx.$slots, "content-top"),
|
|
4215
|
-
!!unref(props).searchInput ? (openBlock(), createBlock(unref(ComboboxInput_default), {
|
|
4212
|
+
default: vueExports.withCtx(() => [
|
|
4213
|
+
vueExports.renderSlot(_ctx.$slots, "content-top"),
|
|
4214
|
+
!!vueExports.unref(props).searchInput ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxInput_default), {
|
|
4216
4215
|
key: 0,
|
|
4217
4216
|
modelValue: searchTerm.value,
|
|
4218
4217
|
"onUpdate:modelValue": ($event) => searchTerm.value = $event,
|
|
4219
4218
|
"display-value": () => searchTerm.value,
|
|
4220
4219
|
"as-child": ""
|
|
4221
4220
|
}, {
|
|
4222
|
-
default: withCtx(() => [createVNode(_sfc_main$2, mergeProps({
|
|
4221
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(_sfc_main$2, vueExports.mergeProps({
|
|
4223
4222
|
autofocus: "",
|
|
4224
4223
|
autocomplete: "off",
|
|
4225
4224
|
size: selectSize.value
|
|
4226
4225
|
}, searchInputProps.value, {
|
|
4227
|
-
"model-modifiers": { trim: unref(props).modelModifiers?.trim },
|
|
4226
|
+
"model-modifiers": { trim: vueExports.unref(props).modelModifiers?.trim },
|
|
4228
4227
|
"data-slot": "input",
|
|
4229
|
-
class: ui.value.input({ class: unref(props).ui?.input }),
|
|
4230
|
-
onChange: withModifiers(() => {}, ["stop"])
|
|
4228
|
+
class: ui.value.input({ class: vueExports.unref(props).ui?.input }),
|
|
4229
|
+
onChange: vueExports.withModifiers(() => {}, ["stop"])
|
|
4231
4230
|
}), null, 16, [
|
|
4232
4231
|
"size",
|
|
4233
4232
|
"model-modifiers",
|
|
@@ -4239,50 +4238,50 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4239
4238
|
"modelValue",
|
|
4240
4239
|
"onUpdate:modelValue",
|
|
4241
4240
|
"display-value"
|
|
4242
|
-
])) : createCommentVNode("", true),
|
|
4243
|
-
createVNode(unref(ComboboxEmpty_default), {
|
|
4241
|
+
])) : vueExports.createCommentVNode("", true),
|
|
4242
|
+
vueExports.createVNode(vueExports.unref(ComboboxEmpty_default), {
|
|
4244
4243
|
"data-slot": "empty",
|
|
4245
|
-
class: ui.value.empty({ class: unref(props).ui?.empty })
|
|
4244
|
+
class: ui.value.empty({ class: vueExports.unref(props).ui?.empty })
|
|
4246
4245
|
}, {
|
|
4247
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [createTextVNode(toDisplayString(searchTerm.value ? unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : unref(t)("selectMenu.noData")), 1)])]),
|
|
4246
|
+
default: vueExports.withCtx(() => [vueExports.renderSlot(_ctx.$slots, "empty", { searchTerm: searchTerm.value }, () => [vueExports.createTextVNode(vueExports.toDisplayString(searchTerm.value ? vueExports.unref(t)("selectMenu.noMatch", { searchTerm: searchTerm.value }) : vueExports.unref(t)("selectMenu.noData")), 1)])]),
|
|
4248
4247
|
_: 3
|
|
4249
4248
|
}, 8, ["class"]),
|
|
4250
|
-
createVNode("div", {
|
|
4249
|
+
vueExports.createVNode("div", {
|
|
4251
4250
|
ref_key: "viewportRef",
|
|
4252
4251
|
ref: viewportRef,
|
|
4253
4252
|
role: "presentation",
|
|
4254
4253
|
"data-slot": "viewport",
|
|
4255
|
-
class: ui.value.viewport({ class: unref(props).ui?.viewport })
|
|
4256
|
-
}, [!!unref(props).virtualize ? (openBlock(), createBlock(Fragment, { key: 0 }, [
|
|
4257
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
4258
|
-
createVNode(unref(ComboboxVirtualizer_default), mergeProps({
|
|
4254
|
+
class: ui.value.viewport({ class: vueExports.unref(props).ui?.viewport })
|
|
4255
|
+
}, [!!vueExports.unref(props).virtualize ? (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 0 }, [
|
|
4256
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 0 })) : vueExports.createCommentVNode("", true),
|
|
4257
|
+
vueExports.createVNode(vueExports.unref(ComboboxVirtualizer_default), vueExports.mergeProps({
|
|
4259
4258
|
options: filteredItems.value,
|
|
4260
|
-
"text-content": (item2) => isSelectItem(item2) ? unref(get)(item2, unref(props).labelKey) : String(item2)
|
|
4259
|
+
"text-content": (item2) => isSelectItem(item2) ? vueExports.unref(get)(item2, vueExports.unref(props).labelKey) : String(item2)
|
|
4261
4260
|
}, virtualizerProps.value), {
|
|
4262
|
-
default: withCtx(({ option: item, virtualItem }) => [createVNode(unref(ReuseItemTemplate), {
|
|
4261
|
+
default: vueExports.withCtx(({ option: item, virtualItem }) => [vueExports.createVNode(vueExports.unref(ReuseItemTemplate), {
|
|
4263
4262
|
item,
|
|
4264
4263
|
index: virtualItem.index
|
|
4265
4264
|
}, null, 8, ["item", "index"])]),
|
|
4266
4265
|
_: 1
|
|
4267
4266
|
}, 16, ["options", "text-content"]),
|
|
4268
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ReuseCreateItemTemplate), { key: 1 })) : createCommentVNode("", true)
|
|
4269
|
-
], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [
|
|
4270
|
-
createItem.value && createItemPosition.value === "top" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4267
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseCreateItemTemplate), { key: 1 })) : vueExports.createCommentVNode("", true)
|
|
4268
|
+
], 64)) : (vueExports.openBlock(), vueExports.createBlock(vueExports.Fragment, { key: 1 }, [
|
|
4269
|
+
createItem.value && createItemPosition.value === "top" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4271
4270
|
key: 0,
|
|
4272
4271
|
"data-slot": "group",
|
|
4273
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4272
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4274
4273
|
}, {
|
|
4275
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
4274
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
4276
4275
|
_: 1
|
|
4277
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
4278
|
-
(openBlock(true), createBlock(Fragment, null, renderList(filteredGroups.value, (group, groupIndex) => {
|
|
4279
|
-
return openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4276
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true),
|
|
4277
|
+
(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(filteredGroups.value, (group, groupIndex) => {
|
|
4278
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4280
4279
|
key: `group-${groupIndex}`,
|
|
4281
4280
|
"data-slot": "group",
|
|
4282
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4281
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4283
4282
|
}, {
|
|
4284
|
-
default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(group, (item, index) => {
|
|
4285
|
-
return openBlock(), createBlock(unref(ReuseItemTemplate), {
|
|
4283
|
+
default: vueExports.withCtx(() => [(vueExports.openBlock(true), vueExports.createBlock(vueExports.Fragment, null, vueExports.renderList(group, (item, index) => {
|
|
4284
|
+
return vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ReuseItemTemplate), {
|
|
4286
4285
|
key: `group-${groupIndex}-${index}`,
|
|
4287
4286
|
item,
|
|
4288
4287
|
index
|
|
@@ -4291,22 +4290,22 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4291
4290
|
_: 2
|
|
4292
4291
|
}, 1032, ["class"]);
|
|
4293
4292
|
}), 128)),
|
|
4294
|
-
createItem.value && createItemPosition.value === "bottom" ? (openBlock(), createBlock(unref(ComboboxGroup_default), {
|
|
4293
|
+
createItem.value && createItemPosition.value === "bottom" ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxGroup_default), {
|
|
4295
4294
|
key: 1,
|
|
4296
4295
|
"data-slot": "group",
|
|
4297
|
-
class: ui.value.group({ class: unref(props).ui?.group })
|
|
4296
|
+
class: ui.value.group({ class: vueExports.unref(props).ui?.group })
|
|
4298
4297
|
}, {
|
|
4299
|
-
default: withCtx(() => [createVNode(unref(ReuseCreateItemTemplate))]),
|
|
4298
|
+
default: vueExports.withCtx(() => [vueExports.createVNode(vueExports.unref(ReuseCreateItemTemplate))]),
|
|
4300
4299
|
_: 1
|
|
4301
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
4300
|
+
}, 8, ["class"])) : vueExports.createCommentVNode("", true)
|
|
4302
4301
|
], 64))], 2),
|
|
4303
|
-
renderSlot(_ctx.$slots, "content-bottom")
|
|
4302
|
+
vueExports.renderSlot(_ctx.$slots, "content-bottom")
|
|
4304
4303
|
]),
|
|
4305
4304
|
_: 3
|
|
4306
|
-
}, 8, ["class"]), !!unref(props).arrow ? (openBlock(), createBlock(unref(ComboboxArrow_default), mergeProps({ key: 0 }, arrowProps.value, {
|
|
4305
|
+
}, 8, ["class"]), !!vueExports.unref(props).arrow ? (vueExports.openBlock(), vueExports.createBlock(vueExports.unref(ComboboxArrow_default), vueExports.mergeProps({ key: 0 }, arrowProps.value, {
|
|
4307
4306
|
"data-slot": "arrow",
|
|
4308
|
-
class: ui.value.arrow({ class: unref(props).ui?.arrow })
|
|
4309
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)]),
|
|
4307
|
+
class: ui.value.arrow({ class: vueExports.unref(props).ui?.arrow })
|
|
4308
|
+
}), null, 16, ["class"])) : vueExports.createCommentVNode("", true)]),
|
|
4310
4309
|
_: 3
|
|
4311
4310
|
}, 16, ["class"])]),
|
|
4312
4311
|
_: 3
|
|
@@ -4322,16 +4321,16 @@ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
|
4322
4321
|
});
|
|
4323
4322
|
var _sfc_setup$1 = _sfc_main.setup;
|
|
4324
4323
|
_sfc_main.setup = (props, ctx) => {
|
|
4325
|
-
const ssrContext = useSSRContext();
|
|
4324
|
+
const ssrContext = vueExports.useSSRContext();
|
|
4326
4325
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/SelectMenu.vue");
|
|
4327
4326
|
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
4328
4327
|
};
|
|
4329
4328
|
//#endregion
|
|
4330
4329
|
//#region app/components/CompletedTaskSelect.vue?vue&type=script&setup=true&lang.ts
|
|
4331
|
-
var CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
4330
|
+
var CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ vueExports.defineComponent({
|
|
4332
4331
|
__name: "CompletedTaskSelect",
|
|
4333
4332
|
__ssrInlineRender: true,
|
|
4334
|
-
props: /*@__PURE__*/ mergeModels({
|
|
4333
|
+
props: /*@__PURE__*/ vueExports.mergeModels({
|
|
4335
4334
|
class: {},
|
|
4336
4335
|
icon: { default: "i-lucide-list-check" }
|
|
4337
4336
|
}, {
|
|
@@ -4340,27 +4339,27 @@ var CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
4340
4339
|
}),
|
|
4341
4340
|
emits: ["update:modelValue"],
|
|
4342
4341
|
setup(__props) {
|
|
4343
|
-
const model = useModel(__props, "modelValue");
|
|
4342
|
+
const model = vueExports.useModel(__props, "modelValue");
|
|
4344
4343
|
const workspace = useFileWorkspace();
|
|
4345
|
-
const items = computed(() => workspace.files.value.filter((file) => file.kind === "uomtiles" && file.summary?.state === "completed").map((file) => ({
|
|
4344
|
+
const items = vueExports.computed(() => workspace.files.value.filter((file) => file.kind === "uomtiles" && file.summary?.state === "completed").map((file) => ({
|
|
4346
4345
|
label: workspace.displayWorkspaceName(file.filename),
|
|
4347
4346
|
value: file.filename
|
|
4348
4347
|
})));
|
|
4349
|
-
const selectedTask = computed({
|
|
4348
|
+
const selectedTask = vueExports.computed({
|
|
4350
4349
|
get: () => items.value.some((item) => item.value === model.value) ? model.value : void 0,
|
|
4351
4350
|
set: (value) => {
|
|
4352
4351
|
model.value = value;
|
|
4353
4352
|
}
|
|
4354
4353
|
});
|
|
4355
4354
|
return (_ctx, _push, _parent, _attrs) => {
|
|
4356
|
-
_push(
|
|
4357
|
-
modelValue: unref(selectedTask),
|
|
4358
|
-
"onUpdate:modelValue": ($event) => isRef(selectedTask) ? selectedTask.value = $event : null,
|
|
4359
|
-
items: unref(items),
|
|
4355
|
+
_push(ssrRenderComponent_1(_sfc_main, vueExports.mergeProps({
|
|
4356
|
+
modelValue: vueExports.unref(selectedTask),
|
|
4357
|
+
"onUpdate:modelValue": ($event) => vueExports.isRef(selectedTask) ? selectedTask.value = $event : null,
|
|
4358
|
+
items: vueExports.unref(items),
|
|
4360
4359
|
"value-key": "value",
|
|
4361
4360
|
"label-key": "label",
|
|
4362
4361
|
icon: __props.icon,
|
|
4363
|
-
loading: !unref(workspace).ready.value,
|
|
4362
|
+
loading: !vueExports.unref(workspace).ready.value,
|
|
4364
4363
|
placeholder: "快速选取已完成任务",
|
|
4365
4364
|
class: __props.class
|
|
4366
4365
|
}, _attrs), null, _parent));
|
|
@@ -4371,11 +4370,11 @@ var CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
4371
4370
|
//#region app/components/CompletedTaskSelect.vue
|
|
4372
4371
|
var _sfc_setup = CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default.setup;
|
|
4373
4372
|
CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
4374
|
-
const ssrContext = useSSRContext();
|
|
4373
|
+
const ssrContext = vueExports.useSSRContext();
|
|
4375
4374
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/CompletedTaskSelect.vue");
|
|
4376
4375
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
4377
4376
|
};
|
|
4378
4377
|
var CompletedTaskSelect_default = Object.assign(CompletedTaskSelect_vue_vue_type_script_setup_true_lang_default, { __name: "CompletedTaskSelect" });
|
|
4379
4378
|
|
|
4380
4379
|
export { CompletedTaskSelect_default as C, _sfc_main as _ };
|
|
4381
|
-
//# sourceMappingURL=CompletedTaskSelect-
|
|
4380
|
+
//# sourceMappingURL=CompletedTaskSelect-nkBeLFh1.mjs.map
|