{"version":3,"file":"checkbox.mjs","sources":["../../../../../../../packages/components/checkbox/src/checkbox.ts"],"sourcesContent":["import { buildProps, extend, truthProp } from '@xzx-design/utils'\nimport { checkerProps } from './checker'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Checkbox from './checkbox.tsx'\nimport type { PropType } from 'vue/dist/vue'\nimport type { CheckerShape } from './types'\n\nexport const checkboxProps = extend(\n  {},\n  checkerProps,\n  buildProps({\n    shape: {\n      type: String as PropType<CheckerShape>,\n    },\n    bindGroup: truthProp,\n    indeterminate: {\n      type: Boolean as PropType<boolean | null>,\n      default: null,\n    },\n  })\n)\n\nexport type CheckboxProps = ExtractPropTypes<typeof checkboxProps>\nexport type CheckboxInstance = InstanceType<typeof Checkbox>\n"],"names":[],"mappings":";;;;;AAQO,MAAM,aAAgB,GAAA,MAAA;AAAA,EAC3B,EAAC;AAAA,EACD,YAAA;AAAA,EACA,UAAW,CAAA;AAAA,IACT,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AAAA,KACR;AAAA,IACA,SAAW,EAAA,SAAA;AAAA,IACX,aAAe,EAAA;AAAA,MACb,IAAM,EAAA,OAAA;AAAA,MACN,OAAS,EAAA,IAAA;AAAA,KACX;AAAA,GACD,CAAA;AACH;;;;"}