1 |
- {"version":3,"sources":["../src/rate/props.ts"],"names":[],"mappings":"AAAA,oBAAoB;AAOpB,MAAM,KAAK,GAAgB;IACzB,aAAa;IACb,SAAS,EAAE;QACT,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,mIAAmI;IACnI,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,CAAC,KAAK,CAAC;QACtB,KAAK,EAAE,SAAS;KACjB;IACD,YAAY;IACZ,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,CAAC;KACT;IACD,aAAa;IACb,QAAQ,EAAE;QACR,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,cAAc;IACd,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,CAAC;KACT;IACD,kBAAkB;IAClB,QAAQ,EAAE;QACR,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,sBAAsB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,EAAE;KACV;IACD,gGAAgG;IAChG,KAAK,EAAE;QACL,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,EAAE;KACV;IACD,aAAa;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI;KACZ;IACD,mBAAmB;IACnB,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,CAAC;KACT;IACD,wBAAwB;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,SAAS;KACjB;CACF,CAAC;AAEF,eAAe,KAAK,CAAC","file":"props.js","sourcesContent":["/* eslint-disable */\n\n/**\n * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC\n * */\n\nimport { TdRateProps } from './type';\nconst props: TdRateProps = {\n /** 是否允许半选 */\n allowHalf: {\n type: Boolean,\n value: false,\n },\n /** 评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB'] */\n color: {\n type: String,\n optionalTypes: [Array],\n value: '#ED7B2F',\n },\n /** 评分的数量 */\n count: {\n type: Number,\n value: 5,\n },\n /** 是否禁用评分 */\n disabled: {\n type: Boolean,\n value: false,\n },\n /** 评分图标的间距 */\n gap: {\n type: Number,\n value: 6,\n },\n /** 是否显示对应的辅助文字 */\n showText: {\n type: Boolean,\n value: false,\n },\n /** 评分图标的大小,示例:`20` */\n size: {\n type: String,\n value: '',\n },\n /** 评分等级对应的辅助文字。组件内置默认值为:['极差', '失望', '一般', '满意', '惊喜']。自定义值示例:['1分', '2分', '3分', '4分', '5分'] */\n texts: {\n type: Array,\n value: [],\n },\n /** 选择评分的值 */\n value: {\n type: Number,\n value: null,\n },\n /** 选择评分的值,非受控属性 */\n defaultValue: {\n type: Number,\n value: 0,\n },\n /** 形状类型,有描边类型和填充类型两种 */\n variant: {\n type: String,\n value: 'outline',\n },\n};\n\nexport default props;\n"]}
|