{"version":3,"file":"descriptions-row.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n  <template v-if=\"descriptions.direction === 'vertical'\">\n    <tr>\n      <template v-for=\"(cell, index) in row\" :key=\"`tr1-${index}`\">\n        <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n      </template>\n    </tr>\n    <tr>\n      <template v-for=\"(cell, index) in row\" :key=\"`tr2-${index}`\">\n        <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n      </template>\n    </tr>\n  </template>\n  <tr v-else>\n    <template v-for=\"(cell, index) in row\" :key=\"`tr3-${index}`\">\n      <template v-if=\"descriptions.border\">\n        <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n        <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n      </template>\n      <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n    </template>\n  </tr>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, inject } from 'vue'\nimport DescriptionsCell from './descriptions-cell'\nimport { elDescriptionsKey } from './token'\n\nimport type { IDescriptionsInject } from './descriptions.type'\n\nexport default defineComponent({\n  name: 'ElDescriptionsRow',\n  components: {\n    [DescriptionsCell.name]: DescriptionsCell,\n  },\n  props: {\n    row: {\n      type: Array,\n    },\n  },\n  setup() {\n    const descriptions = inject(elDescriptionsKey, {} as IDescriptionsInject)\n\n    return {\n      descriptions,\n    }\n  },\n})\n</script>\n"],"names":["_createElementBlock","_Fragment","_createBlock"],"mappings":";;;;;AA+BA,MAAK,YAAa,gBAAa;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,KACT,iBAAiB,OAAO;AAAA;AAAA,EAE3B,OAAO;AAAA,IACL,KAAK;AAAA,MACH,MAAM;AAAA;AAAA;AAAA,EAGV,QAAQ;AACN,UAAM,eAAe,OAAO,mBAAmB;AAE/C,WAAO;AAAA,MACL;AAAA;AAAA;AAAA;;;;2BA5CJ,cAWW,2BAVTA,mBAIKC;AAAA,6BAHH;AAAA,2CAC6DA;4BADJC;AAAA,UAChC,KAAI,OAAM;AAAA,UAAE;AAAA,UAAS,KAAI;AAAA;;;;6BAIlD;AAAA,2CAC+DD;4BADNC;AAAA,UAChC,KAAI,OAAM;AAAA,UAAE;AAAA,UAAS,KAAI;AAAA;;;;6CAKpD,MAMW;AAAA;0BAN8CF;AAAA;SACvC;AAAA,0BAAhB,uBAC6DA;AAAA,sBAA1B;AAAA,YAAE;AAAA,YAAS,KAAI;AAAA;aAChD,SAA6D;AAAA,sBAA5B;AAAA,YAAE;AAAA,YAAS,KAAI;AAAA;;;UAEpB,KAAI;AAAA,UAAQ;AAAA,UAAS,KAAI;AAAA;;;;;;;;;;"}