"use strict";

exports.__esModule = true;
exports.getRowInitChildrenByColNumber = getRowInitChildrenByColNumber;
var _utils = require("../_utils/utils");
function getRowInitChildrenByColNumber(colNum) {
  var result = [];
  if (colNum === 13) {
    result = [{
      componentName: 'Col',
      props: {
        span: 6,
        componentKey: "cr_" + (0, _utils.uuid)(),
        componentName: "cr_" + (0, _utils.uuid)()
      }
    }, {
      componentName: 'Col',
      props: {
        span: 18,
        componentKey: "cr_" + (0, _utils.uuid)(),
        componentName: "cr_" + (0, _utils.uuid)()
      }
    }];
  } else {
    for (var i = 0; i < colNum; i++) {
      result.push({
        componentName: 'Col',
        props: {
          span: 24 / colNum,
          componentKey: "cr_" + (0, _utils.uuid)(),
          componentName: "cr_" + (0, _utils.uuid)()
        }
      });
    }
  }
  return result;
}