1 |
- {"version":3,"sources":["../src/badge/props.ts"],"names":[],"mappings":"AAEA;;;KAGK;AAEL,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,QAAA,MAAM,KAAK,EAAE,YAkDZ,CAAC;AAEF,eAAe,KAAK,CAAC","file":"props.d.ts","sourcesContent":["/* eslint-disable */\n\n/**\n * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC\n * updated at 2021-11-24 10:58:05\n * */\n\nimport { TdBadgeProps } from './type';\nconst props: TdBadgeProps = {\n /** 颜色 */\n color: {\n type: String,\n value: '',\n },\n /** 徽标内容,示例:`content='自定义内容'`。也可以使用默认插槽定义 */\n content: {\n type: String,\n value: '',\n },\n /** 徽标右上角内容。可以是数字,也可以是文字。如:'new'/3/99+。特殊:值为空表示使用插槽渲染 */\n count: {\n type: String,\n optionalTypes: [Number],\n value: 0,\n },\n /** 是否为红点 */\n dot: {\n type: Boolean,\n value: false,\n },\n /** 组件类名,分别用于设置外层元素、默认内容、右上角内容等元素类名 */\n externalClasses: {\n type: Array,\n },\n /** 封顶的数字值 */\n maxCount: {\n type: Number,\n value: 99,\n },\n /** 设置状态点的位置偏移,示例:[-10, 20] 或 ['10em', '8rem'] */\n offset: {\n type: Array,\n },\n /** 形状 */\n shape: {\n type: String,\n value: 'circle',\n },\n /** 当数值为 0 时,是否展示徽标 */\n showZero: {\n type: Boolean,\n value: false,\n },\n /** 尺寸 */\n size: {\n type: String,\n value: 'medium',\n },\n};\n\nexport default props;\n"]}
|