"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.acceptTypes = exports.propertyPanelMap = exports.componentMap = void 0;

var _react = _interopRequireDefault(require("react"));

var _MImg = _interopRequireDefault(require("../MComponents/basic/MImg"));

var _MImgArea = _interopRequireDefault(require("../MComponents/basic/MImgArea"));

var _MText = _interopRequireDefault(require("../MComponents/basic/MText"));

var _MVideo = _interopRequireDefault(require("../MComponents/basic/MVideo"));

var _MBanner = _interopRequireDefault(require("../MComponents/mobile/MBanner"));

var _MCarouselSearchBar = _interopRequireDefault(require("../MComponents/mobile/MCarouselSearchBar"));

var _MCouponList = _interopRequireDefault(require("../MComponents/mobile/MCouponList"));

var _MFlashSale = _interopRequireDefault(require("../MComponents/mobile/MFlashSale"));

var _MFlashService = _interopRequireDefault(require("../MComponents/mobile/MFlashService"));

var _MGroup = _interopRequireDefault(require("../MComponents/mobile/MGroup"));

var _MGroupGoods = _interopRequireDefault(require("../MComponents/mobile/MGroupGoods"));

var _MGroupParticipants = _interopRequireDefault(require("../MComponents/mobile/MGroupParticipants"));

var _MIconGrid = _interopRequireDefault(require("../MComponents/mobile/MIconGrid"));

var _MMProductList = _interopRequireDefault(require("../MComponents/mobile/MMProductList"));

var _MPageTitle = _interopRequireDefault(require("../MComponents/mobile/MPageTitle"));

var _MProductAdvertise = _interopRequireDefault(require("../MComponents/mobile/MProductAdvertise"));

var _MRecommend = _interopRequireDefault(require("../MComponents/mobile/MRecommend"));

var _MSearchBar = _interopRequireDefault(require("../MComponents/mobile/MSearchBar"));

var _MTabs = _interopRequireDefault(require("../MComponents/mobile/MTabs"));

var _MZeroSale = _interopRequireDefault(require("../MComponents/mobile/MZeroSale"));

var _GalaryTemplate = _interopRequireDefault(require("../MComponents/pc/GalaryTemplate4"));

var _MCard = _interopRequireDefault(require("../MComponents/pc/MCard"));

var _MCarousel = _interopRequireDefault(require("../MComponents/pc/MCarousel"));

var _MCatalogMenu = _interopRequireDefault(require("../MComponents/pc/MCatalogMenu"));

var _MFlashSales = _interopRequireDefault(require("../MComponents/pc/MFlashSales"));

var _MMultipleBanners = _interopRequireDefault(require("../MComponents/pc/MMultipleBanners"));

var _MNav = _interopRequireDefault(require("../MComponents/pc/MNav"));

var _MProductList = _interopRequireDefault(require("../MComponents/pc/MProductList"));

var _MScroll = _interopRequireDefault(require("../MComponents/pc/MScroll"));

var _GalaryTemplate4Properties = _interopRequireDefault(require("../property-panel/GalaryTemplate4Properties"));

var _MCardProperties = _interopRequireDefault(require("../property-panel/MCardProperties"));

var _MCarouselProperties = _interopRequireDefault(require("../property-panel/MCarouselProperties"));

var _MCarouselSearchBarProperties = _interopRequireDefault(require("../property-panel/MCarouselSearchBarProperties"));

var _MCatalogMenuProperties = _interopRequireDefault(require("../property-panel/MCatalogMenuProperties"));

var _MColProperties = _interopRequireDefault(require("../property-panel/MColProperties"));

var _MCouponListProperties = _interopRequireDefault(require("../property-panel/MCouponListProperties"));

var _MFlashSalesProperties = _interopRequireDefault(require("../property-panel/MFlashSalesProperties"));

var _MFlashServiceProperties = _interopRequireDefault(require("../property-panel/MFlashServiceProperties"));

var _MIconGridProperties = _interopRequireDefault(require("../property-panel/MIconGridProperties"));

var _MImgAreaProperties = _interopRequireDefault(require("../property-panel/MImgAreaProperties"));

var _MImgProperties = _interopRequireDefault(require("../property-panel/MImgProperties"));

var _MMGroupGoodsProperties = _interopRequireDefault(require("../property-panel/MMGroupGoodsProperties"));

var _MMParticipantsProperties = _interopRequireDefault(require("../property-panel/MMParticipantsProperties"));

var _MMProductListProperties = _interopRequireDefault(require("../property-panel/MMProductListProperties"));

var _MMShareByProperties = _interopRequireDefault(require("../property-panel/MMShareByProperties"));

