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