{"version":3,"file":"check-tag.mjs","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"],"names":[],"mappings":";;;;AAwBO,MAAM,gBAAgB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAItC,OAAA,EAAS,OAAA;AAAA;AAAA;AAAA;AAAA,EAIT,QAAA,EAAU,OAAA;AAAA;AAAA;AAAA;AAAA,EAIV,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,MAAA;AAAA,IACN,QAAQ,CAAC,SAAA,EAAW,SAAA,EAAW,MAAA,EAAQ,WAAW,QAAQ,CAAA;AAAA,IAC1D,OAAA,EAAS;AAAA;AAEb,CAAU;AAOH,MAAM,aAAA,GAAgB;AAAA,EAC3B,gBAAA,EAAkB,CAAC,KAAA,KAAmB,SAAA,CAAU,KAAK,CAAA;AAAA,EACrD,CAAC,YAAY,GAAG,CAAC,KAAA,KAAmB,UAAU,KAAK;AACrD;;;;"}