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

/***/ 0:
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ 1:
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

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

"use strict";

var call = __webpack_require__("c65b");
var anObject = __webpack_require__("825a");
var isCallable = __webpack_require__("1626");
var classof = __webpack_require__("c6b6");
var regexpExec = __webpack_require__("9263");

var $TypeError = TypeError;

// `RegExpExec` abstract operation
// https://tc39.es/ecma262/#sec-regexpexec
module.exports = function (R, S) {
  var exec = R.exec;
  if (isCallable(exec)) {
    var result = call(exec, R, S);
    if (result !== null) anObject(result);
    return result;
  }
  if (classof(R) === 'RegExp') return call(regexpExec, R, S);
  throw new $TypeError('RegExp#exec called on incompatible receiver');
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var lengthOfArrayLike = __webpack_require__("07fa");
var toIntegerOrInfinity = __webpack_require__("5926");
var addToUnscopables = __webpack_require__("44d2");

// `Array.prototype.at` method
// https://tc39.es/ecma262/#sec-array.prototype.at
$({ target: 'Array', proto: true }, {
  at: function at(index) {
    var O = toObject(this);
    var len = lengthOfArrayLike(O);
    var relativeIndex = toIntegerOrInfinity(index);
    var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
    return (k < 0 || k >= len) ? undefined : O[k];
  }
});

addToUnscopables('at');


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $trim = __webpack_require__("58a8").trim;
var forcedStringTrimMethod = __webpack_require__("c8d2");

// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
  trim: function trim() {
    return $trim(this);
  }
});


/***/ }),

