import { createVNode as t } from "vue";
import { VxeColumn as u, VxeColgroup as p } from "vxe-table";
import { transformCol as d } from "./col.mjs";
function o(r) {
  return r.children?.length ? t(p, r, {
    ...r.slots || {},
    default: () => r.children?.map((e) => o(e))
  }) : t(u, r, {
    ...r.slots || {}
  });
}
function C(r, e, m, n) {
  return r.map((l) => o(d(l, e, m, n)));
}
export {
  C as renderWithColumns
};
