{"version":3,"file":"data-table-row.vue2.mjs","sources":["../../../../../packages/components/data-table/src/data-table-row.vue"],"sourcesContent":["<template>\n  <tr :class=\"ns.e('row')\">\n    <!-- 左 -->\n    <LeftCell\n      v-for=\"(column, colIndex) in leafColumns.left\"\n      :key=\"column.key\"\n      :column=\"column\"\n      :column-index=\"colIndex\"\n      :row=\"row\"\n      :style=\"style\"\n      :class=\"ns.is('last', colIndex + 1 === leafColumns.left.length)\"\n    />\n\n    <!-- 中 -->\n    <CenterCell\n      v-for=\"(column, colIndex) in leafColumns.center\"\n      :key=\"column.key\"\n      :column=\"column\"\n      :column-index=\"colIndex\"\n      :row=\"row\"\n      :style=\"style\"\n      :class=\"ns.is('last', colIndex + 1 === leafColumns.center.length)\"\n    />\n\n    <!-- 右 -->\n    <RightCell\n      v-for=\"(column, colIndex) in leafColumns.right\"\n      :key=\"column.key\"\n      :column=\"column\"\n      :column-index=\"colIndex\"\n      :row=\"row\"\n      :style=\"style\"\n      :class=\"ns.is('first', colIndex === 0)\"\n    />\n  </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { CSSProperties, inject, PropType } from 'vue'\nimport { dataTableToken } from './token'\nimport { LeftCell, CenterCell, RightCell } from './data-table-cell'\nimport type { DataTableRow, DataTreeRow } from './data-table'\n\ndefineProps({\n  row: {\n    type: Object as PropType<DataTreeRow | DataTableRow>,\n    required: true\n  },\n  style: {\n    type: Object as PropType<CSSProperties>,\n    required: true\n  }\n})\n\nconst { ns, leafColumns } = inject(dataTableToken)!\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsDA,IAAA,MAAM,EAAE,EAAA,EAAI,WAAY,EAAA,GAAI,OAAO,cAAc,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}