props.js.map 1.9 KB

1
  1. {"version":3,"sources":["../src/switch/props.ts"],"names":[],"mappings":"AAAA,oBAAoB;AAOpB,MAAM,KAAK,GAAkB;IAC3B,qFAAqF;IACrF,MAAM,EAAE;QACN,IAAI,EAAE,KAAK;KACZ;IACD,qDAAqD;IACrD,WAAW,EAAE;QACX,IAAI,EAAE,KAAK;KACZ;IACD,aAAa;IACb,QAAQ,EAAE;QACR,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,YAAY;IACZ,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,EAAE;KACV;IACD,gBAAgB;IAChB,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,WAAW;IACX,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,QAAQ;KAChB;IACD,UAAU;IACV,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAChC,KAAK,EAAE,SAAS;KACjB;IACD,gBAAgB;IAChB,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAChC,KAAK,EAAE,SAAS;KACjB;CACF,CAAC;AAEF,eAAe,KAAK,CAAC","file":"props.js","sourcesContent":["/* eslint-disable */\n\n/**\n * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC\n * */\n\nimport { TdSwitchProps } from './type';\nconst props: TdSwitchProps = {\n /** 自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray] */\n colors: {\n type: Array,\n },\n /** 开关内容,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0] */\n customValue: {\n type: Array,\n },\n /** 是否禁用组件 */\n disabled: {\n type: Boolean,\n value: false,\n },\n /** 开关的标签 */\n label: {\n type: String,\n value: '',\n },\n /** 是否处于加载中状态 */\n loading: {\n type: Boolean,\n value: false,\n },\n /** 开关尺寸 */\n size: {\n type: String,\n value: 'medium',\n },\n /** 开关值 */\n value: {\n type: String,\n optionalTypes: [Number, Boolean],\n value: undefined,\n },\n /** 开关值,非受控属性 */\n defaultValue: {\n type: String,\n optionalTypes: [Number, Boolean],\n value: undefined,\n },\n};\n\nexport default props;\n"]}