{"version":3,"file":"descriptions.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\r\n\r\nimport type { DescriptionsItemProp } from 'ant-design-vue/es/descriptions'\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport { IconProps } from '../../icon'\r\nimport type Descriptions from './descriptions.vue'\r\n\r\nexport type IDescriptionsItemProp = DescriptionsItemProp & {\r\n  type?: string\r\n  key: string\r\n}\r\n\r\nexport const descriptionsProps = buildProps({\r\n  list: {\r\n    type: definePropType<IDescriptionsItemProp[]>(Array),\r\n  },\r\n  data: {\r\n    type: definePropType<Record<string, any>>(Object),\r\n    default: () => ({}),\r\n  },\r\n  //  图标信息\r\n  titleIcon: {\r\n    type: definePropType<IconProps>(Object),\r\n  },\r\n\r\n  title: {\r\n    type: String,\r\n  },\r\n  titleSize: {\r\n    type: Number,\r\n    default: 16,\r\n  },\r\n  titleColor: {\r\n    type: String,\r\n    default: 'var(--color-text)',\r\n  },\r\n} as const)\r\n// props\r\nexport type DescriptionsProps = ExtractPropTypes<typeof descriptionsProps>\r\n\r\n// instance\r\nexport type DescriptionsInstance = InstanceType<typeof Descriptions>\r\n"],"names":[],"mappings":";;;;AAYO,MAAM,oBAAoB,UAAA,CAAW;AAAA,EAC1C,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,eAAwC,KAAK;AAAA,GACrD;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,eAAoC,MAAM,CAAA;AAAA,IAChD,OAAA,EAAS,OAAO,EAAC;AAAA,GACnB;AAAA;AAAA,EAEA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,eAA0B,MAAM;AAAA,GACxC;AAAA,EAEA,KAAA,EAAO;AAAA,IACL,IAAA,EAAM;AAAA,GACR;AAAA,EACA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY;AAAA,IACV,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb,CAAU;;;;"}