'use strict';

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

var vue = require('vue');

function Indent({
  prefixCls,
  level,
  isStart,
  isEnd
}) {
  const baseClassName = `${prefixCls}-indent-unit`;
  const list = [];
  for (let i = 0; i < level; i += 1) {
    list.push(vue.createVNode("span", {
      "key": i,
      "class": {
        [baseClassName]: true,
        [`${baseClassName}-start`]: isStart[i],
        [`${baseClassName}-end`]: isEnd[i]
      }
    }, null));
  }
  return vue.createVNode("span", {
    "aria-hidden": "true",
    "class": `${prefixCls}-indent`
  }, [list]);
}

exports.default = Indent;
//# sourceMappingURL=Indent.cjs.map
