props.js.map 1.8 KB

1
  1. {"version":3,"sources":["../src/skeleton/props.ts"],"names":[],"mappings":"AAAA,oBAAoB;AAQpB,MAAM,KAAK,GAAoB;IAC7B,2CAA2C;IAC3C,SAAS,EAAE;QACT,IAAI,EAAE,MAAM;KACb;IACD,sCAAsC;IACtC,eAAe,EAAE;QACf,IAAI,EAAE,KAAK;KACZ;IACD,uCAAuC;IACvC,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;KACd;IACD,uNAAuN;IACvN,MAAM,EAAE;QACN,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;KACnC;IACD,yBAAyB;IACzB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd;CACF,CAAC;AAEF,eAAe,KAAK,CAAC","file":"props.js","sourcesContent":["/* eslint-disable */\n\n/**\n * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC\n * updated at 2021-11-24 10:58:05\n * */\n\nimport { TdSkeletonProps } from './type';\nconst props: TdSkeletonProps = {\n /** 动画效果,有「渐变加载动画」和「闪烁加载动画」两种。值为空则表示没有动画 */\n animation: {\n type: String,\n },\n /** 组件类名,分别用于设置组件外层元素、头像、图片、文本等元素类名 */\n externalClasses: {\n type: Array,\n },\n /** 是否为加载状态,如果是则显示骨架图,如果不是则显示加载完成的内容 */\n loading: {\n type: Boolean,\n },\n /** 用于设置行列数量、宽度高度、间距等。【示例一】,`[1, 1, 2]` 表示输出三行骨架图,第一行一列,第二行一列,第三行两列。【示例二】,`[1, 1, { width: '100px' }]` 表示自定义第三行的宽度为 `100px`。【示例三】,`[1, 2, [{ width, height }, { width, height, marginLeft }]]` 表示第三行有两列,且自定义宽度、高度和间距 */\n rowCol: {\n type: Array,\n value: [1, 1, 1, { width: '70%' }],\n },\n /** 骨架图风格,有基础、头像组合等两大类 */\n theme: {\n type: String,\n value: 'text',\n },\n};\n\nexport default props;\n"]}