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