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

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

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


// module
exports.push([module.i, ".data-source-select-tree .el-select-dropdown__wrap{max-height:100%}.data-source-select-tree .el-tree-node__content{height:36px}", ""]);

// exports


/***/ }),

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

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


// module
exports.push([module.i, ".data-source-tree[data-v-3cec5dba]::-webkit-scrollbar{width:6px}", ""]);

// exports


/***/ }),

/***/ "1401":
/***/ (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__("0cb7");
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("a653bc58", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "17d3":
/***/ (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__("0349");
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("3742a488", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "2f67":
/***/ (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_AppLoadMoreConfig_vue_vue_type_style_index_1_id_3cec5dba_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1401");
/* 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_AppLoadMoreConfig_vue_vue_type_style_index_1_id_3cec5dba_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_AppLoadMoreConfig_vue_vue_type_style_index_1_id_3cec5dba_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "9cc4":
/***/ (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":"29850416-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/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=template&id=3cec5dba&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-form',{attrs:{"model":_vm.form,"label-width":"95px","disabled":_vm.mode === 'view'}},[_c('el-form-item',{attrs:{"label":"数据来源"}},[(_vm.form.component === 'AppList')?_c('el-select',{ref:"dataSourceSelect",staticClass:"w-full",attrs:{"popper-class":"data-source-select-tree","size":"small","placeholder":"请选择栏目"},on:{"visible-change":_vm.visibleSelectChange},model:{value:(_vm.form.dataSource),callback:function ($$v) {_vm.$set(_vm.form, "dataSource", $$v)},expression:"form.dataSource"}},[_c('el-option',{style:({ padding: 0, height: '100%', fontWeight: 'normal' }),attrs:{"label":_vm.columnName,"value":_vm.form.dataSource}},[_c('el-tree',{ref:"treeRef",staticClass:"text-white max-h-274px overflow-x-hidden data-source-tree",attrs:{"props":{
            label: 'name',
            children: 'child',
          },"node-key":"id","highlight-current":"","data":_vm.filterColumnData,"expand-on-click-node":false,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeNodeClick}})],1)],1):_c('el-select',{attrs:{"placeholder":"请选择栏目","filterable":""},on:{"change":_vm.sourceChange},model:{value:(_vm.form.dataSource),callback:function ($$v) {_vm.$set(_vm.form, "dataSource", $$v)},expression:"form.dataSource"}},_vm._l((_vm.filterColumnData),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.name,"value":item.id}})}),1)],1),_c('el-form-item',{attrs:{"label":"列表样式"}},[_c('el-select',{attrs:{"placeholder":"请选择"},on:{"change":_vm.componentChange},model:{value:(_vm.form.component),callback:function ($$v) {_vm.$set(_vm.form, "component", $$v)},expression:"form.component"}},_vm._l((_vm.listType),function(item){return _c('el-option',{key:item.value,attrs:{"label":item.name,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"显示栏目名称"}},[_c('el-checkbox',{on:{"change":_vm.selectChange},model:{value:(_vm.form.showTitle),callback:function ($$v) {_vm.$set(_vm.form, "showTitle", $$v)},expression:"form.showTitle"}})],1),(_vm.form.component === 'AppList')?_c('el-form-item',{attrs:{"label":"显示摘要"}},[_c('el-checkbox',{on:{"change":_vm.selectChange},model:{value:(_vm.form.showContent),callback:function ($$v) {_vm.$set(_vm.form, "showContent", $$v)},expression:"form.showContent"}})],1):_vm._e(),_c('el-form-item',{attrs:{"label":"显示时间"}},[_c('el-checkbox',{on:{"change":_vm.selectChange},model:{value:(_vm.form.showDate),callback:function ($$v) {_vm.$set(_vm.form, "showDate", $$v)},expression:"form.showDate"}})],1),_c('el-form-item',{attrs:{"label":"显示更多"}},[_c('el-checkbox',{on:{"change":_vm.selectChange},model:{value:(_vm.form.showMore),callback:function ($$v) {_vm.$set(_vm.form, "showMore", $$v)},expression:"form.showMore"}})],1),(_vm.form.showTitle)?_c('el-form-item',{attrs:{"label":"显示名称"}},[_c('el-input',{attrs:{"placeholder":"显示名称","maxlength":"20","clearable":""},on:{"input":_vm.selectChange},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, "title", $$v)},expression:"form.title"}})],1):_vm._e(),(_vm.form.component === 'AppList')?_c('el-form-item',{attrs:{"label":"标题行数"}},[_c('el-select',{on:{"change":_vm.selectChange},model:{value:(_vm.form.row),callback:function ($$v) {_vm.$set(_vm.form, "row", $$v)},expression:"form.row"}},_vm._l((3),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1):_vm._e(),_c('layoutConfig',{attrs:{"config":_vm.config,"layoutWidth":_vm.layoutWidth,"layout":_vm.layout},on:{"layoutChange":_vm.layoutChange}})],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=template&id=3cec5dba&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.filter.js
var es_array_filter = __webpack_require__("4de4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
var es_array_find = __webpack_require__("7db0");

// 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/@wiz-api/workbench-std/lib/workbench-std.umd.js
var workbench_std_umd = __webpack_require__("78a9");

// EXTERNAL MODULE: ./src/assets/js/Common.js
var Common = __webpack_require__("2b76");

// EXTERNAL MODULE: ./src/modules/portal-management/components/appConfig/LayoutConfig.vue + 4 modules
var LayoutConfig = __webpack_require__("f4d5");

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

// 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/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=script&lang=js







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





var columnTypes = config["f" /* informationPublishMap */].column;
var columnImgTextType = columnTypes.columnImgText; // 图文栏目
var columnVideoType = columnTypes.columnVideo; // 视频栏目

var listType = [{
  name: '文字',
  value: 'AppList'
}, {
  name: '图片',
  value: 'H5VerticalNewsImageList'
}, {
  name: '视频',
  value: 'H5VerticalNewsVideoList'
}];
var columnApi = new workbench_std_umd["ColumApi"]();
/* harmony default export */ var AppLoadMoreConfigvue_type_script_lang_js = ({
  props: ['configData', 'layoutData', 'mode', 'layoutWidth', 'layout'],
  components: {
    layoutConfig: LayoutConfig["a" /* default */]
  },
  data: function data() {
    return {
      form: {
        dataSource: '',
        // 数据来源
        showContent: true,
        // 显示摘要
        showDate: true,
        // 显示时间
        showPagination: true,
        // 显示分页
        showTitle: true,
        // 显示栏目名称
        showMore: true,
        showSign: false,
        // 显示符号
        row: 1,
        // 展示行数
        col: 1,
        // 每行展示条数
        title: '',
        // 显示名称
        component: listType[0].value
      },
      columnName: '',
      listType: listType,
      config: {
        w: 10,
        h: 10,
        isAdaptive: true
      },
      columnData: [],
      defaultExpandedKeys: [],
      columnFlattenData: [],
      filterColumnData: []
    };
  },
  watch: {
    configData: {
      deep: true,
      immediate: true,
      handler: function handler(val) {
        this.form = this.$options.data().form;
        if (!_.isEmpty(val)) {
          this.columnName = '';
          _.assign(this.form, val);
          if (val.dataSource) {
            var _$find;
            this.columnName = (_$find = _.find(this.columnFlattenData, {
              id: val.dataSource
            })) === null || _$find === void 0 ? void 0 : _$find.name;
          }
        } else {
          this.selectChange();
        }
      }
    },
    layoutData: {
      deep: true,
      immediate: true,
      handler: function handler(val) {
        if (!_.isEmpty(val)) {
          this.config = _.pick(this.layoutData, ['w', 'h', 'component', 'x', 'y', 'i']);
          this.config.isAdaptive = true;
        }
      }
    }
  },
  methods: {
    getColumnData: function getColumnData() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _yield$columnApi$tree, _yield$columnApi$tree2, err, res, _$find2;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 2;
              return columnApi.tree(0);
            case 2:
              _yield$columnApi$tree = _context.sent;
              _yield$columnApi$tree2 = Object(slicedToArray["a" /* default */])(_yield$columnApi$tree, 2);
              err = _yield$columnApi$tree2[0];
              res = _yield$columnApi$tree2[1];
              if (!err) {
                _this.columnData = res;
                _this.columnFlattenData = Object(Common["b" /* treeToOneArray */])(res, 'child');
                if (_this.form.dataSource) {
                  _this.columnName = (_$find2 = _.find(_this.columnFlattenData, {
                    id: _this.form.dataSource
                  })) === null || _$find2 === void 0 ? void 0 : _$find2.name;
                }
                _this.getSourceData();
              }
            case 7:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    getSourceData: function getSourceData() {
      if (this.form.component === 'H5VerticalNewsImageList') {
        this.filterColumnData = _.filter(this.columnFlattenData, function (item) {
          return item.type === columnImgTextType;
        });
      } else if (this.form.component === 'H5VerticalNewsVideoList') {
        this.filterColumnData = _.filter(this.columnFlattenData, function (item) {
          return item.type === columnVideoType;
        });
      } else {
        this.filterColumnData = _.cloneDeep(this.columnData);
      }
    },
    sourceChange: function sourceChange() {
      var _$find3;
      this.form.title = ((_$find3 = _.find(this.columnData, {
        id: this.form.dataSource
      })) === null || _$find3 === void 0 ? void 0 : _$find3.name) || '';
      this.selectChange();
    },
    selectChange: function selectChange() {
      this.$emit('configChange', this.form);
    },
    componentChange: function componentChange() {
      this.form.dataSource = '';
      this.form.title = '';
      this.columnName;
      this.getSourceData();
      this.selectChange();
    },
    layoutChange: function layoutChange(val) {
      this.config = _.cloneDeep(val);
      this.$emit('layoutChange', val);
    },
    visibleSelectChange: function visibleSelectChange(boolean) {
      var _this2 = this;
      this.$nextTick(function () {
        if (boolean) {
          _this2.$refs.treeRef.setCurrentKey(_this2.form.dataSource); // 设置选中元素
          _this2.defaultExpandedKeys = [_this2.form.dataSource];
        } else {
          var nodeDatas = _this2.$refs.treeRef.store.nodesMap;
          _.forIn(nodeDatas, function (val) {
            val.expanded = false;
          });
        }
      });
    },
    treeNodeClick: function treeNodeClick(node) {
      this.form.dataSource = node.id;
      this.columnName = node.name;
      this.form.title = node.name;
      this.$refs.dataSourceSelect.blur();
      this.selectChange();
    }
  },
  created: function created() {
    this.getColumnData();
    this.selectChange();
  }
});
// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=script&lang=js
 /* harmony default export */ var appConfig_AppLoadMoreConfigvue_type_script_lang_js = (AppLoadMoreConfigvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=style&index=0&id=3cec5dba&prod&lang=scss
var AppLoadMoreConfigvue_type_style_index_0_id_3cec5dba_prod_lang_scss = __webpack_require__("9eaf");

// EXTERNAL MODULE: ./src/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue?vue&type=style&index=1&id=3cec5dba&prod&lang=scss&scoped=true
var AppLoadMoreConfigvue_type_style_index_1_id_3cec5dba_prod_lang_scss_scoped_true = __webpack_require__("2f67");

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

// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/AppLoadMoreConfig.vue







/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  appConfig_AppLoadMoreConfigvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "3cec5dba",
  null
  
)

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

/***/ }),

/***/ "9eaf":
/***/ (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_AppLoadMoreConfig_vue_vue_type_style_index_0_id_3cec5dba_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("17d3");
/* 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_AppLoadMoreConfig_vue_vue_type_style_index_0_id_3cec5dba_prod_lang_scss__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_AppLoadMoreConfig_vue_vue_type_style_index_0_id_3cec5dba_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

"use strict";

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29850416-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/modules/portal-management/components/appConfig/LayoutConfig.vue?vue&type=template&id=5bc72220
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{key:_vm.updateKey},[_c('el-col',{attrs:{"span":24}},[_c('el-form-item',{attrs:{"label":"宽度"}},[_c('el-input-number',{staticClass:"w-full",attrs:{"controls":false,"min":10,"max":375},on:{"change":function (curVal, oldVal) { return _vm.numChange('w', curVal, oldVal); }},model:{value:(_vm.layoutConfig.w),callback:function ($$v) {_vm.$set(_vm.layoutConfig, "w", $$v)},expression:"layoutConfig.w"}})],1),(!_vm.config.isAdaptive)?_c('el-form-item',{attrs:{"label":"高度"}},[_c('el-input-number',{staticClass:"w-full",attrs:{"controls":false,"min":10},on:{"change":function (curVal, oldVal) { return _vm.numChange('h', curVal, oldVal); }},model:{value:(_vm.layoutConfig.h),callback:function ($$v) {_vm.$set(_vm.layoutConfig, "h", $$v)},expression:"layoutConfig.h"}})],1):_vm._e()],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/LayoutConfig.vue?vue&type=template&id=5bc72220

// 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/modules/portal-management/components/appConfig/LayoutConfig.vue?vue&type=script&lang=js
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ var LayoutConfigvue_type_script_lang_js = ({
  props: {
    config: {
      type: Object,
      default: function _default() {
        return {
          w: 10,
          h: 10,
          x: 0,
          y: 0,
          isAdaptive: false // 是否自适应
        };
      }
    },
    layout: {
      type: Array,
      default: function _default() {
        return [];
      }
    }
  },
  data: function data() {
    return {
      layoutConfig: {},
      updateKey: _.random(5000)
    };
  },
  watch: {
    config: {
      deep: true,
      handler: function handler(val) {
        this.layoutConfig = _.cloneDeep(val);
      }
    }
  },
  methods: {
    numChange: function numChange(key, curVal, oldVal) {
      if (!_.isNumber(curVal)) {
        this.$set(this.layoutConfig, key, oldVal);
        this.updateKey = _.random(5000);
        return;
      }
      this.$emit('layoutChange', this.layoutConfig);
    }
  },
  mounted: function mounted() {
    this.layoutConfig = _.cloneDeep(this.config);
  }
});
// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/LayoutConfig.vue?vue&type=script&lang=js
 /* harmony default export */ var appConfig_LayoutConfigvue_type_script_lang_js = (LayoutConfigvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/portal-management/components/appConfig/LayoutConfig.vue





/* normalize component */

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

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

/***/ })

}]);
//# sourceMappingURL=portal-management-std.umd.58.js.map