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
2.6 KiB
1 lines
2.6 KiB
{"ast":null,"code":"import { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nconst descriptionProps = buildProps({\n border: Boolean,\n column: {\n type: Number,\n default: 3\n },\n direction: {\n type: String,\n values: [\"horizontal\", \"vertical\"],\n default: \"horizontal\"\n },\n size: useSizeProp,\n title: {\n type: String,\n default: \"\"\n },\n extra: {\n type: String,\n default: \"\"\n },\n labelWidth: {\n type: [String, Number],\n default: \"\"\n }\n});\nexport { descriptionProps };","map":{"version":3,"names":["descriptionProps","buildProps","border","Boolean","column","type","Number","default","direction","String","values","size","useSizeProp","title","extra","labelWidth"],"sources":["../../../../../../packages/components/descriptions/src/description.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Description from './description.vue'\n\nexport const descriptionProps = buildProps({\n /**\n * @description with or without border\n */\n border: Boolean,\n /**\n * @description numbers of `Descriptions Item` in one line\n */\n column: {\n type: Number,\n default: 3,\n },\n /**\n * @description direction of list\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description size of list\n */\n size: useSizeProp,\n /**\n * @description title text, display on the top left\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description extra text, display on the top right\n */\n extra: {\n type: String,\n default: '',\n },\n /**\n * @description width of every label column\n */\n labelWidth: {\n type: [String, Number],\n default: '',\n },\n} as const)\n\nexport type DescriptionProps = ExtractPropTypes<typeof descriptionProps>\nexport type DescriptionInstance = InstanceType<typeof Description>\n"],"mappings":";;AAEY,MAACA,gBAAgB,GAAGC,UAAU,CAAC;EACzCC,MAAM,EAAEC,OAAO;EACfC,MAAM,EAAE;IACNC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDC,SAAS,EAAE;IACTH,IAAI,EAAEI,MAAM;IACZC,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;IAClCH,OAAO,EAAE;EACb,CAAG;EACDI,IAAI,EAAEC,WAAW;EACjBC,KAAK,EAAE;IACLR,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACb,CAAG;EACDO,KAAK,EAAE;IACLT,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACb,CAAG;EACDQ,UAAU,EAAE;IACVV,IAAI,EAAE,CAACI,MAAM,EAAEH,MAAM,CAAC;IACtBC,OAAO,EAAE;EACb;AACA,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|