/***/ "4a5f":
/***/ (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/views/system-management/AppConfig.vue?vue&type=template&id=46e28af0&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:"h-full",attrs:{"body-style":{ height: '100%', overflow: 'auto' }}},[(_vm.mode === 'view')?_c('el-page-header',{attrs:{"content":_vm.title},on:{"back":_vm.cancel}}):_c('div',{staticClass:"flex items-center h-32px"},[_c('p',{staticClass:"pl-10px border-l-3px text-18px border-color-primary"},[_vm._v(_vm._s(_vm.title))])]),_c('el-form',{ref:"ruleForm",staticClass:"mt-20px min-h-[calc(100%-130px)]",attrs:{"model":_vm.ruleForm,"rules":_vm.rules,"label-width":"120px"}},[_c('el-row',{attrs:{"gutter":24}},[_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"应用程序名称","prop":"name"}},[_c('el-input',{attrs:{"disabled":_vm.canEdit,"placeholder":"请填写应用程序名称","maxlength":"50"},model:{value:(_vm.ruleForm.name),callback:function ($$v) {_vm.$set(_vm.ruleForm, "name", $$v)},expression:"ruleForm.name"}})],1)],1),_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"应用程序地址","prop":"loginUrl"}},[_c('el-input',{attrs:{"disabled":_vm.canEdit,"placeholder":"请填写应用程序地址","maxlength":"200"},model:{value:(_vm.ruleForm.loginUrl),callback:function ($$v) {_vm.$set(_vm.ruleForm, "loginUrl", $$v)},expression:"ruleForm.loginUrl"}})],1)],1),_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"跳转地址","prop":"redirectURL"}},[_c('el-input',{attrs:{"disabled":_vm.canEdit,"maxlength":"50","placeholder":"请填写跳转地址"},model:{value:(_vm.ruleForm.redirectURL),callback:function ($$v) {_vm.$set(_vm.ruleForm, "redirectURL", $$v)},expression:"ruleForm.redirectURL"}})],1)],1),_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"业务类型","prop":"type"}},[_c('el-select',{staticClass:"w-full",attrs:{"disabled":_vm.canEdit,"placeholder":"请选择业务类型"},model:{value:(_vm.ruleForm.type),callback:function ($$v) {_vm.$set(_vm.ruleForm, "type", $$v)},expression:"ruleForm.type"}},_vm._l((_vm.businessType),function(option,index){return _c('el-option',{key:index,attrs:{"label":option.displayName,"value":option.id}})}),1)],1)],1),_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"是否第三方系统","prop":"isRedirect"}},[_c('el-radio-group',{attrs:{"disabled":_vm.canEdit},model:{value:(_vm.ruleForm.isRedirect),callback:function ($$v) {_vm.$set(_vm.ruleForm, "isRedirect", $$v)},expression:"ruleForm.isRedirect"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("是")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("否")])],1)],1)],1),_c('el-col',{attrs:{"span":8}},[_c('el-form-item',{attrs:{"label":"工作台图标设置","prop":"normalIcon"}},[_c('div',{staticClass:"flex flex-col"},[_c('div',{staticClass:"flex"},[_c('div',{staticClass:"w-1/2 flex flex-col"},[_c('el-upload',{staticClass:"w-80px h-80px border-1 border-dashed border-hex-d9d9d9 rounded-6px cursor-pointer relative overflow-hidden flex justify-center items-center avatar-uploader",attrs:{"action":"","before-upload":_vm.getFileContent1,"http-request":_vm.uploadImage1,"show-file-list":false,"disabled":_vm.canEdit}},[(_vm.ruleForm.normalIcon)?_c('el-image',{staticClass:"w-full h-full",attrs:{"src":("" + _vm.fileUrl + (_vm.ruleForm.normalIcon)),"fit":"contain"}}):_c('i',{staticClass:"el-icon-plus font-28px text-hex-8c939d w-full text-center"})],1),_c('div',[_vm._v("默认图标")])],1),_c('div',{staticClass:"w-1/2 flex flex-col"},[_c('el-upload',{staticClass:"w-80px h-80px border-1 border-dashed border-hex-d9d9d9 rounded-6px cursor-pointer relative overflow-hidden flex justify-center items-center avatar-uploader",attrs:{"action":"","before-upload":_vm.getFileContent2,"http-request":_vm.uploadImage2,"show-file-list":false,"disabled":_vm.canEdit}},[(_vm.ruleForm.hoverIcon)?_c('el-image',{staticClass:"w-full h-full",attrs:{"src":("" + _vm.fileUrl + (_vm.ruleForm.hoverIcon)),"fit":"contain"}}):_c('i',{staticClass:"el-icon-plus font-28px text-hex-8c939d w-full text-center"})],1),_c('div',[_vm._v("选中图标")])],1)])])])],1),_c('el-col',{attrs:{"span":_vm.ruleForm.loginType === 1 || _vm.ruleForm.loginType === 2 ? 12 : 24}},[_c('el-form-item',{attrs:{"label":"登录方式","prop":"loginType"}},[_c('el-radio-group',{attrs:{"disabled":_vm.canEdit},on:{"input":_vm.radioChange},model:{value:(_vm.ruleForm.loginType),callback:function ($$v) {_vm.$set(_vm.ruleForm, "loginType", $$v)},expression:"ruleForm.loginType"}},_vm._l((_vm.loginTypeData),function(item){return _c('el-radio',{key:item.value,attrs:{"label":item.value}},[_vm._v(_vm._s(item.label))])}),1)],1)],1),(_vm.ruleForm.loginType === 1 || _vm.ruleForm.loginType === 2)?_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"请求方式","prop":"postType"}},[_c('el-radio-group',{attrs:{"disabled":_vm.canEdit},model:{value:(_vm.ruleForm.postType),callback:function ($$v) {_vm.$set(_vm.ruleForm, "postType", $$v)},expression:"ruleForm.postType"}},_vm._l((_vm.postTypeData),function(item){return _c('el-radio',{key:item.value,attrs:{"label":item.value}},[_vm._v(_vm._s(item.label))])}),1)],1)],1):_vm._e(),_c('el-button',{staticClass:"mb-20px",attrs:{"disabled":_vm.canEdit,"type":"primary"},on:{"click":_vm.addParam}},[_vm._v("添加登录参数")]),_c('el-col',{attrs:{"span":24}},[_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.tableLoading),expression:"tableLoading"}],ref:"table",attrs:{"data":_vm.tableData,"max-height":"250","border":""},on:{"cell-click":_vm.cellClick}},[_c('el-table-column',{attrs:{"type":"index","align":"center","label":"序号","width":"50"}}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"fieldsName","label":"参数字段名称"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":scope.row.isRowEdit},domProps:{"textContent":_vm._s(scope.row.fieldsName)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'fieldsName')},"focus":function($event){return _vm.getFocus(scope.row)}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"fieldsType","label":"参数类型"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":scope.row.isRowEdit},domProps:{"textContent":_vm._s(scope.row.fieldsType)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'fieldsType')},"focus":function($event){return _vm.getFocus(scope.row)}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"fieldsValue","label":"参数字段内容"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":scope.row.isRowEdit},domProps:{"textContent":_vm._s(scope.row.fieldsValue)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'fieldsValue')},"focus":function($event){return _vm.getFocus(scope.row)}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"type","label":"加密方式"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":scope.row.isRowEdit},domProps:{"textContent":_vm._s(scope.row.type)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'type')},"focus":function($event){return _vm.getFocus(scope.row)}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"postType","label":"提交方式"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":scope.row.isRowEdit},domProps:{"textContent":_vm._s(scope.row.postType)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'postType')},"focus":function($event){return _vm.getFocus(scope.row)}}})]}}])}),_c('el-table-column',{attrs:{"align":"center","width":"200"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"disabled":_vm.canEdit,"size":"mini"},on:{"click":function($event){return _vm.editRow(scope.row, scope.$index)}}},[_vm._v("编辑")]),_c('el-button',{attrs:{"disabled":_vm.canEdit,"size":"mini"},on:{"click":function($event){return _vm.removeRow(scope.row)}}},[_vm._v("删除")])]}}])},[_c('template',{slot:"header"},[_c('p',[_vm._v("操作")])])],2)],1)],1)],1)],1),(!_vm.canEdit)?_c('div',{staticClass:"text-center mt-20px pt-20px border-t-1px border-color-default"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("保存")]),_c('el-button',{on:{"click":_vm.cancel}},[_vm._v("取消")])],1):_vm._e(),_c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"small-dialog",attrs:{"append-to-body":"","visible":_vm.dialogVisible,"title":"新增登录传参","before-close":_vm.resetForm},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:"dialogForm",attrs:{"model":_vm.dialogForm,"rules":_vm.dialogFormRules,"label-width":"150px"}},[_c('el-form-item',{attrs:{"label":"参数字段名称","prop":"fieldsName"}},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":"请选择参数字段名称","maxlength":"50"},model:{value:(_vm.dialogForm.fieldsName),callback:function ($$v) {_vm.$set(_vm.dialogForm, "fieldsName", $$v)},expression:"dialogForm.fieldsName"}})],1),_c('el-form-item',{attrs:{"label":"参数字段类型","prop":"fieldsType"}},[_c('el-select',{attrs:{"clearable":"","placeholder":"请选择参数字段类型"},on:{"change":_vm.fieldTypechange},model:{value:(_vm.dialogForm.fieldsType),callback:function ($$v) {_vm.$set(_vm.dialogForm, "fieldsType", $$v)},expression:"dialogForm.fieldsType"}},[_c('el-option',{attrs:{"label":"系统参数","value":"系统参数"}}),_c('el-option',{attrs:{"label":"常量","value":"常量"}}),_c('el-option',{attrs:{"label":"账户","value":"账户"}}),_c('el-option',{attrs:{"label":"密码","value":"密码"}})],1)],1),(_vm.dialogForm.fieldsType === '系统参数' || _vm.dialogForm.fieldsType === '常量')?_c('el-form-item',{attrs:{"label":"参考字段内容","prop":"fieldsValue"}},[(_vm.dialogForm.fieldsType === '系统参数')?_c('el-select',{attrs:{"placeholder":"请选择业务类型"},model:{value:(_vm.dialogForm.fieldsValue),callback:function ($$v) {_vm.$set(_vm.dialogForm, "fieldsValue", $$v)},expression:"dialogForm.fieldsValue"}},[_c('el-option',{attrs:{"label":"token","value":"token"}}),_c('el-option',{attrs:{"label":"userId","value":"userId"}}),_c('el-option',{attrs:{"label":"account","value":"account"}})],1):_vm._e(),(_vm.dialogForm.fieldsType === '常量')?_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":"请输入常量","maxlength":"200"},model:{value:(_vm.dialogForm.fieldsValue),callback:function ($$v) {_vm.$set(_vm.dialogForm, "fieldsValue", $$v)},expression:"dialogForm.fieldsValue"}}):_vm._e()],1):_vm._e(),_c('el-form-item',{attrs:{"label":"加密类型","prop":"type"}},[_c('el-select',{attrs:{"placeholder":"请选择加密类型"},model:{value:(_vm.dialogForm.type),callback:function ($$v) {_vm.$set(_vm.dialogForm, "type", $$v)},expression:"dialogForm.type"}},[_c('el-option',{attrs:{"label":"AES","value":"AES"}}),_c('el-option',{attrs:{"label":"DES","value":"DES"}}),_c('el-option',{attrs:{"label":"TripleDES","value":"TripleDES"}}),_c('el-option',{attrs:{"label":"RC4","value":"RC4"}}),_c('el-option',{attrs:{"label":"Rabbit","value":"Rabbit"}}),_c('el-option',{attrs:{"label":"MD5","value":"MD5"}}),_c('el-option',{attrs:{"label":"Base64","value":"Base64"}}),_c('el-option',{attrs:{"label":"Hex","value":"Hex"}}),_c('el-option',{attrs:{"label":"不加密","value":"不加密"}})],1)],1),(
          _vm.dialogForm.type === 'AES' ||
            _vm.dialogForm.type === 'DES' ||
            _vm.dialogForm.type === 'TripleDES' ||
            _vm.dialogForm.type === 'RC4' ||
            _vm.dialogForm.type === 'Rabbit'
        )?_c('el-form-item',{attrs:{"label":"输入字符编码","prop":"inEnc"}},[_c('el-select',{attrs:{"placeholder":"请选择输入字符编码"},model:{value:(_vm.dialogForm.inEnc),callback:function ($$v) {_vm.$set(_vm.dialogForm, "inEnc", $$v)},expression:"dialogForm.inEnc"}},[_c('el-option',{attrs:{"label":"Base64","value":"Base64"}}),_c('el-option',{attrs:{"label":"Base64url","value":"Base64url"}}),_c('el-option',{attrs:{"label":"Hex","value":"Hex"}}),_c('el-option',{attrs:{"label":"Latinl","value":"Latinl"}}),_c('el-option',{attrs:{"label":"Utf16","value":"Utf16"}}),_c('el-option',{attrs:{"label":"Utf16BE","value":"Utf16BE"}}),_c('el-option',{attrs:{"label":"Utf16LE","value":"Utf16LE"}}),_c('el-option',{attrs:{"label":"Utf8","value":"Utf8"}})],1)],1):_vm._e(),(
          _vm.dialogForm.type === 'AES' ||
            _vm.dialogForm.type === 'DES' ||
            _vm.dialogForm.type === 'TripleDES'
        )?_c('el-form-item',{attrs:{"label":"加密方式","prop":"mode"}},[_c('el-select',{attrs:{"placeholder":"请选择加密方式"},model:{value:(_vm.dialogForm.mode),callback:function ($$v) {_vm.$set(_vm.dialogForm, "mode", $$v)},expression:"dialogForm.mode"}},[_c('el-option',{attrs:{"label":"CBC","value":"CBC"}}),_c('el-option',{attrs:{"label":"CFB","value":"CFB"}}),_c('el-option',{attrs:{"label":"CTR","value":"CTR"}}),_c('el-option',{attrs:{"label":"CTRGladman","value":"CTRGladman"}}),_c('el-option',{attrs:{"label":"ECB","value":"ECB"}}),_c('el-option',{attrs:{"label":"OFB","value":"OFB"}})],1)],1):_vm._e(),(
          _vm.dialogForm.type === 'AES' ||
            _vm.dialogForm.type === 'DES' ||
            _vm.dialogForm.type === 'TripleDES'
        )?_c('el-form-item',{attrs:{"label":"填充方式","prop":"pad"}},[_c('el-select',{attrs:{"placeholder":"请选择填充方式"},model:{value:(_vm.dialogForm.pad),callback:function ($$v) {_vm.$set(_vm.dialogForm, "pad", $$v)},expression:"dialogForm.pad"}},[_c('el-option',{attrs:{"label":"Ansix923","value":"Ansix923"}}),_c('el-option',{attrs:{"label":"Iso10126","value":"Iso10126"}}),_c('el-option',{attrs:{"label":"Iso97971","value":"Iso97971"}}),_c('el-option',{attrs:{"label":"NoPadding","value":"NoPadding"}}),_c('el-option',{attrs:{"label":"Pkcs7","value":"Pkcs7"}}),_c('el-option',{attrs:{"label":"ZeroPadding","value":"ZeroPadding"}})],1)],1):_vm._e(),(
          _vm.dialogForm.type === 'AES' ||
            _vm.dialogForm.type === 'DES' ||
            _vm.dialogForm.type === 'TripleDES' ||
            _vm.dialogForm.type === 'RC4' ||
            _vm.dialogForm.type === 'Rabbit'
        )?_c('el-form-item',{attrs:{"label":"秘钥","prop":"key"}},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":"请填写秘钥"},model:{value:(_vm.dialogForm.key),callback:function ($$v) {_vm.$set(_vm.dialogForm, "key", $$v)},expression:"dialogForm.key"}})],1):_vm._e(),(_vm.dialogForm.type === 'AES')?_c('el-form-item',{attrs:{"label":"密钥长度","prop":"block"}},[_c('el-select',{attrs:{"placeholder":"请选择密钥长度"},model:{value:(_vm.dialogForm.block),callback:function ($$v) {_vm.$set(_vm.dialogForm, "block", $$v)},expression:"dialogForm.block"}},[_c('el-option',{attrs:{"label":"128","value":"128"}}),_c('el-option',{attrs:{"label":"192","value":"192"}}),_c('el-option',{attrs:{"label":"256","value":"256"}})],1)],1):_vm._e(),(
          _vm.dialogForm.type === 'AES' ||
            _vm.dialogForm.type === 'DES' ||
            _vm.dialogForm.type === 'TripleDES'
        )?_c('el-form-item',{attrs:{"label":"偏移量","prop":"iv"}},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":"请填写偏移量"},model:{value:(_vm.dialogForm.iv),callback:function ($$v) {_vm.$set(_vm.dialogForm, "iv", $$v)},expression:"dialogForm.iv"}})],1):_vm._e(),(
          _vm.dialogForm.type !== 'Base64' &&
            _vm.dialogForm.type !== '' &&
            _vm.dialogForm.type !== '不加密' &&
            _vm.dialogForm.type !== 'Hex'
        )?_c('el-form-item',{attrs:{"label":"输出字符编码","prop":"outEnc"}},[_c('el-select',{attrs:{"placeholder":"请选择输出字符编码"},model:{value:(_vm.dialogForm.outEnc),callback:function ($$v) {_vm.$set(_vm.dialogForm, "outEnc", $$v)},expression:"dialogForm.outEnc"}},[_c('el-option',{attrs:{"label":"Base64","value":"Base64"}}),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base64Upper","value":"Base64Upper"}}):_vm._e(),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base64Lower","value":"Base64Lower"}}):_vm._e(),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base64url","value":"Base64url"}}):_vm._e(),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base32","value":"Base32"}}):_vm._e(),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base32Upper","value":"Base32Upper"}}):_vm._e(),(_vm.dialogForm.type === 'MD5')?_c('el-option',{attrs:{"label":"Base32Lower","value":"Base32Lower"}}):_vm._e(),_c('el-option',{attrs:{"label":"Hex","value":"Hex"}}),_c('el-option',{attrs:{"label":"Latinl","value":"Latinl"}}),_c('el-option',{attrs:{"label":"Utf16","value":"Utf16"}}),_c('el-option',{attrs:{"label":"Utf16BE","value":"Utf16BE"}}),_c('el-option',{attrs:{"label":"Utf16LE","value":"Utf16LE"}}),_c('el-option',{attrs:{"label":"Utf8","value":"Utf8"}})],1)],1):_vm._e(),(_vm.ruleForm.postType !== 2)?_c('el-form-item',{attrs:{"label":"提交方式","prop":"postType"}},[_c('el-select',{attrs:{"placeholder":"请选择提交方式"},on:{"change":_vm.changPostType},model:{value:(_vm.dialogForm.postType),callback:function ($$v) {_vm.$set(_vm.dialogForm, "postType", $$v)},expression:"dialogForm.postType"}},[_c('el-option',{attrs:{"label":"header","value":"header"}}),_c('el-option',{attrs:{"label":"url","value":"url"}}),(_vm.ruleForm.postType === 1)?_c('el-option',{attrs:{"label":"form","value":"form"}}):_vm._e(),(_vm.ruleForm.postType === 1)?_c('el-option',{attrs:{"label":"json","value":"json"}}):_vm._e()],1)],1):_vm._e()],1),_c('div',{staticClass:"flex justify-center items-center",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.submitForm('dialogForm')}}},[_vm._v("保存")]),_c('el-button',{on:{"click":function($event){return _vm.resetForm()}}},[_vm._v("取消")])],1)],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-management/views/system-management/AppConfig.vue?vue&type=template&id=46e28af0&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.at.js
