((typeof self !== 'undefined' ? self : this)["webpackJsonpportal_homepage_nanhai"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpportal_homepage_nanhai"] || []).push([[31],{

/***/ "03e5":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"628455f4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/portal/ImageNews.vue?vue&type=template&id=e5a3e808&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"image-walll w-full h-full overflow-hidden"},[_c('column-header',{directives:[{name:"show",rawName:"v-show",value:(_vm.data.showTitle),expression:"data.showTitle"}],staticClass:"mb-10px",attrs:{"title":_vm.title,"showMore":_vm.data.showMore},on:{"loadMore":_vm.loadMore}}),_c('div',{staticClass:"flex flex-col",class:_vm.getBodyClass()},[(_vm.list.length)?_vm._l((_vm.row),function(n){return _c('div',{key:n,staticClass:"flex flex-1",class:{
          'mt-25px': n !== 1,
        }},_vm._l((_vm.col),function(item){return _c('div',{key:item,class:{
            'mr-15px': item !== _vm.col,
          },style:({
            width: ("calc((100% - " + (15 * (_vm.col - 1)) + "px) / " + _vm.col + ")"),
          })},[(_vm.list[_vm.col * (n - 1) + item - 1])?[_c('div',{staticClass:"h-full w-full",on:{"click":function($event){_vm.toDetail(_vm.list[_vm.col * (n - 1) + item - 1])}}},[_c('div',{staticClass:"relative w-full",style:({
                  height: _vm.data.showDate ? "calc(100% - 48px)" : "calc(100% - 26px)",
                })},[_c('el-image',{staticClass:"absolute h-full w-full cursor-pointer",attrs:{"src":("" + _vm.fileUrl + (_vm.list[_vm.col * (n - 1) + item - 1].indexImage)),"fit":_vm.data.imageFit || 'fill'}})],1),_c('p',{staticClass:"mt-10px text-15px text-hex-000 truncate hover:text-hex-$portalPrimaryColor w-full",attrs:{"title":_vm.list[_vm.col * (n - 1) + item - 1].title}},[_vm._v("\n                "+_vm._s(_vm.list[_vm.col * (n - 1) + item - 1].title)+"\n              ")]),(_vm.data.showDate)?_c('div',{staticClass:"mt-8px cursor-pointer text-hex-999 hover:text-hex-$portalPrimaryColor text-14px"},[_c('div',{staticClass:"truncate ml-10px text-right"},[_vm._v("\n                  "+_vm._s(_vm.dayjs(_vm.list[_vm.col * (n - 1) + item - 1].editPublishTime).format('YYYY/MM/DD'))+"\n                ")])]):_vm._e()])]:_vm._e()],2)}),0)}):_vm._e()],2),_c('div',{staticClass:"text-right mt-10px"},[_c('el-pagination',{directives:[{name:"show",rawName:"v-show",value:(_vm.data.showPagination),expression:"data.showPagination"}],attrs:{"small":"","background":"","current-page":_vm.page.pageNo,"layout":"total, prev, pager, next","page-size":_vm.page.pageSize,"total":_vm.page.totalCount,"pager-count":5},on:{"current-change":_vm.tableCurrentChange,"update:currentPage":function($event){return _vm.$set(_vm.page, "pageNo", $event)},"update:current-page":function($event){return _vm.$set(_vm.page, "pageNo", $event)},"update:pageSize":function($event){return _vm.$set(_vm.page, "pageSize", $event)},"update:page-size":function($event){return _vm.$set(_vm.page, "pageSize", $event)}}})],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/components/portal/ImageNews.vue?vue&type=template&id=e5a3e808&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
var es_array_iterator = __webpack_require__("e260");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
var es_function_name = __webpack_require__("b0c0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
var es_promise = __webpack_require__("e6cf");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
var es_string_iterator = __webpack_require__("3ca3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
var web_dom_collections_iterator = __webpack_require__("ddb0");

// EXTERNAL MODULE: ./node_modules/@wiz-api/workbench/lib/workbench.umd.js
var workbench_umd = __webpack_require__("c7fe");

// EXTERNAL MODULE: ./src/modules/portal-management/js/config.js
var config = __webpack_require__("e2d8");

// EXTERNAL MODULE: ./src/assets/js/RequestQueue.js
var RequestQueue = __webpack_require__("cfba");

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/portal/ImageNews.vue?vue&type=script&lang=js










//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




var columnTableApi = new workbench_umd["ColumnTableApi"]();
var columApi = new workbench_umd["ColumApi"]();
var columnHeader = function columnHeader() {
  return __webpack_require__.e(/* import() */ 3).then(__webpack_require__.bind(null, "151c"));
};
var columnImageType = config["a" /* informationPublishMap */].column.columnImgText; // 图片栏目

/* harmony default export */ var ImageNewsvue_type_script_lang_js = ({
  name: 'ImageNews',
  props: {
    data: {
      type: Object,
      default: null
    },
    mode: {
      type: String,
      default: 'update' // update/view   update模式不触发点击
    }
  },
  components: {
    columnHeader: columnHeader
  },
  computed: {
    fileUrl: function fileUrl() {
      var fileServer = Wiz.GetModuleServer('file-management');
      return "".concat(fileServer, "/api/file-management/files/public/image/");
    },
    routerBase: function routerBase() {
      if (window.__POWERED_BY_QIANKUN__) {
        return "/".concat(_.get(Wiz, 'globalSettings.globalConfig.routerBase'));
      }
      return '';
    }
  },
  data: function data() {
    return {
      page: {
        pageNo: 1,
        pageSize: 1,
        totalCount: 0
      },
      dataSource: '',
      list: [],
      title: '图片',
      source: 1,
      row: 1,
      col: 1
    };
  },
  methods: {
    loadMore: function loadMore() {
      if (this.mode !== 'update') {
        window.open("".concat(window.location.origin).concat(window.location.hash ? '/#' : '').concat(this.routerBase, "/portal/homepage?columnId=").concat(this.data.dataSource));
      }
    },
    tableCurrentChange: function tableCurrentChange(value) {
      this.page.pageNo = value;
      this.getListData();
    },
    getBodyClass: function getBodyClass() {
      if (this.data.showTitle) {
        if (this.data.showPagination) {
          return 'h-[calc(100%-96px)]';
        }
        return 'h-[calc(100%-48px)]';
      }
      if (this.data.showPagination) {
        return 'h-[calc(100%-48px)]';
      }
      return 'h-full';
    },
    toDetail: function toDetail(item) {
      if (this.mode === 'view') {
        if (item.externalLink) {
          window.open(item.externalLink);
        } else {
          window.open("".concat(window.location.origin).concat(window.location.hash ? '/#' : '').concat(this.routerBase, "/portal/ColumnDetail?id=").concat(item.id, "&type=").concat(columnImageType));
        }
      }
    },
    getListData: function getListData() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _yield$addRequestQueu, _yield$addRequestQueu2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 2;
              return Object(RequestQueue["a" /* default */])(function () {
                return columnTableApi.getImageColumnTable(_this.page.pageNo, _this.page.pageSize, {
                  columnId: _this.data.dataSource,
                  isShow: true
                });
              });
            case 2:
              _yield$addRequestQueu = _context.sent;
              _yield$addRequestQueu2 = Object(slicedToArray["a" /* default */])(_yield$addRequestQueu, 2);
              err = _yield$addRequestQueu2[0];
              res = _yield$addRequestQueu2[1];
              if (!err) {
                _this.list = res.items;
                _this.page.totalCount = res.totalCount;
              }
            case 7:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    getTitle: function getTitle() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$columApi$getCo, _yield$columApi$getCo2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              if (!(_this2.data.title && _this2.data.dataSource)) {
                _context2.next = 3;
                break;
              }
              _this2.getListData();
              return _context2.abrupt("return");
            case 3:
              if (!(_this2.data.dataSource !== '' && _this2.data.dataSource != null)) {
                _context2.next = 11;
                break;
              }
              _context2.next = 6;
              return columApi.getColumnDetail(_this2.data.dataSource);
            case 6:
              _yield$columApi$getCo = _context2.sent;
              _yield$columApi$getCo2 = Object(slicedToArray["a" /* default */])(_yield$columApi$getCo, 2);
              err = _yield$columApi$getCo2[0];
              res = _yield$columApi$getCo2[1];
              if (!err) {
                _this2.title = res.name;
                _this2.source = res.source;
                _this2.getListData();
              }
            case 11:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    }
  },
  created: function created() {
    this.getTitle();
  },
  watch: {
    data: {
      deep: true,
      immediate: true,
      handler: function handler(val) {
        if (!_.isEmpty(val)) {
          this.row = val.row || 1;
          this.col = val.col || 1;
          if (val.title) this.title = val.title;
          if (val.dataSource !== this.dataSource || this.col * this.row !== this.page.pageSize) {
            this.dataSource = this.data.dataSource;
            this.page.pageSize = this.col * this.row;
            this.getTitle();
          }
        }
      }
    }
  }
});
// CONCATENATED MODULE: ./src/components/portal/ImageNews.vue?vue&type=script&lang=js
 /* harmony default export */ var portal_ImageNewsvue_type_script_lang_js = (ImageNewsvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/components/portal/ImageNews.vue?vue&type=style&index=0&id=e5a3e808&prod&lang=scss&scoped=true
var ImageNewsvue_type_style_index_0_id_e5a3e808_prod_lang_scss_scoped_true = __webpack_require__("2fa2");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/components/portal/ImageNews.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  portal_ImageNewsvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "e5a3e808",
  null
  
)

/* harmony default export */ var ImageNews = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ "2fa2":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageNews_vue_vue_type_style_index_0_id_e5a3e808_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fbbc");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageNews_vue_vue_type_style_index_0_id_e5a3e808_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageNews_vue_vue_type_style_index_0_id_e5a3e808_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "4ec0":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, ".image-walll[data-v-e5a3e808] .el-carousel .el-carousel__container{height:100%}.image-walll[data-v-e5a3e808] .el-carousel .el-carousel__arrow{width:30px;height:40px;border-radius:unset;background-color:rgba(0,0,0,.3)}.image-walll[data-v-e5a3e808] .el-carousel .el-carousel__arrow:hover{background-color:rgba(0,0,0,.4)}.image-walll[data-v-e5a3e808] .el-carousel .el-carousel__arrow--left{left:0}.image-walll[data-v-e5a3e808] .el-carousel .el-carousel__arrow--right{right:0}", ""]);

// exports


/***/ }),

