ideaz-element
Version:
<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>
1 lines • 1.65 kB
Source Map (JSON)
{"version":3,"file":"text.cjs","sources":["../../../../../packages/element/text/src/text.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type { ComponentSize } from 'element-plus'\n\nexport const textProps = {\n value: {\n type: String,\n default: '',\n },\n /**\n * @description text type\n */\n type: {\n type: String,\n values: ['primary', 'success', 'info', 'warning', 'danger', ''],\n default: '',\n },\n /**\n * @description text size\n */\n size: {\n type: String as PropType<ComponentSize>,\n default: '',\n },\n /**\n * @description render ellipsis\n */\n truncated: {\n type: Boolean,\n },\n /**\n * @description custom element tag\n */\n tag: {\n type: String,\n default: 'span',\n },\n tooltip: {\n type: [Boolean, Object],\n default: () => ({}),\n },\n height: {\n type: Number,\n },\n lines: {\n type: Number,\n },\n length: {\n type: Number,\n },\n fullWidthRecognition: {\n type: Boolean,\n default: false,\n },\n text: {\n type: String,\n default: '',\n },\n}\n\nexport type TextProps = ExtractPropTypes<typeof textProps>\n"],"names":["textProps"],"mappings":"gFAGO,MAAAA,EAAA,CAAkB,MAAA,CAChB,KAAA,OACC,QAAA,EACG,EACX,KAAA,CAIM,KAAA,OACE,OAAA,CAAA,UAAA,UAAA,OAAA,UAAA,SAAA,EAAA,EACwD,QAAA,EACrD,EACX,KAAA,CAIM,KAAA,OACE,QAAA,EACG,EACX,UAAA,CAIW,KAAA,OACH,EACR,IAAA,CAIK,KAAA,OACG,QAAA,MACG,EACX,QAAA,CACS,KAAA,CAAA,QAAA,MAAA,EACe,QAAA,KAAA,CAAA,EACL,EACnB,OAAA,CACQ,KAAA,MACA,EACR,MAAA,CACO,KAAA,MACC,EACR,OAAA,CACQ,KAAA,MACA,EACR,qBAAA,CACsB,KAAA,QACd,QAAA,EACG,EACX,KAAA,CACM,KAAA,OACE,QAAA,EACG,CAEb"}