1 |
- import{c9 as d,ct as n,dK as v,cu as i,cv as V,cc as r,cw as G,cz as I,an as g,cB as f,cE as k}from"./index-D68iA7pN.js";const p=Symbol.for("vuetify:v-item-group"),y=d({...n(),...v({selectedClass:"v-item--selected"}),...i(),...V()},"VItemGroup"),P=r()({name:"VItemGroup",props:y(),emits:{"update:modelValue":e=>!0},setup(e,s){let{slots:t}=s;const{themeClasses:a}=G(e),{isSelected:l,select:o,next:u,prev:c,selected:m}=I(e,p);return()=>g(e.tag,{class:["v-item-group",a.value,e.class],style:e.style},{default:()=>[t.default?.({isSelected:l,select:o,next:u,prev:c,selected:m.value})]})}}),S=r()({name:"VItem",props:f(),emits:{"group:selected":e=>!0},setup(e,s){let{slots:t}=s;const{isSelected:a,select:l,toggle:o,selectedClass:u,value:c,disabled:m}=k(e,p);return()=>t.default?.({isSelected:a.value,selectedClass:u.value,select:l,toggle:o,value:c.value,disabled:m.value})}});export{P as V,S as a};
|