var _MMTitleProperties = _interopRequireDefault(require("../property-panel/MMTitleProperties"));

var _MMultipleBannersProperties = _interopRequireDefault(require("../property-panel/MMultipleBannersProperties"));

var _MNavProperties = _interopRequireDefault(require("../property-panel/MNavProperties"));

var _MPlotAreaProperties = _interopRequireDefault(require("../property-panel/MPlotAreaProperties"));

var _MProductAdvertiseProperties = _interopRequireDefault(require("../property-panel/MProductAdvertiseProperties"));

var _MProductListProperties = _interopRequireDefault(require("../property-panel/MProductListProperties"));

var _MRecommendProperties = _interopRequireDefault(require("../property-panel/MRecommendProperties"));

var _MScrollProperties = _interopRequireDefault(require("../property-panel/MScrollProperties"));

var _MSearchBarProperties = _interopRequireDefault(require("../property-panel/MSearchBarProperties"));

var _MStyleProperties = _interopRequireDefault(require("../property-panel/MStyleProperties"));

var _MTextProperties = _interopRequireDefault(require("../property-panel/MTextProperties"));

var _MZeroSaleProperties = _interopRequireDefault(require("../property-panel/MZeroSaleProperties"));

var _MCol = _interopRequireDefault(require("./core-layout-component/MCol"));

var _MRow = _interopRequireDefault(require("./core-layout-component/MRow"));

var _componentMap, _propertyPanelMap;

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

