"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 CustomRadioGroupItemMeta = {
  group: '低代码组件',
  componentName: 'CustomRadioGroupItem',
  title: '单选组项',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  category: '信息输入',
  npm: {
    "package": '@dckj-npm/dc-material',
    version: '0.1.27',
    exportName: 'CustomRadioGroupItem',
    main: 'src/index.tsx',
    destructuring: true,
    subName: ''
  },
  configure: {
    props: [{
      title: {
        label: {
          type: 'i18n',
          'en-US': 'label',
          'zh-CN': '选项'
        },
        tip: 'label | 选项'
      },
      name: 'label',
      description: '选项',
      setter: {
        componentName: 'StringSetter',
        isRequired: true,
        initialValue: '标签'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'value',
          'zh-CN': '值'
        }
      },
      name: 'value',
      setter: {
        componentName: 'StringSetter',
        isRequired: true,
        initialValue: 'value'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'checked',
          'zh-CN': '是否选中'
        },
        tip: 'checked | 是否选中'
      },
      name: 'checked',
      description: '是否选中',
      setter: {
        componentName: 'BoolSetter',
        isRequired: true,
        initialValue: false
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'selectColor',
          'zh-CN': '选中颜色'
        },
        tip: 'selectColor | 选中颜色'
      },
      name: 'selectColor',
      description: '选中颜色',
      setter: {
        componentName: 'ColorSetter',
        isRequired: false,
        initialValue: '#F5743F'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'selectTextColor',
          'zh-CN': '选中的文字颜色'
        },
        tip: 'selectTextColor | 选中的文字颜色'
      },
      name: 'selectTextColor',
      description: '选中的文字颜色',
      setter: {
        componentName: 'ColorSetter',
        isRequired: false,
        initialValue: '#FFFFFF'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'unSelectColor',
          'zh-CN': '未选中颜色'
        },
        tip: 'unSelectColor | 未选中颜色'
      },
      name: 'unSelectColor',
      description: '未选中颜色',
      setter: {
        componentName: 'ColorSetter',
        isRequired: false,
        initialValue: '#F0F0F0'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'unSelectTextColor',
          'zh-CN': '未选中的文字颜色'
        },
        tip: 'unSelectTextColor | 未选中的文字颜色'
      },
      name: 'unSelectTextColor',
      description: '未选中的文字颜色',
      setter: {
        componentName: 'ColorSetter',
        isRequired: false,
        initialValue: '#666666'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'type',
          'zh-CN': '类型'
        },
        tip: 'type | 类型'
      },
      name: 'type',
      description: '类型',
      setter: {
        componentName: 'RadioGroupSetter',
        props: {
          dataSource: [{
            label: 'text',
            value: 'text'
          }, {
            label: 'button',
            value: 'button'
          }],
          options: [{
            label: 'text',
            value: 'text'
          }, {
            label: 'button',
            value: 'button'
          }]
        },
        initialValue: 'button'
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'name',
          'zh-CN': '名称'
        },
        tip: 'name | 名称'
      },
      name: 'name',
      description: '名称',
      setter: {
        componentName: 'StringSetter',
        isRequired: true,
        initialValue: ''
      }
    }, {
      title: {
        label: {
          type: 'i18n',
          'en-US': 'onChange',
          'zh-CN': '改变事件'
        },
        tip: 'onChange | 改变事件'
      },
      name: 'onChange',
      description: '改变事件',
      setter: {
        componentName: 'FunctionSetter',
        isRequired: true
      }
    }],
    supports: {
      style: true
    },
    component: {
      disableBehaviors: ['copy']
    }
  }
};
var snippets = [{
  title: '单选组项',
  screenshot: '',
  schema: {
    componentName: 'CustomRadioGroupItem',
    props: {}
  }
}];
var _default = exports["default"] = (0, _extends2["default"])({}, CustomRadioGroupItemMeta);