/***/ "cfba":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addRequestQueue; });
/* harmony import */ var _data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7eb");
/* harmony import */ var _data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("14d9");
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("d3b7");
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("e6cf");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__);





var queue = [];
var runningCount = 0;
var maxRequestsNum = 3;
function processNextRequest() {
  return _processNextRequest.apply(this, arguments);
}
function _processNextRequest() {
  _processNextRequest = Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().mark(function _callee2() {
    var request;
    return Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().wrap(function _callee2$(_context2) {
      while (1) switch (_context2.prev = _context2.next) {
        case 0:
          if (!(runningCount >= maxRequestsNum || queue.length === 0)) {
            _context2.next = 2;
            break;
          }
          return _context2.abrupt("return");
        case 2:
          runningCount += 1;
          request = queue.shift();
          _context2.prev = 4;
          _context2.next = 7;
          return request();
        case 7:
          _context2.next = 11;
          break;
        case 9:
          _context2.prev = 9;
          _context2.t0 = _context2["catch"](4);
        case 11:
          _context2.prev = 11;
          runningCount -= 1;
          processNextRequest();
          return _context2.finish(11);
        case 15:
        case "end":
          return _context2.stop();
      }
    }, _callee2, null, [[4, 9, 11, 15]]);
  }));
  return _processNextRequest.apply(this, arguments);
}
function addRequestQueue(request) {
  return new Promise(function (resolve, reject) {
    queue.push( /*#__PURE__*/Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().mark(function _callee() {
      var result;
      return Object(_data_jenkins_workspace_tools_ui_cdn_wiz_integration_protal_dananhai_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().wrap(function _callee$(_context) {
        while (1) switch (_context.prev = _context.next) {
          case 0:
            _context.prev = 0;
            _context.next = 3;
            return request();
          case 3:
            result = _context.sent;
            resolve(result);
            _context.next = 10;
            break;
          case 7:
            _context.prev = 7;
            _context.t0 = _context["catch"](0);
            reject(_context.t0);
          case 10:
          case "end":
            return _context.stop();
        }
      }, _callee, null, [[0, 7]]);
    })));
    processNextRequest();
  });
}

