"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _CreateTicket = _interopRequireDefault(require("../CreateTicket"));
var _ProcessInfo = _interopRequireDefault(require("../../ProcessInfo"));
var _ImportDetails = _interopRequireDefault(require("./ImportDetails"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var DetailsPage = function DetailsPage(props) {
  var _props$modalVal = props.modalVal,
    modalVal = _props$modalVal === void 0 ? {} : _props$modalVal,
    _goBack = props.goBack,
    modalType = props.modalType,
    isProcess = props.isProcess,
    title = props.title,
    sortClick = props.sortClick,
    sortType = props.sortType,
    importData = props.importData;
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_CreateTicket["default"], {
    goBack: function goBack() {
      _goBack && _goBack();
    },
    column: 4,
    modalType: modalType,
    detailsVal: modalVal,
    caseSource: modalVal === null || modalVal === void 0 ? void 0 : modalVal.caseSource,
    isProcess: isProcess,
    title: title,
    importData: importData
  }), importData !== null && importData !== void 0 && importData.length ? /*#__PURE__*/_react["default"].createElement(_ImportDetails["default"], {
    importData: importData
  }) : null, /*#__PURE__*/_react["default"].createElement(_ProcessInfo["default"], {
    detailsVal: modalVal,
    isProcess: isProcess,
    sortClick: sortClick,
    sortType: sortType
  }));
};
var _default = exports["default"] = DetailsPage;
//# sourceMappingURL=index.js.map