// const MRecommend = React.lazy(() => import('../MComponents/mobile/MRecommend'));
var componentMap = (_componentMap = {}, _defineProperty(_componentMap, _MRow["default"].type, _MRow["default"]), _defineProperty(_componentMap, _MCol["default"].type, _MCol["default"]), _defineProperty(_componentMap, _MText["default"].type, _MText["default"]), _defineProperty(_componentMap, _MImgArea["default"].type, _MImgArea["default"]), _defineProperty(_componentMap, _MImg["default"].type, _MImg["default"]), _defineProperty(_componentMap, _MVideo["default"].type, _MVideo["default"]), _defineProperty(_componentMap, _MNav["default"].type, _MNav["default"]), _defineProperty(_componentMap, _MCarousel["default"].type, _MCarousel["default"]), _defineProperty(_componentMap, _GalaryTemplate["default"].type, _GalaryTemplate["default"]), _defineProperty(_componentMap, _MCatalogMenu["default"].type, _MCatalogMenu["default"]), _defineProperty(_componentMap, _MCard["default"].type, _MCard["default"]), _defineProperty(_componentMap, _MScroll["default"].type, _MScroll["default"]), _defineProperty(_componentMap, _MMultipleBanners["default"].type, _MMultipleBanners["default"]), _defineProperty(_componentMap, _MFlashSales["default"].type, _MFlashSales["default"]), _defineProperty(_componentMap, _MProductList["default"].type, _MProductList["default"]), _defineProperty(_componentMap, _MBanner["default"].type, _MBanner["default"]), _defineProperty(_componentMap, _MSearchBar["default"].type, _MSearchBar["default"]), _defineProperty(_componentMap, _MCarouselSearchBar["default"].type, _MCarouselSearchBar["default"]), _defineProperty(_componentMap, _MProductAdvertise["default"].type, _MProductAdvertise["default"]), _defineProperty(_componentMap, _MFlashSale["default"].type, _MFlashSale["default"]), _defineProperty(_componentMap, _MIconGrid["default"].type, _MIconGrid["default"]), _defineProperty(_componentMap, _MTabs["default"].type, _MTabs["default"]), _defineProperty(_componentMap, _MFlashService["default"].type, _MFlashService["default"]), _defineProperty(_componentMap, _MPageTitle["default"].type, _MPageTitle["default"]), _defineProperty(_componentMap, _MGroupParticipants["default"].type, _MGroupParticipants["default"]), _defineProperty(_componentMap, _MGroupGoods["default"].type, _MGroupGoods["default"]), _defineProperty(_componentMap, _MGroup["default"].type, _MGroup["default"]), _defineProperty(_componentMap, _MRecommend["default"].type, function (props) {
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Suspense, {
    fallback: /*#__PURE__*/_react["default"].createElement("span", null, "loading")
  }, /*#__PURE__*/_react["default"].createElement(_MRecommend["default"], props));
}), _defineProperty(_componentMap, _MMProductList["default"].type, _MMProductList["default"]), _defineProperty(_componentMap, _MCouponList["default"].type, _MCouponList["default"]), _defineProperty(_componentMap, _MZeroSale["default"].type, _MZeroSale["default"]), _componentMap);
exports.componentMap = componentMap;
var propertyPanelMap = (_propertyPanelMap = {}, _defineProperty(_propertyPanelMap, _MImgArea["default"].type, _MImgAreaProperties["default"]), _defineProperty(_propertyPanelMap, _MImg["default"].type, _MImgProperties["default"]), _defineProperty(_propertyPanelMap, _MNav["default"].type, _MNavProperties["default"]), _defineProperty(_propertyPanelMap, _MCarousel["default"].type, _MCarouselProperties["default"]), _defineProperty(_propertyPanelMap, _GalaryTemplate["default"].type, _GalaryTemplate4Properties["default"]), _defineProperty(_propertyPanelMap, _MCatalogMenu["default"].type, _MCatalogMenuProperties["default"]), _defineProperty(_propertyPanelMap, _MCard["default"].type, _MCardProperties["default"]), _defineProperty(_propertyPanelMap, _MScroll["default"].type, _MScrollProperties["default"]), _defineProperty(_propertyPanelMap, _MMultipleBanners["default"].type, _MMultipleBannersProperties["default"]), _defineProperty(_propertyPanelMap, _MFlashSales["default"].type, _MFlashSalesProperties["default"]), _defineProperty(_propertyPanelMap, _MProductList["default"].type, _MProductListProperties["default"]), _defineProperty(_propertyPanelMap, _MText["default"].type, _MTextProperties["default"]), _defineProperty(_propertyPanelMap, _MRow["default"].type, _MStyleProperties["default"]), _defineProperty(_propertyPanelMap, _MCol["default"].type, _MColProperties["default"]), _defineProperty(_propertyPanelMap, "MPlotArea", _MPlotAreaProperties["default"]), _defineProperty(_propertyPanelMap, _MBanner["default"].type, _MCarouselProperties["default"]), _defineProperty(_propertyPanelMap, _MFlashSale["default"].type, _MFlashSalesProperties["default"]), _defineProperty(_propertyPanelMap, _MIconGrid["default"].type, _MIconGridProperties["default"]), _defineProperty(_propertyPanelMap, _MFlashService["default"].type, _MFlashServiceProperties["default"]), _defineProperty(_propertyPanelMap, _MGroup["default"].type, _MMShareByProperties["default"]), _defineProperty(_propertyPanelMap, _MSearchBar["default"].type, _MSearchBarProperties["default"]), _defineProperty(_propertyPanelMap, _MCarouselSearchBar["default"].type, _MCarouselSearchBarProperties["default"]), _defineProperty(_propertyPanelMap, _MProductAdvertise["default"].type, _MProductAdvertiseProperties["default"]), _defineProperty(_propertyPanelMap, _MPageTitle["default"].type, _MMTitleProperties["default"]), _defineProperty(_propertyPanelMap, _MGroupParticipants["default"].type, _MMParticipantsProperties["default"]), _defineProperty(_propertyPanelMap, _MGroupGoods["default"].type, _MMGroupGoodsProperties["default"]), _defineProperty(_propertyPanelMap, _MRecommend["default"].type, _MRecommendProperties["default"]), _defineProperty(_propertyPanelMap, _MMProductList["default"].type, _MMProductListProperties["default"]), _defineProperty(_propertyPanelMap, _MCouponList["default"].type, _MCouponListProperties["default"]), _defineProperty(_propertyPanelMap, _MZeroSale["default"].type, _MZeroSaleProperties["default"]), _propertyPanelMap);
/**
 * 此配置项决定了 MCol 中能接受何种类型的组件。
 */

exports.propertyPanelMap = propertyPanelMap;
var acceptTypes = [_MCarousel["default"].type, _MRow["default"].type, _MCol["default"].type, _MImgArea["default"].type, _MImg["default"].type, _GalaryTemplate["default"].type, _MNav["default"].type, _MText["default"].type, _MVideo["default"].type, _MCatalogMenu["default"].type, _MCard["default"].type, _MScroll["default"].type, _MMultipleBanners["default"].type, _MFlashSales["default"].type, _MProductList["default"].type, _MBanner["default"].type, _MSearchBar["default"].type, _MCarouselSearchBar["default"].type, _MProductAdvertise["default"].type, _MFlashSale["default"].type, _MIconGrid["default"].type, _MTabs["default"].type, _MFlashService["default"].type, _MPageTitle["default"].type, _MGroupParticipants["default"].type, _MGroupGoods["default"].type, _MGroup["default"].type, _MRecommend["default"].type, _MMProductList["default"].type, _MCouponList["default"].type, _MZeroSale["default"].type];
exports.acceptTypes = acceptTypes;