/***/ }),

/***/ "e2d8":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* unused harmony export listType */
/* unused harmony export hyperLinksType */
/* unused harmony export topicType */
/* unused harmony export videoType */
/* unused harmony export bannnerType */
/* unused harmony export imageFitType */
/* unused harmony export dropdownComponent */
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return informationPublishMap; });
/* unused harmony export loginType */
/* unused harmony export postType */
/* unused harmony export layoutTypeData */
var listType = [{
  name: '样式1',
  value: 'NewsOne'
}, {
  name: '样式2',
  value: 'NewsTwo'
}, {
  name: '样式3',
  value: 'NewsThree'
}, {
  name: '样式4',
  value: 'NewsFour'
}];
var hyperLinksType = [{
  name: '跳转链接',
  value: 'URLHref'
}, {
  name: '嵌套展示',
  value: 'URLIframe'
}];
var topicType = [{
  name: '样式1',
  value: 'HorizontalImageWall'
}, {
  name: '样式2',
  value: 'VerticalImageWall'
}];
var videoType = [{
  name: '样式1',
  value: 'NewsVideo'
}, {
  name: '样式2',
  value: 'NewsVideoTwo'
}];
var bannnerType = [{
  name: '横向',
  value: 'BannerLong'
}, {
  name: '纵向',
  value: 'BannerShort'
}];
var imageFitType = [{
  name: '拉伸铺满',
  value: 'fill'
}, {
  name: '等比缩放',
  value: 'contain'
}];
// 组件管理类型
var dropdownComponent = [{
  value: 0,
  label: 'banner'
}, {
  value: 1,
  label: '飘窗'
}, {
  value: 2,
  label: '轮播图'
}, {
  value: 3,
  label: '专题'
}, {
  value: 4,
  label: '超链接'
}];
// 信息发布模块
var informationPublishMap = {
  column: {
    columnText: 1,
    // 文字栏目
    columnImgText: 2,
    // 图文栏目
    columnVideo: 3,
    // 视频栏目
    columnFromThird: 2 // 外网栏目
  },
  columnSource: {
    columnFromThird: 2 // 外网栏目
  },
  component: {
    banner: dropdownComponent[0].value,
    // banner
    popup: dropdownComponent[1].value,
    // 飘窗
    carouse: dropdownComponent[2].value,
    // 轮播图
    topic: dropdownComponent[3].value,
    // 专题
    hyperlink: dropdownComponent[4].value // 超链接
  }
};
// 应用系统登录方式
var loginType = [{
  value: 0,
  label: '直接跳转'
}, {
  value: 3,
  label: 'auth2.0'
}, {
  value: 1,
  label: '账号登录',
  sso: true
}, {
  value: 2,
  label: '账号密码登录',
  password: true,
  sso: true
}];
// 应用系统请求方式 val 为2 则无需请求方式
var postType = [{
  value: 0,
  label: 'get'
}, {
  value: 1,
  label: 'post'
}, {
  value: 2,
  label: 'form表单get提交'
}, {
  value: 3,
  label: 'form表单post提交'
}];
// 布局方式
var layoutTypeData = [{
  value: 0,
  label: '自定义布局'
}
// {
//   value: 1,
//   label: '自动布局',
// },
];
// 门户布局组件类型
/* unused harmony default export */ var _unused_webpack_default_export = ([
// {
//   name: '导航栏',
//   code: 'E001',
//   config: {
//     componentName: 'NavigationBar',
//     configName: 'NavigationBarConfig',
//     isDraggable: false,
//     w: 1180,
//     h: 1,
//   }
// },
{
  name: '列表',
  code: 'E001',
  config: {
    componentName: 'NewsTwo',
    configName: 'NewsConfig',
    isDraggable: true,
    isResizable: true,
    w: 380,
    h: 200
  }
}, {
  name: '飘窗',
  code: 'E002',
  config: {
    componentName: 'BayWindow',
    configName: 'BayWindowConfig',
    isDraggable: true,
    isResizable: true,
    w: 380,
    h: 200,
    type: 1
  }
}, {
  name: '超链接',
  code: 'E003',
  config: {
    componentName: 'URLHref',
    configName: 'HyperLinksConfig',
    isDraggable: true,
    isResizable: true,
    w: 1180,
    h: 100,
    type: 4
  }
}, {
  name: '专题',
  code: 'E004',
  config: {
    componentName: 'HorizontalImageWall',
    configName: 'TopicConfig',
    isDraggable: true,
    isResizable: true,
    w: 380,
    h: 240,
    type: 3
  }
}, {
  name: '轮播图',
  code: 'E005',
  config: {
    componentName: 'Carousel',
    configName: 'CarouselConfig',
    isDraggable: true,
    isResizable: true,
    w: 380,
    h: 240,
    type: 2
  }
}, {
  name: '滚动图窗',
  code: 'E006',
  config: {
    componentName: 'ImageNewsTwo',
    configName: 'ImageNewsConfig',
    isDraggable: true,
    isResizable: true,
    w: 760,
    h: 240,
    type: 2
  }
}, {
  name: '视频列表',
  code: 'E007',
  config: {
    componentName: 'NewsVideo',
    configName: 'NewsVideoConfig',
    isDraggable: true,
    isResizable: true,
    w: 760,
    h: 240,
    type: 3
  }
}, {
  name: '图片列表',
  code: 'E008',
  config: {
    componentName: 'ImageNews',
    configName: 'NewsImageConfig',
    isDraggable: true,
    isResizable: true,
    w: 760,
    h: 240,
    type: 2
  }
}, {
  name: 'html',
  code: 'E010',
  config: {
    componentName: 'NewsHtml',
    configName: 'NewsHtmlConfig',
    isDraggable: true,
    isResizable: true,
    w: 1180,
    h: 350,
    type: 1
  }
}, {
  name: 'banner',
  code: 'E009',
  config: {
    componentName: 'BannerLong',
    configName: 'BannerConfig',
    isDraggable: true,
    isResizable: true,
    w: 1180,
    h: 150,
    type: 0
  }
}, {
  name: '面包屑导航',
  code: 'E0010',
  config: {
    componentName: 'Breadcrumb',
    configName: '',
    isDraggable: true,
    isResizable: true,
    w: 1180,
    h: 18
  }
}]);

/***/ }),

/***/ "fbbc":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("4ec0");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("069a62c8", content, true, {"sourceMap":false,"shadowMode":false});

/***/ })

}]);
//# sourceMappingURL=portal-homepage-nanhai.umd.31.js.map