1 |
- {"version":3,"sources":["../src/message/props.ts"],"names":[],"mappings":"AAAA,oBAAoB;AAQpB,MAAM,KAAK,GAAmB;IAC5B,SAAS;IACT,MAAM,EAAE;QACN,IAAI,EAAE,MAAM;KACb;IACD,aAAa;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd;IACD,wFAAwF;IACxF,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,CAAC,OAAO,CAAC;QACxB,KAAK,EAAE,SAAS;KACjB;IACD,kBAAkB;IAClB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;KACb;IACD,4DAA4D;IAC5D,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI;KACZ;IACD,gDAAgD;IAChD,eAAe,EAAE;QACf,IAAI,EAAE,KAAK;KACZ;IACD,oGAAoG;IACpG,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,CAAC,OAAO,CAAC;QACxB,KAAK,EAAE,IAAI;KACZ;IACD,gFAAgF;IAChF,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,aAAa,EAAE,CAAC,MAAM,CAAC;QACvB,KAAK,EAAE,KAAK;KACb;IACD,0DAA0D;IAC1D,MAAM,EAAE;QACN,IAAI,EAAE,KAAK;KACZ;IACD,aAAa;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd;IACD,qBAAqB;IACrB,OAAO,EAAE;QACP,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,KAAK;KACb;IACD,sBAAsB;IACtB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM;KACb;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 { TdMessageProps } from './type';\nconst props: TdMessageProps = {\n /** 操作 */\n action: {\n type: String,\n },\n /** 文本对齐方式 */\n align: {\n type: String,\n value: 'left',\n },\n /** 关闭按钮,可以自定义。值为 true 显示默认关闭按钮,值为 false 不显示关闭按钮。值类型为 string 则直接显示值,如:“关闭”。也可以完全自定义按钮 */\n closeBtn: {\n type: String,\n optionalTypes: [Boolean],\n value: undefined,\n },\n /** 用于自定义消息弹出内容 */\n content: {\n type: String,\n },\n /** 消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。 */\n duration: {\n type: Number,\n value: 3000,\n },\n /** 样式类名,分别用于设置 组件外层、消息内容、左侧图标、操作按钮、关闭按钮等元素类名 */\n externalClasses: {\n type: Array,\n },\n /** 消息提醒前面的图标。值为 true 则根据 theme 显示对应的图标,值为 false 则不显示图标。值为 'info' 或 'bell' 则显示组件内置图标。也可以完全自定义图标节点 */\n icon: {\n type: String,\n optionalTypes: [Boolean],\n value: true,\n },\n /** 跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放 */\n marquee: {\n type: Boolean,\n optionalTypes: [Object],\n value: false,\n },\n /** 相对于 placement 的偏移量,示例:[-10, 20] 或 ['10rpx', '8rpx'] */\n offset: {\n type: Array,\n },\n /** 消息组件风格 */\n theme: {\n type: String,\n value: 'info',\n },\n /** 是否显示,隐藏时默认销毁组件 */\n visible: {\n type: Boolean,\n value: false,\n },\n /** 元素层级,样式默认为 5000 */\n zIndex: {\n type: Number,\n },\n};\n\nexport default props;\n"]}
|