const e=require("../context.js");let t=require("vue");function n({prefixCls:n,checked:r,halfChecked:i,disabled:a,onClick:o}){let{customSlots:s,checkable:c}=e.useInjectCascader(),l=c.value===!1?c.value:s.value.checkable,u=typeof l==`function`?l():typeof l==`boolean`?null:l;return(0,t.createVNode)(`span`,{class:{[n]:!0,[`${n}-checked`]:r,[`${n}-indeterminate`]:!r&&i,[`${n}-disabled`]:a},onClick:o},[u])}n.props=[`prefixCls`,`checked`,`halfChecked`,`disabled`,`onClick`],n.displayName=`Checkbox`,n.inheritAttrs=!1,exports.default=n;