var es_array_at = __webpack_require__("33d1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
var es_array_find_index = __webpack_require__("c740");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
var es_array_push = __webpack_require__("14d9");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
var es_array_splice = __webpack_require__("a434");

// 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.json.stringify.js
var es_json_stringify = __webpack_require__("e9c4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("b64b");

// 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.string.at-alternative.js
var es_string_at_alternative = __webpack_require__("ea98");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
var es_string_trim = __webpack_require__("498a");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/@wiz-api/workbench-std/lib/workbench-std.umd.js
var workbench_std_umd = __webpack_require__("78a9");

// EXTERNAL MODULE: ./node_modules/@wiz-api/data-category-management/lib/data-category-management.umd.js
var data_category_management_umd = __webpack_require__("2adf");

// EXTERNAL MODULE: ./node_modules/@wiz-api/file-management/lib/file-management.umd.js
var file_management_umd = __webpack_require__("3c33");

// 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/views/system-management/AppConfig.vue?vue&type=script&lang=js















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





var singleSignOnApi = new workbench_std_umd["SingleSignOnApi"]();
var dataCategoryApi = new data_category_management_umd["DataCategoryApi"]();
var fileApi = new file_management_umd["FileApi"]();
/* harmony default export */ var AppConfigvue_type_script_lang_js = ({
  data: function data() {
    return {
      mode: '',
      ruleForm: {
        name: '',
        loginUrl: '',
        isRedirect: true,
        redirectURL: '',
        type: '',
        backgroundColor: '',
        normalIcon: '',
        hoverIcon: '',
        loginType: 0,
        postType: 0,
        contentType: 0,
        // accountParamName: '',
        // isEncryptAccount: true,
        // accountEncriptType: 0,
        // accountEncripyKey: '',
        // accountPublicKeyUrl: '',
        // pwdParamName: '',
        // isEncripty: true,
        // pwdEncriptType: 0,
        // pwdEncripyKey: '',
        // pwdPublicKeyUrl: '',
        moreParamSetting: '',
        loginCallBack: '',
        remark: ''
      },
      rules: {
        name: [{
          required: true,
          message: '请填写应用程序名称',
          trigger: 'blur'
        }],
        loginUrl: [{
          required: true,
          message: '应用程序地址',
          trigger: 'blur'
        }],
        type: [{
          required: true,
          message: '请选择业务类型',
          trigger: 'blur'
        }],
        normalIcon: [{
          required: true,
          message: '请上传应用程序默认图标',
          trigger: 'blur'
        }],
        hoverIcon: [{
          required: true,
          message: '请上传应用程序选中图标',
          trigger: 'blur'
        }]
      },
      businessType: [],
      selectCode: 'SingleBusinessType',
      tableData: [],
      file1: '',
      file2: '',
      tableLoading: false,
      loginTypeData: config["i" /* loginType */],
      postTypeData: config["j" /* postType */],
      dialogVisible: false,
      dialogIsedit: false,
      dialogIndex: 0,
      dialogForm: {
        fieldsName: '',
        fieldsType: '',
        fieldsValue: '',
        type: '',
        inEnc: 'Utf8',
        mode: 'CBC',
        pad: 'Pkcs7',
        key: '',
        iv: '',
        outEnc: 'Utf8',
        postType: '',
        block: ''
      },
      dialogFormRules: {
        fieldsName: [{
          required: true,
          message: '请填写参数字段名称',
          trigger: 'blur'
        }],
        fieldsType: [{
          required: true,
          message: '请选择参数字段类型',
          trigger: 'change'
        }],
        fieldsValue: [{
          required: true,
          message: '请选择参数字段内容',
          trigger: 'change'
        }],
        type: [{
          required: true,
          message: '请选择加密类型',
          trigger: 'change'
        }],
        inEnc: [{
          required: true,
          message: '请选择输入字符编码',
          trigger: 'change'
        }],
        mode: [{
          required: true,
          message: '请选择加密方式',
          trigger: 'change'
        }],
        pad: [{
          required: true,
          message: '请选择填充模式',
          trigger: 'change'
        }],
        key: [{
          required: true,
          message: '请填写密钥',
          trigger: 'blur'
        }],
        block: [{
          required: true,
          message: '请选择密钥长度',
          trigger: 'change'
        }],
        iv: [{
          required: true,
          message: '请填写偏移量',
          trigger: 'blur'
        }],
        outEnc: [{
          required: true,
          message: '请选择输出字符编码',
          trigger: 'change'
        }],
        postType: [{
          required: true,
          message: '请选择提交方式',
          trigger: 'change'
        }]
      }
    };
  },
  mounted: function mounted() {
    this.mode = this.$route.query.mode;
    if (this.mode === 'view' || this.mode === 'edit') {
      this.ruleForm = this.$route.query.rowData;
      if (this.ruleForm.moreParamSetting !== '') {
        this.tableData = JSON.parse(this.ruleForm.moreParamSetting);
        if (this.mode === 'view') {
          this.tableData.forEach(function (item) {
            item.isRowEdit = false;
          });
        }
      }
    }
    this.getBusinessType();
  },
  computed: {
    canEdit: function canEdit() {
      return this.$route.query.mode === 'view';
    },
    fileUrl: function fileUrl() {
      var fileServer = Wiz.GetModuleServer('file-management');
      return "".concat(fileServer, "/api/file-management/files/public/image/");
    },
    title: function title() {
      switch (this.$route.query.mode) {
        case 'view':
          return '查看';
        case 'edit':
          return '编辑';
        default:
          return '新增';
      }
    }
  },
  methods: {
    getBusinessType: function getBusinessType() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _yield$dataCategoryAp, _yield$dataCategoryAp2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _this.businessType = [];
              _context.next = 3;
              return dataCategoryApi.getByCode({
                code: _this.selectCode,
                includeDetails: true
              });
            case 3:
              _yield$dataCategoryAp = _context.sent;
              _yield$dataCategoryAp2 = Object(slicedToArray["a" /* default */])(_yield$dataCategoryAp, 2);
              err = _yield$dataCategoryAp2[0];
              res = _yield$dataCategoryAp2[1];
              if (!err) {
                _this.businessType = res.dataItems;
                if (_this.mode === 'view' || _this.mode === 'edit') {
                  _this.businessType.forEach(function (element) {
                    if (element.displayName === _this.ruleForm.type) {
                      _this.ruleForm.type = element.id;
                    }
                  });
                }
              }
            case 8:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    uploadImage1: function uploadImage1() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$fileApi$upload, _yield$fileApi$upload2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.next = 2;
              return fileApi.upload({
                files: [_this2.file1],
                authLevel: 2
              });
            case 2:
              _yield$fileApi$upload = _context2.sent;
              _yield$fileApi$upload2 = Object(slicedToArray["a" /* default */])(_yield$fileApi$upload, 2);
              err = _yield$fileApi$upload2[0];
              res = _yield$fileApi$upload2[1];
              if (!err) {
                _this2.ruleForm.normalIcon = res === null || res === void 0 ? void 0 : res[0].id;
              }
            case 7:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    uploadImage2: function uploadImage2() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var _yield$fileApi$upload3, _yield$fileApi$upload4, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _context3.next = 2;
              return fileApi.upload({
                files: [_this3.file2],
                authLevel: 2
              });
            case 2:
              _yield$fileApi$upload3 = _context3.sent;
              _yield$fileApi$upload4 = Object(slicedToArray["a" /* default */])(_yield$fileApi$upload3, 2);
              err = _yield$fileApi$upload4[0];
              res = _yield$fileApi$upload4[1];
              if (!err) {
                _this3.ruleForm.hoverIcon = res === null || res === void 0 ? void 0 : res[0].id;
              }
            case 7:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    // 获取上传的内容
    getFileContent1: function getFileContent1(file) {
      if (!['jpg', 'jpeg', 'png'].includes(file.name.split('.').at(-1).toLowerCase())) {
        this.$message.warning('请上传图片格式文件');
        return false;
      }
      this.file1 = file;
      return true;
    },
    getFileContent2: function getFileContent2(file) {
      if (!['jpg', 'jpeg', 'png'].includes(file.name.split('.').at(-1).toLowerCase())) {
        this.$message.warning('请上传图片格式文件');
        return false;
      }
      this.file2 = file;
      return true;
    },
    cellClick: function cellClick() {},
    addParam: function addParam() {
      this.dialogIsedit = false;
      this.dialogVisible = true;
    },
    lossFocus: function lossFocus(e, scope, type) {
      var content = _.trim(e.target.textContent);
      switch (type) {
        case 'name':
          scope.row.name = content;
          break;
        case 'content':
          scope.row.content = content;
          break;
        default:
          break;
      }
    },
    getFocus: function getFocus(row) {},
    editRow: function editRow(row, index) {
      this.dialogForm = row;
      this.dialogIndex = index;
      this.dialogIsedit = true;
      this.dialogVisible = true;
    },
    removeRow: function removeRow(scope) {
      var _this4 = this;
      this.$confirm('是否删除当前数据？', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee4$(_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              _this4.tableData.splice(_this4.tableData.indexOf(scope), 1);
              // if (scope.row.isAdd) {
              //   this.tableData.splice(scope.$index, 1);
              // } else {
              //   const res = await removeTemplateData({ id: scope.row.id });
              //   if (res && res.code === 0) {
              //     this.$message.success("删除成功");
              //     this.getList();
              //   } else {
              //     this.$message.error(res.msg);
              //   }
              // }
            case 1:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }))).catch(function () {});
    },
    onSubmit: function onSubmit() {
      var _this5 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee6() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee6$(_context6) {
          while (1) switch (_context6.prev = _context6.next) {
            case 0:
              if (_this5.tableData.length !== 0) {
                _this5.ruleForm.moreParamSetting = JSON.stringify(_this5.tableData);
              }
              _this5.$refs.ruleForm.validate( /*#__PURE__*/function () {
                var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee5(valid) {
                  var _yield$singleSignOnAp, _yield$singleSignOnAp2, err, res, _yield$singleSignOnAp3, _yield$singleSignOnAp4, _err, _res;
                  return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee5$(_context5) {
                    while (1) switch (_context5.prev = _context5.next) {
                      case 0:
                        if (!valid) {
                          _context5.next = 18;
                          break;
                        }
                        if (!(_this5.mode === 'edit')) {
                          _context5.next = 11;
                          break;
                        }
                        _context5.next = 4;
                        return singleSignOnApi.updateAppssoSetting({
                          body: _this5.ruleForm
                        });
                      case 4:
                        _yield$singleSignOnAp = _context5.sent;
                        _yield$singleSignOnAp2 = Object(slicedToArray["a" /* default */])(_yield$singleSignOnAp, 2);
                        err = _yield$singleSignOnAp2[0];
                        res = _yield$singleSignOnAp2[1];
                        if (!err) {
                          _this5.$message.success('更新成功');
                          _this5.$router.go(-1);
                        }
                        _context5.next = 18;
                        break;
                      case 11:
                        _context5.next = 13;
                        return singleSignOnApi.addAppssoSetting({
                          body: _this5.ruleForm
                        });
                      case 13:
                        _yield$singleSignOnAp3 = _context5.sent;
                        _yield$singleSignOnAp4 = Object(slicedToArray["a" /* default */])(_yield$singleSignOnAp3, 2);
                        _err = _yield$singleSignOnAp4[0];
                        _res = _yield$singleSignOnAp4[1];
                        if (!_err) {
                          _this5.$message.success('新增成功');
                          _this5.$router.go(-1);
                        }
                      case 18:
                      case "end":
                        return _context5.stop();
                    }
                  }, _callee5);
                }));
                return function (_x) {
                  return _ref2.apply(this, arguments);
                };
              }());
            case 2:
            case "end":
              return _context6.stop();
          }
        }, _callee6);
      }))();
    },
    cancel: function cancel() {
      this.$router.go(-1);
    },
    submitForm: function submitForm(formName) {
      var _this6 = this;
      this.$refs[formName].validate(function (valid) {
        if (valid) {
          if (_this6.dialogIsedit) {
            _this6.tableData[_this6.dialogIndex] = _this6.dialogForm;
          } else {
            var index = _.findIndex(_this6.tableData, function (item) {
              return item.fieldsName === _this6.dialogForm.fieldsName;
            });
            if (index !== -1) {
              return _this6.$message.warning('参数字段名称不能重复');
            }
            _this6.tableData.push(_this6.dialogForm);
          }
          _this6.resetForm();
        }
        return '';
      });
    },
    resetForm: function resetForm(done) {
      var _this7 = this;
      this.dialogForm = this.$options.data().dialogForm;
      this.$nextTick(function () {
        _this7.$refs.dialogForm.clearValidate();
      });
      if (done) {
        done();
      } else {
        this.dialogVisible = false;
      }
    },
    changPostType: function changPostType(val) {
      if (val === 'form') {
        if (_.findIndex(this.tableData, function (item) {
          item.postType === 'json';
        }) !== -1) {
          this.$message.warning('post提交方式应与录入数据保持一致');
          this.dialogForm.postType = 'json';
        }
      }
      if (val === 'json') {
        if (_.findIndex(this.tableData, function (item) {
          item.postType === 'form';
        }) !== -1) {
          this.$message.warning('post提交方式应与录入数据保持一致');
          this.dialogForm.postType = 'form';
        }
      }
    },
    radioChange: function radioChange(row) {
      if (row === '直接跳转' || row === 'auth2.0') {
        this.ruleForm.postType = 2;
      }
      this.dialogIndex = 0;
      this.dialogIsedit = false;
    },
    fieldTypechange: function fieldTypechange(row) {
      this.dialogForm.fieldsValue = '';
    }
  }
});
// CONCATENATED MODULE: ./src/modules/portal-management/views/system-management/AppConfig.vue?vue&type=script&lang=js
 /* harmony default export */ var system_management_AppConfigvue_type_script_lang_js = (AppConfigvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/portal-management/views/system-management/AppConfig.vue?vue&type=style&index=0&id=46e28af0&prod&lang=scss&scoped=true
var AppConfigvue_type_style_index_0_id_46e28af0_prod_lang_scss_scoped_true = __webpack_require__("ae1b");

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

// CONCATENATED MODULE: ./src/modules/portal-management/views/system-management/AppConfig.vue






/* normalize component */

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

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

/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $filter = __webpack_require__("b727").filter;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');

// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  filter: function filter(callbackfn /* , thisArg */) {
    return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});


