"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
  __name: "ListCol",
  props: {
    labelWidth: {
      type: Number,
      default: 200
    },
    data: {
      type: Object,
      require: true
    },
    column: {
      type: Array,
      require: true
    }
  },
  setup(__props) {
    const props = __props;
    return (_ctx, _cache) => {
      return {
        a: common_vendor.f(props.column, (col, idx, i0) => {
          return {
            a: common_vendor.t(col.name),
            b: common_vendor.t(props.data[col.value])
          };
        }),
        b: `${props.labelWidth}rpx`,
        c: `calc(100% - ${props.labelWidth}rpx)`
      };
    };
  }
};
wx.createComponent(_sfc_main);
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/ListCol.js.map
