'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "RenderCol"
  },
  __name: "renderCol",
  props: {
    row: Object,
    render: Function,
    index: Number,
    column: {
      type: Object,
      default: null
    }
  },
  setup(__props) {
    const props = __props;
    const renderComponent = () => {
      var _a;
      return props.render(props == null ? void 0 : props.row[(_a = props == null ? void 0 : props.column) == null ? void 0 : _a.prop], props.row, props.index);
    };
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderComponent));
    };
  }
});

exports.default = _sfc_main;