/***/ }),

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

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


// module
exports.push([module.i, "[data-v-46e28af0] .el-upload{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wrap[data-v-46e28af0]{white-space:pre-wrap}", ""]);

// exports


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var toAbsoluteIndex = __webpack_require__("23cb");
var toIntegerOrInfinity = __webpack_require__("5926");
var lengthOfArrayLike = __webpack_require__("07fa");
var setArrayLength = __webpack_require__("3a34");
var doesNotExceedSafeInteger = __webpack_require__("3511");
var arraySpeciesCreate = __webpack_require__("65f0");
var createProperty = __webpack_require__("8418");
var deletePropertyOrThrow = __webpack_require__("083a");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');

var max = Math.max;
var min = Math.min;

// `Array.prototype.splice` method
// https://tc39.es/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  splice: function splice(start, deleteCount /* , ...items */) {
    var O = toObject(this);
    var len = lengthOfArrayLike(O);
    var actualStart = toAbsoluteIndex(start, len);
    var argumentsLength = arguments.length;
    var insertCount, actualDeleteCount, A, k, from, to;
    if (argumentsLength === 0) {
      insertCount = actualDeleteCount = 0;
    } else if (argumentsLength === 1) {
      insertCount = 0;
      actualDeleteCount = len - actualStart;
    } else {
      insertCount = argumentsLength - 2;
      actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
    }
    doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
    A = arraySpeciesCreate(O, actualDeleteCount);
    for (k = 0; k < actualDeleteCount; k++) {
      from = actualStart + k;
      if (from in O) createProperty(A, k, O[from]);
    }
    A.length = actualDeleteCount;
    if (insertCount < actualDeleteCount) {
      for (k = actualStart; k < len - actualDeleteCount; k++) {
        from = k + actualDeleteCount;
        to = k + insertCount;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
      for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
    } else if (insertCount > actualDeleteCount) {
      for (k = len - actualDeleteCount; k > actualStart; k--) {
        from = k + actualDeleteCount - 1;
        to = k + insertCount - 1;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
    }
    for (k = 0; k < insertCount; k++) {
      O[k + actualStart] = arguments[k + 2];
    }
    setArrayLength(O, len - actualDeleteCount + insertCount);
    return A;
  }
});


