You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 lines
3.1 KiB

{"ast":null,"code":"import { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nconst timelineItemProps = buildProps({\n timestamp: {\n type: String,\n default: \"\"\n },\n hideTimestamp: Boolean,\n center: Boolean,\n placement: {\n type: String,\n values: [\"top\", \"bottom\"],\n default: \"bottom\"\n },\n type: {\n type: String,\n values: [\"primary\", \"success\", \"warning\", \"danger\", \"info\"],\n default: \"\"\n },\n color: {\n type: String,\n default: \"\"\n },\n size: {\n type: String,\n values: [\"normal\", \"large\"],\n default: \"normal\"\n },\n icon: {\n type: iconPropType\n },\n hollow: Boolean\n});\nexport { timelineItemProps };","map":{"version":3,"names":["timelineItemProps","buildProps","timestamp","type","String","default","hideTimestamp","Boolean","center","placement","values","color","size","icon","iconPropType","hollow"],"sources":["../../../../../../packages/components/timeline/src/timeline-item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type TimelineItem from './timeline-item.vue'\n\nexport const timelineItemProps = buildProps({\n /**\n * @description timestamp content\n */\n timestamp: {\n type: String,\n default: '',\n },\n /**\n * @description whether to show timestamp\n */\n hideTimestamp: Boolean,\n /**\n * @description whether vertically centered\n */\n center: Boolean,\n /**\n * @description position of timestamp\n */\n placement: {\n type: String,\n values: ['top', 'bottom'],\n default: 'bottom',\n },\n /**\n * @description node type\n */\n type: {\n type: String,\n values: ['primary', 'success', 'warning', 'danger', 'info'],\n default: '',\n },\n /**\n * @description background color of node\n */\n color: {\n type: String,\n default: '',\n },\n /**\n * @description node size\n */\n size: {\n type: String,\n values: ['normal', 'large'],\n default: 'normal',\n },\n /**\n * @description icon component\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description icon is hollow\n */\n hollow: Boolean,\n} as const)\nexport type TimelineItemProps = ExtractPropTypes<typeof timelineItemProps>\n\nexport type TimelineItemInstance = InstanceType<typeof TimelineItem>\n"],"mappings":";;AACY,MAACA,iBAAiB,GAAGC,UAAU,CAAC;EAC1CC,SAAS,EAAE;IACTC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDC,aAAa,EAAEC,OAAO;EACtBC,MAAM,EAAED,OAAO;EACfE,SAAS,EAAE;IACTN,IAAI,EAAEC,MAAM;IACZM,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;IACzBL,OAAO,EAAE;EACb,CAAG;EACDF,IAAI,EAAE;IACJA,IAAI,EAAEC,MAAM;IACZM,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;IAC3DL,OAAO,EAAE;EACb,CAAG;EACDM,KAAK,EAAE;IACLR,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDO,IAAI,EAAE;IACJT,IAAI,EAAEC,MAAM;IACZM,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3BL,OAAO,EAAE;EACb,CAAG;EACDQ,IAAI,EAAE;IACJV,IAAI,EAAEW;EACV,CAAG;EACDC,MAAM,EAAER;AACV,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}