{"version":3,"file":"check-tag.mjs","names":[],"sources":["../../../../../../packages/components/check-tag/src/check-tag.ts"],"sourcesContent":["import { buildProps, isBoolean } from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type CheckTag from './check-tag.vue'\nimport type { ExtractPublicPropTypes } from 'vue'\n\nexport interface CheckTagProps {\n  /**\n   * @description is checked\n   */\n  checked?: boolean\n  /**\n   * @description whether the check-tag is disabled\n   */\n  disabled?: boolean\n  /**\n   * @description type of Tag\n   */\n  type?: 'primary' | 'success' | 'info' | 'warning' | 'danger'\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `CheckTagProps` instead.\n */\nexport const checkTagProps = buildProps({\n  /**\n   * @description is checked\n   */\n  checked: Boolean,\n  /**\n   * @description whether the check-tag is disabled\n   */\n  disabled: Boolean,\n  /**\n   * @description type of Tag\n   */\n  type: {\n    type: String,\n    values: ['primary', 'success', 'info', 'warning', 'danger'],\n    default: 'primary',\n  },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `CheckTagProps` instead.\n */\nexport type CheckTagPropsPublic = ExtractPublicPropTypes<typeof checkTagProps>\n\nexport const checkTagEmits = {\n  'update:checked': (value: boolean) => isBoolean(value),\n  [CHANGE_EVENT]: (value: boolean) => isBoolean(value),\n}\nexport type CheckTagEmits = typeof checkTagEmits\n\nexport type CheckTagInstance = InstanceType<typeof CheckTag> & unknown\n"],"mappings":";;;;;;;;AAwBA,MAAa,gBAAgB,WAAW;CAItC,SAAS;CAIT,UAAU;CAIV,MAAM;EACJ,MAAM;EACN,QAAQ;GAAC;GAAW;GAAW;GAAQ;GAAW;GAAS;EAC3D,SAAS;EACV;CACF,CAAU;AAOX,MAAa,gBAAgB;CAC3B,mBAAmB,UAAmB,UAAU,MAAM;EACrD,gBAAgB,UAAmB,UAAU,MAAM;CACrD"}