/***/ }),

/***/ "ae1b":
/***/ (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_AppConfig_vue_vue_type_style_index_0_id_46e28af0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e264");
/* 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_AppConfig_vue_vue_type_style_index_0_id_46e28af0_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_AppConfig_vue_vue_type_style_index_0_id_46e28af0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var nativeKeys = __webpack_require__("df75");
var fails = __webpack_require__("d039");

var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });

// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  keys: function keys(it) {
    return nativeKeys(toObject(it));
  }
});


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $findIndex = __webpack_require__("b727").findIndex;
var addToUnscopables = __webpack_require__("44d2");

var FIND_INDEX = 'findIndex';
var SKIPS_HOLES = true;

// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });

// `Array.prototype.findIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findindex
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  findIndex: function findIndex(callbackfn /* , that = undefined */) {
    return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND_INDEX);


/***/ }),

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

"use strict";

var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
var fails = __webpack_require__("d039");
var whitespaces = __webpack_require__("5899");

var non = '\u200B\u0085\u180E';

// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
  return fails(function () {
    return !!whitespaces[METHOD_NAME]()
      || non[METHOD_NAME]() !== non
      || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
  });
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $includes = __webpack_require__("4d64").includes;
var fails = __webpack_require__("d039");
var addToUnscopables = __webpack_require__("44d2");

