"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _parseData = _interopRequireDefault(require("../utils/parse-data"));
var _adaptor = require("./adaptor");
var plainData = 'children\n\t123\n\t*[ashbin]333\n\t-222';
var keys = {
  selected: [],
  expanded: []
};
var dataSource = (0, _adaptor.createDataSource)((0, _parseData["default"])(plainData, {
  parseContent: true
}), keys);
var _default = [{
  title: '树形控件',
  screenshot: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tree.png',
  schema: {
    componentName: 'Tree',
    props: {
      prefix: 'next-',
      selectable: true,
      selectedKeys: keys.selected,
      defaultExpandAll: true,
      checkedStrategy: 'all',
      autoExpandParent: true,
      animation: true,
      focusable: true,
      plainData: plainData,
      dataSource: dataSource
    }
  }
}];
exports["default"] = _default;