import React from 'react';
import { observer } from 'mobx-react-lite';
import { TabPage, ThemeWrap } from '@choerodon/boot';
import { inject } from 'mobx-react';
import { map } from "../themeMapItemPage";
import CodeManagerHeader from "../../header";
import CodeManagerToolBar, { SelectApp } from "../../tool-bar";
import CodeQualityContent from "./content";
import "../index.less";
var CodeQuality = inject('AppState')(observer(function (props) {
  return /*#__PURE__*/React.createElement(TabPage, null, /*#__PURE__*/React.createElement(CodeManagerToolBar, {
    name: "CodeQuality",
    key: "CodeQuality"
  }), /*#__PURE__*/React.createElement(ThemeWrap, {
    map: map
  }, /*#__PURE__*/React.createElement(CodeManagerHeader, null)), props.AppState.getCurrentTheme === '' && /*#__PURE__*/React.createElement(SelectApp, null), /*#__PURE__*/React.createElement(CodeQualityContent, null));
}));
export default CodeQuality;