// FF99+ bug
var BROKEN_ON_SPARSE = fails(function () {
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
  return !Array(1).includes();
});

// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
  includes: function includes(el /* , fromIndex = 0 */) {
    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');


/***/ }),

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

"use strict";

// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__("ac1f");
var call = __webpack_require__("c65b");
var defineBuiltIn = __webpack_require__("cb2d");
var regexpExec = __webpack_require__("9263");
var fails = __webpack_require__("d039");
var wellKnownSymbol = __webpack_require__("b622");
var createNonEnumerableProperty = __webpack_require__("9112");

var SPECIES = wellKnownSymbol('species');
var RegExpPrototype = RegExp.prototype;

module.exports = function (KEY, exec, FORCED, SHAM) {
  var SYMBOL = wellKnownSymbol(KEY);

  var DELEGATES_TO_SYMBOL = !fails(function () {
    // String methods call symbol-named RegExp methods
    var O = {};
    O[SYMBOL] = function () { return 7; };
    return ''[KEY](O) !== 7;
  });

  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
    // Symbol-named RegExp methods call .exec
    var execCalled = false;
    var re = /a/;

    if (KEY === 'split') {
      // We can't use real regex here since it causes deoptimization
      // and serious performance degradation in V8
      // https://github.com/zloirock/core-js/issues/306
      re = {};
      // RegExp[@@split] doesn't call the regex's exec method, but first creates
      // a new one. We need to return the patched regex when creating the new one.
      re.constructor = {};
      re.constructor[SPECIES] = function () { return re; };
      re.flags = '';
      re[SYMBOL] = /./[SYMBOL];
    }

    re.exec = function () {
      execCalled = true;
      return null;
    };

    re[SYMBOL]('');
    return !execCalled;
  });

  if (
    !DELEGATES_TO_SYMBOL ||
    !DELEGATES_TO_EXEC ||
    FORCED
  ) {
    var nativeRegExpMethod = /./[SYMBOL];
    var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
      var $exec = regexp.exec;
      if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
        if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
          // The native String method already delegates to @@method (this
          // polyfilled function), leasing to infinite recursion.
          // We avoid it by directly calling the native @@method method.
          return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
        }
        return { done: true, value: call(nativeMethod, str, regexp, arg2) };
      }
      return { done: false };
    });

    defineBuiltIn(String.prototype, KEY, methods[0]);
    defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
  }

  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $map = __webpack_require__("b727").map;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');

// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  map: function map(callbackfn /* , thisArg */) {
    return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});


/***/ }),

/***/ "e264":
/***/ (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__("6695");
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("1cf772a9", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

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

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return listType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return hyperLinksType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return topicType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return videoType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return bannnerType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return imageFitType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return dropdownComponent; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return informationPublishMap; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return loginType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return postType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return 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: '自动布局'
}];
// 门户布局组件类型
/* harmony default export */ __webpack_exports__["b"] = ([
// {
//   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
  }
}]);

/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var uncurryThis = __webpack_require__("e330");
var requireObjectCoercible = __webpack_require__("1d80");
var toIntegerOrInfinity = __webpack_require__("5926");
var toString = __webpack_require__("577e");
var fails = __webpack_require__("d039");

var charAt = uncurryThis(''.charAt);

var FORCED = fails(function () {
  // eslint-disable-next-line es/no-string-prototype-at -- safe
  return '𠮷'.at(-2) !== '\uD842';
});

// `String.prototype.at` method
// https://tc39.es/ecma262/#sec-string.prototype.at
$({ target: 'String', proto: true, forced: FORCED }, {
  at: function at(index) {
    var S = toString(requireObjectCoercible(this));
    var len = S.length;
    var relativeIndex = toIntegerOrInfinity(index);
    var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
    return (k < 0 || k >= len) ? undefined : charAt(S, k);
  }
});


/***/ })

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