"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var BreadCrumbMeta = {
  group: '低代码组件',
  componentName: 'BreadCrumb',
  title: '面包屑',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  category: '引导',
  npm: {
    "package": '@dckj-npm/dc-material',
    version: '0.1.275',
    exportName: 'BreadCrumb',
    main: 'src/index.tsx',
    destructuring: true,
    subName: ''
  },
  configure: {
    props: [{
      title: '数据源绑定',
      name: 'dataList',
      setter: {
        componentName: 'SetterFormVariable',
        props: {
          attributes: [{
            label: '面包屑项',
            value: 'dataList',
            children: [{
              label: '节点名称',
              value: 'name'
            }, {
              label: '节点链接',
              value: 'link'
            }]
          }]
        }
      }
    }, {
      title: '面包屑项配置',
      name: 'itemList',
      description: '面包屑项配置',
      setter: {
        componentName: 'ArraySetter',
        props: {
          itemSetter: {
            componentName: 'ObjectSetter',
            props: {
              config: {
                items: [{
                  title: {
                    label: {
                      type: 'i18n',
                      'en-US': 'name',
                      'zh-CN': '节点名称'
                    }
                  },
                  name: 'name',
                  setter: {
                    componentName: 'StringSetter',
                    isRequired: true,
                    initialValue: ''
                  }
                }, {
                  title: {
                    label: {
                      type: 'i18n',
                      'en-US': 'link',
                      'zh-CN': '节点链接'
                    }
                  },
                  name: 'link',
                  setter: {
                    componentName: 'StringSetter',
                    isRequired: true,
                    initialValue: ''
                  }
                }]
              }
            }
          }
        }
      }
    }],
    supports: {
      style: true,
      events: [{
        name: 'onClick',
        description: '点击事件'
      }]
    },
    component: {
      disableBehaviors: ['copy']
    }
  }
};
var snippets = [{
  title: '面包屑',
  screenshot: '',
  schema: {
    componentName: 'BreadCrumb',
    props: {}
  }
}];
var _default = exports["default"] = (0, _extends2["default"])({}, BreadCrumbMeta, {
  snippets: snippets
});