import _extends from "@babel/runtime/helpers/extends";
var RatingMeta = {
  group: '低代码组件',
  componentName: 'Rating',
  title: '评分',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  category: '信息输入',
  npm: {
    "package": '@dckj-npm/dc-material',
    version: '0.1.230',
    exportName: 'Rating',
    main: 'src\\index.tsx',
    destructuring: true,
    subName: ''
  },
  configure: {
    props: [{
      title: '数据源绑定',
      name: 'dataSource',
      setter: {
        componentName: 'SetterFormVariable',
        props: {
          attributes: [{
            label: '评分',
            value: 'value'
          }]
        }
      }
    }, {
      title: '值',
      name: 'value',
      setter: {
        componentName: 'NumberSetter',
        isRequired: true,
        initialValue: 0
      }
    }, {
      title: '尺寸',
      name: 'size',
      setter: {
        componentName: 'RadioGroupSetter',
        props: {
          dataSource: [{
            label: '小',
            value: 'small'
          }, {
            label: '中',
            value: 'medium'
          }, {
            label: '大',
            value: 'large'
          }],
          options: [{
            label: '小',
            value: 'small'
          }, {
            label: '中',
            value: 'medium'
          }, {
            label: '大',
            value: 'large'
          }]
        },
        initialValue: 'medium'
      }
    }, {
      title: '是否禁用',
      name: 'disabled',
      setter: {
        componentName: 'BoolSetter',
        isRequired: true,
        initialValue: false
      }
    }],
    supports: {
      style: true
    },
    component: {
      disableBehaviors: ['copy']
    }
  }
};
var snippets = [{
  title: '评分',
  screenshot: '',
  schema: {
    componentName: 'Rating',
    props: {
      dataSource: [],
      value: 0,
      disabled: false,
      size: 'medium'
    }
  }
}];
export default _extends({}, RatingMeta, {
  snippets: snippets
});