/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackJsonp_bos-platform"] = self["webpackJsonp_bos-platform"] || []).push([[7952],{

/***/ "./src/component/web/KDRichTextEditor.js":
/*!***********************************************!*\
  !*** ./src/component/web/KDRichTextEditor.js ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.ends-with.js */ \"../../node_modules/core-js/modules/es.string.ends-with.js\");\n__webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _designeraction = __webpack_require__(/*! ../../action/designeraction */ \"./src/action/designeraction.js\");\nvar _fieldaction = __webpack_require__(/*! @/action/fieldaction */ \"./src/action/fieldaction.js\");\nvar _ComposeEnhance = _interopRequireDefault(__webpack_require__(/*! ../common/ComposeEnhance */ \"./src/component/common/ComposeEnhance.js\"));\nvar _PropsComparison = _interopRequireDefault(__webpack_require__(/*! ../common/PropsComparison */ \"./src/component/common/PropsComparison.js\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _server = __webpack_require__(/*! ../../action/actionname/control/richTextEditor/server */ \"./src/action/actionname/control/richTextEditor/server/index.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _crypto = __webpack_require__(/*! @/api/crypto.js */ \"./src/api/crypto.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _index = __webpack_require__(/*! ./base/RichTextEditor/index */ \"./src/component/web/base/RichTextEditor/index.js\");\nvar _const2 = __webpack_require__(/*! @/component/web/base/RichTextEditor/TinymceEditor/const */ \"./src/component/web/base/RichTextEditor/TinymceEditor/const.js\");\nvar _util = __webpack_require__(/*! @/component/web/base/RichTextEditor/util */ \"./src/component/web/base/RichTextEditor/util.js\");\nvar _requestParamsUtil = __webpack_require__(/*! @/util/requestParamsUtil */ \"./src/util/requestParamsUtil.js\");\nvar _fetchResponseHeader = __webpack_require__(/*! @/util/fetchResponseHeader */ \"./src/util/fetchResponseHeader.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _richTextUtil = __webpack_require__(/*! @/util/richTextUtil.js */ \"./src/util/richTextUtil.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _client = __webpack_require__(/*! @/action/actionname/global/custom/client */ \"./src/action/actionname/global/custom/client/index.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _dec, _dec2, _class; // import ajaxState from '@/api/ajaxState'\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar DEFAULT_HEIGHT = '300px';\nvar KDRichTextEditor = (_dec = (0, _VisibleLockWrap[\"default\"])(false), _dec2 = (0, _ComposeEnhance[\"default\"])(_PropsComparison[\"default\"]), (0, _AttachDataWrap[\"default\"])(_class = _dec(_class = _dec2(_class = /*#__PURE__*/function (_Component) {\n  _inherits(KDRichTextEditor, _Component);\n  function KDRichTextEditor(props) {\n    var _this;\n    _classCallCheck(this, KDRichTextEditor);\n    _this = _callSuper(this, KDRichTextEditor, [props]);\n    _this.getEncodeVal = function (value) {\n      var encodeMethod = (0, _appModelFunction.getRootEncodeMethod)();\n      var newValue = encodeMethod ? (0, _crypto.getEncodeValWithPrefix)(value, encodeMethod) : value;\n      // 是否编码，只取决于formConfig中kdEncoding（后端要求）\n      return newValue;\n    };\n    _this.isCommonStyle = function () {\n      var _getComponentDataProp;\n      var model = _this.props.model;\n      var richTextEditorStyle = model.getMetaProperty('rtes');\n      var dataToolbarItems = (_getComponentDataProp = (0, _componentutil.getComponentDataProperty)(model, 'toolbarItems', 'toolbarItems', false)) === null || _getComponentDataProp === void 0 || (_getComponentDataProp = _getComponentDataProp.get('toolbarItems')) === null || _getComponentDataProp === void 0 ? void 0 : _getComponentDataProp.toJS();\n      return !dataToolbarItems && !richTextEditorStyle ? true : (0, _util.isArrayIncludesArray)(_const2.DEFAULT_SIMPLE_TOOLBARITEMS, dataToolbarItems);\n    };\n    _this.inputFocus = function (evt) {\n      _this.sendFocusEvent2Server(true);\n    };\n    _this.inputBlur = function (evt) {\n      _this.sendFocusEvent2Server(false);\n    };\n    _this.sendFocusEvent2Server = function (isFocus) {\n      var model = _this.props.model;\n      var isTriggerFocus = model.getMetaProperty(_serverproperties.FIELD_FOCUS);\n      if (isTriggerFocus) {\n        _this.props.dispatch && _this.props.dispatch((0, _fieldaction.inputFocus)(model, isFocus));\n      }\n    };\n    _this.autoPostSaveData = _this.autoPostSaveData.bind(_assertThisInitialized(_this));\n    _this.editorRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.sendPostData = _this.sendPostData.bind(_assertThisInitialized(_this));\n    _this.postData = props.model.getDataValue();\n    _this.state = {\n      reinitialize: false\n    };\n    return _this;\n  }\n  _createClass(KDRichTextEditor, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var _this$props$model = this.props.model,\n        pageId = _this$props$model.pageId,\n        key = _this$props$model.key;\n      this.sendPostData(); // 前人挖坑，富文本初始化后需要把值发到后端\n      this.removeInsertHandler = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', function (data) {\n        if (!data) return;\n        _this2.executeMethods(data);\n      });\n      this.isPropsChange = false;\n\n      // 页签交换位置元素重排，导致tinymce中iframe空白，需要重新初始化tinymce\n      this.removeTabSwapPositonListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_TAB_SWAP_POSITION, function () {\n        _this2.setState({\n          reinitialize: !_this2.state.reinitialize\n        });\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeInsertHandler && this.removeInsertHandler();\n      this.removeTabSwapPositonListener();\n    }\n  }, {\n    key: \"changeAction\",\n    value: function changeAction(value) {\n      var newVal = value;\n      var maxRichTextLength = this.props.model.getMetaProperty(_serverproperties.MAX_RICHTEXT_LENGTH) || 20;\n      var maxByteLength = maxRichTextLength * 1024 * 1024;\n      // 判断字符串是否超出最大限制\n      var textByteLength = (0, _richTextUtil.getLenByByte)(newVal);\n      // 超出，字符串截断, 并提示用户输入超出\n      if (maxByteLength && textByteLength > maxByteLength) {\n        newVal = (0, _richTextUtil.getCutStr)(newVal, maxByteLength);\n        var msg = (0, _intlApi.getLangMsg)({\n          key: 'RichTextEditor.key0001',\n          variables: {\n            maxRichTextLength: maxRichTextLength\n          }\n        });\n        (0, _appModelFunction.setDataMessages)(this.props.model.pageId, {\n          content: msg,\n          type: _const.AlertType.WARNING,\n          duration: 5000\n        });\n      }\n      this.postData = newVal;\n      value = this.getEncodeVal(newVal);\n      // 只有手动修改富文本内容才会重新发送到后端，props导致的onchange不再重新发送到后端\n      !this.isPropsChange && this.props.dispatch((0, _designeraction.setPostControlValue)(this.props.model, value)); // 回填postData数据需注意cleanPost是否执行完毕，否则会被再次清掉，导致值华北地区发送到后端\n      this.isPropsChange = false;\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var nextModel = nextProps.model;\n      var currModel = this.props.model;\n      if (nextModel.getDataValue() !== currModel.getDataValue() || nextModel.getDataValue() === currModel.getDataValue() && nextModel.getDataProperty(_const.TIME_STAMP_FRESH) !== currModel.getDataProperty(_const.TIME_STAMP_FRESH)) {\n        this.postData = nextModel.getDataValue();\n        this.isPropsChange = true;\n      }\n    }\n\n    // _sendPostData = (formatValue) => {\n    //   const { model } = this.props\n    //   const ajaxStateMap = ajaxState()\n    //   // 是否有当前pageId的请求在发送\n    //   const hasRunningAjax = Object.keys(ajaxStateMap).some(key =>\n    //     key.startsWith(model.pageId) && ajaxStateMap[key] === 'running'\n    //   )\n    //   if (hasRunningAjax) {\n    //     this.AnimationFrameId = window.requestAnimationFrame(formatValue => this._sendPostData(formatValue))\n    //   } else {\n    //     window.cancelAnimationFrame(this.AnimationFrameId)\n    //     // 没有ajax请求时，再存postData\n    //     this.sendPostData()\n    //   }\n    // }\n  }, {\n    key: \"formatContent\",\n    value: function formatContent() {\n      var content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      if (!content) return content;\n      if (content.startsWith('<p>') && content.endsWith('</p>')) {\n        return content;\n      } else {\n        return '<p>' + content + '</p>';\n      }\n    }\n  }, {\n    key: \"sendPostData\",\n    value: function sendPostData(oldVal) {\n      if (oldVal === undefined) {\n        var model = this.props.model;\n        var value = this.postData || model.getDataValue();\n        if (!value) return;\n        var formatValue = this.formatContent(value);\n        formatValue = this.getEncodeVal(value);\n        formatValue && (0, _memoryCacher.setPageData)(model.pageId, ['post', 'controls', model.key], formatValue);\n      }\n    }\n\n    /**\n     * 执行控件方法\n     * @param {[Object]} method 控件方法\n     */\n  }, {\n    key: \"executeMethods\",\n    value: function executeMethods(methods) {\n      var _this3 = this;\n      methods.forEach(function (method) {\n        var args = method.args,\n          methodname = method.methodname;\n        switch (methodname) {\n          case _server.RICH_TEXT_EDITOR_INSERT_TEXT:\n            {\n              var _args = _slicedToArray(args, 1),\n                content = _args[0];\n              if (content && _this3.editorRef.current && _this3.editorRef.current.insertContent) {\n                _this3.editorRef.current.insertContent(content);\n              }\n            }\n            break;\n          case _server.RICH_TEXT_EDITOR_SET_FOCUS:\n            if (_this3.editorRef.current && _this3.editorRef.current.focus) {\n              _this3.editorRef.current.focus();\n            }\n            break;\n          default:\n            break;\n        }\n      });\n    }\n  }, {\n    key: \"autoPostSaveData\",\n    value: function autoPostSaveData(value) {\n      // 将数据发送到服务器\n      var model = this.props.model;\n      var pageId = model.pageId,\n        key = model.key;\n      value = this.getEncodeVal(value);\n      _global[\"default\"][_global.INVOKE_CUSTOM_EVENT](pageId, '', [key, _client.CUSTOM_EVENT_AUTO_SAVE, value], true);\n    }\n  }, {\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      var oldModel = nextProps.model;\n      var newModel = this.props.model;\n      if (this.state.reinitialize !== nextState.reinitialize) return true;\n      var isSameValue = newModel.getDataValue() === oldModel.getDataValue() && newModel.getDataProperty(_const.TIME_STAMP_FRESH) === oldModel.getDataProperty(_const.TIME_STAMP_FRESH);\n      // const isModelChange = getComponentDataProperty(newModel, 'model', 'model', false) !== getComponentDataProperty(oldModel, 'model', 'model', false)\n      var isModelChange = !(0, _immutable.is)(nextProps.model.componentData, this.props.model.componentData) || !(0, _immutable.is)(nextProps.model.meta, this.props.model.meta);\n      if (isSameValue && this.props.isLocked === nextProps.isLocked && !isModelChange) {\n        return false;\n      }\n      return true;\n    }\n  }, {\n    key: \"getValue\",\n    value: function getValue() {\n      return this.postData;\n    }\n  }, {\n    key: \"addPrefix\",\n    value: function addPrefix(value) {\n      return _const.ENCRYPTION_PREFIX + value;\n    }\n  }, {\n    key: \"getCanPrint\",\n    value: function getCanPrint(model) {\n      var canPrint = (0, _componentutil.getComponentDataProperty)(model, 'ilp', 'ilp', false);\n      return canPrint !== null && canPrint !== undefined ? canPrint : false;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _getComponentDataProp2,\n        _this4 = this;\n      var customToggleToolbar = [];\n      var model = this.props.model;\n      var canPrint = this.getCanPrint(model);\n      var value = {\n        val: this.getValue(),\n        timestamp: model.getDataProperty(_const.TIME_STAMP_FRESH)\n      };\n      // const value = model.getDataValue()\n      var richTextEditorStyle = model.getMetaProperty('rtes');\n      var style = (0, _componentutil.getCommonStyle)(model);\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink,\n        AlignSelf = _getCommonClass.AlignSelf;\n      // 设置上传图片路径是绝对路径/相对路径\n      var useRelativePath = (0, _componentutil.getComponentDataProperty)(model, 'useRelativePath', 'useRelativePath', false);\n      var imageUrlPrefix = useRelativePath ? 'attachment/downloadImage/' : model.getFormConfig().fileserver;\n      var disabled = this.props.isLocked;\n      var autoSave = model.getMetaProperty('autosave');\n      var dataToolbarItems = (_getComponentDataProp2 = (0, _componentutil.getComponentDataProperty)(model, 'toolbarItems', 'toolbarItems', false)) === null || _getComponentDataProp2 === void 0 ? void 0 : _getComponentDataProp2.get('toolbarItems').toJS();\n      var toolbarItems = (0, _util.getToolbarItems)(dataToolbarItems, customToggleToolbar, richTextEditorStyle);\n      toolbarItems = (0, _util.getToolbarItemsByCondition)(toolbarItems, disabled, wordCount, canPrint);\n      // 获取当前form的语言信息\n      var locale = model.getUserLocale();\n      // 获取默认语言\n      var defaultLocale = model.getDefaultLang();\n      var autoPostSaveData = this.autoPostSaveData;\n      // 设置上传图片最大大小\n      var imageMaxSize = (0, _componentutil.getComponentDataProperty)(model, 'imageMaxSize', 'imageMaxSize', false);\n      var isCommonStyle = this.isCommonStyle();\n      var editorStyle = Object.assign({}, style, {\n        height: ''\n      });\n      var modelType = (0, _componentutil.getComponentDataProperty)(model, 'model', 'model', false);\n      var readOnly = modelType === 1; // 0 编辑模式 1 只读\n      var wordCount = readOnly ? false : (0, _util.getWordCount)(dataToolbarItems, false);\n      var containerStyle = readOnly ? {\n        width: '100%',\n        height: ''\n      } : {\n        width: '100%',\n        height: (style === null || style === void 0 ? void 0 : style.height) || DEFAULT_HEIGHT\n      };\n      var csrf = (0, _fetchResponseHeader.getResponseHeader)(_const.CSRF_TOKEN);\n      toolbarItems = readOnly ? [] : toolbarItems;\n      // 工具栏菜单中的字体和字体大小等选项支持扩展\n      var configExt = (0, _componentutil.getComponentDataProperty)(model, 'configExt', 'configExt', false);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: containerStyle,\n        className: \"kd-cq-control kd-cq-rich-text\"\n      }, /*#__PURE__*/_react[\"default\"].createElement(_index.TinymceEditor, _extends({\n        ref: this.editorRef,\n        imageMaxSize: imageMaxSize,\n        canPrint: canPrint,\n        locale: locale,\n        defaultLocale: defaultLocale,\n        style: editorStyle,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        content: value,\n        disabled: readOnly || disabled,\n        readOnly: readOnly,\n        imageUrlPrefix: imageUrlPrefix,\n        onChange: function onChange(value) {\n          return _this4.changeAction(value);\n        },\n        autoPostSaveData: autoPostSaveData,\n        autoSave: autoSave,\n        inputFocus: this.inputFocus,\n        inputBlur: this.inputBlur,\n        toolbarItems: toolbarItems,\n        wordCount: wordCount,\n        appId: (0, _requestParamsUtil.getAppId)(model),\n        fId: (0, _requestParamsUtil.getFid)(model),\n        pageId: model.pageId,\n        csrf: csrf,\n        configExt: configExt,\n        reinitialize: this.state.reinitialize\n      }, this.props.attachData)));\n    }\n  }]);\n  return KDRichTextEditor;\n}(_react.Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDRichTextEditor;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/KDRichTextEditor.js?");

/***/ }),

/***/ "./src/devportal/action/bizAppListAction.js":
/*!**************************************************!*\
  !*** ./src/devportal/action/bizAppListAction.js ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.addApp = addApp;\nexports.addCloud = addCloud;\nexports.asyncCloudList = asyncCloudList;\nexports.asyncList = asyncList;\nexports.changeBizCloud = changeBizCloud;\nexports.checkInApp = checkInApp;\nexports.checkinCloud = checkinCloud;\nexports.cleanAppCache = cleanAppCache;\nexports.codeManage = codeManage;\nexports.codeManageForSvn = codeManageForSvn;\nexports.collectApp = collectApp;\nexports.deleteApp = deleteApp;\nexports.deleteCloud = deleteCloud;\nexports.detailsApp = detailsApp;\nexports.exportApp = exportApp;\nexports.extendApp = extendApp;\nexports.gitOperationInCloud = gitOperationInCloud;\nexports.gotoBizUnit = gotoBizUnit;\nexports.gotoChecking = gotoChecking;\nexports.gotoLocatedTarget = gotoLocatedTarget;\nexports.gotoMenuManager = gotoMenuManager;\nexports.gotoScriptManager = gotoScriptManager;\nexports.importApp = importApp;\nexports.initSelectedCloud = initSelectedCloud;\nexports.modifyApp = modifyApp;\nexports.modifyCloud = modifyCloud;\nexports.previewApp = previewApp;\nexports.refreshCloudList = refreshCloudList;\nexports.refreshList = refreshList;\nexports.resortApp = resortApp;\nexports.updateApp = updateApp;\nexports.uploadApp = uploadApp;\nexports.view = view;\nexports.viewApp = viewApp;\nexports.viewCloud = viewCloud;\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _storage = _interopRequireWildcard(__webpack_require__(/*! @/util/storage */ \"./src/util/storage.js\"));\nvar _action = __webpack_require__(/*! ../../action/action */ \"./src/action/action.js\");\nvar _shortCutListAction = __webpack_require__(/*! ./shortCutListAction */ \"./src/devportal/action/shortCutListAction.js\");\nvar _service = __webpack_require__(/*! ../util/service */ \"./src/devportal/util/service.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _bizAppListReducer = __webpack_require__(/*! ../reducer/bizAppListReducer */ \"./src/devportal/reducer/bizAppListReducer.js\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction resortApp(pageId) {\n  return function (dispatch, getState) {\n    var appItems = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppItems')(getState()) || [];\n    var ids = '';\n    for (var i = 0; i < appItems.length; i++) {\n      if (i !== 0) {\n        ids += '&' + appItems[i].id;\n      } else {\n        ids += appItems[i].id;\n      }\n    }\n    var arg = {\n      ids: ids,\n      bizcloudid: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'resort_app', dispatch);\n  };\n}\nfunction collectApp(e, appId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      appid: appId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      arg: arg,\n      optKey: 'collect_app'\n    }).then(function (config) {\n      dispatch({\n        type: 'COLLECT_APP',\n        param: {\n          pageId: pageId,\n          appid: appId,\n          iscollected: config[0].p[0].isCollected\n        }\n      });\n      var scPageId = (0, _appModelFunction.findPageIdByNumber)('bos_devportal_sclist')(getState());\n      if (scPageId) {\n        dispatch((0, _shortCutListAction.asyncMyAppList)(scPageId));\n      }\n    });\n  };\n}\n\n// 清理应用元数据缓存\nfunction cleanAppCache(pageId, e) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, {}, 'cleanappcache', dispatch);\n  };\n}\n\n// 新增业务应用\nfunction addApp(e, pageId, bizCloudId, bizCloudNumber) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    // 避免双击的影响\n    var isCloudChangeing = (0, _appModelFunction.getDevportalData)(pageId, 'cloudchangeing')(getState());\n    if (isCloudChangeing === true) {\n      return;\n    }\n    var arg = {\n      bizcloudid: bizCloudId,\n      bizcloudnumber: bizCloudNumber\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'addnewapp', dispatch);\n  };\n}\n// 修改业务应用\nfunction modifyApp(e, appId, pageId, bizCloudId, bizCloudNumber) {\n  e.stopPropagation();\n  var arg = {\n    bizcloudnumber: bizCloudNumber,\n    bizcloudid: bizCloudId,\n    bizappid: appId\n  };\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, arg, 'modifyapp', dispatch);\n  };\n}\n\n// 查看业务应用\nfunction viewApp(e, appId, pageId, bizCloudId, bizCloudNumber) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudnumber: bizCloudNumber,\n      bizcloudid: bizCloudId,\n      bizappid: appId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'viewapp', dispatch);\n  };\n}\n\n// 删除业务应用\nfunction deleteApp(e, appId, index, pageId, name, curAppId, bizCloudId, number) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      pageid: pageId,\n      index: index,\n      name: name,\n      bizappnumber: number,\n      curappid: curAppId,\n      bizcloudid: bizCloudId,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'deleteapp', dispatch);\n  };\n}\n\n// 跳转到业务单元组件(页面组件)\nfunction gotoBizUnit(e, appId, pageId, bizCloudId, number, name, isv, type) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var isCloudChangeing = (0, _appModelFunction.getDevportalData)(pageId, 'cloudchangeing')(getState());\n    if (isCloudChangeing === true) {\n      return;\n    }\n    var arg = {\n      bizappid: appId,\n      bizcloudid: bizCloudId,\n      bizappname: name,\n      bizappnumber: number,\n      type: type,\n      isv: isv\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      arg: arg,\n      optKey: 'changeTab_app'\n    }).then(function (config) {\n      _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_APP, appId);\n      (0, _action.doPostActions)(pageId, config, dispatch);\n    });\n  };\n}\nfunction refreshList(items, pageId) {\n  return {\n    type: _bizAppListReducer.REFRESH_LIST,\n    param: {\n      items: items,\n      pageId: pageId\n    }\n  };\n}\n\n// 获取某业务云下所有业务应用\nfunction asyncList(bizCloudId, pageId) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: bizCloudId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      arg: arg,\n      optKey: 'listapp'\n    }).then(function (config) {\n      var _config$find;\n      var data = ((_config$find = config.find(function (action) {\n        return action.a === 'bizAppItemsList';\n      })) === null || _config$find === void 0 ? void 0 : _config$find.p) || [];\n      var items = [];\n      var isExisted = false;\n      var bizAppIdForApp = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_APP);\n      for (var i = 0; i < data.length; i++) {\n        if (data[i].id === bizAppIdForApp) {\n          isExisted = true;\n        }\n        items.push(data[i]);\n      }\n      if (!isExisted) {\n        if (data[0]) {\n          _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_APP, data[0].id);\n        } else {\n          _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_APP, '');\n        }\n      }\n      dispatch(refreshList(items, pageId));\n    });\n  };\n}\n// 用户体检\nfunction gotoChecking(e, pageId, bizCloudId) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: bizCloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_checking', dispatch);\n  };\n}\n// 跳转到应用菜单管理页面\nfunction gotoMenuManager(e, bizAppId, pageId, name) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizappname: name\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_menumanager', dispatch);\n  };\n}\n\n// 打开脚本管理页面\nfunction gotoScriptManager(bizAppId, pageId) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_scriptmanager', dispatch);\n  };\n}\n\n// 从已打包的文件中导入全部业务对象及页面到当前应用中\nfunction importApp(e, bizCloudId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: bizCloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'importapp', dispatch);\n  };\n}\n\n// 打包导出某个应用下的全部业务对象及页面\nfunction exportApp(e, bizAppId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'exportapp', dispatch);\n  };\n}\n\n// 发布业务应用\nfunction uploadApp(e, bizAppId, pageId, bizCloudId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizcloudid: bizCloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'uploadapp', dispatch);\n  };\n}\n// git管理、代码管理\nfunction codeManage(e, pageId, bizAppNumber, bizAppId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var gitmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_GIT_MESSAGE);\n    var arg = {\n      bizappid: bizAppId,\n      bizappnumber: bizAppNumber,\n      gitmsg: gitmsg\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'codemanage', dispatch);\n  };\n}\n// Svn管理\nfunction codeManageForSvn(e, pageId, bizAppNumber, bizAppId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var svnmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE);\n    var arg = {\n      bizappid: bizAppId,\n      bizappnumber: bizAppNumber,\n      svnmsg: svnmsg\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'codemanage', dispatch);\n  };\n}\n// 签入业务应用\nfunction checkInApp(e, bizAppId, codeManageType, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var svnmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE);\n    var arg = {\n      bizappid: bizAppId,\n      codemanagetype: codeManageType,\n      svnmsg: svnmsg\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'checkinapp', dispatch);\n  };\n}\n// 应用扩展\nfunction extendApp(e, bizAppId, pageId, bizCloudId, bizCloudNumber) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizcloudid: bizCloudId,\n      bizcloudnumber: bizCloudNumber\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'extendapp', dispatch);\n  };\n}\n\n// 应用预览\nfunction previewApp(e, pageId, bizAppNumber, bizappid) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappnumber: bizAppNumber,\n      bizappid: bizappid\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'previewapp', dispatch);\n  };\n}\n// 应用更新\nfunction updateApp(e, pageId, bizAppNumber, bizappid, codeManageType) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappnumber: bizAppNumber,\n      bizappid: bizappid,\n      codemanagetype: codeManageType,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'update_app', dispatch);\n  };\n}\n// 应用详情\nfunction detailsApp(e, pageId, bizAppId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'detailsapp', dispatch);\n  };\n}\n// 视图\nfunction view(e, bizAppId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'view', dispatch);\n  };\n}\nfunction initSelectedCloud(pageId, cloudId) {\n  return function (dispatch, getState) {\n    dispatch({\n      type: 'INIT_SELECTEDCLOUD',\n      param: {\n        pageId: pageId,\n        id: cloudId\n      }\n    });\n  };\n}\n\n// 新增业务云\nfunction addCloud(e, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, {}, 'addnewcloud', dispatch);\n  };\n}\n\n// 修改业务云\nfunction modifyCloud(e, cloudId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: cloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'modifycloud', dispatch);\n  };\n}\n\n// 查看业务云\nfunction viewCloud(e, cloudId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: cloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'viewcloud', dispatch);\n  };\n}\n\n// 签入业务云\nfunction checkinCloud(e, cloudId, pageId, cloudNumber, cloudName) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var svnmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE);\n    var arg = {\n      bizcloudid: cloudId,\n      bizcloudnumber: cloudNumber,\n      bizcloudname: cloudName,\n      svnsessionid: svnmsg\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'checkincloud', dispatch);\n  };\n}\n\n// 业务云 git 相关操作: commit | push\nfunction gitOperationInCloud(e, cloudId, pageId, cloudNumber, cloudName, type) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var gitmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_GIT_MESSAGE);\n    var arg = {\n      bizcloudid: cloudId,\n      bizcloudnumber: cloudNumber,\n      bizcloudname: cloudName,\n      svnsessionid: gitmsg,\n      operatekey: type\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'checkincloud', dispatch);\n  };\n}\n\n// 删除业务云\nfunction deleteCloud(e, cloudId, index, pageId, bizCloudId, name) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    // 如果要删除当前操作的业务云（即 与业务应用关联的），提示不能删除\n    if (cloudId === bizCloudId) {\n      (0, _service.invokeDevPortalService)(pageId, {}, 'showdeletetip', dispatch);\n    } else {\n      var arg = {\n        bizcloudid: cloudId,\n        name: name\n      };\n      (0, _service.invokeDevPortalService)(pageId, arg, 'deletecloud', dispatch);\n    }\n  };\n}\n// 切换业务云\nfunction changeBizCloud(e, cloudId, pageId, changeClick) {\n  return function (dispatch, getState) {\n    if (cloudId) {\n      // 将当前业务云id，保存到session中\n      _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP, cloudId);\n      // 这里修改成值获取该云下所有应用,优化后台db redis交互\n      dispatch(asyncList(cloudId, pageId));\n      // 获取切换云的信息\n      var cloudArray = (0, _appModelFunction.getDevportalData)(pageId, 'bizCloudItems')(getState()) || [];\n      var selectedCloud = cloudArray.filter(function (item) {\n        return item.id === cloudId;\n      })[0];\n      dispatch({\n        type: 'INIT_CLOUDNAME',\n        param: {\n          pageId: pageId,\n          name: selectedCloud.name\n        }\n      });\n      dispatch({\n        type: 'INIT_CLOUDID',\n        param: {\n          pageId: pageId,\n          id: selectedCloud.id\n        }\n      });\n      dispatch({\n        type: 'INIT_SELECTEDCLOUD',\n        param: {\n          pageId: pageId,\n          id: selectedCloud.id\n        }\n      });\n      dispatch({\n        type: 'INIT_CLOUDNUMBER',\n        param: {\n          pageId: pageId,\n          number: selectedCloud.number\n        }\n      });\n      // 隐藏云模块\n      changeClick();\n      dispatch({\n        type: 'cloudchangeing',\n        param: {\n          pageId: pageId,\n          data: true\n        }\n      });\n      setTimeout(function () {\n        dispatch({\n          type: 'cloudchangeing',\n          param: {\n            pageId: pageId,\n            data: false\n          }\n        });\n      }, 1000);\n    } else {\n      // 当前没有选中的业务云，提示选中业务云\n      (0, _service.invokeDevPortalService)(pageId, {}, 'showchangecloudtip', dispatch);\n    }\n  };\n}\nfunction refreshCloudList(items, pageId) {\n  return {\n    type: _bizAppListReducer.REFRESH_CLOUD_LIST,\n    param: {\n      items: items,\n      pageId: pageId\n    }\n  };\n}\n\n// 获取所有业务云\nfunction asyncCloudList(pageId) {\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'listcloud'\n    }).then(function (config) {\n      var data = config[0].p[0];\n      var clouds = data.clouds;\n      var acctisv = data.acctisv;\n      dispatch({\n        type: 'INIT_ACCTISV',\n        param: {\n          pageId: pageId,\n          acctISV: acctisv\n        }\n      });\n      var defaultCloudId = data.defaultcloudid;\n      // 如果session中存在业务云id，将session中业务云id，当做默认业务云id\n      var bizCloudIdForApp = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP);\n      if (bizCloudIdForApp) {\n        defaultCloudId = bizCloudIdForApp;\n        var isExist = false;\n        for (var i = 0; i < clouds.length; i++) {\n          if (clouds[i].id === defaultCloudId) {\n            isExist = true;\n            break;\n          }\n        }\n        if (!isExist) {\n          defaultCloudId = data.defaultcloudid;\n          _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP, defaultCloudId);\n        }\n      } else {\n        _storage[\"default\"].set(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP, defaultCloudId);\n      }\n      dispatch({\n        type: 'INIT_SELECTEDCLOUD',\n        param: {\n          pageId: pageId,\n          id: defaultCloudId\n        }\n      });\n      var items = [];\n      for (var _i = 0; _i < clouds.length; _i++) {\n        if (clouds[_i].id === defaultCloudId) {\n          dispatch({\n            type: 'INIT_CLOUDNAME',\n            param: {\n              pageId: pageId,\n              name: clouds[_i].name\n            }\n          });\n          dispatch({\n            type: 'INIT_CLOUDID',\n            param: {\n              pageId: pageId,\n              id: defaultCloudId\n            }\n          });\n          dispatch({\n            type: 'INIT_CLOUDNUM',\n            param: {\n              pageId: pageId,\n              number: clouds[_i].number\n            }\n          });\n        }\n        items.push(clouds[_i]);\n      }\n      dispatch(refreshCloudList(items, pageId));\n      dispatch(asyncList(defaultCloudId, pageId));\n    });\n  };\n}\nfunction gotoLocatedTarget(pageId) {\n  return {\n    type: _bizAppListReducer.INIT_GOTOLOCATEDTARGET,\n    param: {\n      pageId: pageId\n    }\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/action/bizAppListAction.js?");

/***/ }),

/***/ "./src/devportal/action/bizPageListAction.js":
/*!***************************************************!*\
  !*** ./src/devportal/action/bizPageListAction.js ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.addUnit = addUnit;\nexports.addnewPage = addnewPage;\nexports.asyncPageList = asyncPageList;\nexports.asyncUnitList = asyncUnitList;\nexports.changePagegrouptype = changePagegrouptype;\nexports.checkIn = checkIn;\nexports.clickUnit = clickUnit;\nexports.codeManage = codeManage;\nexports.collectPage = collectPage;\nexports.copyPage = copyPage;\nexports.deleteAppSource = deleteAppSource;\nexports.deletePage = deletePage;\nexports.deleteUnit = deleteUnit;\nexports.editUnit = editUnit;\nexports.exportMetadata = exportMetadata;\nexports.exportPage = exportPage;\nexports.extendForm = extendForm;\nexports.fastInheritPage = fastInheritPage;\nexports.gitOperate = gitOperate;\nexports.gotoLocatedTarget = gotoLocatedTarget;\nexports.gotoPageDesigner = gotoPageDesigner;\nexports.importPage = importPage;\nexports.inherit = inherit;\nexports.initCloudAndApp = initCloudAndApp;\nexports.initPageList = initPageList;\nexports.insertPage = insertPage;\nexports.layout = layout;\nexports.localeToCloud = localeToCloud;\nexports.lockPage = lockPage;\nexports.move = move;\nexports.movePage = movePage;\nexports.pag = pag;\nexports.previewPage = previewPage;\nexports.printTemplate = printTemplate;\nexports.publishForm = publishForm;\nexports.refreshPageList = refreshPageList;\nexports.refreshUnitList = refreshUnitList;\nexports.resortUnit = resortUnit;\nexports.selectOriPage = selectOriPage;\nexports.selectPage = selectPage;\nexports.selectPageFilter = selectPageFilter;\nexports.svnOperate = svnOperate;\nexports.unitGitMng = unitGitMng;\nexports.updateSvn = updateSvn;\nexports.view = view;\n__webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.sort.js */ \"../../node_modules/core-js/modules/es.array.sort.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _action = __webpack_require__(/*! ../../action/action */ \"./src/action/action.js\");\nvar _bizAppListAction = __webpack_require__(/*! ./bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _shortCutListAction = __webpack_require__(/*! ./shortCutListAction */ \"./src/devportal/action/shortCutListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _service = __webpack_require__(/*! ../util/service */ \"./src/devportal/util/service.js\");\nvar _utils = __webpack_require__(/*! ../util/utils */ \"./src/devportal/util/utils.js\");\nvar _storage = _interopRequireWildcard(__webpack_require__(/*! @/util/storage */ \"./src/util/storage.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _bizPageListReducer = __webpack_require__(/*! ../reducer/bizPageListReducer */ \"./src/devportal/reducer/bizPageListReducer.js\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction pag(pageId) {\n  return function (dispatch, getState) {\n    dispatch({\n      type: _bizPageListReducer.INIT_GOTOLOCATEDTARGET,\n      param: {\n        pageId: pageId\n      }\n    });\n  };\n}\nfunction gotoLocatedTarget(pageId) {\n  return function (dispatch, getState) {\n    dispatch({\n      type: _bizPageListReducer.INIT_GOTOLOCATEDTARGET,\n      param: {\n        pageId: pageId\n      }\n    });\n  };\n}\nfunction refreshUnitList(data, pageId) {\n  return {\n    type: _bizPageListReducer.REFRESH_UNIT_LIST,\n    param: {\n      data: data,\n      pageId: pageId\n    }\n  };\n}\nfunction changePagegrouptype(data, pageId) {\n  return {\n    type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n    param: {\n      data: data,\n      pageId: pageId\n    }\n  };\n}\nfunction resortUnit(pageId) {\n  return function (dispatch, getState) {\n    var unitItems = (0, _appModelFunction.getDevportalData)(pageId, 'bizUnitItems')(getState()) || [];\n    var ids = '';\n    for (var i = 0; i < unitItems.length; i++) {\n      if (i === 0) {\n        ids += unitItems[i].id;\n      } else {\n        ids += '&' + unitItems[i].id;\n      }\n      for (var j = 0; j < unitItems[i].children.length; j++) {\n        ids += '@' + unitItems[i].children[j].id;\n      }\n    }\n    var arg = {\n      ids: ids,\n      bizappid: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_PAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'resort_unit', dispatch);\n  };\n}\n\n// 初始化业务云与应用\nfunction initCloudAndApp(pageId) {\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'initcloudandapp'\n    }).then(function (data) {\n      data.forEach(function (action) {\n        if (action.a === 'initData') {\n          var pageObj = action.p[0];\n          dispatch({\n            type: _bizPageListReducer.INIT_BIZCLOUDNAME,\n            param: {\n              pageId: pageId,\n              name: pageObj.bizcloudname\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_BIZCLOUDID,\n            param: {\n              pageId: pageId,\n              id: pageObj.bizcloudid\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_APPID,\n            param: {\n              pageId: pageId,\n              id: pageObj.bizappid\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_APPNAME,\n            param: {\n              pageId: pageId,\n              name: pageObj.bizappname\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_CURAPPTYPE,\n            param: {\n              pageId: pageId,\n              name: pageObj.apptype\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_PARENTAPPID,\n            param: {\n              pageId: pageId,\n              id: pageObj.parentappid\n            }\n          });\n          dispatch({\n            type: _bizPageListReducer.INIT_PARENTAPPNAME,\n            param: {\n              pageId: pageId,\n              name: pageObj.parentappname\n            }\n          });\n          // 保存当前应用是否属于当前租户\n          dispatch({\n            type: _bizPageListReducer.INIT_APPBELONGSTOCURTENENT,\n            param: {\n              pageId: pageId,\n              data: [{\n                isowner: pageObj.isowner\n              }]\n            }\n          });\n          dispatch(asyncUnitList(pageId, pageObj.bizappid, pageObj.bizcloudid));\n        } else {\n          (0, _action.doPostActions)(pageId, action, dispatch);\n        }\n      });\n    });\n  };\n}\n\n/** 刷新业务云与应用\nexport function refreshCloudAndApp (pageId, appId, bizCloudId) {\n  return (dispatch, getState) => {\n    const arg = {\n      bizappid: appId,\n      bizcloudid: bizCloudId\n    }\n    doFetch({\n      pageId,\n      optKey: 'refreshcloudandapp',\n      arg\n    }).then(data => {\n      dispatch({ type: 'INIT_BIZCLOUDNAME', param: { pageId: pageId, name: data[0].p[0].bizcloudname } })\n      dispatch({ type: 'INIT_BIZCLOUDID', param: { pageId: pageId, id: data[0].p[0].bizcloudid } })\n      dispatch({ type: 'INIT_APPID', param: { pageId: pageId, id: data[0].p[0].bizappid } })\n      dispatch({ type: 'INIT_PARENTAPPID', param: { pageId: pageId, id: data[0].p[0].parentappid } })\n      dispatch({ type: 'INIT_APPNAME', param: { pageId: pageId, name: data[0].p[0].bizappname } })\n      const oriAppId = data[0].p[0].parentappid\n      if (oriAppId && oriAppId != ' ') {\n        dispatch(async_extunit_list(pageId, data[0].p[0].bizappid, data[0].p[0].bizcloudid))\n      } else {\n        dispatch(asyncUnitList(pageId, data[0].p[0].bizappid, data[0].p[0].bizcloudid))\n      }\n    })\n  }\n}\n*/\n// 跳转回应用组件\nfunction localeToCloud(pageId, bizCloudId, bizAppId) {\n  return function (dispatch, getState) {\n    var arg = {};\n    (0, _service.invokeDevPortalService)(pageId, arg, 'changeTab_unit', dispatch);\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'localetocloud'\n    }).then(function (config) {\n      var data = config.find(function (action) {\n        return action.a === 'apppageid';\n      }) || {};\n      _storage[\"default\"].setList([{\n        key: _storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP,\n        value: bizCloudId\n      }, {\n        key: _storage.KD_DEV_PORTAL_BIZ_APP_ID_FOR_APP,\n        value: bizAppId\n      }]);\n      dispatch((0, _bizAppListAction.asyncCloudList)(data.p[0].apppageid));\n    });\n  };\n}\n\n// 取回所有业务单元\nfunction asyncUnitList(pageId, appId, bizCloudId) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'listunit',\n      arg: arg\n    }).then(function (data) {\n      var _data$find;\n      var items = ((_data$find = data.find(function (action) {\n        return action.a === _bizPageListReducer.REFRESH_UNIT_LIST;\n      })) === null || _data$find === void 0 ? void 0 : _data$find.p) || [];\n      for (var i = 0; i < items.length; i++) {\n        items[i].isShow = false;\n      }\n      var appType = items[0].apptype;\n      // 将二级功能分组绑定到一级功能分组\n      var firstItems = resortUnitList(items);\n      var initUnitId = '';\n      var initUnitName = '';\n      var initUnitType = '';\n      if (firstItems.length > 0) {\n        initUnitId = firstItems[0].id;\n        initUnitName = firstItems[0].name;\n        initUnitType = firstItems[0].unittype;\n      }\n      // 判断当前是否已经存在选中的功能分组、如果有，说明入口为搜索或收藏进入\n      // 如果没有则说明为初始化进入\n      var selectedUnitId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedUnitId')(getState());\n      if (!selectedUnitId) {\n        // 初始化选中的业务单元\n        dispatch({\n          type: _bizPageListReducer.INIT_SELECTEDUNITID,\n          param: {\n            pageId: pageId,\n            id: initUnitId\n          }\n        });\n        dispatch({\n          type: _bizPageListReducer.INIT_SELECTEDUNITNAME,\n          param: {\n            pageId: pageId,\n            id: initUnitId,\n            name: initUnitName\n          }\n        });\n        // 存入map缓存\n        dispatch(refreshUnitList(firstItems, pageId));\n        // 初始化当前业务单元下的所有页面\n        if (appType === '2') {\n          dispatch({\n            type: _bizPageListReducer.INIT_SELECTEDUNITTYPE,\n            param: {\n              pageId: pageId,\n              type: initUnitType\n            }\n          });\n        }\n        dispatch(asyncPageList(appId, initUnitId, pageId));\n      }\n    });\n  };\n}\nfunction compare(property) {\n  return function (a, b) {\n    var val1 = a[property];\n    var val2 = b[property];\n    return val1 - val2;\n  };\n}\n// 二级功能分组绑定一级功能分组\nfunction resortUnitList(items) {\n  var firstItems = [];\n  var lastItems = [];\n  // 重新组装数据\n  if (items.length > 0) {\n    // 1、获得所有一级业务单元的id集合\n    for (var i = 0; i < items.length; i++) {\n      // 一级功能分组\n      if (items[i].parentid == null || (0, _utils.trim)(items[i].parentid) === '') {\n        firstItems.push(items[i]);\n      } else {\n        // 二级功能分组\n        lastItems.push(items[i]);\n      }\n    }\n    firstItems.sort(compare('seq'));\n    lastItems.sort(compare('seq'));\n    // 2、将二级功能分组挂到一级功能分组下\n    for (var _i = 0; _i < lastItems.length; _i++) {\n      for (var j = 0; j < firstItems.length; j++) {\n        if ((0, _utils.trim)(firstItems[j].id) === (0, _utils.trim)(lastItems[_i].parentid) && firstItems[j].children.indexOf(lastItems[_i]) === -1) {\n          firstItems[j].children.push(lastItems[_i]);\n          break;\n        }\n      }\n    }\n  }\n  return firstItems;\n}\n\n// 导出功能\nfunction exportMetadata(e, pageId, itemType, props, hideChangeMore) {\n  if (itemType === 'page') {\n    return exportPage(e, pageId, props, hideChangeMore);\n  }\n}\n\n// 移动\nfunction move(e, pageId, itemType, props, hideChangeMore) {\n  if (itemType === 'page') {\n    return movePage(e, pageId, props, hideChangeMore);\n  } else if (itemType === 'card') {\n    return moveCard(e, pageId, props, hideChangeMore);\n  }\n}\n\n// 获取业务单元下的所有页面\nfunction asyncPageList(bizAppId, bizUnitId, pageId) {\n  return function (dispatch, getState) {\n    // setPageData(pageId, PAGE_LOADING, true)\n    var items = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(getState()) || [];\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      deviceGroup: items[0],\n      pageItemPageGroup: items[1],\n      SortBizPageGroup: items[2]\n    };\n    // 这里用dofetch是因为先发的invoke请求的回调会在后发的fetch请求的回调之后执行，导致数据被覆盖掉\n    dispatch(clickUnit(bizAppId, '', bizUnitId, '', '', pageId));\n    // const requestKey = makeAjaxKey(pageId, 'bizcustomlistap', 'itemClick')\n    // proxy.disableDisposeAction(requestKey)\n    // invokeDevPortalService(pageId, arg, 'listpage', dispatch)\n    // proxy.allowDisposeAction(requestKey)\n  };\n}\nfunction refreshPageList(data, pageId) {\n  return {\n    type: _bizPageListReducer.REFRESH_PAGE_LIST,\n    param: {\n      data: data,\n      pageId: pageId\n    }\n  };\n}\n\n// 点击业务单元\nfunction clickUnit(bizAppId, bizappType, bizUnitId, bizUnitType, bizUnitName, pageId) {\n  return function (dispatch, getState) {\n    var filterCondition = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(getState()) || [];\n    var deviceGroup = 'all';\n    var pageGroup = 'AllFormModel';\n    var sortBizPageGroup = 'number';\n    if (filterCondition.length > 0) {\n      deviceGroup = filterCondition[0];\n      pageGroup = filterCondition[1];\n      sortBizPageGroup = filterCondition[2];\n    }\n    dispatch(selectPageFilter(pageId, bizAppId, bizappType, bizUnitId, bizUnitType, deviceGroup, pageGroup, sortBizPageGroup));\n  };\n}\n\n// 新增业务单元\nfunction addUnit(appId, pageId, selectedUnitId, selectedUnitName, devType) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      selectedunitid: selectedUnitId\n    };\n    if (devType && devType == 'expand') {\n      arg.devtype = devType;\n    }\n    (0, _service.invokeDevPortalService)(pageId, arg, 'addnewunit', dispatch);\n  };\n}\n\n// 修改业务单元\nfunction editUnit(e, bizUnitId, bizUnitName, appId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      bizunitid: bizUnitId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'editunit', dispatch);\n  };\n}\n\n// 删除业务单元\nfunction deleteUnit(e, bizUnitId, bizUnitName, bizAppId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizunitid: bizUnitId,\n      bizunitname: bizUnitName,\n      bizappid: bizAppId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'deleteunit', dispatch);\n  };\n}\n// 新增页面\nfunction addnewPage(e, bizUnitId, appId, pageId) {\n  if (e) {\n    e.stopPropagation();\n  }\n  return function (dispatch, getState) {\n    var items = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(getState()) || [];\n    var arg = {\n      bizunitid: bizUnitId,\n      bizappid: appId,\n      deviceGroup: items[0],\n      pageItemPageGroup: items[1],\n      SortBizPageGroup: items[2]\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'addnewpage', dispatch);\n  };\n}\n\n// 删除页面\nfunction deletePage(e, formId, formName, isCollection, appId, bizUnitId, pageId, biznumber) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var items = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(getState()) || [];\n    var arg = {\n      formid: formId,\n      formname: formName,\n      bizunitid: bizUnitId,\n      bizappid: appId,\n      iscollection: isCollection,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE),\n      deviceGroup: items[0],\n      pageItemPageGroup: items[1],\n      SortBizPageGroup: items[2],\n      biznumber: biznumber\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'deletepage', dispatch);\n  };\n}\n// 删除应用下资源\nfunction deleteAppSource(parentPageId, pageId, source, bizAppId, bizUnitId, type) {\n  return function (dispatch, getState) {\n    var items = (0, _appModelFunction.getDevportalData)(parentPageId, 'pageFilterItem')(getState()) || [];\n    var arg = {\n      source: source,\n      bizunitid: bizUnitId,\n      bizappid: bizAppId,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE),\n      pageid: pageId,\n      type: type,\n      deviceGroup: items[0],\n      pageItemPageGroup: items[1],\n      SortBizPageGroup: items[2]\n    };\n    (0, _service.invokeDevPortalService)(parentPageId, arg, 'deleteappsource', dispatch);\n  };\n}\n// 进入页面设计器\nfunction gotoPageDesigner(e, id, number, pageId) {\n  if (e) {\n    e.stopPropagation();\n  }\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      number: number\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotopagedesigner', dispatch);\n  };\n}\n\n// 分组git管理\nfunction unitGitMng(e, bizUnitId, bizUnitName, appId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      bizunitid: bizUnitId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'codemanage', dispatch);\n  };\n}\n\n// 收藏或取消收藏页面\nfunction collectPage(e, index, formId, appId, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      bizpageid: formId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'collectpage',\n      arg: arg\n    }).then(function (config) {\n      var data = config.find(function (action) {\n        return action.a === 'isCollected';\n      }) || {};\n      dispatch({\n        type: _bizPageListReducer.COLLECT_PAGE,\n        param: {\n          pageId: pageId,\n          formId: formId,\n          isCollection: data.p[0].isCollection\n        }\n      });\n      var scPageId = (0, _appModelFunction.findPageIdByNumber)('bos_devportal_sclist')(getState());\n      if (scPageId) {\n        dispatch((0, _shortCutListAction.asyncMyPageList)(scPageId));\n      }\n    });\n  };\n}\n// 移动页面\nfunction insertPage(e, pageId, appId, bizUnitId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: appId,\n      bizunitid: bizUnitId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'insertpage',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n  };\n}\n\n// 选择页面\nfunction selectPage(e, id, pageId) {\n  return function (dispatch, getState) {\n    dispatch({\n      type: _bizPageListReducer.INIT_SELECTEDPAGE,\n      param: {\n        pageId: pageId,\n        id: id\n      }\n    });\n  };\n}\n\n// 扩展应用选择页面\nfunction selectOriPage(e, id, pageId) {\n  return function (dispatch, getState) {\n    dispatch({\n      type: _bizPageListReducer.INIT_SELECTEDPAGE,\n      param: {\n        pageId: pageId,\n        id: id\n      }\n    });\n  };\n}\n\n// 预览\nfunction previewPage(e, pageId, props) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'previewpage', dispatch);\n  };\n}\n// 布局\nfunction layout(e, pageId, arg, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'layout',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n    hideChangeMore(e);\n  };\n}\n// 继承\nfunction inherit(e, pageId, arg, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'inherit',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n    hideChangeMore && hideChangeMore(e);\n  };\n}\n\n// 继承\nfunction publishForm(e, pageId, props, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'publishform', dispatch);\n  };\n}\n\n// 快速继承\nfunction fastInheritPage(e, pageId, appId, selectedUnitId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      appid: appId,\n      unitid: selectedUnitId\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'fastinherit',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n  };\n}\n\n// 扩展应用扩展\nfunction extendForm(e, pageId, arg) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'extend_EA',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n  };\n}\n// 打印模板\nfunction printTemplate(e, pageId, arg, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'printtemplate',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n    hideChangeMore(e);\n  };\n}\n// 导入\nfunction importPage(e, pageId, selectedunitid, appid, unitType) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      selectedunitid: selectedunitid,\n      appid: appid,\n      unitType: unitType\n    };\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'importpage',\n      arg: arg\n    }).then(function (config) {\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      var arr = ['all', 'AllFormModel', 'number'];\n      dispatch({\n        type: _bizPageListReducer.CHANGE_PAGEGROUPTYPE,\n        param: {\n          pageId: pageId,\n          data: arr\n        }\n      });\n    });\n  };\n}\n// 导出\nfunction exportPage(e, pageId, props, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'exportpage', dispatch);\n    hideChangeMore(e);\n  };\n}\n// 签入\nfunction checkIn(pageId, args, e) {\n  if (e) {\n    e.stopPropagation();\n  }\n  var arg = Object.assign({}, args);\n  arg.svnmsg = _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE);\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, arg, 'checkin', dispatch);\n  };\n}\n// 视图\nfunction view(e, pageId, props) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'view', dispatch);\n  };\n}\n// 更新SVN\nfunction updateSvn(e, pageId, bizappid, bizpagenumber, bizunitid, bizformid) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var args = {\n      bizappid: bizappid,\n      bizunitid: bizunitid,\n      bizpagenumber: bizpagenumber,\n      bizformid: bizformid,\n      username: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_USER_NAME),\n      password: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_PASSWORD)\n    };\n    (0, _service.invokeDevPortalService)(pageId, args, 'updateSvn', dispatch);\n  };\n}\n\n// 常用查询\nfunction selectPageFilter(pageId, bizAppId, bizappType, bizUnitId, bizUnitType, deviceGroup, pageGroup, sortBizPageGroup) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizselectedunitId: bizUnitId,\n      bizpageid: pageId,\n      deviceGroup: deviceGroup,\n      pageGroup: pageGroup,\n      sortBizPageGroup: sortBizPageGroup\n    };\n    (0, _memoryCacher.setPageData)(pageId, _const.PAGE_LOADING, true);\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'selectpagefilter',\n      arg: arg\n    }).then(function (config) {\n      if (bizappType === '2') {\n        dispatch({\n          type: _bizPageListReducer.INIT_SELECTEDUNITTYPE,\n          param: {\n            pageId: pageId,\n            type: bizUnitType\n          }\n        });\n      }\n      (0, _action.doPostActions)(pageId, config, dispatch);\n      (0, _memoryCacher.setPageData)(pageId, _const.PAGE_LOADING, false);\n    });\n  };\n}\n// 复制\nfunction copyPage(e, pageId, props, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'copypage', dispatch);\n    hideChangeMore(e);\n  };\n}\n// 移动\nfunction movePage(e, pageId, props, hideChangeMore) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, props, 'movepage', dispatch);\n    hideChangeMore(e);\n  };\n}\nfunction initPageList(pageId, bizAppId, bizUnitId) {\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'initpagelist', dispatch);\n  };\n}\n\n// svn 操作\nfunction svnOperate(pageId, id, type, svnOperateKey, e) {\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      type: type,\n      svnoperatekey: svnOperateKey,\n      svnmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_SVN_MESSAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'svnoperate', dispatch);\n  };\n}\nfunction codeManage(e, pageId) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, {}, 'codemanage', dispatch);\n  };\n}\n// git 操作\nfunction gitOperate(pageId, id, type, gitOperateKey, e) {\n  var isPage = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n  var bizappnumber = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';\n  return function (dispatch, getState) {\n    var arg;\n    if (isPage) {\n      arg = {\n        id: id,\n        type: type,\n        gitoperatekey: gitOperateKey,\n        gitmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_GIT_MESSAGE)\n      };\n    } else {\n      arg = {\n        bizappid: id,\n        type: type,\n        gitoperatekey: gitOperateKey,\n        gitmsg: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_GIT_MESSAGE)\n      };\n    }\n    if (['export', 'import'].includes(gitOperateKey)) {\n      arg.bizappnumber = bizappnumber;\n    }\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gitoperate', dispatch);\n  };\n}\nfunction lockPage(bizid, bizappid, bizunitid, biznumber, pageId) {\n  return function (dispatch, getState) {\n    var items = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(getState()) || [];\n    var arg = {\n      bizid: bizid,\n      bizappid: bizappid,\n      bizunitid: bizunitid,\n      biznumber: biznumber,\n      deviceGroup: items[0],\n      pageItemPageGroup: items[1],\n      SortBizPageGroup: items[2]\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'lockform', dispatch);\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/action/bizPageListAction.js?");

/***/ }),

/***/ "./src/devportal/action/scriptSampleAction.js":
/*!****************************************************!*\
  !*** ./src/devportal/action/scriptSampleAction.js ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.debugScriptSample = debugScriptSample;\nexports.initScriptsample = initScriptsample;\nexports.runScriptSample = runScriptSample;\nexports.startDebug = startDebug;\n__webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _service = __webpack_require__(/*! ../util/service */ \"./src/devportal/util/service.js\");\nvar _utils = __webpack_require__(/*! ../util/utils */ \"./src/devportal/util/utils.js\");\nfunction initScriptsample(pageId) {\n  return function (dispatch, getState) {\n    (0, _service.doFetch)({\n      pageId: pageId,\n      optKey: 'initscriptsample'\n    }).then(function (config) {\n      var data = config.find(function (action) {\n        return action.a === 'scriptsample';\n      }) || {};\n      dispatch({\n        type: 'SCRIPTSAMPLE',\n        param: {\n          pageId: pageId,\n          data: data.p\n        }\n      });\n    });\n  };\n}\nfunction runScriptSample(e, pageId, scriptSample) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, (0, _utils.encodeScript)(scriptSample, 'scriptcontent'), 'runscriptsample', dispatch);\n  };\n}\nfunction debugScriptSample(e, pageId, scriptSample) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, (0, _utils.encodeScript)(scriptSample, 'scriptcontent'), 'debugscriptsample', dispatch);\n  };\n}\nfunction startDebug(e, pageId, debugIds) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, debugIds, 'startdebug', dispatch);\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/action/scriptSampleAction.js?");

/***/ }),

/***/ "./src/devportal/action/searchListAction.js":
/*!**************************************************!*\
  !*** ./src/devportal/action/searchListAction.js ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.SEARCHBYNUMBERORNAME = exports.REFRESHSEARCHLIST = void 0;\nexports.gotoBizApp = gotoBizApp;\nexports.gotoBizPage = gotoBizPage;\nexports.gotoCardPos = gotoCardPos;\nexports.gotoKDE = gotoKDE;\nexports.gotoPageDesigner = gotoPageDesigner;\nexports.gotoScriptPos = gotoScriptPos;\nexports.searchByNumberOrName = searchByNumberOrName;\nexports.unitClick = unitClick;\nvar _service = __webpack_require__(/*! ../util/service */ \"./src/devportal/util/service.js\");\nvar SEARCHBYNUMBERORNAME = exports.SEARCHBYNUMBERORNAME = 'SEARCHBYNUMBERORNAME';\nvar REFRESHSEARCHLIST = exports.REFRESHSEARCHLIST = 'REFRESHSEARCHLIST';\nfunction gotoPageDesigner(e, id, number, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      number: number\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotopagedesigner', dispatch);\n  };\n}\nfunction gotoBizApp(pageId, e, bizAppId, bizCloudId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizcloudid: bizCloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_bizapp', dispatch);\n  };\n}\nfunction searchByNumberOrName(pageId, value) {\n  return function (dispatch, getState) {\n    if (value) {\n      var arg = {\n        value: value\n      };\n      (0, _service.invokeDevPortalService)(pageId, arg, 'search', dispatch);\n    } else {\n      dispatch({\n        type: 'REFRESHSEARCHLIST',\n        param: {\n          pageId: pageId,\n          data: [{\n            appitems: [],\n            pageitems: []\n          }]\n        }\n      });\n    }\n  };\n}\nfunction gotoBizPage(e, bizCloudId, bizAppId, bizUnitId, bizPageId, pageId, pageName) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: bizCloudId,\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizunitName: pageName,\n      bizpageid: bizPageId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_bizpage', dispatch);\n  };\n}\nfunction gotoScriptPos(e, pageId, bizAppId, bizUnitId, bizPageId, bizScriptId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizpageid: bizPageId,\n      bizscriptid: bizScriptId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotoscriptpos', dispatch);\n  };\n}\nfunction gotoKDE(e, pageId, scriptId, bizAppId, bizUnitId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizpageid: scriptId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotokde', dispatch);\n  };\n}\nfunction gotoCardPos(e, pageId, bizAppId, bizUnitId, bizPageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizpageid: bizPageId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotocardpos', dispatch);\n  };\n}\nfunction unitClick(e, pageId, bizAppId, bizUnitId, bizPageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizpageid: bizPageId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'unitclick', dispatch);\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/action/searchListAction.js?");

/***/ }),

/***/ "./src/devportal/action/shortCutListAction.js":
/*!****************************************************!*\
  !*** ./src/devportal/action/shortCutListAction.js ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.asyncMyAppList = asyncMyAppList;\nexports.asyncMyPageList = asyncMyPageList;\nexports.deleteMyAppItem = deleteMyAppItem;\nexports.deleteMyPageItem = deleteMyPageItem;\nexports.gotoBizApp = gotoBizApp;\nexports.gotoBizPage = gotoBizPage;\nexports.gotoPageDesigner = gotoPageDesigner;\nvar _storage = _interopRequireWildcard(__webpack_require__(/*! @/util/storage */ \"./src/util/storage.js\"));\nvar _service = __webpack_require__(/*! ../util/service */ \"./src/devportal/util/service.js\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction gotoPageDesigner(e, id, number, pageId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      number: number\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'gotopagedesigner', dispatch);\n  };\n}\nfunction gotoBizApp(pageId, e, bizAppId, bizCloudId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizappid: bizAppId,\n      bizcloudid: bizCloudId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_bizapp', dispatch);\n  };\n}\nfunction deleteMyAppItem(e, id, pageId, bizCloudId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      bizcloudid: bizCloudId,\n      curcloudid: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_BIZ_CLOUD_ID_FOR_APP)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'deletemyapp', dispatch);\n  };\n}\nfunction asyncMyAppList(pageId) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, {}, 'listmyapp', dispatch);\n  };\n}\nfunction deleteMyPageItem(e, id, pageId, bizUnitId, bizAppId) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      id: id,\n      bizunitid: bizUnitId,\n      bizappid: bizAppId,\n      curunitid: _storage[\"default\"].get(_storage.KD_DEV_PORTAL_UNIT_ID_FOR_PAGE)\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'deletemypage', dispatch);\n  };\n}\nfunction asyncMyPageList(pageId) {\n  return function (dispatch, getState) {\n    (0, _service.invokeDevPortalService)(pageId, {}, 'listmypage', dispatch);\n  };\n}\nfunction gotoBizPage(e, bizCloudId, bizAppId, bizUnitId, bizPageId, pageId, pageName) {\n  e.stopPropagation();\n  return function (dispatch, getState) {\n    var arg = {\n      bizcloudid: bizCloudId,\n      bizappid: bizAppId,\n      bizunitid: bizUnitId,\n      bizunitName: pageName,\n      bizpageid: bizPageId\n    };\n    (0, _service.invokeDevPortalService)(pageId, arg, 'goto_bizpage', dispatch);\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/action/shortCutListAction.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/AppContent.js":
/*!********************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/AppContent.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.Content = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _bizAppListAction = __webpack_require__(/*! ../../action/bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _Operate = _interopRequireDefault(__webpack_require__(/*! ./Operate */ \"./src/devportal/component/BizAppListComponents/Operate.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 应用内容\n */\nvar AppContent = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(AppContent, _Component);\n  function AppContent() {\n    _classCallCheck(this, AppContent);\n    return _callSuper(this, AppContent, arguments);\n  }\n  _createClass(AppContent, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state,\n        curAppId = _this$props.curAppId,\n        fileConfig = _this$props.fileConfig;\n      var _this$props$appInfo = this.props.appInfo,\n        bizAppId = _this$props$appInfo.bizAppId,\n        bizAppName = _this$props$appInfo.bizAppName,\n        bizAppNum = _this$props$appInfo.bizAppNum,\n        bizAppIsv = _this$props$appInfo.bizAppIsv,\n        bizAppType = _this$props$appInfo.bizAppType,\n        bizCloudId = _this$props$appInfo.bizCloudId,\n        bizCloudNumber = _this$props$appInfo.bizCloudNumber,\n        industryShort = _this$props$appInfo.industryShort,\n        isowner = _this$props$appInfo.isowner,\n        index = _this$props$appInfo.index,\n        isCollected = _this$props$appInfo.isCollected,\n        image = _this$props$appInfo.image,\n        deploystatus = _this$props$appInfo.deploystatus,\n        version = _this$props$appInfo.version,\n        industry = _this$props$appInfo.industry,\n        mastername = _this$props$appInfo.mastername;\n      var iconVisiable = state.visiable ? 'visiable' : 'unvisiable';\n      var collectedStyle = isCollected === 1 ? (0, _SvgUtil.svgCollected)() : (0, _SvgUtil.svgCollect)();\n      var appNameStyle = image === ' ' ? 'appNameNoIcon' : '';\n      var imageUrl = (0, _componentutil.getImgFullPath)(fileConfig, image);\n      var extVisible = bizAppType !== '2';\n      var appStatus = ['', (0, _intlApi.getLangMsg)({\n        key: 'applist.weiqiyong'\n      }), (0, _intlApi.getLangMsg)({\n        key: 'applist.yiqiyong'\n      })];\n      var masterIdVisiable = bizAppType === '2';\n      var appIndustry;\n      var industryVisible = true;\n      if (typeof industryShort !== 'undefined') {\n        appIndustry = industryShort;\n      } else {\n        industryVisible = false;\n      }\n      var deleteShowOrHide = state.visiable ? 'visiable' : 'unvisiable';\n      var editShowOrHide = state.visiable ? 'visiable' : 'unvisiable';\n      var viewShowOrHide = state.visiable ? 'visiable' : 'unvisiable';\n      var star, chakan, appType, icontag;\n      if (isowner) {\n        star = 'icon-star-svg';\n        chakan = (0, _SvgUtil.svgChakan)();\n        viewShowOrHide = 'visiable';\n      } else {\n        if (bizAppIsv === 'kingdee') {\n          star = 'icon-notowner-star-svg';\n          chakan = (0, _SvgUtil.svgNotownerChakan)();\n          deleteShowOrHide = 'visiable';\n        } else {\n          star = 'icon-notowner-star-third-svg';\n          chakan = (0, _SvgUtil.svgChakan)();\n        }\n        editShowOrHide = 'visiable';\n      }\n      if (bizAppType === '2') {\n        appType = (0, _intlApi.getLangMsg)({\n          key: 'applist.leixing.kuozhan'\n        });\n      } else {\n        appType = (0, _intlApi.getLangMsg)({\n          key: 'applist.leixing.yuanchang'\n        });\n      }\n      var themeVisiable = '';\n      if (!image || image === ' ') {\n        themeVisiable = 'visiable';\n      } else {\n        themeVisiable = 'unvisiable';\n      }\n      var operateItems = [{\n        classnamesInfo: [(0, _SvgUtil.svgDelete)(), _KDBizAppList[\"default\"][deleteShowOrHide]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.shanchu'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.deleteApp)(e, bizAppId, index, pageId, bizAppName, curAppId, bizCloudId, bizAppNum));\n        },\n        direction: 'iconfloat',\n        datapage: ''\n      }, {\n        classnamesInfo: [collectedStyle, _KDBizAppList[\"default\"][iconVisiable], _KDBizAppList[\"default\"][star]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.shoucang'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.collectApp)(e, bizAppId, pageId));\n        },\n        direction: 'iconfloat',\n        datapage: ''\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgEdit)(), _KDBizAppList[\"default\"][editShowOrHide]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.xiugai'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.modifyApp)(e, bizAppId, pageId, bizCloudId, bizCloudNumber));\n        },\n        direction: 'iconfloat',\n        datapage: ''\n      }, {\n        classnamesInfo: [chakan, _KDBizAppList[\"default\"][viewShowOrHide]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.chakan'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.viewApp)(e, bizAppId, pageId, bizCloudId, bizCloudNumber));\n        },\n        direction: 'iconfloat',\n        datapage: ''\n      }];\n      var contentItems = [{\n        visible: extVisible,\n        classStyle: [_KDBizAppList[\"default\"].prop],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.yingyongzhuangtai'\n        }),\n        spanStyle: _KDBizAppList[\"default\"].status,\n        spanText: appStatus[deploystatus],\n        spanTitle: ''\n      }, {\n        visible: true,\n        classStyle: [_KDBizAppList[\"default\"].prop],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.yingyongbanben'\n        }),\n        spanText: version,\n        spanTitle: ''\n      }, {\n        visible: masterIdVisiable,\n        classStyle: [_KDBizAppList[\"default\"].prop],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.yuanchangyingyong'\n        }),\n        spanText: mastername,\n        spanTitle: ''\n      }, {\n        visible: industryVisible,\n        classStyle: [_KDBizAppList[\"default\"].prop],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.suoshuhangye'\n        }),\n        spanStyle: function spanStyle(e) {\n          return dispatch((0, _bizAppListAction.viewApp)(e, bizAppId, pageId, bizCloudId, bizCloudNumber));\n        },\n        spanText: industry,\n        spanTitle: industry\n      }];\n      var appTypeContent = {\n        visible: true,\n        classStyle: [_KDBizAppList[\"default\"].prop],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.leixing'\n        }),\n        spanText: appType,\n        spanTitle: ''\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.gotoBizUnit)(e, bizAppId, pageId, bizCloudId, bizAppNum, bizAppName, bizAppIsv, bizAppType));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].iconfloat\n      }, industryVisible && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].appIndustryStyle)\n      }, \"\\xA0\\xA0\", appIndustry, \"\\xA0\\xA0\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].title\n      }, operateItems.map(function (operateitem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_Operate[\"default\"], {\n          key: index,\n          operateItem: operateitem,\n          dispatch: dispatch,\n          pageId: pageId,\n          appInfo: _this.props.appInfo\n        });\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"][themeVisiable], _KDBizAppList[\"default\"]['app-theme-area'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: imageUrl,\n        className: _KDBizAppList[\"default\"]['app-theme']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].appName, _KDBizAppList[\"default\"][appNameStyle]),\n        title: bizAppName\n      }, bizAppName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: icontag\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(Content, {\n        contentItem: appTypeContent,\n        dispatch: dispatch,\n        pageId: pageId\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'applist.yingyongbianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].number,\n        title: bizAppNum\n      }, bizAppNum), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _SvgUtil.svgAppDetails)(),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.yingyongxiangqing'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.detailsApp)(e, pageId, bizAppId));\n        }\n      })), contentItems.map(function (contentItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Content, {\n          key: index,\n          contentItem: contentItem,\n          dispatch: dispatch,\n          pageId: pageId\n        });\n      })));\n    }\n  }]);\n  return AppContent;\n}(_react.Component); // 应用信息\nvar Content = exports.Content = /*#__PURE__*/function (_Component2) {\n  _inherits(Content, _Component2);\n  function Content() {\n    _classCallCheck(this, Content);\n    return _callSuper(this, Content, arguments);\n  }\n  _createClass(Content, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$contentIt = this.props.contentItem,\n        visible = _this$props$contentIt.visible,\n        classStyle = _this$props$contentIt.classStyle,\n        spanKey = _this$props$contentIt.spanKey,\n        spanStyle = _this$props$contentIt.spanStyle,\n        spanText = _this$props$contentIt.spanText,\n        spanTitle = _this$props$contentIt.spanTitle;\n      return visible && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(classStyle)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, spanKey), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(spanStyle),\n        title: spanTitle\n      }, spanText));\n    }\n  }]);\n  return Content;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/AppContent.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/AppOperate.js":
/*!********************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/AppOperate.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _bizAppListAction = __webpack_require__(/*! ../../action/bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _Operate = _interopRequireDefault(__webpack_require__(/*! ./Operate */ \"./src/devportal/component/BizAppListComponents/Operate.js\"));\nvar _GITOperation = _interopRequireDefault(__webpack_require__(/*! ../../util/GITOperation */ \"./src/devportal/util/GITOperation.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 应用操作\n */\nvar AppOperate = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(AppOperate, _Component);\n  function AppOperate() {\n    _classCallCheck(this, AppOperate);\n    return _callSuper(this, AppOperate, arguments);\n  }\n  _createClass(AppOperate, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId;\n      var _this$props2 = this.props,\n        rightHeight = _this$props2.rightHeight,\n        state = _this$props2.state;\n      var _this$props$appInfo = this.props.appInfo,\n        bizAppId = _this$props$appInfo.bizAppId,\n        bizAppName = _this$props$appInfo.bizAppName,\n        bizAppNum = _this$props$appInfo.bizAppNum,\n        bizAppIsv = _this$props$appInfo.bizAppIsv,\n        bizAppType = _this$props$appInfo.bizAppType,\n        bizCloudId = _this$props$appInfo.bizCloudId,\n        bizCloudNumber = _this$props$appInfo.bizCloudNumber,\n        isowner = _this$props$appInfo.isowner,\n        index = _this$props$appInfo.index,\n        deploystatus = _this$props$appInfo.deploystatus,\n        codemanage = _this$props$appInfo.codemanage;\n      var dataScriptManager = index === 0 ? pageId + '_scriptManager' : '';\n      var masterIdVisiable = bizAppType === '2' ? 'unvisiable' : 'visiable';\n      var isPublish = deploystatus === '2' ? (0, _SvgUtil.svgUnUpload)() : (0, _SvgUtil.svgUpload)();\n      var publishVisiable = bizAppType === '2' ? 'visiable' : 'unvisiable';\n      var publishTitle = deploystatus === '2' ? (0, _intlApi.getLangMsg)({\n        key: 'applist.jinyong'\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'applist.qiyong'\n      });\n      var dataMenuManager = index === 0 ? pageId + '_menuManager' : '';\n      var dataSvnManager = index === 0 ? pageId + '_svnManager' : '';\n      var codeRelativeClass = codemanage !== 'none' ? '' : 'visiable';\n      var isGit = codemanage === 'git';\n      var isSvn = codemanage === 'svn';\n      var isCode = codemanage === 'code';\n      var hideClass = _KDBizAppList[\"default\"].visiable;\n      var exportStyle = '';\n      if (!isowner || bizAppIsv === 'kingdee') {\n        exportStyle = 'visiable';\n      }\n      // 代码管理\n      var codeManageType, codeManageTitle;\n      var codeManageAction = function codeManageAction(e) {\n        return dispatch((0, _bizAppListAction.codeManage)(e, pageId, bizAppNum, bizAppId));\n      };\n      if (codemanage === 'svn') {\n        codeManageType = (0, _SvgUtil.svgSVNmanager)();\n        codeManageTitle = (0, _intlApi.getLangMsg)({\n          key: 'applist.svnguanli'\n        });\n        codeManageAction = function codeManageAction(e) {\n          return dispatch((0, _bizAppListAction.codeManageForSvn)(e, pageId, bizAppNum, bizAppId));\n        };\n      } else if (codemanage === 'code') {\n        codeManageType = (0, _SvgUtil.svgCodemanager)();\n        codeManageTitle = (0, _intlApi.getLangMsg)({\n          key: 'applist.daimaguanli'\n        });\n      }\n      // 若当前应用不属于当前租户，则隐藏签入、禁用/启用和导出功能\n      var notOwnerStyle = '';\n      if (!isowner) {\n        notOwnerStyle = 'visiable';\n      }\n      var operateItems = [{\n        classnamesInfo: [_KDBizAppList[\"default\"]['icon-script']],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.jiaobenguanli'\n        }),\n        actionName: function actionName() {\n          return dispatch((0, _bizAppListAction.gotoScriptManager)(bizAppId, pageId));\n        },\n        direction: 'left',\n        datapage: dataScriptManager\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgMenu)()],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.caidanguanli'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.gotoMenuManager)(e, bizAppId, pageId, bizAppName));\n        },\n        direction: 'left',\n        datapage: dataMenuManager\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgExport)(), _KDBizAppList[\"default\"][exportStyle]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.gongjubaozhizuo'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.exportApp)(e, bizAppId, pageId));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgView)(), _KDBizAppList[\"default\"][masterIdVisiable]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.shitu'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.view)(e, bizAppId, pageId));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgExtend)()],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.kuozhan'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.extendApp)(e, bizAppId, pageId, bizCloudId, bizCloudNumber));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        classnamesInfo: [isPublish, _KDBizAppList[\"default\"][publishVisiable]],\n        titleKey: publishTitle,\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.uploadApp)(e, bizAppId, pageId, bizCloudId));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgPreviewApp)()],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.yulan'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.previewApp)(e, pageId, bizAppNum, bizAppId));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        // 还是有代码管理,svn、git都显示为各自图标\n        classnamesInfo: [codeManageType, _KDBizAppList[\"default\"][notOwnerStyle], _KDBizAppList[\"default\"][codeRelativeClass]],\n        titleKey: codeManageTitle,\n        actionName: codeManageAction,\n        direction: 'right',\n        datapage: dataSvnManager\n      },\n      /* {\n      // 新增地址维护,与git 作为一组\n      classnamesInfo: [codeRepoAddress(), styles.pageItemIconRight, isGit && hideClass,styles[codeRelativeClass]],\n      titleKey: codeManageTitle,\n      actionName: (e) => dispatch(codeManage(e, pageId, bizAppNum, bizAppId)),\n      direction: 'right',\n      datapage: ''\n      }, */\n      {\n        // 新增Git\n        gitClassName: isowner && isGit && _KDBizAppList[\"default\"].pageItemIconRight,\n        classnamesInfo: [_KDBizAppList[\"default\"][codeRelativeClass]],\n        component: isowner && isGit\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgCheckin)(), _KDBizAppList[\"default\"][notOwnerStyle], !isSvn && hideClass, _KDBizAppList[\"default\"][codeRelativeClass]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.qianru'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.checkInApp)(e, bizAppId, codemanage, pageId));\n        },\n        direction: 'right',\n        datapage: ''\n      }, {\n        classnamesInfo: [(0, _SvgUtil.svgUpdateMetaData)(), _KDBizAppList[\"default\"][notOwnerStyle], !isSvn && hideClass, _KDBizAppList[\"default\"][codeRelativeClass]],\n        titleKey: (0, _intlApi.getLangMsg)({\n          key: 'applist.gengxin'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizAppListAction.updateApp)(e, pageId, bizAppNum, bizAppId, codemanage));\n        },\n        direction: 'right',\n        datapage: ''\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].operation\n      }, operateItems.map(function (operateitem, index) {\n        if (!operateitem.component) {\n          return /*#__PURE__*/_react[\"default\"].createElement(_Operate[\"default\"], {\n            key: index,\n            operateItem: operateitem,\n            dispatch: dispatch,\n            pageId: pageId,\n            appInfo: _this.props.appInfo\n          });\n        } else {\n          return /*#__PURE__*/_react[\"default\"].createElement(_GITOperation[\"default\"], {\n            key: index,\n            dispatch: dispatch,\n            pageId: pageId,\n            state: state,\n            id: bizAppId,\n            type: _this.props.type || 'app',\n            isPage: false,\n            rightHeight: document.body.clientHeight - 62,\n            modifyclassname: operateitem.gitClassName,\n            style: {\n              marginTop: '0px',\n              \"float\": 'right',\n              marginRight: '6px'\n            },\n            topProp: \"0px\",\n            number: _this.props.appInfo.bizAppNum,\n            codemanage: codemanage\n          });\n        }\n      }));\n    }\n  }]);\n  return AppOperate;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/AppOperate.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/BizAppList.js":
/*!********************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/BizAppList.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.AppItem = exports.AddAppItem = void 0;\nexports[\"default\"] = BizAppList;\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _bizAppListAction = __webpack_require__(/*! ../../action/bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _AppContent = _interopRequireDefault(__webpack_require__(/*! ./AppContent */ \"./src/devportal/component/BizAppListComponents/AppContent.js\"));\nvar _AppOperate = _interopRequireDefault(__webpack_require__(/*! ./AppOperate */ \"./src/devportal/component/BizAppListComponents/AppOperate.js\"));\nvar _BizAppListConst = __webpack_require__(/*! ../../constant/BizAppListConst */ \"./src/devportal/constant/BizAppListConst.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /**\n * 应用组件\n */\n// 应用集合\nfunction BizAppList(props) {\n  var dispatch = props.dispatch,\n    pageId = props.pageId,\n    bizCloudId = props.bizCloudId,\n    state = props.state,\n    isvAppType = props.isvAppType,\n    bizAppVisiable = props.bizAppVisiable;\n  var items = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppItems')(state) || [];\n  var appItems = [];\n  items.forEach(function (item, index) {\n    var isowner = item.isowner;\n    var isv = item.isv;\n    if (isvAppType === _BizAppListConst.APP_FILTER_ITEM_KEY.ALL) {\n      appItems.push(item);\n    } else if (isvAppType === _BizAppListConst.APP_FILTER_ITEM_KEY.KINGDEE && isv === 'kingdee') {\n      appItems.push(item);\n    } else if (isvAppType === _BizAppListConst.APP_FILTER_ITEM_KEY.OWNER && isowner && isv !== 'kingdee') {\n      appItems.push(item);\n    } else if (isvAppType === _BizAppListConst.APP_FILTER_ITEM_KEY.THIRD && !isowner && isv !== 'kingdee') {\n      appItems.push(item);\n    }\n  });\n  var bizCloudNumber = (0, _appModelFunction.getDevportalData)(pageId, 'bizCloudNumber')(state);\n  (0, _react.useEffect)(function () {\n    if (bizAppVisiable === 'visiable') {\n      // 面板展开，自动滚动到选中业务云\n      var selectedCloud = document.querySelector('.devportal_cardSelected');\n      selectedCloud === null || selectedCloud === void 0 || selectedCloud.scrollIntoView();\n    }\n  }, [bizAppVisiable]);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"]['app-list'], _KDBizAppList[\"default\"]['list-area'], _KDBizAppList[\"default\"][bizAppVisiable])\n  }, isvAppType === _BizAppListConst.APP_FILTER_ITEM_KEY.ALL && /*#__PURE__*/_react[\"default\"].createElement(AddAppItem, {\n    dispatch: dispatch,\n    bizCloudId: bizCloudId,\n    pageId: pageId,\n    bizCloudNumber: bizCloudNumber\n  }), appItems.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(AppItem, _extends({}, item, {\n      key: index,\n      index: index,\n      dispatch: dispatch,\n      state: state,\n      pageId: pageId,\n      bizCloudId: bizCloudId,\n      bizCloudNumber: bizCloudNumber\n    }));\n  }));\n}\n\n// 应用面板。应用面板包括：上部内容跳转区 + 底部应用操作区\nvar AppItem = exports.AppItem = /*#__PURE__*/function (_Component) {\n  _inherits(AppItem, _Component);\n  function AppItem(props) {\n    var _this;\n    _classCallCheck(this, AppItem);\n    _this = _callSuper(this, AppItem, [props]);\n    _this.state = {\n      visiable: true\n    };\n    _this.handleMouseover = _this.handleMouseover.bind(_assertThisInitialized(_this));\n    _this.handleMouseleave = _this.handleMouseleave.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(AppItem, [{\n    key: \"handleMouseover\",\n    value: function handleMouseover(e) {\n      e.stopPropagation();\n      this.setState({\n        visiable: false\n      });\n    }\n  }, {\n    key: \"handleMouseleave\",\n    value: function handleMouseleave(e, self) {\n      e.stopPropagation();\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        state = _this$props.state,\n        pageId = _this$props.pageId,\n        bizCloudId = _this$props.bizCloudId,\n        bizCloudNumber = _this$props.bizCloudNumber;\n      var fileConfig = (0, _appModelFunction.getFormConfig)(pageId)(state).fileserver;\n      var selectedAppId = localStorage.bizAppIdForApp;\n      var cardSelected = this.props.id === selectedAppId ? 'devportal_cardSelected' : '';\n      var curAppId = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppId')(state);\n      var dataAppCard = this.props.index === 0 ? '_appCard' : '';\n      var appInfo = {\n        bizAppId: this.props.id,\n        bizAppName: this.props.name,\n        bizAppNum: this.props.number,\n        bizAppIsv: this.props.isv,\n        bizAppType: this.props.type,\n        bizCloudId: bizCloudId,\n        bizCloudNumber: bizCloudNumber,\n        industryShort: this.props.industryshort,\n        isowner: this.props.isowner,\n        index: this.props.index,\n        isCollected: this.props.iscollected,\n        image: this.props.image,\n        deploystatus: this.props.deploystatus,\n        version: this.props.version,\n        industry: this.props.industry,\n        mastername: this.props.mastername,\n        codemanage: this.props.codemanage\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: this.props.id,\n        \"data-page-id\": dataAppCard,\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"]['list-item'], _KDBizAppList[\"default\"]['bizApp-item']) + ' devportal_card ' + cardSelected,\n        onMouseOver: this.handleMouseover,\n        onMouseLeave: this.handleMouseleave\n      }, /*#__PURE__*/_react[\"default\"].createElement(_AppContent[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: this.state,\n        curAppId: curAppId,\n        appInfo: appInfo,\n        fileConfig: fileConfig\n      }), /*#__PURE__*/_react[\"default\"].createElement(_AppOperate[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: this.state,\n        curAppId: curAppId,\n        appInfo: appInfo,\n        fileConfig: fileConfig\n      }));\n    }\n  }]);\n  return AppItem;\n}(_react.Component); // 新增应用\nvar AddAppItem = exports.AddAppItem = /*#__PURE__*/function (_Component2) {\n  _inherits(AddAppItem, _Component2);\n  function AddAppItem() {\n    _classCallCheck(this, AddAppItem);\n    return _callSuper(this, AddAppItem, arguments);\n  }\n  _createClass(AddAppItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        bizCloudId = _this$props2.bizCloudId,\n        bizCloudNumber = _this$props2.bizCloudNumber;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"]['list-item'], _KDBizAppList[\"default\"]['addNew-item']) + ' devportal_card',\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.addApp)(e, pageId, bizCloudId, bizCloudNumber));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"]['icon-add']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].addNewApp\n      }, \" \", (0, _intlApi.getLangMsg)({\n        key: 'applist.xinjianyingyong'\n      }), \" \"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].right, (0, _SvgUtil.svgImport)()),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.daoru'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.importApp)(e, bizCloudId, pageId));\n        }\n      }));\n    }\n  }]);\n  return AddAppItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/BizAppList.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/BizAppManage.js":
/*!**********************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/BizAppManage.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.HealthCheck = exports.CloudInfo = exports.AppFilter = void 0;\n__webpack_require__(/*! core-js/modules/es.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.js\");\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.array.splice.js */ \"../../node_modules/core-js/modules/es.array.splice.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.values.js */ \"../../node_modules/core-js/modules/es.object.values.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _bizAppListAction = __webpack_require__(/*! ../../action/bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _BizCloudList = _interopRequireDefault(__webpack_require__(/*! ./BizCloudList */ \"./src/devportal/component/BizAppListComponents/BizCloudList.js\"));\nvar _BizAppList = _interopRequireDefault(__webpack_require__(/*! ./BizAppList */ \"./src/devportal/component/BizAppListComponents/BizAppList.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _serverproperties = __webpack_require__(/*! ../../constant/serverproperties */ \"./src/devportal/constant/serverproperties.js\");\nvar _BizAppListConst = __webpack_require__(/*! ../../constant/BizAppListConst */ \"./src/devportal/constant/BizAppListConst.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 应用管理\n */\n// 应用管理\nvar BizAppManage = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(BizAppManage, _Component);\n  function BizAppManage(props) {\n    var _this;\n    _classCallCheck(this, BizAppManage);\n    _this = _callSuper(this, BizAppManage, [props]);\n    _this.state = {\n      visiable: true,\n      rightHeight: document.body.clientHeight - 62,\n      selectedApp: _BizAppListConst.APP_FILTER_ITEM_KEY.ALL\n    };\n    _this.handleOnKeyDown = _this.handleOnKeyDown.bind(_assertThisInitialized(_this));\n    _this.handleOnClick = _this.handleOnClick.bind(_assertThisInitialized(_this));\n    _this.onHandleOnClick = _this.onHandleOnClick.bind(_assertThisInitialized(_this));\n    _this.changeIsvAppState = _this.changeIsvAppState.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(BizAppManage, [{\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      this.props.dispatch((0, _bizAppListAction.gotoLocatedTarget)(this.props.model.pageId));\n    }\n\n    // 清理缓存\n  }, {\n    key: \"handleOnKeyDown\",\n    value: function handleOnKeyDown(event) {\n      var model = this.props.model;\n      var ctrlKey = (0, _keyCodeTool.isCtrlKey)(event) || event.ctrlKey;\n      var altKey = event.altKey;\n      var code = (0, _keyCodeTool.getKeyCode)(event);\n      if (ctrlKey && altKey && code === 72) {\n        event.stopPropagation();\n        this.props.dispatch((0, _bizAppListAction.cleanAppCache)(model.pageId, event));\n      }\n    }\n  }, {\n    key: \"handleOnClick\",\n    value: function handleOnClick() {\n      this.setState({\n        visiable: !this.state.visiable\n      });\n    }\n  }, {\n    key: \"onHandleOnClick\",\n    value: function onHandleOnClick() {\n      this.handleOnClick();\n    }\n  }, {\n    key: \"changeIsvAppState\",\n    value: function changeIsvAppState(type) {\n      this.setState({\n        selectedApp: type\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        model = _this$props.model;\n      var selectedApp = this.state.selectedApp;\n      var pageId = model.pageId,\n        state = model.state;\n      var overlayerVisiable = this.state.visiable ? 'visiable' : 'unvisiable';\n      var bizCloudPopVisiable = this.state.visiable ? 'visiable' : 'unvisiable';\n      var bizAppVisiable = this.state.visiable ? 'unvisiable' : 'visiable';\n      var bizCloudId = (0, _appModelFunction.getDevportalData)(model.pageId, 'bizCloudId')(state);\n      var appFilterList = (0, _componentutil.getComponentDataProperty)(this.props.model, _serverproperties.APP_FILTER_LIST, _serverproperties.APP_FILTER_LIST, false);\n      appFilterList = !appFilterList || appFilterList.size === 0 ? Object.values(_BizAppListConst.APP_FILTER_ITEM_KEY) : appFilterList;\n      var accountISV = (0, _appModelFunction.getDevportalData)(pageId, 'accountISV')(state);\n      if (accountISV === 'kingdee') {\n        // isv为kingdee时不显示自建\n        var ownerIndex = appFilterList.findIndex(function (key) {\n          return key === 'owner';\n        });\n        appFilterList.splice(ownerIndex, 1);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].bodyPage,\n        onKeyDown: this.handleOnKeyDown,\n        tabIndex: 1\n      }, /*#__PURE__*/_react[\"default\"].createElement(_BizCloudList[\"default\"], {\n        dispatch: dispatch,\n        bizCloudPopVisiable: bizCloudPopVisiable,\n        changeClick: this.onHandleOnClick,\n        pageId: model.pageId,\n        bizCloudId: bizCloudId,\n        state: state\n      }), /*#__PURE__*/_react[\"default\"].createElement(CloudInfo, {\n        pageId: model.pageId,\n        modelState: state,\n        pluginState: this.state,\n        handleClickCloudInfo: this.onHandleOnClick\n      }), /*#__PURE__*/_react[\"default\"].createElement(HealthCheck, {\n        dispatch: dispatch,\n        pageId: model.pageId,\n        bizCloudId: bizCloudId\n      }), /*#__PURE__*/_react[\"default\"].createElement(AppFilter, {\n        selectedApp: selectedApp,\n        appFilterList: appFilterList,\n        changeIsvAppState: this.changeIsvAppState\n      }), /*#__PURE__*/_react[\"default\"].createElement(_BizAppList[\"default\"], {\n        bizAppVisiable: bizAppVisiable,\n        dispatch: dispatch,\n        pageId: model.pageId,\n        rightHeight: this.state.rightHeight,\n        bizCloudId: bizCloudId,\n        model: model,\n        state: state,\n        isvAppType: selectedApp\n      }));\n    }\n  }]);\n  return BizAppManage;\n}(_react.Component); // 业务云信息\nvar CloudInfo = exports.CloudInfo = /*#__PURE__*/function (_Component2) {\n  _inherits(CloudInfo, _Component2);\n  function CloudInfo() {\n    _classCallCheck(this, CloudInfo);\n    return _callSuper(this, CloudInfo, arguments);\n  }\n  _createClass(CloudInfo, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        pageId = _this$props2.pageId,\n        modelState = _this$props2.modelState,\n        pluginState = _this$props2.pluginState;\n      var isExpanded = pluginState.visiable ? 'icon-fold' : 'icon-expand';\n      var bizCloudName = (0, _appModelFunction.getDevportalData)(pageId, 'bizCloudName')(modelState);\n      var dataPageId = pageId + '_changeBizCloud';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].bar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].header\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].bizCloudChange\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n        className: _KDBizAppList[\"default\"].bizCloudTitle,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.yewuyun'\n        })\n      }, (0, _intlApi.getLangMsg)({\n        key: 'applist.yewuyun1'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n        className: _KDBizAppList[\"default\"].bizCloudName,\n        title: bizCloudName,\n        onClick: this.props.handleClickCloudInfo\n      }, bizCloudName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        \"data-page-id\": dataPageId,\n        className: _KDBizAppList[\"default\"][isExpanded],\n        onClick: this.props.handleClickCloudInfo\n      }))));\n    }\n  }]);\n  return CloudInfo;\n}(_react.Component); // 体检\nvar HealthCheck = exports.HealthCheck = /*#__PURE__*/function (_Component3) {\n  _inherits(HealthCheck, _Component3);\n  function HealthCheck() {\n    _classCallCheck(this, HealthCheck);\n    return _callSuper(this, HealthCheck, arguments);\n  }\n  _createClass(HealthCheck, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        bizCloudId = _this$props3.bizCloudId;\n      var check;\n      if (window.ActiveXObject || 'ActiveXObject' in window) {\n        // 如果浏览器为IE\n        check = 'checkForIE';\n      } else {\n        check = 'checkForOther';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].check, _KDBizAppList[\"default\"][check]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'BizAppManage.kaifatijian'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.gotoChecking)(e, pageId, bizCloudId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _SvgUtil.gotoCheckingIcon)()\n      }));\n    }\n  }]);\n  return HealthCheck;\n}(_react.Component); // 应用过滤\nvar AppFilter = exports.AppFilter = /*#__PURE__*/function (_Component4) {\n  _inherits(AppFilter, _Component4);\n  function AppFilter() {\n    _classCallCheck(this, AppFilter);\n    return _callSuper(this, AppFilter, arguments);\n  }\n  _createClass(AppFilter, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props4 = this.props,\n        appFilterList = _this$props4.appFilterList,\n        selectedApp = _this$props4.selectedApp,\n        changeIsvAppState = _this$props4.changeIsvAppState;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"]['list-area']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        id: \"tabTitle\",\n        className: _KDBizAppList[\"default\"].tabTitle\n      }, _BizAppListConst.APP_FILTER_ITEMS.map(function (_ref) {\n        var key = _ref.key,\n          text = _ref.text;\n        return appFilterList.includes(key) && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: key,\n          className: (0, _classnames[\"default\"])({\n            devportal_selectedAppTab: key === selectedApp\n          }),\n          onClick: function onClick() {\n            return changeIsvAppState(key);\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, text));\n      })));\n    }\n  }]);\n  return AppFilter;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/BizAppManage.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/BizCloudList.js":
/*!**********************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/BizCloudList.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.CloudItem = exports.AddCloudItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _bizAppListAction = __webpack_require__(/*! ../../action/bizAppListAction */ \"./src/devportal/action/bizAppListAction.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _GITOperation = _interopRequireDefault(__webpack_require__(/*! ../../util/GITOperation */ \"./src/devportal/util/GITOperation.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 业务云组件\n */\nvar BizCloudList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(BizCloudList, _Component);\n  function BizCloudList(props) {\n    _classCallCheck(this, BizCloudList);\n    return _callSuper(this, BizCloudList, [props]);\n  }\n  _createClass(BizCloudList, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.props.dispatch((0, _bizAppListAction.asyncCloudList)(this.props.pageId));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        bizCloudPopVisiable = _this$props.bizCloudPopVisiable,\n        changeClick = _this$props.changeClick,\n        bizCloudId = _this$props.bizCloudId,\n        state = _this$props.state;\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'bizCloudItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].bizCloud_Pop, _KDBizAppList[\"default\"][bizCloudPopVisiable]),\n        onClick: function onClick(e) {\n          return changeClick(e);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].bizCloud_panel\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"].container, _KDBizAppList[\"default\"].bizCloud)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].row\n      }, /*#__PURE__*/_react[\"default\"].createElement(AddCloudItem, {\n        pageId: pageId,\n        dispatch: dispatch\n      }), items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(CloudItem, _extends({}, item, {\n          state: state,\n          index: index,\n          key: index,\n          chooseCloudId: bizCloudId,\n          dispatch: dispatch,\n          pageId: pageId,\n          changeClick: changeClick\n        }));\n      })))));\n    }\n  }]);\n  return BizCloudList;\n}(_react.Component); //\nvar CloudItem = exports.CloudItem = /*#__PURE__*/function (_Component2) {\n  _inherits(CloudItem, _Component2);\n  function CloudItem(props) {\n    var _this;\n    _classCallCheck(this, CloudItem);\n    _this = _callSuper(this, CloudItem, [props]);\n    _this.state = {\n      visiable: true\n    };\n    _this.handleMouseover = _this.handleMouseover.bind(_assertThisInitialized(_this));\n    _this.handleMouseleave = _this.handleMouseleave.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(CloudItem, [{\n    key: \"handleMouseover\",\n    value: function handleMouseover() {\n      this.setState({\n        visiable: false\n      });\n    }\n  }, {\n    key: \"handleMouseleave\",\n    value: function handleMouseleave() {\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state,\n        chooseCloudId = _this$props2.chooseCloudId,\n        dispatch = _this$props2.dispatch,\n        index = _this$props2.index,\n        codemanageType = _this$props2.codemanage;\n      var cloudId = this.props.id;\n      var cloudNumber = this.props.number;\n      var cloudName = this.props.name;\n      var isowner = this.props.isowner;\n      var isv = this.props.isv;\n      var selectedCloudId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedCloudId')(state);\n      var cardSelected = cloudId === selectedCloudId ? 'devportal_cardSelected' : '';\n      var deleteShowOrHide = this.state.visiable ? 'visiable' : 'unvisiable';\n      var editShowOrHide = this.state.visiable ? '`visiable`' : 'unvisiable';\n      var viewShowOrHide = this.state.visiable ? 'visiable' : 'unvisiable';\n      var chakan;\n      if (!isowner) {\n        editShowOrHide = 'visiable';\n        if (isv === 'kingdee') {\n          deleteShowOrHide = 'visiable';\n          chakan = (0, _SvgUtil.svgCloudView)();\n        } else {\n          chakan = (0, _SvgUtil.svgIsvCloudView)();\n        }\n      } else {\n        viewShowOrHide = 'visiable';\n      }\n      var cloudIndustry, industryVisible;\n      if (typeof this.props.industryshort !== 'undefined') {\n        cloudIndustry = this.props.industryshort;\n      } else {\n        industryVisible = 'visiable';\n      }\n      this.gitOperationActions = {\n        commit: function commit(e) {\n          dispatch((0, _bizAppListAction.gitOperationInCloud)(e, cloudId, pageId, cloudNumber, cloudName, 'commit'));\n        },\n        push: function push(e) {\n          dispatch((0, _bizAppListAction.gitOperationInCloud)(e, cloudId, pageId, cloudNumber, cloudName, 'push'));\n        }\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"]['col-xs-2'], _KDBizAppList[\"default\"].cloud) + ' devportal_card ' + cardSelected,\n        onMouseOver: this.handleMouseover,\n        onMouseLeave: this.handleMouseleave,\n        onClick: function onClick(e) {\n          dispatch((0, _bizAppListAction.changeBizCloud)(e, cloudId, pageId, _this2.props.changeClick));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].iconfloat\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"][industryVisible], _KDBizAppList[\"default\"].cloudIndustryStyle)\n      }, \"\\xA0\\xA0\", cloudIndustry, \"\\xA0\\xA0\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].mainContent\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgCloudDelete)(), _KDBizAppList[\"default\"][deleteShowOrHide]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.shanchu'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.deleteCloud)(e, cloudId, index, pageId, chooseCloudId, cloudName));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgCloudEdit)(), _KDBizAppList[\"default\"][editShowOrHide]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.xiugai'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.modifyCloud)(e, cloudId, pageId));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(chakan, _KDBizAppList[\"default\"][viewShowOrHide]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.chakan'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.viewCloud)(e, cloudId, pageId));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].name,\n        title: cloudName\n      }, cloudName)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].detailMessage\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'applist.bianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].number\n      }, cloudNumber)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"].right,\n        onClick: function onClick(e) {\n          return e.stopPropagation();\n        }\n      }, codemanageType !== 'none' && (codemanageType !== 'git' ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgCheckin)(), _KDBizAppList[\"default\"][editShowOrHide]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.qianru'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.checkinCloud)(e, cloudId, pageId, cloudNumber, cloudName));\n        }\n      }) : /*#__PURE__*/_react[\"default\"].createElement(_GITOperation[\"default\"], _extends({}, this.props, {\n        isPage: true,\n        modifyclassname: editShowOrHide,\n        showOperations: {\n          revert: false,\n          pull: false,\n          config: false,\n          information: false\n        },\n        style: {\n          position: 'relative',\n          marginTop: 0,\n          marginRight: 8\n        },\n        gitOperationActions: this.gitOperationActions,\n        number: cloudNumber\n      })))));\n    }\n  }]);\n  return CloudItem;\n}(_react.Component); // 新建业务云\nvar AddCloudItem = exports.AddCloudItem = /*#__PURE__*/function (_Component3) {\n  _inherits(AddCloudItem, _Component3);\n  function AddCloudItem() {\n    _classCallCheck(this, AddCloudItem);\n    return _callSuper(this, AddCloudItem, arguments);\n  }\n  _createClass(AddCloudItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        pageId = _this$props3.pageId,\n        dispatch = _this$props3.dispatch;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizAppList[\"default\"]['col-xs-2'], _KDBizAppList[\"default\"].add) + ' devportal_card',\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.addCloud)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].plus\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizAppList[\"default\"].addCloud\n      }, (0, _intlApi.getLangMsg)({\n        key: 'applist.xinjianyewuyun'\n      })));\n    }\n  }]);\n  return AddCloudItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/BizCloudList.js?");

/***/ }),

/***/ "./src/devportal/component/BizAppListComponents/Operate.js":
/*!*****************************************************************!*\
  !*** ./src/devportal/component/BizAppListComponents/Operate.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _KDBizAppList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizAppList.less */ \"./src/devportal/less/KDBizAppList.less\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 操作组件\n */\nvar Operate = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(Operate, _Component);\n  function Operate(props) {\n    var _this;\n    _classCallCheck(this, Operate);\n    _this = _callSuper(this, Operate, [props]);\n    _this.handleClickOperate = _this.handleClickOperate.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Operate, [{\n    key: \"handleClickOperate\",\n    value: function handleClickOperate(e) {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId;\n      var _this$props$appInfo = this.props.appInfo,\n        bizAppId = _this$props$appInfo.bizAppId,\n        bizAppName = _this$props$appInfo.bizAppName,\n        bizAppNum = _this$props$appInfo.bizAppNum,\n        bizAppIsv = _this$props$appInfo.bizAppIsv,\n        bizAppType = _this$props$appInfo.bizAppType,\n        bizCloudId = _this$props$appInfo.bizCloudId,\n        bizCloudNumber = _this$props$appInfo.bizCloudNumber,\n        isowner = _this$props$appInfo.isowner,\n        index = _this$props$appInfo.index,\n        deploystatus = _this$props$appInfo.deploystatus,\n        codemanage = _this$props$appInfo.codemanage;\n      var _this$props$operateIt = this.props.operateItem,\n        classnamesInfo = _this$props$operateIt.classnamesInfo,\n        titleKey = _this$props$operateIt.titleKey,\n        actionName = _this$props$operateIt.actionName,\n        direction = _this$props$operateIt.direction;\n      e.stopPropagation();\n      actionName(e);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId;\n      var _this$props$operateIt2 = this.props.operateItem,\n        classnamesInfo = _this$props$operateIt2.classnamesInfo,\n        titleKey = _this$props$operateIt2.titleKey,\n        direction = _this$props$operateIt2.direction,\n        datapage = _this$props$operateIt2.datapage;\n      var _this$props$appInfo2 = this.props.appInfo,\n        bizAppId = _this$props$appInfo2.bizAppId,\n        bizAppName = _this$props$appInfo2.bizAppName,\n        bizAppNum = _this$props$appInfo2.bizAppNum,\n        bizAppIsv = _this$props$appInfo2.bizAppIsv,\n        bizAppType = _this$props$appInfo2.bizAppType,\n        bizCloudId = _this$props$appInfo2.bizCloudId,\n        bizCloudNumber = _this$props$appInfo2.bizCloudNumber,\n        isowner = _this$props$appInfo2.isowner,\n        index = _this$props$appInfo2.index,\n        deploystatus = _this$props$appInfo2.deploystatus,\n        codemanage = _this$props$appInfo2.codemanage;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizAppList[\"default\"][direction]\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        \"data-page-id\": datapage,\n        className: (0, _classnames[\"default\"])(classnamesInfo),\n        title: titleKey,\n        onClick: this.handleClickOperate\n      }));\n    }\n  }]);\n  return Operate;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizAppListComponents/Operate.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/BizPageManage.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/BizPageManage.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.Crumb = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _BizUnitList = _interopRequireDefault(__webpack_require__(/*! ./BizUnitList */ \"./src/devportal/component/BizPageListComponents/BizUnitList.js\"));\nvar _BizPageList = _interopRequireDefault(__webpack_require__(/*! ./page/BizPageList */ \"./src/devportal/component/BizPageListComponents/page/BizPageList.js\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _memoryCacher = __webpack_require__(/*! ../../../model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 开发管理\n */\nvar BizPageManage = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(BizPageManage, _Component);\n  function BizPageManage(props) {\n    var _this;\n    _classCallCheck(this, BizPageManage);\n    _this = _callSuper(this, BizPageManage, [props]);\n    _this.state = {\n      rightWidth: document.body.clientWidth - 241,\n      rightHeight: document.body.clientHeight - 62\n    };\n    _this.handleResize = _this.handleResize.bind(_assertThisInitialized(_this));\n    _this.resizeEventHandler = _lodash[\"default\"].throttle(_this.handleResize, 300);\n    return _this;\n  }\n  _createClass(BizPageManage, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var _this$props$model = this.props.model,\n        pageId = _this$props$model.pageId,\n        key = _this$props$model.key;\n      setTimeout(function () {\n        return (0, _memoryCacher.setControlMount)(pageId, key, true);\n      }, 0);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.props.dispatch((0, _bizPageListAction.initCloudAndApp)(this.props.model.pageId));\n      window.addEventListener('resize', this.resizeEventHandler);\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      this.props.dispatch((0, _bizPageListAction.gotoLocatedTarget)(this.props.model.pageId));\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      var _this$props$model2 = this.props.model,\n        pageId = _this$props$model2.pageId,\n        key = _this$props$model2.key;\n      (0, _memoryCacher.setControlMount)(pageId, key, false);\n      window.removeEventListener('resize', this.resizeEventHandler);\n    }\n  }, {\n    key: \"handleResize\",\n    value: function handleResize() {\n      this.setState({\n        rightWidth: document.body.clientWidth - 241,\n        rightHeight: document.body.clientHeight - 62\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        model = _this$props.model;\n      var state = model.state,\n        pageId = model.pageId;\n      var selectedUnitId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedUnitId')(state);\n      var selectedUnitName = (0, _appModelFunction.getDevportalData)(pageId, 'selectedUnitName')(state);\n      var bizAppId = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppId')(state);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].mainContent\n      }, /*#__PURE__*/_react[\"default\"].createElement(Crumb, {\n        dispatch: dispatch,\n        state: state,\n        pageId: pageId,\n        bizAppId: bizAppId,\n        selectedUnitName: selectedUnitName\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(_BizUnitList[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        appId: bizAppId,\n        selectedUnitId: selectedUnitId,\n        selectedUnitName: selectedUnitName,\n        state: state\n      }), /*#__PURE__*/_react[\"default\"].createElement(_BizPageList[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        pageManageType: this.props.pageManageType,\n        appId: bizAppId,\n        selectedUnitId: selectedUnitId,\n        state: state,\n        rightWidth: this.state.rightWidth,\n        rightHeight: this.state.rightHeight\n      })));\n    }\n  }]);\n  return BizPageManage;\n}(_react.Component); // 面包屑\nvar Crumb = exports.Crumb = /*#__PURE__*/function (_Component2) {\n  _inherits(Crumb, _Component2);\n  function Crumb() {\n    _classCallCheck(this, Crumb);\n    return _callSuper(this, Crumb, arguments);\n  }\n  _createClass(Crumb, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        state = _this$props2.state,\n        pageId = _this$props2.pageId,\n        bizAppId = _this$props2.bizAppId,\n        selectedUnitName = _this$props2.selectedUnitName;\n      var bizCloudName = (0, _appModelFunction.getDevportalData)(pageId, 'cloudName')(state);\n      var bizAppName = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppName')(state);\n      var bizCloudId = (0, _appModelFunction.getDevportalData)(pageId, 'cloudid')(state);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].mainToolbar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].bread\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].cloud,\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.localeToCloud)(pageId, bizCloudId, bizAppId));\n        }\n      }, bizCloudName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].sign\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", null)), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].app\n      }, bizAppName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].sign\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", null)), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].unit\n      }, selectedUnitName)));\n    }\n  }]);\n  return Crumb;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/BizPageManage.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/BizUnitList.js":
/*!**********************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/BizUnitList.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.UnitItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 功能分组\n */\nvar BizUnitList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(BizUnitList, _Component);\n  function BizUnitList() {\n    _classCallCheck(this, BizUnitList);\n    return _callSuper(this, BizUnitList, arguments);\n  }\n  _createClass(BizUnitList, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        selectedUnitId = _this$props.selectedUnitId,\n        selectedUnitName = _this$props.selectedUnitName,\n        appId = _this$props.appId,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var leftHeight = {\n        minHeight: document.body.clientHeight - 122\n      };\n      var dataPageId = pageId + '_bizUnits';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'bizUnitItems')(state) || [];\n      var bizAppType = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppType')(state);\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      var notOwnerStyle = 'invisiable';\n      var unitTipsShowOrHide;\n      if (!isOwner) {\n        notOwnerStyle = 'visiable';\n        unitTipsShowOrHide = 'visiable';\n      }\n      if (bizAppType !== '2') {\n        unitTipsShowOrHide = 'visiable';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        \"data-page-id\": dataPageId,\n        className: _KDBizPageList[\"default\"].left,\n        style: leftHeight\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].bizUnits\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].title\n      }, (0, _intlApi.getLangMsg)({\n        key: 'pagelist.gongnengfenzuleibiao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])((0, _SvgUtil.svgAppDetails)(), _KDBizPageList[\"default\"][unitTipsShowOrHide]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.gongnengfenzutishixinxi'\n        })\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])((0, _SvgUtil.svgAddUnit)(), _KDBizPageList[\"default\"][notOwnerStyle]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xinzenggongnengfenzu'\n        }),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.addUnit)(appId, pageId, selectedUnitId, selectedUnitName));\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(UnitItem, _extends({}, item, {\n          key: index,\n          bizAppType: bizAppType,\n          index: index,\n          dispatch: dispatch,\n          state: state,\n          appId: appId,\n          pageId: pageId,\n          selectedUnitId: _this.props.selectedUnitId,\n          selectedUnitName: _this.props.selectedUnitName\n        }));\n      })));\n    }\n  }]);\n  return BizUnitList;\n}(_react.Component);\nvar UnitItem = exports.UnitItem = /*#__PURE__*/function (_Component2) {\n  _inherits(UnitItem, _Component2);\n  function UnitItem(props) {\n    var _this2;\n    _classCallCheck(this, UnitItem);\n    _this2 = _callSuper(this, UnitItem, [props]);\n    _this2.state = {\n      visiable: true,\n      isShow: false,\n      childrenUnitVisible: false\n    };\n    _this2.handleMouseover = _this2.handleMouseover.bind(_assertThisInitialized(_this2));\n    _this2.handleMouseleave = _this2.handleMouseleave.bind(_assertThisInitialized(_this2));\n    _this2.handleClickUnit = _this2.handleClickUnit.bind(_assertThisInitialized(_this2));\n    _this2.handleClickArrow = _this2.handleClickArrow.bind(_assertThisInitialized(_this2));\n    return _this2;\n  }\n  _createClass(UnitItem, [{\n    key: \"handleMouseover\",\n    value: function handleMouseover() {\n      this.setState({\n        visiable: false\n      });\n    }\n  }, {\n    key: \"handleMouseleave\",\n    value: function handleMouseleave() {\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"handleClickUnit\",\n    value: function handleClickUnit() {\n      var bizAppId = this.props.appId;\n      var bizUnitId = this.props.id;\n      var bizUnitName = this.props.name;\n      var pageId = this.props.pageId;\n      var bizappType = this.props.apptype;\n      var bizUnitType = this.props.unittype;\n      this.props.dispatch({\n        type: 'INIT_SELECTEDUNITID',\n        param: {\n          pageId: pageId,\n          id: bizUnitId\n        }\n      });\n      this.props.dispatch({\n        type: 'INIT_SELECTEDUNITNAME',\n        param: {\n          pageId: pageId,\n          name: bizUnitName\n        }\n      });\n      this.props.dispatch((0, _bizPageListAction.clickUnit)(bizAppId, bizappType, bizUnitId, bizUnitType, bizUnitName, pageId));\n    }\n  }, {\n    key: \"handleClickArrow\",\n    value: function handleClickArrow(e) {\n      if (this.props.children.length > 0) {\n        this.setState(function (preState) {\n          preState.childrenUnitVisible = !preState.childrenUnitVisible;\n          preState.isShow = !preState.isShow;\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        appId = _this$props2.appId,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      var codemanageType = this.props.codemanage;\n      var notOwnerStyle = this.state.visiable ? 'visiable' : 'unvisiable';\n      var gitManageShow = !this.state.visiable && codemanageType === 'git' ? 'unvisiable' : 'visiable';\n      var bizAppType = this.props.apptype;\n      var unitType = this.props.unittype;\n      if (!isOwner) {\n        notOwnerStyle = 'visiable';\n        gitManageShow = 'visiable';\n      } else {\n        if (bizAppType === '2') {\n          if (unitType !== '3') {\n            notOwnerStyle = 'visiable';\n            gitManageShow = 'visiable';\n          }\n        }\n      }\n      var selected = this.props.selectedUnitId === this.props.id ? 'devportal_selectedUnit' : '';\n      var iconArrow;\n      if (this.props.children.length > 0 && this.state.isShow) {\n        iconArrow = (0, _SvgUtil.svgArrowDown)();\n      } else if (this.props.children.length > 0 && !this.state.isShow) {\n        iconArrow = (0, _SvgUtil.svgArrowUp)();\n      } else {\n        iconArrow = '';\n      }\n      var alpha = 1;\n      var unitStyle = {\n        opacity: alpha\n      };\n      var _ref = [this.props.name, this.props.id, this.props.childUnit],\n        bizUnitName = _ref[0],\n        bizUnitId = _ref[1],\n        isChild = _ref[2];\n      var firstOrSecUnit;\n      if (isChild === 'childUnit') {\n        var isShow = this.props.isShow ? 'visiable' : 'uninlinevisiable';\n        firstOrSecUnit = [_KDBizPageList[\"default\"].bizUnitChild, _KDBizPageList[\"default\"][selected], _KDBizPageList[\"default\"][isShow]];\n      } else {\n        firstOrSecUnit = [_KDBizPageList[\"default\"].bizUnit, _KDBizPageList[\"default\"][selected]];\n      }\n      var childrenVisible = this.state.childrenUnitVisible ? 'unvisiable' : 'visiable';\n      var isExtend = unitType == '2' || unitType == '3';\n      var isChildUnit = isChild === 'childUnit';\n      var exticonClass = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _KDBizPageList[\"default\"]['eaicon-child-extend'], isExtend && isChildUnit), _KDBizPageList[\"default\"]['eaicon-extend'], isExtend && !isChildUnit), 'kdfont kdfont-kuo11', isExtend));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: unitStyle,\n        className: _classnames2[\"default\"].apply(void 0, _toConsumableArray(firstOrSecUnit)) + ' ' + selected,\n        onMouseOver: this.handleMouseover,\n        onMouseLeave: this.handleMouseleave,\n        onClick: this.handleClickUnit\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])(iconArrow),\n        onClick: this.handleClickArrow\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: exticonClass\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].eaname,\n        title: bizUnitName\n      }, bizUnitName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])((0, _SvgUtil.svgUnitDelete)(), _KDBizPageList[\"default\"][notOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.deleteUnit)(e, bizUnitId, bizUnitName, appId, pageId));\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shanchu'\n        })\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])((0, _SvgUtil.svgUnitEdit)(), _KDBizPageList[\"default\"][notOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.editUnit)(e, bizUnitId, bizUnitName, appId, pageId));\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiugai'\n        })\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])((0, _SvgUtil.svgUnitGitMng)(), _KDBizPageList[\"default\"][gitManageShow]),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.unitGitMng)(e, bizUnitId, bizUnitName, appId, pageId));\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'applist.gitguanli'\n        })\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"][childrenVisible]\n      }, this.props.children.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(UnitItem, _extends({}, item, {\n          key: index,\n          index: index,\n          dispatch: dispatch,\n          state: state,\n          appId: appId,\n          pageId: pageId,\n          selectedUnitId: _this3.props.selectedUnitId,\n          selectedUnitName: _this3.props.selectedUnitName,\n          childUnit: \"childUnit\"\n        }));\n      })));\n    }\n  }]);\n  return UnitItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/BizUnitList.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/BizPageList.js":
/*!***************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/BizPageList.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _componentutil = __webpack_require__(/*! ../../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _SwitchLayout = _interopRequireDefault(__webpack_require__(/*! ./SwitchLayout */ \"./src/devportal/component/BizPageListComponents/page/SwitchLayout.js\"));\nvar _PageFilterCondition = _interopRequireDefault(__webpack_require__(/*! ./PageFilterCondition */ \"./src/devportal/component/BizPageListComponents/page/PageFilterCondition.js\"));\nvar _ExtendAppUnitPage = _interopRequireDefault(__webpack_require__(/*! ./ExtendAppUnitPage */ \"./src/devportal/component/BizPageListComponents/page/ExtendAppUnitPage.js\"));\nvar _OriAppUnitPage = _interopRequireDefault(__webpack_require__(/*! ./OriAppUnitPage */ \"./src/devportal/component/BizPageListComponents/page/OriAppUnitPage.js\"));\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! @/component/common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 表单\n */\nvar BizPageList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(BizPageList, _Component);\n  function BizPageList(props) {\n    var _this;\n    _classCallCheck(this, BizPageList);\n    _this = _callSuper(this, BizPageList, [props]);\n    _this.invokeControlMethods = function (events) {\n      events.forEach(function (event) {\n        var methodName = event.methodname,\n          args = event.args;\n        var params = args[0];\n        var parentPageId = params.parentpageid;\n        var listPageId = params.pageid;\n        var pageId = params.pageid;\n        var id = params.id;\n        var operateKey = params.operatekey;\n        switch (methodName) {\n          case 'deletepage':\n            {\n              var source = params.pagesinfo;\n              var bizappId = params.bizappid;\n              var bizunitId = params.bizunitid;\n              _this.props.dispatch((0, _bizPageListAction.deleteAppSource)(parentPageId, listPageId, source, bizappId, bizunitId, 'page'));\n            }\n            break;\n          case 'checkinpage':\n            _this.props.dispatch((0, _bizPageListAction.checkIn)(listPageId, args));\n            break;\n          case 'svnoperate':\n            _this.props.dispatch((0, _bizPageListAction.svnOperate)(pageId, id, 'page', operateKey));\n            break;\n          case 'gitoperate':\n            _this.props.dispatch((0, _bizPageListAction.gitOperate)(pageId, id, 'page', operateKey));\n            break;\n          default:\n            console.info(\"\".concat(methodName, \" \\u6CA1\\u6709\\u5904\\u7406\"));\n            break;\n        }\n      });\n    };\n    _this.state = {\n      layout: 'card',\n      showLoading: false\n    };\n    _this.changeLayout = _this.changeLayout.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(BizPageList, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var _this$props = this.props,\n        appId = _this$props.appId,\n        selectedUnitId = _this$props.selectedUnitId,\n        pageId = _this$props.pageId;\n      this.removeDataChangeListener = (0, _memoryCacher.addDataChangeListener)(pageId, _const.PAGE_LOADING, function (loadFlag) {\n        _this2.setState({\n          showLoading: !!loadFlag\n        });\n      });\n      var key = 'bizcustomlistap';\n      this.props.dispatch((0, _bizPageListAction.initPageList)(pageId, appId, selectedUnitId));\n      this.removeDirectivesListener = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', function (pageData) {\n        if (pageData === undefined) {\n          return;\n        }\n        _this2.invokeControlMethods(pageData);\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeDirectivesListener && this.removeDirectivesListener();\n      this.removeDataChangeListener && this.removeDataChangeListener();\n    }\n  }, {\n    key: \"changeLayout\",\n    value: function changeLayout(e, type) {\n      this.setState({\n        layout: type\n      });\n      var _this$props2 = this.props,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state,\n        appId = _this$props2.appId,\n        selectedUnitId = _this$props2.selectedUnitId;\n      var filterCondition = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(state) || [];\n      var deviceFilter = 'all',\n        modelTypeFilter = 'AllFormModel',\n        pageAttributeFilter = 'number';\n      if (filterCondition.length > 0) {\n        deviceFilter = filterCondition[0];\n        modelTypeFilter = filterCondition[1];\n        pageAttributeFilter = filterCondition[2];\n      }\n      this.props.dispatch((0, _bizPageListAction.selectPageFilter)(pageId, appId, null, selectedUnitId, null, deviceFilter, modelTypeFilter, pageAttributeFilter));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        appId = _this$props3.appId,\n        selectedUnitId = _this$props3.selectedUnitId,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state,\n        rightHeight = _this$props3.rightHeight;\n      var showLoading = this.state.showLoading;\n      var listDom = (0, _componentutil.parseSubForms)(this.props.pageId, 'pagelist', this.props.state, undefined);\n      var filterCondition = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(state) || [];\n      var deviceFilter = 'all',\n        modelTypeFilter = 'AllFormModel',\n        pageAttributeFilter = 'number';\n      if (filterCondition.length > 0) {\n        deviceFilter = filterCondition[0];\n        modelTypeFilter = filterCondition[1];\n        pageAttributeFilter = filterCondition[2];\n      }\n      var cardLayoutStyle, listLayoutStyle;\n      if (this.state.layout === 'card') {\n        cardLayoutStyle = _KDBizPageList[\"default\"].cardLayout;\n        listLayoutStyle = (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].listLayout, _KDBizPageList[\"default\"].visiable);\n      } else if (this.state.layout === 'list') {\n        cardLayoutStyle = (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].cardLayout, _KDBizPageList[\"default\"].visiable);\n        listLayoutStyle = _KDBizPageList[\"default\"].listLayout;\n      }\n      var pageManageType = this.props.pageManageType;\n      var oriOrExtApp;\n      if (pageManageType === 'extpagemanage') {\n        oriOrExtApp = /*#__PURE__*/_react[\"default\"].createElement(_ExtendAppUnitPage[\"default\"], {\n          dispatch: dispatch,\n          pageId: pageId,\n          rightHeight: rightHeight,\n          selectedUnitId: selectedUnitId,\n          appId: appId,\n          state: state\n        });\n      } else {\n        oriOrExtApp = /*#__PURE__*/_react[\"default\"].createElement(_OriAppUnitPage[\"default\"], {\n          dispatch: dispatch,\n          pageId: pageId,\n          rightHeight: rightHeight,\n          selectedUnitId: selectedUnitId,\n          appId: appId,\n          state: state\n        });\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].right\n      }, /*#__PURE__*/_react[\"default\"].createElement(_PageFilterCondition[\"default\"], {\n        filterProps: this.props,\n        deviceFilter: deviceFilter,\n        modelTypeFilter: modelTypeFilter,\n        pageAttributeFilter: pageAttributeFilter\n      }), /*#__PURE__*/_react[\"default\"].createElement(_SwitchLayout[\"default\"], {\n        changeLayout: this.changeLayout,\n        state: this.state\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: cardLayoutStyle\n      }, showLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].loadingContainer\n      }, /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], {\n        className: _KDBizPageList[\"default\"].loading,\n        loadingType: 2\n      })) : oriOrExtApp), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"pagelist\",\n        className: listLayoutStyle\n      }, _react[\"default\"].Children.toArray(listDom)));\n    }\n  }]);\n  return BizPageList;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/BizPageList.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/ExtendAppUnitPage.js":
/*!*********************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/ExtendAppUnitPage.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.PageSource = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _PageAddNew = _interopRequireDefault(__webpack_require__(/*! ./PageAddNew */ \"./src/devportal/component/BizPageListComponents/page/PageAddNew.js\"));\nvar _PageItem = _interopRequireDefault(__webpack_require__(/*! ./PageItem */ \"./src/devportal/component/BizPageListComponents/page/PageItem.js\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 扩展应用表单视图\n */\nvar ExtendAppUnitPage = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(ExtendAppUnitPage, _Component);\n  function ExtendAppUnitPage() {\n    _classCallCheck(this, ExtendAppUnitPage);\n    return _callSuper(this, ExtendAppUnitPage, arguments);\n  }\n  _createClass(ExtendAppUnitPage, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        selectedUnitId = _this$props.selectedUnitId,\n        appId = _this$props.appId,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var unitType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedUnitType')(state);\n      var pageSourceGroup;\n      if (unitType !== '3') {\n        pageSourceGroup = [{\n          devtype: '2',\n          name: (0, _intlApi.getLangMsg)('kde.key0005'),\n          items: [],\n          addNewPage: true\n        }, {\n          devtype: '1',\n          name: (0, _intlApi.getLangMsg)('kde.key0006'),\n          items: []\n        }];\n      } else {\n        pageSourceGroup = [{\n          devtype: '2',\n          name: (0, _intlApi.getLangMsg)('kde.key0005'),\n          items: [],\n          addNewPage: true\n        }];\n      }\n      var pageTypes = {\n        DynamicFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.dongtaibiaodan\"\n        }),\n        BaseFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.jichuziliao\"\n        }),\n        BillFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.danju\"\n        }),\n        MobileFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yidongbiaodan\"\n        }),\n        MobileBillFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yidongdanju\"\n        }),\n        MobileListModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yidongliebiaobuju\"\n        }),\n        WidgetFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.xiaobujian\"\n        }),\n        ParameterFormModel_public: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.gonggongcanshu\"\n        }),\n        ParameterFormModel_cloud: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yunchangpinchangshu\"\n        }),\n        ParameterFormModel_application: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yingyongcanshu\"\n        }),\n        ParameterFormModel_bill: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.danjucanshu\"\n        }),\n        ParameterFormModel_billtype: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.danjuleixingcanshu\"\n        }),\n        ParameterFormModel_option: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yonghuxuanxiangcanshu\"\n        }),\n        ParameterFormModel_orgoption: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yonghuzuzhixuanxiangcanshu\"\n        }),\n        ParameterFormModel_listoption: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.liebiaoxuanxiangcanshu\"\n        }),\n        PrintModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.dayinmuban\"\n        }),\n        ReportFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.baobiao\"\n        }),\n        UserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.xinshouxiangdao\"\n        }),\n        MobUserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yidongxinshouxiangdao\"\n        }),\n        QueryListModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.chaxun\"\n        }),\n        PCLayout: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.pcbuju\"\n        }),\n        BalanceModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.yuebiao\"\n        }),\n        ReportQueryListModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.shujuyuanbaobiao\"\n        }),\n        CardModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.lightcard'\n        }),\n        LogBillFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.logbillform\"\n        })\n      };\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'bizPageItems')(state) || [];\n      for (var i = 0; i < items.length; i++) {\n        var formItem = items[i];\n        formItem.pageType = pageTypes[formItem.modeltype];\n        if (unitType === '3') {\n          if (formItem.devtype === '2' || formItem.devtype === '3') {\n            pageSourceGroup[0].items.push(formItem);\n          }\n        } else {\n          if (formItem.devtype === '2' || formItem.devtype === '3') {\n            pageSourceGroup[0].items.push(formItem);\n          } else {\n            pageSourceGroup[1].items.push(formItem);\n          }\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, pageSourceGroup.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(PageSource, _extends({}, item, {\n          key: index,\n          appId: appId,\n          pageId: pageId,\n          dispatch: dispatch,\n          selectedUnitId: selectedUnitId,\n          state: state,\n          unitType: unitType,\n          selfUnitGroups: pageSourceGroup[0].items,\n          rightHeight: _this.props.rightHeight\n        }));\n      }));\n    }\n  }]);\n  return ExtendAppUnitPage;\n}(_react.Component);\nvar PageSource = exports.PageSource = /*#__PURE__*/function (_Component2) {\n  _inherits(PageSource, _Component2);\n  function PageSource(props) {\n    var _this2;\n    _classCallCheck(this, PageSource);\n    _this2 = _callSuper(this, PageSource, [props]);\n    _this2.state = {\n      show: true\n    };\n    _this2.handleShowHideGroup = _this2.handleShowHideGroup.bind(_assertThisInitialized(_this2));\n    return _this2;\n  }\n  _createClass(PageSource, [{\n    key: \"handleShowHideGroup\",\n    value: function handleShowHideGroup() {\n      this.setState({\n        show: !this.state.show\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        selectedUnitId = _this$props2.selectedUnitId,\n        appId = _this$props2.appId,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state,\n        unitType = _this$props2.unitType,\n        selfUnitGroups = _this$props2.selfUnitGroups;\n      var Items = this.props.items;\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      var groupShow = this.props.items.length > 0 || this.props.addNewPage && isOwner ? 'unvisiable' : 'visiable';\n      var addNewPageBlockOrInline;\n      if (selfUnitGroups.length === 0) {\n        addNewPageBlockOrInline = 'adnnnewpageblock';\n      } else {\n        addNewPageBlockOrInline = 'adnnnewpageinline';\n      }\n      var addNewPage = this.props.addNewPage && isOwner ? addNewPageBlockOrInline : 'visiable';\n      var showhide = this.state.show ? 'unvisiable' : 'visiable';\n      var arrow = this.state.show ? 'arrows_down' : 'arrows_left';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"tabContent\",\n        className: _KDBizPageList[\"default\"].tabContent\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].baseForm, _KDBizPageList[\"default\"][groupShow])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, this.props.name), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"][arrow],\n        onClick: this.handleShowHideGroup\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"][showhide])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"][addNewPage]\n      }, /*#__PURE__*/_react[\"default\"].createElement(_PageAddNew[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        selectedUnitId: selectedUnitId,\n        appId: appId,\n        unitType: unitType\n      })), Items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_PageItem[\"default\"], _extends({}, item, {\n          key: index,\n          index: index,\n          state: state,\n          appId: appId,\n          selectedUnitId: selectedUnitId,\n          pageId: pageId,\n          dispatch: dispatch,\n          rightHeight: _this3.props.rightHeight\n        }));\n      })));\n    }\n  }]);\n  return PageSource;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/ExtendAppUnitPage.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/MoreOperation.js":
/*!*****************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/MoreOperation.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.Operate = void 0;\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SvgUtil = __webpack_require__(/*! ../../../util/SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../../../util/utils */ \"./src/devportal/util/utils.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 更多操作\n */\nvar MoreOperation = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(MoreOperation, _Component);\n  function MoreOperation(props) {\n    var _this;\n    _classCallCheck(this, MoreOperation);\n    _this = _callSuper(this, MoreOperation, [props]);\n    _this.onClickOutSide = function (e) {\n      if (_this.state.visiable) return;\n      var target = e.target;\n      while (target && target !== document) {\n        if (target === _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this))) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      if (!target) return;\n      _this.hideChangeMore();\n    };\n    _this.state = {\n      visiable: true,\n      isDowndrop: 'downdrop'\n    };\n    _this.moreRef = /*#__PURE__*/(0, _react.createRef)();\n    _this.handleMouseleave = _this.handleMouseleave.bind(_assertThisInitialized(_this));\n    _this.handleChangeMore = _this.handleChangeMore.bind(_assertThisInitialized(_this));\n    _this.hideChangeMore = _this.hideChangeMore.bind(_assertThisInitialized(_this));\n    _this.onClickOutSide = _this.onClickOutSide.bind(_assertThisInitialized(_this));\n    _this.scrollHandler = _lodash[\"default\"].debounce(_this.onClickOutSide, 300, {\n      leading: true,\n      trailing: true\n    });\n    return _this;\n  }\n  _createClass(MoreOperation, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('click', this.onClickOutSide);\n      document.addEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('click', this.onClickOutSide);\n      document.removeEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"handleMouseleave\",\n    value: function handleMouseleave() {\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"handleChangeMore\",\n    value: function handleChangeMore(e) {\n      e.stopPropagation();\n      var clientHeight = document.documentElement.clientHeight;\n      var toTop = e.target.getBoundingClientRect().top;\n      var eleHeight = e.target.clientHeight;\n      var height = (0, _utils.query)(this.moreRef.current).css('height');\n      var listHeight = parseInt(height.slice(0, -2));\n      var toBottom = clientHeight - toTop - eleHeight;\n      if (listHeight < toBottom) {\n        this.setState(function (preState) {\n          return {\n            visiable: !preState.visiable,\n            isDowndrop: 'downdrop'\n          };\n        });\n      } else {\n        this.setState(function (preState) {\n          return {\n            visiable: !preState.visiable,\n            isDowndrop: 'updrop'\n          };\n        });\n      }\n    }\n  }, {\n    key: \"hideChangeMore\",\n    value: function hideChangeMore() {\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        baseORBill = _this$props.baseORBill,\n        itemType = _this$props.itemType,\n        isOwner = _this$props.isOwner,\n        bizAppType = _this$props.bizAppType;\n      var modelType = this.props.args.modeltype;\n      var _ref = [this.state.visiable ? 'visiable' : 'unvisiable', this.state.isDowndrop, this.props.args.devtype],\n        showMore = _ref[0],\n        isDowndrop = _ref[1],\n        devType = _ref[2];\n      var top;\n      if (isDowndrop === 'downdrop') {\n        top = {\n          top: '8px'\n        };\n      } else {\n        var height = (0, _utils.query)(this.moreRef.current).css('height');\n        var divHeight = parseInt(height.slice(0, height.length - 2));\n        top = {\n          top: -divHeight + 'px'\n        };\n      }\n\n      // 若当前资源不属于当前开发商，则隐藏签入、更新、继承、移动、导出、导入、布局、套打等功能\n      var notOwnerStyle, operateShowOrHide, inheritShowOrHide, baseORBillORReport, copyShowOrHide;\n      if (devType === '2') {\n        baseORBillORReport = 'visiable';\n      } else {\n        baseORBillORReport = modelType === 'BaseFormModel' || modelType === 'BillFormModel' || modelType === 'ReportFormModel' ? 'visiable_flex' : 'visiable';\n      }\n      if (!isOwner) {\n        notOwnerStyle = 'visiable';\n        inheritShowOrHide = 'visiable';\n      } else {\n        if (bizAppType === '2') {\n          inheritShowOrHide = 'visiable';\n          copyShowOrHide = 'visiable';\n          if (devType === '1') {\n            notOwnerStyle = 'visiable';\n          } else if (devType === '2') {\n            operateShowOrHide = 'visiable';\n          }\n        } else {\n          inheritShowOrHide = modelType === 'PrintModel' ? 'visiable' : 'unvisiable';\n          // 单据、基础资料支持复制\n          copyShowOrHide = ['BaseFormModel', 'BillFormModel', 'PrintModel'].includes(modelType) ? 'unvisiable' : 'visiable';\n          if (devType === '2') {\n            inheritShowOrHide = 'visiable';\n            copyShowOrHide = 'visible';\n          }\n        }\n      }\n      var optArgs = {\n        bizappid: this.props.args.appId,\n        bizid: this.props.args.id,\n        biznumber: this.props.args.number,\n        bizname: this.props.args.name,\n        bizunitid: this.props.args.bizunitid,\n        modeltype: this.props.args.modeltype,\n        entityid: this.props.args.entityid\n      };\n      var copyArgs = {\n        appId: this.props.args.appId,\n        bizunitid: this.props.args.bizunitid,\n        id: this.props.args.id,\n        name: this.props.args.name,\n        number: this.props.args.number\n      };\n      var operateItems = [{\n        liStyle: [_KDBizPageList[\"default\"][baseORBill], _KDBizPageList[\"default\"][operateShowOrHide]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.layout)(e, pageId, optArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.buju'\n        })\n      }, {\n        liStyle: [_KDBizPageList[\"default\"][operateShowOrHide], _KDBizPageList[\"default\"][inheritShowOrHide]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.inherit)(e, pageId, optArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jicheng'\n        })\n      }, {\n        liStyle: [_KDBizPageList[\"default\"][baseORBillORReport], _KDBizPageList[\"default\"][operateShowOrHide]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.printTemplate)(e, pageId, optArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dayin'\n        })\n      }, {\n        liStyle: [_KDBizPageList[\"default\"][operateShowOrHide]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.move)(e, pageId, itemType, optArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidong'\n        })\n      }, {\n        liStyle: [_KDBizPageList[\"default\"][copyShowOrHide]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.copyPage)(e, pageId, copyArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.fuzhi'\n        })\n      }, {\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.exportMetadata)(e, pageId, itemType, optArgs, _this2.handleChangeMore));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.daochu'\n        })\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgMore)(), _KDBizPageList[\"default\"][notOwnerStyle]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.gengduo'\n        }),\n        onClick: this.handleChangeMore\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: top,\n        ref: this.moreRef,\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].downdrop, _KDBizPageList[\"default\"][showMore])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, operateItems.map(function (operateItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Operate, {\n          key: index,\n          operateItem: operateItem\n        });\n      }))));\n    }\n  }]);\n  return MoreOperation;\n}(_react.Component); // 更多操作\nvar Operate = exports.Operate = /*#__PURE__*/function (_Component2) {\n  _inherits(Operate, _Component2);\n  function Operate() {\n    _classCallCheck(this, Operate);\n    return _callSuper(this, Operate, arguments);\n  }\n  _createClass(Operate, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$operateIt = this.props.operateItem,\n        liStyle = _this$props$operateIt.liStyle,\n        actionName = _this$props$operateIt.actionName,\n        spanKey = _this$props$operateIt.spanKey;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(liStyle),\n        onClick: actionName\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, spanKey));\n    }\n  }]);\n  return Operate;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/MoreOperation.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/OriAppUnitPage.js":
/*!******************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/OriAppUnitPage.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _PageAddNew = _interopRequireDefault(__webpack_require__(/*! ./PageAddNew */ \"./src/devportal/component/BizPageListComponents/page/PageAddNew.js\"));\nvar _PageItem = _interopRequireDefault(__webpack_require__(/*! ./PageItem */ \"./src/devportal/component/BizPageListComponents/page/PageItem.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 原应用表单视图\n */\nvar OriAppUnitPage = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(OriAppUnitPage, _Component);\n  function OriAppUnitPage() {\n    _classCallCheck(this, OriAppUnitPage);\n    return _callSuper(this, OriAppUnitPage, arguments);\n  }\n  _createClass(OriAppUnitPage, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        selectedUnitId = _this$props.selectedUnitId,\n        appId = _this$props.appId,\n        pageId = _this$props.pageId,\n        state = _this$props.state,\n        rightHeight = _this$props.rightHeight;\n      var notOwnerStyle = '';\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      if (!isOwner) {\n        notOwnerStyle = 'visiable';\n      }\n      var pageTypes = {\n        DynamicFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dongtaibiaodan'\n        }),\n        BaseFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jichuziliao'\n        }),\n        BillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danju'\n        }),\n        MobileFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongbiaodan'\n        }),\n        MobileBillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongdanju'\n        }),\n        MobileListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongliebiaobuju'\n        }),\n        WidgetFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiaobujian'\n        }),\n        ParameterFormModel_public: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.gonggongcanshu'\n        }),\n        ParameterFormModel_cloud: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yunchangpinchangshu'\n        }),\n        ParameterFormModel_application: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yingyongcanshu'\n        }),\n        ParameterFormModel_bill: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjucanshu'\n        }),\n        ParameterFormModel_billtype: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjuleixingcanshu'\n        }),\n        ParameterFormModel_option: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuxuanxiangcanshu'\n        }),\n        ParameterFormModel_orgoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuzuzhixuanxiangcanshu'\n        }),\n        ParameterFormModel_listoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liebiaoxuanxiangcanshu'\n        }),\n        PrintModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dayinmuban'\n        }),\n        ReportFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.baobiao'\n        }),\n        UserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xinshouxiangdao'\n        }),\n        MobUserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongxinshouxiangdao'\n        }),\n        QueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.chaxun'\n        }),\n        PCLayout: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.pcbuju'\n        }),\n        BalanceModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yuebiao'\n        }),\n        ReportQueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shujuyuanbaobiao'\n        }),\n        CardModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.lightcard'\n        }),\n        LogBillFormModel: (0, _intlApi.getLangMsg)({\n          key: \"pagelist.logbillform\"\n        })\n      };\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'bizPageItems')(state) || [];\n      var formItems = [];\n      for (var i = 0; i < items.length; i++) {\n        var formItem = items[i];\n        formItem.pageType = pageTypes[formItem.modeltype];\n        formItems.push(formItem);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].baseForm)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"][notOwnerStyle]\n      }, /*#__PURE__*/_react[\"default\"].createElement(_PageAddNew[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        selectedUnitId: selectedUnitId,\n        appId: appId,\n        state: state\n      })), formItems.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_PageItem[\"default\"], _extends({}, item, {\n          key: index,\n          index: index,\n          state: state,\n          appId: appId,\n          selectedUnitId: selectedUnitId,\n          pageId: pageId,\n          dispatch: dispatch,\n          rightHeight: rightHeight\n        }));\n      })));\n    }\n  }]);\n  return OriAppUnitPage;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/OriAppUnitPage.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/PageAddNew.js":
/*!**************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/PageAddNew.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../../util/SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _PageOperate = _interopRequireDefault(__webpack_require__(/*! ./PageOperate */ \"./src/devportal/component/BizPageListComponents/page/PageOperate.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 表单新增\n */\nvar PageAddNew = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(PageAddNew, _Component);\n  function PageAddNew() {\n    _classCallCheck(this, PageAddNew);\n    return _callSuper(this, PageAddNew, arguments);\n  }\n  _createClass(PageAddNew, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        selectedUnitId = _this$props.selectedUnitId,\n        appId = _this$props.appId,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var notOwnerStyle = '';\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      if (!isOwner) {\n        notOwnerStyle = 'visiable';\n      }\n      var unitType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedUnitType')(state);\n      var operateItems = [{\n        spanStyle: [_KDBizPageList[\"default\"]['icon-add']]\n      }, {\n        spanStyle: [_KDBizPageList[\"default\"].addNewPage],\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.chuangjianyemian'\n        })\n      }, {\n        spanStyle: [_KDBizPageList[\"default\"][\"import\"]],\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.insertPage)(e, pageId, appId, selectedUnitId));\n        },\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yinru'\n        })\n      }, {\n        spanStyle: [(0, _SvgUtil.svgFastInherit)()],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.kuaisujicheng'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.fastInheritPage)(e, pageId, appId, selectedUnitId));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgPageImport)(), _KDBizPageList[\"default\"][notOwnerStyle]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.daoru'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.importPage)(e, pageId, selectedUnitId, appId, unitType));\n        }\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"]['list-area'], _KDBizPageList[\"default\"].row)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"]['bizAdd-item'] + ' devportal_card',\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.addnewPage)(e, selectedUnitId, appId, pageId));\n        }\n      }, operateItems.map(function (operateItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_PageOperate[\"default\"], {\n          dispatch: dispatch,\n          key: index,\n          operateItem: operateItem\n        });\n      })));\n    }\n  }]);\n  return PageAddNew;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/PageAddNew.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/PageContent.js":
/*!***************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/PageContent.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.TitleOperate = exports.ContentOperate = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _SvgUtil = __webpack_require__(/*! ../../../util/SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 布局切换：卡片布局、列表布局\n */\nvar PageContent = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(PageContent, _Component);\n  function PageContent() {\n    _classCallCheck(this, PageContent);\n    return _callSuper(this, PageContent, arguments);\n  }\n  _createClass(PageContent, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        state = _this$props.state,\n        pageState = _this$props.pageState,\n        pageId = _this$props.pageId,\n        formId = _this$props.formId,\n        formName = _this$props.formName,\n        formNumber = _this$props.formNumber,\n        devtype = _this$props.devtype,\n        modelType = _this$props.modelType,\n        appId = _this$props.appId,\n        selectedUnitId = _this$props.selectedUnitId,\n        isCollection = _this$props.isCollection,\n        pageType = _this$props.pageType,\n        parentnumber = _this$props.parentnumber,\n        parentid = _this$props.parentid,\n        modifiername = _this$props.modifiername,\n        modifydate = _this$props.modifydate,\n        index = _this$props.index;\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      var delAndEditShowOrHide = pageState.visiable ? 'visiable' : 'unvisiable';\n      if (!isOwner) {\n        delAndEditShowOrHide = 'visiable';\n      }\n      if (devtype === '1') {\n        delAndEditShowOrHide = 'visiable';\n      }\n      var isExt = devtype === '2';\n      var extIconClass = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty({}, _KDBizPageList[\"default\"]['icon-extend'], isExt), 'kdfont kdfont-kuo11', isExt));\n      var iconVisiable = pageState.visiable ? 'visiable' : 'unvisiable';\n      var isCollected = isCollection ? (0, _SvgUtil.svgPageCollected)() : (0, _SvgUtil.svgPageCollect)();\n      var originalPage = parentnumber == null ? 'visiable' : 'unvisiable';\n      var userNameShowOrHide = modifiername == null ? 'visiable' : 'unvisiable';\n      var titleOperateItems = [{\n        spanStyle: [(0, _SvgUtil.svgPageDelete)(), _KDBizPageList[\"default\"][delAndEditShowOrHide]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shanchu'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.deletePage)(e, formId, formName, isCollection, appId, selectedUnitId, pageId, formNumber));\n        },\n        hasClickActive: '1'\n      }, {\n        spanStyle: [(0, _SvgUtil.svgPageEdit)(), _KDBizPageList[\"default\"][delAndEditShowOrHide]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiugai'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.gotoPageDesigner)(e, formId, formNumber, pageId));\n        },\n        hasClickActive: '1'\n      }, {\n        spanStyle: [isCollected, _KDBizPageList[\"default\"][iconVisiable], _KDBizPageList[\"default\"][delAndEditShowOrHide]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shoucang'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.collectPage)(e, index, formId, appId, pageId));\n        },\n        hasClickActive: '1'\n      }];\n      var contentItems = [{\n        classStyle: [_KDBizPageList[\"default\"].prop],\n        spanStyle1: [_KDBizPageList[\"default\"].title],\n        spanKey1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yemianbianma'\n        }),\n        spanStyle2: [_KDBizPageList[\"default\"].number],\n        spanTitle: formNumber,\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.gotoPageDesigner)(e, formId, formNumber, pageId));\n        },\n        hasClickActive: '1',\n        spanKey2: formNumber\n      }, {\n        classStyle: [_KDBizPageList[\"default\"].prop],\n        spanStyle1: [_KDBizPageList[\"default\"].title],\n        spanKey1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yemianleixing'\n        }),\n        spanTitle: modelType,\n        hasClickActive: '0',\n        spanKey2: pageType\n      }, {\n        classStyle: [_KDBizPageList[\"default\"].prop, _KDBizPageList[\"default\"][originalPage]],\n        spanStyle1: [_KDBizPageList[\"default\"].title],\n        spanKey1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yuanyemian'\n        }),\n        spanStyle2: [_KDBizPageList[\"default\"].number],\n        spanTitle: parentnumber,\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.gotoPageDesigner)(e, parentid, parentnumber, pageId));\n        },\n        hasClickActive: '1',\n        spanKey2: parentnumber\n      }, {\n        classStyle: [_KDBizPageList[\"default\"].prop, _KDBizPageList[\"default\"][userNameShowOrHide]],\n        spanStyle1: [_KDBizPageList[\"default\"].title],\n        spanKey1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiugairen'\n        }),\n        spanTitle: modifiername,\n        hasClickActive: '0',\n        spanKey2: modifiername\n      }, {\n        classStyle: [_KDBizPageList[\"default\"].prop, _KDBizPageList[\"default\"][userNameShowOrHide]],\n        spanStyle1: [_KDBizPageList[\"default\"].title],\n        spanKey1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiugaishijian1'\n        }),\n        spanTitle: modifydate,\n        hasClickActive: '0',\n        spanKey2: modifydate\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].pageTitle\n      }, titleOperateItems.map(function (titleOperateItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(TitleOperate, {\n          dispatch: dispatch,\n          key: index,\n          titleOperateItem: titleOperateItem\n        });\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].pageName,\n        title: formName\n      }, formName), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: extIconClass\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].pageContent\n      }, contentItems.map(function (contentItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(ContentOperate, {\n          dispatch: dispatch,\n          key: index,\n          contentItem: contentItem\n        });\n      })));\n    }\n  }]);\n  return PageContent;\n}(_react.Component); // 头部标题操作\nvar TitleOperate = exports.TitleOperate = /*#__PURE__*/function (_Component2) {\n  _inherits(TitleOperate, _Component2);\n  function TitleOperate() {\n    _classCallCheck(this, TitleOperate);\n    return _callSuper(this, TitleOperate, arguments);\n  }\n  _createClass(TitleOperate, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$titleOper = this.props.titleOperateItem,\n        spanStyle = _this$props$titleOper.spanStyle,\n        spanTitle = _this$props$titleOper.spanTitle,\n        actionName = _this$props$titleOper.actionName,\n        hasClickActive = _this$props$titleOper.hasClickActive;\n      var spanLable = null;\n      if (hasClickActive === '1') {\n        spanLable = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames2[\"default\"])(spanStyle),\n          title: spanTitle,\n          onClick: actionName\n        });\n      } else {\n        spanLable = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames2[\"default\"])(spanStyle),\n          title: spanTitle\n        });\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, spanLable);\n    }\n  }]);\n  return TitleOperate;\n}(_react.Component); // 内容区信息 + 操作\nvar ContentOperate = exports.ContentOperate = /*#__PURE__*/function (_Component3) {\n  _inherits(ContentOperate, _Component3);\n  function ContentOperate() {\n    _classCallCheck(this, ContentOperate);\n    return _callSuper(this, ContentOperate, arguments);\n  }\n  _createClass(ContentOperate, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$contentIt = this.props.contentItem,\n        classStyle = _this$props$contentIt.classStyle,\n        spanStyle1 = _this$props$contentIt.spanStyle1,\n        spanStyle2 = _this$props$contentIt.spanStyle2,\n        spanTitle = _this$props$contentIt.spanTitle,\n        actionName = _this$props$contentIt.actionName,\n        hasClickActive = _this$props$contentIt.hasClickActive,\n        spanKey1 = _this$props$contentIt.spanKey1,\n        spanKey2 = _this$props$contentIt.spanKey2;\n      var spanLable = null;\n      if (hasClickActive === '1') {\n        spanLable = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames2[\"default\"])(spanStyle2),\n          title: spanTitle,\n          onClick: actionName\n        }, \" \", spanKey2, \" \");\n      } else {\n        spanLable = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          title: spanTitle\n        }, \" \", spanKey2, \" \");\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames2[\"default\"])(classStyle)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])(spanStyle1)\n      }, \" \", spanKey1, \" \"), spanLable);\n    }\n  }]);\n  return ContentOperate;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/PageContent.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/PageFilterCondition.js":
/*!***********************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/PageFilterCondition.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.SelectFilterCondition = exports.FilterConditions = void 0;\n__webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n* 页面过滤条件\n*/\nvar PageFilterCondition = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(PageFilterCondition, _Component);\n  function PageFilterCondition() {\n    _classCallCheck(this, PageFilterCondition);\n    return _callSuper(this, PageFilterCondition, arguments);\n  }\n  _createClass(PageFilterCondition, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$filterPro = this.props.filterProps,\n        dispatch = _this$props$filterPro.dispatch,\n        appId = _this$props$filterPro.appId,\n        selectedUnitId = _this$props$filterPro.selectedUnitId,\n        pageId = _this$props$filterPro.pageId,\n        state = _this$props$filterPro.state;\n      var _this$props = this.props,\n        deviceFilter = _this$props.deviceFilter,\n        modelTypeFilter = _this$props.modelTypeFilter,\n        pageAttributeFilter = _this$props.pageAttributeFilter;\n      var all = deviceFilter === 'all' ? 'selected' : '';\n      var phone = deviceFilter === 'phone' ? 'selected' : '';\n      var web = deviceFilter === 'web' ? 'selected' : '';\n      var allFormModelType = modelTypeFilter === 'AllFormModel' ? 'selected' : '';\n      var dynamicFormModelType = modelTypeFilter === 'DynamicFormModel' ? 'selected' : '';\n      var baseFormModelType = modelTypeFilter === 'BaseFormModel' ? 'selected' : '';\n      var billFormModelType = modelTypeFilter === 'BillFormModel' ? 'selected' : '';\n      var mobileFormModelType = modelTypeFilter === 'MobileFormModel' ? 'selected' : '';\n      var mobileBillFormModelType = modelTypeFilter === 'MobileBillFormModel' ? 'selected' : '';\n      var parameterModelType = modelTypeFilter === 'ParameterModel' ? 'selected' : '';\n      var reportFormModelType = modelTypeFilter === 'ReportFormModel' ? 'selected' : '';\n      var printModelType = modelTypeFilter === 'PrintModel' ? 'selected' : '';\n      var pcLayoutModelType = modelTypeFilter === 'PCLayoutModel' ? 'selected' : '';\n      var othersModelType = modelTypeFilter === 'OthersModel' ? 'selected' : '';\n      var bizPageNameType = pageAttributeFilter === 'name' ? 'selected' : '';\n      var bizPageNumberType = pageAttributeFilter === 'number' ? 'selected' : '';\n      var bizPageCreateTimeType = pageAttributeFilter === 'createdate' ? 'selected' : '';\n      var bizPageModifyTimeType = pageAttributeFilter === 'modifydate' ? 'selected' : '';\n      var mobileVisible = deviceFilter !== 'web' ? 'visible' : 'invisible';\n      var pcVisible = deviceFilter !== 'phone' ? 'visible' : 'invisible';\n      var deviceFilterConditions = [{\n        classStyle: [_KDBizPageList[\"default\"][all]],\n        changeTabParam: ['deviceFilter', 'all'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.quanbu'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][web]],\n        changeTabParam: ['deviceFilter', 'web'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.pcduan'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][phone]],\n        changeTabParam: ['deviceFilter', 'phone'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongduan'\n        })\n      }];\n      var formFilterConditions = [{\n        classStyle: [_KDBizPageList[\"default\"][allFormModelType]],\n        changeTabParam: ['modelTypeFilter', 'AllFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.quanbu'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][billFormModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'BillFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danju'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][baseFormModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'BaseFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jichuziliao'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][dynamicFormModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'DynamicFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dongtaibiaodan'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][pcLayoutModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'PCLayoutModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.pcbuju'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][reportFormModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'ReportFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.baobiao'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][printModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'PrintModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dayinmuban'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][parameterModelType], _KDBizPageList[\"default\"][pcVisible]],\n        changeTabParam: ['modelTypeFilter', 'ParameterModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.canshu'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][mobileFormModelType], _KDBizPageList[\"default\"][mobileVisible]],\n        changeTabParam: ['modelTypeFilter', 'MobileFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongbiaodan'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][mobileBillFormModelType], _KDBizPageList[\"default\"][mobileVisible]],\n        changeTabParam: ['modelTypeFilter', 'MobileBillFormModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongdanju'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][othersModelType]],\n        changeTabParam: ['modelTypeFilter', 'OthersModel'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.qita'\n        })\n      }];\n      var sortFilterConditions = [{\n        classStyle: [_KDBizPageList[\"default\"][bizPageNumberType]],\n        changeTabParam: ['pageAttributeFilter', 'number'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.bianma'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][bizPageNameType]],\n        changeTabParam: ['pageAttributeFilter', 'name'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.mingche'\n        })\n      }, {\n        classStyle: [_KDBizPageList[\"default\"][bizPageModifyTimeType]],\n        changeTabParam: ['pageAttributeFilter', 'modifydate'],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiugaishijian'\n        })\n      }];\n      var pageFilters = [{\n        classStyle: _KDBizPageList[\"default\"].tabDev,\n        filterCondition: deviceFilterConditions,\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shebei'\n        }),\n        conditions: deviceFilterConditions\n      }, {\n        classStyle: _KDBizPageList[\"default\"].tabPageGroup,\n        filterCondition: formFilterConditions,\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yemian1'\n        }),\n        conditions: formFilterConditions\n      }, {\n        classStyle: _KDBizPageList[\"default\"].tabPageGroup,\n        filterCondition: sortFilterConditions,\n        spanKey: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.paixu'\n        }),\n        conditions: sortFilterConditions\n      }];\n      var filterConditionParam = {\n        dispatch: dispatch,\n        appId: appId,\n        selectedUnitId: selectedUnitId,\n        pageId: pageId,\n        state: state\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"tabTitle\",\n        className: _KDBizPageList[\"default\"].tabTitle\n      }, /*#__PURE__*/_react[\"default\"].createElement(FilterConditions, {\n        pageFilters: pageFilters,\n        filterConditionParam: filterConditionParam\n      }));\n    }\n  }]);\n  return PageFilterCondition;\n}(_react.Component); // 表单过滤条件：设备、类型、属性\nvar FilterConditions = exports.FilterConditions = /*#__PURE__*/function (_Component2) {\n  _inherits(FilterConditions, _Component2);\n  function FilterConditions() {\n    _classCallCheck(this, FilterConditions);\n    return _callSuper(this, FilterConditions, arguments);\n  }\n  _createClass(FilterConditions, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$filterCon = this.props.filterConditionParam,\n        dispatch = _this$props$filterCon.dispatch,\n        selectedUnitId = _this$props$filterCon.selectedUnitId,\n        appId = _this$props$filterCon.appId,\n        pageId = _this$props$filterCon.pageId,\n        state = _this$props$filterCon.state;\n      var pageFilters = this.props.pageFilters;\n      return pageFilters.map(function (pageFilter, pageFilterIndex) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n          className: pageFilter.classStyle,\n          key: pageFilterIndex\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, pageFilter.spanKey), pageFilter.conditions.map(function (filterCondition, conditionIndex) {\n          return /*#__PURE__*/_react[\"default\"].createElement(SelectFilterCondition, {\n            key: conditionIndex,\n            dispatch: dispatch,\n            appId: appId,\n            selectedUnitId: selectedUnitId,\n            pageId: pageId,\n            state: state,\n            contentItem: filterCondition\n          });\n        }));\n      });\n    }\n  }]);\n  return FilterConditions;\n}(_react.Component); // 表单过滤条件抽取\nvar SelectFilterCondition = exports.SelectFilterCondition = /*#__PURE__*/function (_Component3) {\n  _inherits(SelectFilterCondition, _Component3);\n  function SelectFilterCondition(props) {\n    var _this;\n    _classCallCheck(this, SelectFilterCondition);\n    _this = _callSuper(this, SelectFilterCondition, [props]);\n    _this.changeTabContent = _this.changeTabContent.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(SelectFilterCondition, [{\n    key: \"changeTabContent\",\n    value: function changeTabContent(e, type, name) {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        appId = _this$props2.appId,\n        selectedUnitId = _this$props2.selectedUnitId,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      var filterCondition = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(state) || [];\n      var deviceFilter = 'all',\n        modelTypeFilter = 'AllFormModel',\n        pageAttributeFilter = 'number';\n      if (filterCondition.length > 0) {\n        deviceFilter = filterCondition[0];\n        modelTypeFilter = filterCondition[1];\n        pageAttributeFilter = filterCondition[2];\n      }\n      // 选中状态\n      if (type === 'deviceFilter') {\n        deviceFilter = name;\n      } else if (type === 'modelTypeFilter') {\n        modelTypeFilter = name;\n      } else {\n        pageAttributeFilter = name;\n      }\n      // 显示状态\n      if (name === 'web' || name === 'phone') {\n        modelTypeFilter = 'AllFormModel';\n      }\n      // 查询选中业务单元下的页面\n      dispatch((0, _bizPageListAction.selectPageFilter)(pageId, appId, null, selectedUnitId, null, deviceFilter, modelTypeFilter, pageAttributeFilter));\n      // setDevportalData设置传递的状态\n      var pageFilterItems = [deviceFilter, modelTypeFilter, pageAttributeFilter];\n      dispatch((0, _bizPageListAction.changePagegrouptype)(pageFilterItems, pageId));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props$contentIt = this.props.contentItem,\n        classStyle = _this$props$contentIt.classStyle,\n        changeTabParam = _this$props$contentIt.changeTabParam,\n        spanTitle = _this$props$contentIt.spanTitle;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(classStyle),\n        onClick: function onClick(e) {\n          return _this2.changeTabContent.apply(_this2, [e].concat(_toConsumableArray(changeTabParam)));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, spanTitle));\n    }\n  }]);\n  return SelectFilterCondition;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/PageFilterCondition.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/PageItem.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/PageItem.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _bizPageListAction = __webpack_require__(/*! ../../../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../../util/SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _PageContent = _interopRequireDefault(__webpack_require__(/*! ./PageContent */ \"./src/devportal/component/BizPageListComponents/page/PageContent.js\"));\nvar _PageOperate = _interopRequireDefault(__webpack_require__(/*! ./PageOperate */ \"./src/devportal/component/BizPageListComponents/page/PageOperate.js\"));\nvar _MoreOperation = _interopRequireDefault(__webpack_require__(/*! ./MoreOperation */ \"./src/devportal/component/BizPageListComponents/page/MoreOperation.js\"));\nvar _CodeManage = _interopRequireDefault(__webpack_require__(/*! ../../../util/CodeManage */ \"./src/devportal/util/CodeManage.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 表单卡片\n */\nvar PageItem = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(PageItem, _Component);\n  function PageItem(props) {\n    var _this;\n    _classCallCheck(this, PageItem);\n    _this = _callSuper(this, PageItem, [props]);\n    _this.state = {\n      visiable: true\n    };\n    _this.handleMouseover = _this.handleMouseover.bind(_assertThisInitialized(_this));\n    _this.handleMouseleave = _this.handleMouseleave.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(PageItem, [{\n    key: \"handleMouseover\",\n    value: function handleMouseover() {\n      this.setState({\n        visiable: false\n      });\n    }\n  }, {\n    key: \"handleMouseleave\",\n    value: function handleMouseleave() {\n      this.setState({\n        visiable: true\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        index = _this$props.index,\n        pageId = _this$props.pageId,\n        rightHeight = _this$props.rightHeight,\n        appId = _this$props.appId,\n        selectedUnitId = _this$props.selectedUnitId,\n        state = _this$props.state,\n        locking = _this$props.locking,\n        accountType = _this$props.accountType,\n        id = _this$props.id,\n        bizunitid = _this$props.bizunitid,\n        number = _this$props.number,\n        _this$props$isinherit = _this$props.isinherit,\n        isinherit = _this$props$isinherit === void 0 ? true : _this$props$isinherit;\n      var formId = this.props.id;\n      var formNumber = this.props.number;\n      var formName = this.props.name;\n      var modelType = this.props.modeltype;\n      var devType = this.props.devtype;\n      var enabled = this.props.enabled;\n      var isPublish = enabled === true ? (0, _SvgUtil.svgPageEnable)() : (0, _SvgUtil.svgPageForbidden)();\n      var publishTitle = enabled === true ? (0, _intlApi.getLangMsg)({\n        key: 'applist.jinyong'\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'applist.qiyong'\n      });\n      var curSelectedPage = (0, _appModelFunction.getDevportalData)(pageId, 'curselectedpage')(state);\n      var cardSelected = formId === curSelectedPage ? 'devportal_cardSelected' : '';\n      // 若当前资源不属于当前开发商，则隐藏签入、更新、继承、移动、导出、导入、布局、套打等功能\n      var dataPageCard = index === 0 ? pageId + '_pageCard' : '';\n      var dataCollectedPage = index === 0 ? pageId + '_collectedPage' : '';\n      var bizAppType = (0, _appModelFunction.getDevportalData)(pageId, 'bizAppType')(state);\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'appbelongstocurtenent')(state);\n      var baseORBill;\n      if (devType === '2') {\n        baseORBill = 'visiable';\n      } else {\n        baseORBill = modelType === 'BaseFormModel' || modelType === 'BillFormModel' ? 'visiable_flex' : 'visiable';\n      }\n      var showHideCheckIn = this.props.codemanage !== 'svn' ? 'visiable' : '';\n      var extendShowOrHide, inheritShowOrHide, copyVisible, operateShowOrHide, publishShowOrHide;\n      // isextended报表允许扩展\n      var isextended = this.props.isextended;\n      if (isOwner) {\n        operateShowOrHide = 'unvisiable';\n        if (devType === '2') {\n          publishShowOrHide = 'unvisiable';\n        } else {\n          publishShowOrHide = 'visiable';\n        }\n        if (bizAppType === '2') {\n          if (modelType === 'PrintModel') {\n            extendShowOrHide = 'visiable';\n            inheritShowOrHide = 'visiable';\n            copyVisible = 'unvisiable';\n          } else if (modelType === 'ReportFormModel') {\n            extendShowOrHide = isextended == true ? 'unvisiable' : 'visiable';\n            inheritShowOrHide = isextended == true ? 'unvisiable' : 'visiable';\n            copyVisible = 'visiable';\n          } else {\n            extendShowOrHide = isextended === true ? 'unvisiable' : 'visiable';\n            inheritShowOrHide = isinherit === true ? 'unvisiable' : 'visiable';\n            copyVisible = 'visiable';\n          }\n          // 单据、基础资料支持复制\n          if (['BaseFormModel', 'BillFormModel'].includes(modelType)) {\n            copyVisible = 'unvisiable';\n          }\n          // 本应用的扩展页面或者是源应用中的扩展页面\n          if (devType === '2') {\n            inheritShowOrHide = 'visiable';\n          } else if (this.props.tag === '2' && devType === '1') {\n            inheritShowOrHide = 'visiable';\n            operateShowOrHide = 'visiable';\n            showHideCheckIn = 'visiable';\n          } else if (devType === '1') {\n            operateShowOrHide = 'visiable';\n            showHideCheckIn = 'visiable';\n          }\n        } else {\n          extendShowOrHide = 'visiable';\n          inheritShowOrHide = 'visiable';\n          copyVisible = 'visiable';\n        }\n      } else {\n        publishShowOrHide = 'visiable';\n        operateShowOrHide = 'visiable';\n        extendShowOrHide = 'visiable';\n        inheritShowOrHide = 'visiable';\n        copyVisible = 'visiable';\n        showHideCheckIn = 'visiable';\n      }\n      var filterCondition = (0, _appModelFunction.getDevportalData)(pageId, 'pageFilterItem')(state) || [];\n      var deviceFilter = 'all',\n        modelTypeFilter = 'AllFormModel',\n        pageAttributeFilter = 'number';\n      if (filterCondition.length > 0) {\n        deviceFilter = filterCondition[0];\n        modelTypeFilter = filterCondition[1];\n        pageAttributeFilter = filterCondition[2];\n      }\n      var publishArgs = {\n        bizappid: appId,\n        bizunitid: this.props.bizunitid,\n        bizid: this.props.id,\n        bizname: this.props.name,\n        biznumber: this.props.number,\n        entityid: this.props.entityid,\n        enabled: this.props.enabled,\n        masterid: this.props.masterid,\n        devicefilter: deviceFilter,\n        modeltypefilter: modelTypeFilter,\n        pageattributefilter: pageAttributeFilter\n      };\n      var viewArgs = {\n        id: formId\n      };\n      var previewArgs = {\n        formid: this.props.id,\n        devtype: this.props.devtype,\n        masterid: this.props.masterid,\n        name: this.props.name,\n        number: this.props.number,\n        modeltype: this.props.modeltype,\n        tag: this.props.tag\n      };\n      var extArgs = {\n        bizappid: appId,\n        bizunitid: this.props.bizunitid,\n        bizid: this.props.id,\n        bizname: this.props.name,\n        biznumber: this.props.number,\n        modeltype: this.props.modeltype,\n        entityid: this.props.entityid\n      };\n      var copyArgs = {\n        appId: appId,\n        bizunitid: this.props.bizunitid,\n        id: this.props.id,\n        name: this.props.name,\n        number: this.props.number\n      };\n      var pageContentParam = {\n        dispatch: dispatch,\n        state: state,\n        pageId: pageId,\n        formId: formId,\n        formName: formName,\n        formNumber: formNumber,\n        devtype: devType,\n        modelType: modelType,\n        appId: appId,\n        selectedUnitId: selectedUnitId,\n        isCollection: this.props.isCollection,\n        pageType: this.props.pageType,\n        pageState: this.state,\n        parentnumber: this.props.parentnumber,\n        parentid: this.props.parentid,\n        modifiername: this.props.modifiername,\n        modifydate: this.props.modifydate,\n        index: index\n      };\n      var operateItems = [{\n        spanStyle: [(0, _SvgUtil.svgPreviewPage)()],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yulan'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.previewPage)(e, pageId, previewArgs));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgPageCheckin)(), _KDBizPageList[\"default\"][showHideCheckIn]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.qianru'\n        }),\n        actionName: function actionName() {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, formId, 'page', 'svndiff'));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgPageView)()],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shitu'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.view)(e, pageId, publishArgs));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgExtendPage)(), _KDBizPageList[\"default\"][extendShowOrHide]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.kuozhan'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.extendForm)(e, pageId, extArgs));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgInheritPage)(), _KDBizPageList[\"default\"][inheritShowOrHide]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jicheng'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.inherit)(e, pageId, extArgs));\n        }\n      }, {\n        spanStyle: [isPublish, _KDBizPageList[\"default\"][publishShowOrHide]],\n        spanTitle: publishTitle,\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.publishForm)(e, pageId, publishArgs));\n        }\n      }, {\n        spanStyle: [(0, _SvgUtil.svgCopyPage)(), _KDBizPageList[\"default\"][copyVisible]],\n        spanTitle: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.fuzhi'\n        }),\n        actionName: function actionName(e) {\n          return dispatch((0, _bizPageListAction.copyPage)(e, pageId, copyArgs));\n        }\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: this.props.id,\n        \"data-page-id\": dataPageCard,\n        className: _KDBizPageList[\"default\"]['bizPage-item'] + ' devportal_card ' + cardSelected,\n        onMouseOver: this.handleMouseover,\n        onMouseLeave: this.handleMouseleave,\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.selectPage)(e, formId, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(_PageContent[\"default\"], pageContentParam), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        \"data-page-id\": dataCollectedPage,\n        className: _KDBizPageList[\"default\"].operation\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].open\n      }), operateItems.map(function (operateItem, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_PageOperate[\"default\"], {\n          dispatch: dispatch,\n          key: index,\n          operateItem: operateItem\n        });\n      }), /*#__PURE__*/_react[\"default\"].createElement(_CodeManage[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        id: formId,\n        type: \"page\",\n        rightHeight: this.props.rightHeight,\n        modifyclassname: operateShowOrHide,\n        codeManageType: this.props.codemanage,\n        accountType: accountType,\n        locking: locking,\n        bizappid: appId,\n        bizid: id,\n        biznumber: number,\n        bizunitid: bizunitid\n      }), /*#__PURE__*/_react[\"default\"].createElement(_MoreOperation[\"default\"], {\n        dispatch: dispatch,\n        rightHeight: rightHeight,\n        pageId: pageId,\n        bizAppType: bizAppType,\n        args: this.props,\n        baseORBill: baseORBill,\n        itemType: \"page\",\n        isOwner: isOwner\n      })));\n    }\n  }]);\n  return PageItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/PageItem.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/PageOperate.js":
/*!***************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/PageOperate.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 表单操作\n */\nvar PageOperate = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(PageOperate, _Component);\n  function PageOperate() {\n    _classCallCheck(this, PageOperate);\n    return _callSuper(this, PageOperate, arguments);\n  }\n  _createClass(PageOperate, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props$operateIt = this.props.operateItem,\n        spanStyle = _this$props$operateIt.spanStyle,\n        spanTitle = _this$props$operateIt.spanTitle,\n        actionName = _this$props$operateIt.actionName,\n        spanKey = _this$props$operateIt.spanKey;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(spanStyle),\n        title: spanTitle,\n        onClick: actionName\n      }, spanKey);\n    }\n  }]);\n  return PageOperate;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/PageOperate.js?");

/***/ }),

/***/ "./src/devportal/component/BizPageListComponents/page/SwitchLayout.js":
/*!****************************************************************************!*\
  !*** ./src/devportal/component/BizPageListComponents/page/SwitchLayout.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../../../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _SvgUtil = __webpack_require__(/*! ../../../util/SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /**\n * 布局切换：卡片布局、列表布局\n */\nvar SwitchLayoutType = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SwitchLayoutType, _Component);\n  function SwitchLayoutType() {\n    _classCallCheck(this, SwitchLayoutType);\n    return _callSuper(this, SwitchLayoutType, arguments);\n  }\n  _createClass(SwitchLayoutType, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        changeLayout = _this$props.changeLayout,\n        state = _this$props.state;\n      var cardIconStyle, listIconStyle;\n      if (state.layout === 'card') {\n        cardIconStyle = (0, _classnames[\"default\"])((0, _SvgUtil.svgCardView)(), (0, _SvgUtil.svgCardViewSelected)());\n        listIconStyle = (0, _SvgUtil.svgListView)();\n      } else if (state.layout === 'list') {\n        cardIconStyle = (0, _SvgUtil.svgCardView)();\n        listIconStyle = (0, _classnames[\"default\"])((0, _SvgUtil.svgListView)(), (0, _SvgUtil.svgListViewSelected)());\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDBizPageList[\"default\"].layoutlist\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: cardIconStyle,\n        onClick: function onClick(e) {\n          return changeLayout(e, 'card');\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.kapianshitu'\n        })\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: listIconStyle,\n        onClick: function onClick(e) {\n          return changeLayout(e, 'list');\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liebiaoshitu'\n        })\n      }));\n    }\n  }]);\n  return SwitchLayoutType;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/BizPageListComponents/page/SwitchLayout.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/CodeEdit.js":
/*!***********************************************************!*\
  !*** ./src/devportal/component/KDEComponents/CodeEdit.js ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.sort.js */ \"../../node_modules/core-js/modules/es.array.sort.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.ends-with.js */ \"../../node_modules/core-js/modules/es.string.ends-with.js\");\n__webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n__webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n__webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _codemirror = _interopRequireDefault(__webpack_require__(/*! ../../node_modules/codemirror */ \"./src/devportal/node_modules/codemirror/lib/codemirror.js\"));\n__webpack_require__(/*! ../../node_modules/codemirror/mode/javascript/javascript */ \"./src/devportal/node_modules/codemirror/mode/javascript/javascript.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/selection/active-line */ \"./src/devportal/node_modules/codemirror/addon/selection/active-line.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/foldcode */ \"./src/devportal/node_modules/codemirror/addon/fold/foldcode.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/foldgutter */ \"./src/devportal/node_modules/codemirror/addon/fold/foldgutter.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/brace-fold */ \"./src/devportal/node_modules/codemirror/addon/fold/brace-fold.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/search/search */ \"./src/devportal/node_modules/codemirror/addon/search/search.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/search/searchcursor */ \"./src/devportal/node_modules/codemirror/addon/search/searchcursor.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/dialog/dialog */ \"./src/devportal/node_modules/codemirror/addon/dialog/dialog.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/edit/matchbrackets */ \"./src/devportal/node_modules/codemirror/addon/edit/matchbrackets.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/edit/closebrackets */ \"./src/devportal/node_modules/codemirror/addon/edit/closebrackets.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/wrap/hardwrap */ \"./src/devportal/node_modules/codemirror/addon/wrap/hardwrap.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/javascript-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/javascript-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/sql-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/sql-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/show-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/show-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/comment/comment */ \"./src/devportal/node_modules/codemirror/addon/comment/comment.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/display/fullscreen */ \"./src/devportal/node_modules/codemirror/addon/display/fullscreen.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _CodeEditKey = __webpack_require__(/*! ./CodeEditKey */ \"./src/devportal/component/KDEComponents/CodeEditKey.js\");\nvar _CodeEditMapKeyAction = __webpack_require__(/*! ./CodeEditMapKeyAction */ \"./src/devportal/component/KDEComponents/CodeEditMapKeyAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar CodeEditor = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(CodeEditor, _Component);\n  function CodeEditor(props) {\n    var _this;\n    _classCallCheck(this, CodeEditor);\n    _this = _callSuper(this, CodeEditor, [props]);\n    _this.textarea = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.updateCodeMirrorSize = _this.updateCodeMirrorSize.bind(_assertThisInitialized(_this));\n    _this.resizeHandler = _lodash[\"default\"].throttle(_this.updateCodeMirrorSize, 300);\n    return _this;\n  }\n  _createClass(CodeEditor, [{\n    key: \"getCodeMirrorInstance\",\n    value: function getCodeMirrorInstance() {\n      return this.props.codeMirrorInstance || _codemirror[\"default\"];\n    }\n  }, {\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      this.componentWillReceiveProps = _lodash[\"default\"].debounce(this.componentWillReceiveProps, 0);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.content == '') {\n        this.valueInited = true;\n      } else {\n        this.valueInited = false;\n      }\n      var textareaNode = _reactDom[\"default\"].findDOMNode(this.textarea.current);\n      var codeMirrorInstance = this.getCodeMirrorInstance();\n      var classInfos = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'classinfos')(this.props.state) || [];\n      var classNames = [];\n      for (var i = 0; i < classInfos.length; i++) {\n        classNames.push(classInfos[i].classname);\n      }\n      var autoComplete = classNames.concat(_CodeEditKey.shortCutKey).sort();\n      var skin = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'skin')(this.props.state);\n      var theme = 'kde-light';\n      if (skin == 'default') {\n        theme = 'mbo';\n      } else if (skin == 'blue') {\n        theme = 'default';\n      } else if (skin == 'orange') {\n        theme = 'eclipse';\n      }\n      var op = {\n        lineNumbers: true,\n        mode: {\n          name: 'javascript',\n          globalVars: true\n        },\n        highlightSelectionMatches: {\n          showToken: /\\w/\n        },\n        autoCloseBrackets: true,\n        showCursorWhenSelecting: true,\n        theme: theme,\n        foldGutter: true,\n        autoMatchParens: true,\n        lineWrapping: false,\n        styleActiveLine: true,\n        matchBrackets: true,\n        indentUnit: 4,\n        autofocus: true,\n        gutters: ['CodeMirror-linenumbers', 'breakpoints', 'CodeMirror-foldgutter'],\n        extraKeys: _CodeEditMapKeyAction.keyMapAction,\n        keywords: autoComplete,\n        autoCompleteData: autoComplete\n      };\n      this.codeMirror = codeMirrorInstance.fromTextArea(textareaNode, this.props.options || op);\n      this.codeMirror.on('change', this.codemirrorValueChanged.bind(this));\n      this.codeMirror.on('focus', this.focusChanged.bind(this, true));\n      this.codeMirror.on('blur', this.focusChanged.bind(this, false));\n      this.codeMirror.on('scroll', this.scrollChanged.bind(this));\n      this.codeMirror.on('gutterClick', this.gutterClick.bind(this));\n      this.codeMirror.on('keyup', this.keyUp.bind(this));\n      this.codeMirror.setValue(this.props.defaultValue || this.props.content || '');\n      this.codeMirror.self = this;\n      _global[\"default\"][_global.CODE_MIRROR] = this.codeMirror;\n      _global[\"default\"][_global.CODE_MIRRORS] = window.codeMirrors || {};\n      _global[\"default\"][_global.CODE_MIRRORS][this.props.number] = this.codeMirror;\n      var editor = _reactDom[\"default\"].findDOMNode(this);\n      editor.oncontextmenu = this.onEditorContextMenu.bind(this);\n      // 初始化断点，页面关掉再打开\n      this.initBreakpoints(this.codeMirror, this.props.number);\n      this.codeMirror.setCursor({\n        line: this.props.line - 1,\n        ch: 0\n      }, {\n        scroll: true\n      });\n      this.codeMirror.focus();\n      this.updateCodeMirrorSize();\n      window.addEventListener('resize', this.resizeHandler);\n    }\n  }, {\n    key: \"updateCodeMirrorSize\",\n    value: function updateCodeMirrorSize() {\n      this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n    }\n  }, {\n    key: \"keyUp\",\n    value: function keyUp(cm, e) {\n      e.preventDefault();\n      // 获取当前光标所在行\n      var position = cm.getCursor();\n      // 获取当前光标所在行,从开始到光标所在位置的内容\n      var lineContent = cm.getRange({\n        line: position.line,\n        ch: 0\n      }, {\n        line: position.line,\n        ch: position.ch\n      });\n      // 获取当前脚本的内容\n      var allContent = cm.getValue();\n      // 解析当前的类变量，只处理这种变量：var xxx = new XxxxxClass()；\n      var variables = this.getAnalysisContent(allContent);\n      // 解析当前所有引入类\n      var requireClass = this.getRequireClass(allContent);\n      // 1、48——57 表示0-9  (e.keyCode>=48&&e.keyCode<=57) ||\n      // 2、65——90 表示A-Z\n      // 3、96——111 表示数字键盘键 (e.keyCode>=96&&e.keyCode<=111) ||\n      // 4、186——221 表示符号键 (e.keyCode>=186&&e.keyCode<=221) ||\n      // 5、8 表示Backspace键\n      // 6、110和190 表示小树点\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      if (keyCode >= 65 && keyCode <= 90 || keyCode == 8 || keyCode == 110 || keyCode == 190) {\n        // 小数的\n        if (keyCode == 110 || keyCode == 190) {\n          // 处理this.getView()后写.的动态提示\n          if (lineContent.endsWith('this.getView().')) {\n            this.props.dispatch((0, _kdeAction.getMethodsAfterMethod)(this.props.pageId, this.props.state, cm, 'getView'));\n            return;\n          }\n          if (lineContent.endsWith('this.getModel().')) {\n            this.props.dispatch((0, _kdeAction.getMethodsAfterMethod)(this.props.pageId, this.props.state, cm, 'getModel', false));\n            return;\n          }\n          if (new RegExp(/[\\s]*this.getControl\\([\\\"a-zA-Z0-9]+\\).$/).test(lineContent)) {\n            var key = '';\n            if (lineContent.split('\"').length == 3) {\n              key = lineContent.split('\"')[1];\n            }\n            this.props.dispatch((0, _kdeAction.getMethodsAfterControl)(this.props.pageId, cm, this.props.formId, key, false));\n            return;\n          }\n          // 需要判断当前编写的最后一个单词是否是类名，取小数点前端最后一个单词\n          var index;\n          for (var i = lineContent.length - 2; i >= 0; i--) {\n            if (!/^[a-zA-Z_]*$/.test(lineContent.charAt(i))) {\n              index = i + 1;\n              break;\n            }\n          }\n          var lastWord = lineContent.substring(index, lineContent.length - 1);\n          if (lastWord.length == 0) {\n            return;\n          }\n          if (lastWord == 'this') {\n            this.props.dispatch((0, _kdeAction.getMethodsInClassByThis)(this.props.pageId, this.props.state, cm, false));\n            return;\n          }\n          // 处理类变量\n          if (variables[lastWord] != undefined) {\n            var className = variables[lastWord];\n            var _classFullName = this.getClassFullName(className, requireClass);\n            this.props.dispatch((0, _kdeAction.getMethodsInClass)(this.props.pageId, _classFullName, cm, false, false));\n            return;\n          }\n          // 判断最后一个单词是否是类名\n          var classFullName = this.getClassFullName(lastWord, requireClass);\n          // 如果是类名，则自动提示为类中KSObject的方法\n          if (classFullName != '') {\n            this.props.dispatch((0, _kdeAction.getMethodsInClass)(this.props.pageId, classFullName, cm, false, true));\n            return;\n          }\n          // 最后什么都不显示\n          var options = {};\n          options.found = [];\n          options.demethods = [];\n          cm.showHint(options);\n        } else {\n          // this.只取插件类里的方法\n          if (new RegExp(/[\\s]*this.[a-zA-Z0-9]+$/).test(lineContent)) {\n            this.props.dispatch((0, _kdeAction.getMethodsInClassByThis)(this.props.pageId, this.props.state, cm, true));\n            return;\n          }\n          // KSObject类，支取类里的方法\n          if (new RegExp(/[\\s]*[A-Z][a-zA-Z0-9]+.[a-zA-Z0-9]+$/).test(lineContent)) {\n            var classNames = lineContent.match(/[A-Z][a-zA-Z]+./);\n            var _className = classNames[classNames.length - 1].substring(0, classNames[classNames.length - 1].length - 1);\n            var _classFullName2 = this.getClassFullName(_className, requireClass);\n            if (_classFullName2 != '') {\n              this.props.dispatch((0, _kdeAction.getMethodsInClass)(this.props.pageId, _classFullName2, cm, true, true));\n              return;\n            }\n          }\n          // 处理方法后的自动提示\n          if (new RegExp(/[\\s]*this.getView\\(\\).[a-zA-Z0-9]+/).test(lineContent)) {\n            this.props.dispatch((0, _kdeAction.getMethodsAfterMethod)(this.props.pageId, this.props.state, cm, 'getView', true));\n            return;\n          }\n          if (new RegExp(/[\\s]*this.getModel\\(\\).[a-zA-Z0-9]+/).test(lineContent)) {\n            this.props.dispatch((0, _kdeAction.getMethodsAfterMethod)(this.props.pageId, this.props.state, cm, 'getModel', true));\n            return;\n          }\n          if (new RegExp(/[\\s]*this.getControl\\([\\\"a-zA-Z0-9]+\\).[a-zA-Z0-9]+/).test(lineContent)) {\n            var key = '';\n            if (lineContent.split('\"').length == 3) {\n              key = lineContent.split('\"')[1];\n            }\n            this.props.dispatch((0, _kdeAction.getMethodsAfterControl)(this.props.pageId, cm, this.props.formId, key, true));\n            return;\n          }\n          // 处理类变量\n          if (new RegExp(/[\\s]*[a-zA-Z0-9_]+.[a-zA-Z0-9]+/).test(lineContent)) {\n            var variableSencenses = lineContent.match(/[\\s]*[a-zA-Z0-9_]+.[a-zA-Z0-9]+/g);\n            var lastVariableSencense = variableSencenses[variableSencenses.length - 1];\n            var variable = lastVariableSencense.split('.')[0].trim();\n            if (variables[variable] != undefined && lineContent.endsWith(variable + '.')) {\n              var _className2 = variables[variable];\n              var _classFullName3 = this.getClassFullName(_className2, requireClass);\n              this.props.dispatch((0, _kdeAction.getMethodsInClass)(this.props.pageId, _classFullName3, cm, true, false));\n              return;\n            }\n          }\n          // 如果是字母，则自动提示为KSObject类名、静态自动提示源、文档里已经编写过的单词\n          // let allContent = cm.getValue();\n          var words = allContent.match(/[a-zA-Z_]+/g);\n          cm.options.keywords = cm.options.autoCompleteData.concat(words).sort();\n          // 需要判断当前编写的最后一个单词是否是类名，取小数点前端最后一个单词\n          var _index;\n          for (var _i = lineContent.length - 1; _i >= 0; _i--) {\n            if (!/^[a-zA-Z_]+$/.test(lineContent.charAt(_i))) {\n              _index = _i + 1;\n              break;\n            }\n          }\n          var _lastWord = lineContent.substring(_index, lineContent.length);\n          if (_lastWord.length == 0 || lineContent.endsWith('.' + _lastWord)) {\n            return;\n          }\n          var found = [];\n          cm.options.keywords.forEach(function (val, index) {\n            if (val.toLowerCase().startsWith(_lastWord.toLowerCase()) && val != _lastWord && found.indexOf(val) == -1) {\n              found.push(val);\n            }\n          });\n          var _options = {};\n          _options.found = found.sort();\n          return cm.showHint(_options);\n        }\n      }\n    }\n\n    // 解析当前引入的类\n  }, {\n    key: \"getRequireClass\",\n    value: function getRequireClass(allContent) {\n      var classNamesInFile = {};\n      var requireClasses = allContent.match(/require\\(\\\"[a-zA-Z.]+\\\"\\)/g);\n      if (requireClasses == null || requireClasses.length == 0) {\n        return classNamesInFile;\n      }\n      for (var i = 0; i < requireClasses.length; i++) {\n        var requireClass = requireClasses[i];\n        var classFullName = requireClass.substring(requireClass.indexOf('\"') + 1, requireClass.lastIndexOf('\"'));\n        var classPaths = classFullName.split('.');\n        var className = classPaths[classPaths.length - 1];\n        classNamesInFile[className] = classFullName;\n      }\n      return classNamesInFile;\n    }\n\n    // 解析当前文档里的变量\n  }, {\n    key: \"getAnalysisContent\",\n    value: function getAnalysisContent(allContent) {\n      var variables = {};\n      // 获取满足条件的语句\n      var sentences = allContent.match(/var[\\s]+[a-zA-Z0-9_]+[\\s]+=[\\s]+new[\\s}+[A-Z][a-zA-Z]+\\(/g);\n      if (sentences == null || sentences.length == 0) {\n        return variables;\n      }\n      for (var i = 0; i < sentences.length; i++) {\n        var sentence = sentences[i];\n        var key = sentence.match(/[\\s]+[a-zA-Z0-9_]+[\\s]+/)[0].trim();\n        var value = sentence.match(/[\\s]+[A-Z][a-zA-Z0-9]+/)[0].trim();\n        variables[key] = value;\n      }\n      return variables;\n    }\n\n    // 判断是否是标注为KSObject的类名，如果是，返回类全名\n  }, {\n    key: \"getClassFullName\",\n    value: function getClassFullName(className, requireClass) {\n      if (requireClass[className] != undefined) {\n        return requireClass[className];\n      }\n      if (className == 'FormPlugin') {\n        return 'kd.bos.form.plugin.KDFormPlugin';\n      } else if (className == 'BillPlugin') {\n        return 'kd.bos.bill.KDBillPlugin';\n      } else if (className == 'ListPlugin') {\n        return 'kd.bos.list.plugin.KDListPlugin';\n      } else if (className == 'OperationPlugin') {\n        return 'kd.bos.entity.plugin.KDOperationPlugIn';\n      } else if (className == 'UnitTestPlugin') {\n        return 'kd.bos.unittest.KDUnitTestScriptPlugIn';\n      } else if (className == 'WorkflowPlugin') {\n        return 'kd.bos.workflow.engine.extitf.WorkflowPlugin';\n      }\n      var classFullName = '';\n      var classInfos = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'classinfos')(this.props.state) || [];\n      for (var i = 0; i < classInfos.length; i++) {\n        if (className == classInfos[i].classname) {\n          classFullName = classInfos[i].classfullname;\n          break;\n        }\n      }\n      return classFullName;\n    }\n  }, {\n    key: \"onEditorContextMenu\",\n    value: function onEditorContextMenu(e) {\n      e.preventDefault();\n      (0, _kdeAction.hideContextMenu)();\n      var editorMenu = document.getElementById('editorMenu');\n      editorMenu.style.left = e.clientX + 'px';\n      if (document.body.clientHeight - e.clientY > (0, _utils.query)(editorMenu).height()) {\n        editorMenu.style.top = e.clientY + 'px';\n      } else {\n        editorMenu.style.top = e.clientY - (0, _utils.query)(editorMenu).height() + 'px';\n      }\n      editorMenu.style.visibility = 'visible';\n    }\n  }, {\n    key: \"gutterClick\",\n    value: function gutterClick(cm, n, gutters, e) {\n      if (gutters != 'CodeMirror-linenumbers' || e.target.className == 'errorMark' || e.target.className == 'icon' || e.target.className == 'digit') {\n        return;\n      }\n      if (e.target.className == 'gotoLineNumber') {\n        document.getElementById('linenumber').focus();\n        return;\n      }\n      var info = cm.lineInfo(n);\n      cm.setGutterMarker(n, 'breakpoints', info.gutterMarkers && info.gutterMarkers.breakpoints ? this.removeMarker(cm, n) : this.makeMarker(cm, n));\n    }\n  }, {\n    key: \"removeMarker\",\n    value: function removeMarker(cm, n) {\n      var breakpointInfo = {\n        scriptnumber: this.props.number,\n        line: n + 1\n      };\n      this.props.dispatch((0, _kdeAction.updateBreakpointInfo)(this.props.pageId, breakpointInfo, 'remove'));\n      return null;\n    }\n  }, {\n    key: \"makeMarker\",\n    value: function makeMarker(cm, n) {\n      // 存储断点信息\n      var lineContent = cm.lineInfo(n).text.trim();\n      var breakpointInfo = {\n        scriptnumber: this.props.number,\n        line: n + 1,\n        lineContent: lineContent,\n        checked: true\n      };\n      this.props.dispatch((0, _kdeAction.updateBreakpointInfo)(this.props.pageId, breakpointInfo, 'add'));\n      return this.fullBreakPointMarker(cm, n);\n    }\n  }, {\n    key: \"initBreakpoints\",\n    value: function initBreakpoints(cm, scriptnumber) {\n      var breakpointInfos = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'breakpoints')(this.props.state) || [];\n      for (var i = 0; i < breakpointInfos.length; i++) {\n        if (scriptnumber != breakpointInfos[i].scriptnumber) {\n          continue;\n        }\n        var line = breakpointInfos[i].line - 1;\n        if (breakpointInfos[i].checked) {\n          cm.setGutterMarker(line, 'breakpoints', this.fullBreakPointMarker(cm, line));\n        } else {\n          cm.setGutterMarker(line, 'breakpoints', this.nullBreakPointMarker(cm, line));\n        }\n      }\n    }\n  }, {\n    key: \"fullBreakPointMarker\",\n    value: function fullBreakPointMarker(cm, n) {\n      var marker = document.createElement('div');\n      marker.className = 'breakpoint';\n      marker.innerHTML = '●';\n      return marker;\n    }\n  }, {\n    key: \"nullBreakPointMarker\",\n    value: function nullBreakPointMarker(cm, n) {\n      var marker = document.createElement('div');\n      marker.className = 'breakpoint';\n      marker.innerHTML = 'o';\n      return marker;\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      window.removeEventListener('resize', this.resizeHandler);\n      if (this.codeMirror) {\n        this.codeMirror.toTextArea();\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (this.codeMirror && nextProps.content !== undefined && this.codeMirror.getValue() !== nextProps.content && nextProps.actived) {\n        this.codeMirror.setValue(nextProps.content);\n      }\n      if (_typeof(nextProps.options) === 'object') {\n        for (var optionName in nextProps.options) {\n          if (nextProps.options.hasOwnProperty(optionName)) {\n            this.codeMirror.setOption(optionName, nextProps.options[optionName]);\n          }\n        }\n      }\n    }\n  }, {\n    key: \"getCodeMirror\",\n    value: function getCodeMirror() {\n      return this.codeMirror;\n    }\n  }, {\n    key: \"focus\",\n    value: function focus() {\n      if (this.codeMirror) {\n        this.codeMirror.focus();\n      }\n    }\n  }, {\n    key: \"focusChanged\",\n    value: function focusChanged(focused) {\n      // 当脚本编辑器获得焦点时选中左侧树对应节点\n      /* if(focused == true){\n        var scriptId = this.props.scriptId;\n        this.props.dispatch(focusCurScript(this.props.pageId,scriptId));\n      }\n      this.setState({isFocused:focused}); */\n      this.props.onFocusChange && this.props.onFocusChange(focused);\n    }\n  }, {\n    key: \"onClick\",\n    value: function onClick(event) {\n      this.props.onClick && this.props.onClick(event);\n      (0, _kdeAction.hideContextMenu)();\n    }\n  }, {\n    key: \"scrollChanged\",\n    value: function scrollChanged(cm) {\n      this.props.onScroll && this.props.onScroll(cm.getScrollInfo());\n    }\n  }, {\n    key: \"codemirrorValueChanged\",\n    value: function codemirrorValueChanged(doc, change) {\n      if (this.valueInited) {\n        var newContent = doc.getValue();\n        this.props.dispatch({\n          type: 'SCRIPTCONTENTCHANGED_KDEEDIT',\n          param: {\n            pageId: this.props.pageId,\n            data: [{\n              scriptid: this.props.id,\n              newcontent: newContent\n            }]\n          }\n        });\n      } else {\n        this.valueInited = true;\n      }\n    }\n  }, {\n    key: \"addMethod\",\n    value: function addMethod(e) {\n      var newMethod = 'function test{\\n\\t\\n}';\n      var oldValue = this.codeMirror.getValue();\n      var newValue = oldValue + '\\n' + newMethod;\n      this.codeMirror.setValue(newValue);\n      this.props.onChange(newValue);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var fontSize = (0, _appModelFunction.getDevportalData)(pageId, 'fontsize')(state);\n      var fontSizeClass = 'fontsize-small';\n      if (fontSize == '14') {\n        fontSizeClass = 'fontsize-small';\n      } else if (fontSize == '16') {\n        fontSizeClass = 'fontsize-default';\n      } else if (fontSize == '18') {\n        fontSizeClass = 'fontsize-big';\n      }\n      var visiable = this.props.actived ? 'blockvisiable' : 'unvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].reactCodeMirror, _KDE[\"default\"][fontSizeClass], _KDE[\"default\"][visiable]),\n        onClick: this.onClick.bind(this),\n        style: this.props.style\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"textarea\", {\n        ref: this.textarea,\n        defaultValue: this.props.content\n      }));\n    }\n  }]);\n  return CodeEditor;\n}(_react.Component);\nCodeEditor.propTypes = {\n  className: _propTypes[\"default\"].any,\n  codeMirrorInstance: _propTypes[\"default\"].func,\n  defaultValue: _propTypes[\"default\"].string,\n  onChange: _propTypes[\"default\"].func,\n  onFocusChange: _propTypes[\"default\"].func,\n  onScroll: _propTypes[\"default\"].func,\n  options: _propTypes[\"default\"].object,\n  path: _propTypes[\"default\"].string,\n  content: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object\n};\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/CodeEdit.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/CodeEditKey.js":
/*!**************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/CodeEditKey.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.shortCutKey = void 0;\nvar shortCutKey = exports.shortCutKey = [/* js关键字 */\n'break', 'case', 'catch', 'continue', 'default', 'delete', 'do', 'else', 'false', 'finally', 'for', 'function', 'if', 'in', 'instanceof', 'let', 'new', 'null', 'return', 'switch', 'throw', 'true', 'try', 'typeof', 'var', 'void', 'while', 'with', 'undefined', /* js 基本类型 */\n'Array', 'Boolean', 'Date', 'Math', 'Number', 'String', 'RegExp', 'Global', /* 下一代常用提示符 */\n'require', 'this', 'addClickListeners', 'close', 'get', 'getActionId', 'getCustomParam', 'getControl', 'getFormShowParameter', 'getModel', 'getPageCache', 'getProperty', 'getStatus', 'getString', 'getValue', 'getView', 'model', 'parameter', 'plugin', 'println', 'put', 'setValue', 'showMessage', 'showForm', 'toLowerCase', 'value'];\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/CodeEditKey.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/CodeEditMapKeyAction.js":
/*!***********************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/CodeEditMapKeyAction.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.Ctrl_S = Ctrl_S;\nexports.keyMapAction = void 0;\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\n// codemirror 内置快捷键\n\nvar keyMapAction = exports.keyMapAction = {\n  'Ctrl-S': Ctrl_S,\n  'Cmd-S': Ctrl_S,\n  /* \"Ctrl-F11\": fullScreen,\n    \"Cmd-F11\": fullScreen, */\n  'Alt-C': closeCurrentScript,\n  'Ctrl-Alt-C': closeAllScripts,\n  'Cmd-Alt-C': closeAllScripts,\n  'Ctrl-F': searchText,\n  'Cmd-F': searchText,\n  'Ctrl-R': replaceText,\n  'Cmd-R': replaceText,\n  'Shift-Ctrl-G': donothing,\n  'Shift-Cmd-G': donothing,\n  'Shift-Ctrl-F': donothing,\n  'Shift-Cmd-F': donothing,\n  'Shift-Ctrl-R': donothing,\n  'Shift-Cmd-R': donothing,\n  'Alt-F': searchscript,\n  'Ctrl-Alt-S': saveallscript,\n  'Cmd-Alt-S': saveallscript,\n  'Ctrl-I': insertclass,\n  'Cmd-I': insertclass,\n  'Ctrl-M': insertevent,\n  'Cmd-M': insertevent,\n  'Ctrl-G': gotoTargetLine\n};\nfunction Ctrl_S(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.saveScript)(undefined, pageId));\n}\n// 全屏或退出全屏\n/* function fullScreen(cm){\n\tcm.self.props.changeFullScreen(null,cm.self);\n} */\nfunction closeCurrentScript(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.closeScript)(undefined, pageId));\n}\nfunction closeAllScripts(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.closeAllScript)(undefined, pageId));\n}\nfunction searchscript(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  // dispatch(searchScript(undefined,pageId));\n}\nfunction searchText(codemirror) {\n  var _document$getElements;\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch({\n    type: 'SHOWSEARCHAREA_KDEMARK',\n    param: {\n      pageId: pageId,\n      data: [{\n        type: 'search'\n      }]\n    }\n  });\n  (_document$getElements = document.getElementsByClassName('kde-search-text')[0]) === null || _document$getElements === void 0 || _document$getElements.focus();\n}\nfunction donothing(codemirror) {}\n/* function searchscript(codemirror){\n\tlet props = codemirror.self.props;\n\tlet pageId = props.pageId;\n\tlet dispatch = props.dispatch;\n\tdispatch({type:\"SHOWSEARCHAREA\",param:{pageId:pageId,searchtype:\"searchscript\",searchtypename:\"搜索脚本\"}});\n} */\nfunction saveallscript(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.saveAllScript)(undefined, pageId));\n}\nfunction replaceText(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch({\n    type: 'SHOWSEARCHAREA_KDEMARK',\n    param: {\n      pageId: pageId,\n      data: [{\n        type: 'replace'\n      }]\n    }\n  });\n}\nfunction insertclass(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.insertClass)(undefined, pageId));\n}\nfunction insertevent(codemirror) {\n  var props = codemirror.self.props;\n  var pageId = props.pageId;\n  var dispatch = props.dispatch;\n  dispatch((0, _kdeAction.insertEvent)(undefined, pageId));\n}\nfunction gotoTargetLine(codemirror) {\n  // 获取当前字体号\n  var fontSize = (0, _appModelFunction.getDevportalData)(codemirror.self.props.pageId, 'fontsize')(codemirror.self.props.state) || 0;\n  // 根据字体号设定定位栏marker宽度\n  var markerWidth;\n  if (fontSize == 14) markerWidth = '44px';\n  if (fontSize == 16) markerWidth = '45px';\n  if (fontSize == 18) markerWidth = '47px';\n\n  // 创建定位栏\n  var makeMarker = function makeMarker(n) {\n    var marker = document.createElement('div');\n    marker.className = 'gotoLine';\n    marker.style.height = Number(fontSize) + 5 + 'px';\n    marker.style.width = markerWidth;\n    marker.id = 'marker';\n    // marker内嵌输入框input\n    var input = document.createElement('input');\n    input.type = 'text';\n    input.className = 'gotoLineNumber';\n    input.value = n;\n    // input宽度根据行号宽度设置，以适应多位数的视觉效果\n    input.style.width = Number(codemirror.display.lineNumWidth) - 2 + 'px';\n    // 输入框高度根据字体号设置\n    input.style.height = Number(fontSize) + 3 + 'px';\n    // 输入框字体跟当前页面字体保持一致\n    input.style.fontSize = fontSize + 'px';\n    input.id = 'linenumber';\n    input.focus();\n    marker.appendChild(input);\n    // 输入框键盘事件\n    input.onkeyup = function (e) {\n      // 去除数字外的字符\n      input.value = input.value.replace(/[^\\d]/g, '');\n      var marker = document.getElementById('marker');\n      // 输入行数不能小于1\n      var line = input.value <= 0 ? 1 : input.value;\n      document.getElementById('linenumber').value = line;\n      // 高亮至定位行数\n      codeMirror.setCursor({\n        line: line - 1,\n        ch: 0\n      }, {\n        scroll: true\n      });\n      // 移动定位栏至定位行数\n      codeMirror.setGutterMarker(line - 1, 'gotoline', marker);\n      input.style.width = Number(codemirror.display.lineNumWidth) - 2 + 'px';\n      marker.style.display = '';\n      setTimeout(function () {\n        // 光标定位到输入框\n        document.getElementById('linenumber').focus();\n      }, 200);\n    };\n    // 光标离开输入框隐藏定位栏\n    input.onblur = function (e) {\n      document.getElementById('marker').style.display = 'none';\n    };\n    return marker;\n  };\n  // 获取页面的定位栏控件\n  var marker = document.getElementById('marker');\n  if (marker == null) {\n    // 根据光标所在行数创建定位栏\n    codeMirror.setGutterMarker(codemirror.doc.getCursor().line, 'gotoline', makeMarker(codemirror.doc.getCursor().line + 1));\n    setTimeout(function () {\n      document.getElementById('linenumber').focus();\n    }, 200);\n  } else if (marker.style.display == 'none') {\n    // 定位栏隐藏情况下\n    // let fontSize = getDevportalData(codemirror.self.props.pageId,\"fontsize\")(codemirror.self.props.state);\n    // 获取输入框\n    var input = document.getElementById('linenumber');\n    // 重新设置定位栏、输入框高度\n    marker.style.height = Number(fontSize) + 5 + 'px';\n    input.style.height = Number(fontSize) + 5 + 'px';\n    // 获取当前光标所在行数并给到定位栏\n    var num = codemirror.doc.getCursor().line;\n    input.value = num + 1;\n    marker.style.display = '';\n    // 输入框字体跟页面字体保持一致\n    input.style.fontSize = fontSize + 'px';\n    // 输入框高度根据字体号设置\n    input.style.height = Number(fontSize) + 3 + 'px';\n    // 移动定位栏至定位行数\n    codeMirror.setGutterMarker(codemirror.doc.getCursor().line, 'gotoline', marker);\n    setTimeout(function () {\n      // 光标定位到输入框\n      document.getElementById('linenumber').focus();\n    }, 150);\n  } else {\n    marker.style.display = 'none';\n  }\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/CodeEditMapKeyAction.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/EditorArea.js":
/*!*************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/EditorArea.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n__webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n__webpack_require__(/*! core-js/modules/esnext.string.replace-all.js */ \"../../node_modules/core-js/modules/esnext.string.replace-all.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _CodeEdit = _interopRequireDefault(__webpack_require__(/*! ./CodeEdit */ \"./src/devportal/component/KDEComponents/CodeEdit.js\"));\nvar _uniqueId = _interopRequireDefault(__webpack_require__(/*! lodash/uniqueId */ \"../../node_modules/lodash/uniqueId.js\"));\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nvar _storage = _interopRequireWildcard(__webpack_require__(/*! @/util/storage */ \"./src/util/storage.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar EditorArea = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(EditorArea, _Component);\n  function EditorArea(props) {\n    var _this;\n    _classCallCheck(this, EditorArea);\n    _this = _callSuper(this, EditorArea, [props]);\n    _this.refreshSearchState = _this.refreshSearchState.bind(_assertThisInitialized(_this));\n    _this.clearSearchState = _this.clearSearchState.bind(_assertThisInitialized(_this));\n    _this.findNext = _this.findNext.bind(_assertThisInitialized(_this));\n    _this.findPrev = _this.findPrev.bind(_assertThisInitialized(_this));\n    _this.replace = _this.replace.bind(_assertThisInitialized(_this));\n    _this.replaceAll = _this.replaceAll.bind(_assertThisInitialized(_this));\n    _this.replaceFindNext = _this.replaceFindNext.bind(_assertThisInitialized(_this));\n    _this.moreTabList = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.searchText = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.replaceFromText = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.replaceToText = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(EditorArea, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var scripts = (0, _appModelFunction.getDevportalData)(pageId, 'scripts')(state) || [];\n      var searchType = (0, _appModelFunction.getDevportalData)(pageId, 'searchtype')(state) || '';\n      var searchAreaStyle = 'unvisiable';\n      var searchVisiable = 'unvisiable';\n      var replaceVisiable = 'unvisiable';\n      if (searchType && searchType == 'search') {\n        searchAreaStyle = 'visiable';\n        searchVisiable = 'visiable';\n      } else if (searchType && searchType == 'replace') {\n        searchAreaStyle = 'visiable';\n        replaceVisiable = 'visiable';\n      }\n      var fullScreenValue = (0, _appModelFunction.getDevportalData)(pageId, 'fullscreen')(state);\n      var fullScreenClass = fullScreenValue == true ? 'editorArea-title-fullScreen-exit' : 'editorArea-title-fullScreen-full';\n      var fullScreenTitle = fullScreenValue == true ? (0, _intlApi.getLangMsg)({\n        key: 'kde.tuichuquanping'\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'kde.quanping'\n      });\n      var tapListWidth;\n      if (fullScreenValue == true) {\n        tapListWidth = (0, _utils.query)('#taplist').width();\n      } else {\n        tapListWidth = document.body.clientWidth - (0, _utils.query)('#resourceTreeArea').width() - (0, _utils.query)('#outlineArea').width() - 8 - 30 - 40;\n      }\n      var isShowMoreTabTitleClass = tapListWidth > scripts.length * 200 ? 'unvisiable' : 'blockvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-mainContent']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        id: \"taplist\",\n        className: _KDE[\"default\"]['editorArea-title-tabs']\n      }, scripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(ScriptTab, _extends({}, script, {\n          key: (0, _uniqueId[\"default\"])(),\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          scriptInfos: scripts\n        }));\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-arrowdown'], _KDE[\"default\"][isShowMoreTabTitleClass]),\n        onClick: function onClick(e) {\n          return _this2.showMoreTabTitle(e, pageId);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        id: \"moreTabList\",\n        ref: this.moreTabList,\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-title-names'], _KDE[\"default\"][''])\n      }, scripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(ScriptName, _extends({}, script, {\n          key: (0, _uniqueId[\"default\"])(),\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          scriptInfos: scripts\n        }));\n      }))), /*#__PURE__*/_react[\"default\"].createElement(DebugSwitch, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: fullScreenTitle,\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-title-fullScreen'], _KDE[\"default\"][fullScreenClass]),\n        onClick: function onClick(e) {\n          return _this2.fullScreen(e, pageId);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-content']\n      }, scripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_CodeEdit[\"default\"], _extends({}, script, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index\n        }));\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-searchArea'], _KDE[\"default\"][searchAreaStyle])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-search'], _KDE[\"default\"][searchVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['editorArea-searchTypeName']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.sousuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        ref: this.searchText,\n        type: \"text\",\n        placeholder: (0, _intlApi.getLangMsg)({\n          key: 'kde.qingshuruyaosousuodeneirong'\n        }),\n        className: _KDE[\"default\"]['editorArea-searchText'] + ' kde-search-text',\n        onKeyDown: function onKeyDown(e) {\n          return _this2.searchText(e);\n        },\n        onChange: function onChange(e) {\n          return _this2.refreshSearchState();\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-search-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.xiayige'\n        }),\n        className: _KDE[\"default\"]['editorArea-findNext'],\n        onClick: function onClick(e) {\n          return _this2.findNext();\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.shangyige'\n        }),\n        className: _KDE[\"default\"]['editorArea-findPrev'],\n        onClick: function onClick(e) {\n          return _this2.findPrev();\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['editorArea-closeicon'],\n        onClick: function onClick(e) {\n          return _this2.clearSearchState();\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-replace'], _KDE[\"default\"][replaceVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-replaceArea']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-replaceFrom']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['editorArea-replaceFromName']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.sousuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        ref: this.replaceFromText,\n        type: \"text\",\n        placeholder: (0, _intlApi.getLangMsg)({\n          key: 'kde.qingshuruyaosousuodeneirong'\n        }),\n        className: _KDE[\"default\"]['editorArea-replaceFromInput'],\n        onChange: function onChange(e) {\n          return _this2.refreshSearchState();\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-replaceTo']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['editorArea-replaceToName']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tihuanwei'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        ref: this.replaceToText,\n        type: \"text\",\n        placeholder: (0, _intlApi.getLangMsg)({\n          key: 'kde.qingshuruyaotihuandeneirong'\n        }),\n        className: _KDE[\"default\"]['editorArea-replaceToInput']\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['editorArea-replace-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.quanbutihuan'\n        }),\n        className: _KDE[\"default\"]['editorArea-replaceAll'],\n        onClick: function onClick(e) {\n          return _this2.replaceAll();\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.tihuan'\n        }),\n        className: _KDE[\"default\"]['editorArea-replaceOne'],\n        onClick: function onClick(e) {\n          return _this2.replace();\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.xiayige'\n        }),\n        className: _KDE[\"default\"]['editorArea-nextOne'],\n        onClick: function onClick(e) {\n          return _this2.replaceFindNext();\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['editorArea-closeicon'],\n        onClick: function onClick(e) {\n          return _this2.clearSearchState();\n        }\n      }))));\n    }\n  }, {\n    key: \"showMoreTabTitle\",\n    value: function showMoreTabTitle(e, pageId) {\n      e.stopPropagation();\n      e.nativeEvent.stopImmediatePropagation();\n      this.moreTabList.current.style.display = 'block';\n      if (document.body.clientWidth - e.clientX < (0, _utils.query)('#moreTabList').width()) {\n        this.moreTabList.current.style.right = '0px';\n      } else {\n        this.moreTabList.current.style.right = '';\n      }\n    }\n  }, {\n    key: \"fullScreen\",\n    value: function fullScreen(e, pageId) {\n      this.props.dispatch((0, _kdeAction.fullScreen)(e, pageId));\n      var fullScreenType = (0, _appModelFunction.getDevportalData)(pageId, 'fullscreen')(this.props.state);\n      if (!fullScreenType) {\n        this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(pageId, 0, 0, 0));\n      } else {\n        this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      }\n    }\n  }, {\n    key: \"searchText\",\n    value: function searchText(e) {\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      if (keyCode != 13) {\n        return;\n      }\n      var searchText = this.searchText.current.value.toLocaleLowerCase();\n      var isNeedSearch = this.beforeSearch(searchText);\n      if (!isNeedSearch) {\n        return;\n      }\n      this.findNext();\n    }\n  }, {\n    key: \"beforeSearch\",\n    value: function beforeSearch(searchText) {\n      var isNeedSearch = true;\n      var scripts = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'scripts')(this.props.state) || [];\n      var curScript;\n      for (var script in scripts) {\n        if (scripts[script].actived == true) {\n          curScript = scripts[script];\n          break;\n        }\n      }\n      var reg = new RegExp(searchText, 'ig');\n      if (scripts[script].content.search(reg) == -1) {\n        (0, _kdeAction.showMessage)(this.props.pageId, this.props.dispatch, 'warn', (0, _intlApi.getLangMsg)({\n          key: 'kde.meiyoupipeideneirong'\n        }));\n        isNeedSearch = false;\n      }\n      return isNeedSearch;\n    }\n  }, {\n    key: \"clearSearchState\",\n    value: function clearSearchState() {\n      this.searchText.current.value = '';\n      this.props.dispatch({\n        type: 'SHOWSEARCHAREA_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          data: [{\n            type: ''\n          }]\n        }\n      });\n    }\n  }, {\n    key: \"refreshSearchState\",\n    value: function refreshSearchState() {\n      var searchState = _global[\"default\"][_global.CODE_MIRROR].state.search;\n      if (searchState && searchState.query) {\n        _global[\"default\"][_global.CODE_MIRROR].removeOverlay(searchState.overlay);\n        searchState.query = null;\n      }\n      if (!searchState) {\n        searchState = {};\n        searchState.posFrom = searchState.posTo = searchState.lastQuery = searchState.query = null;\n        searchState.overlay = null;\n      }\n      searchState.query = this.searchText.current.value;\n      _global[\"default\"][_global.CODE_MIRROR].state.search = searchState;\n    }\n  }, {\n    key: \"findNext\",\n    value: function findNext() {\n      var searchText = this.searchText.current.value.toLocaleLowerCase();\n      var isNeedSearch = this.beforeSearch(searchText);\n      if (!isNeedSearch) {\n        return;\n      }\n      if (searchText) {\n        var searchState = _global[\"default\"][_global.CODE_MIRROR].state.search;\n        if (searchState) {\n          _global[\"default\"][_global.CODE_MIRROR].state.search.query = searchText;\n        } else {\n          searchState = {};\n          searchState.posFrom = searchState.posTo = searchState.lastQuery = null;\n          searchState.overlay = null;\n          searchState.query = searchText;\n          _global[\"default\"][_global.CODE_MIRROR].state.search = searchState;\n        }\n        _global[\"default\"][_global.CODE_MIRROR].execCommand('findNext');\n      }\n    }\n  }, {\n    key: \"findPrev\",\n    value: function findPrev() {\n      var searchText = this.searchText.current.value.toLocaleLowerCase();\n      var isNeedSearch = this.beforeSearch(searchText);\n      if (!isNeedSearch) {\n        return;\n      }\n      if (searchText) {\n        var searchState = _global[\"default\"][_global.CODE_MIRROR].state.search;\n        if (searchState) {\n          _global[\"default\"][_global.CODE_MIRROR].state.search.query = searchText;\n        } else {\n          searchState = {};\n          searchState.posFrom = searchState.posTo = searchState.lastQuery = null;\n          searchState.overlay = null;\n          searchState.query = searchText;\n          _global[\"default\"][_global.CODE_MIRROR].state.search = searchState;\n        }\n        _global[\"default\"][_global.CODE_MIRROR].execCommand('findPrev');\n      }\n    }\n  }, {\n    key: \"replace\",\n    value: function replace() {\n      var replaceFromText = this.replaceFromText.current.value;\n      var replaceToText = this.replaceToText.current.value;\n      if (replaceFromText && _global[\"default\"][_global.CODE_MIRROR].getSelection().toLocaleLowerCase() == replaceFromText.toLocaleLowerCase()) {\n        _global[\"default\"][_global.CODE_MIRROR].replaceSelection(replaceToText);\n        this.replaceFindNext();\n      } else {\n        if (replaceFromText) {\n          this.replaceFindNext();\n          if (_global[\"default\"][_global.CODE_MIRROR].getSelection().toLocaleLowerCase() == replaceFromText.toLocaleLowerCase()) {\n            _global[\"default\"][_global.CODE_MIRROR].replaceSelection(replaceToText);\n            this.replaceFindNext();\n          } else {\n            (0, _kdeAction.showMessage)(this.props.pageId, this.props.dispatch, 'warn', (0, _intlApi.getLangMsg)({\n              key: 'kde.meiyoupipeideneirong'\n            }));\n          }\n        }\n      }\n    }\n  }, {\n    key: \"replaceAll\",\n    value: function replaceAll() {\n      var replaceFromText = this.replaceFromText.current.value;\n      var replaceToText = this.replaceToText.current.value;\n      if (replaceFromText) {\n        var reg = new RegExp(replaceFromText, 'gi');\n        var oldContent = _global[\"default\"][_global.CODE_MIRROR].getValue();\n        var newContent = oldContent.replace(reg, replaceToText);\n        if (oldContent == newContent) {\n          (0, _kdeAction.showMessage)(this.props.pageId, this.props.dispatch, 'warn', (0, _intlApi.getLangMsg)({\n            key: 'kde.meiyoupipeideneirong'\n          }));\n        } else {\n          this.props.dispatch({\n            type: 'SCRIPTCONTENTCHANGED_KDEEDIT',\n            param: {\n              pageId: this.props.pageId,\n              data: [{\n                scriptid: _global[\"default\"][_global.CODE_MIRROR].self.props.id,\n                newcontent: newContent\n              }]\n            }\n          });\n        }\n      }\n    }\n  }, {\n    key: \"replaceFindNext\",\n    value: function replaceFindNext() {\n      var replaceFromText = this.replaceFromText.current.value.toLocaleLowerCase();\n      var isNeedSearch = this.beforeSearch(replaceFromText);\n      if (!isNeedSearch) {\n        return;\n      }\n      if (replaceFromText) {\n        var searchState = _global[\"default\"][_global.CODE_MIRROR].state.search;\n        if (searchState) {\n          _global[\"default\"][_global.CODE_MIRROR].state.search.query = replaceFromText;\n        } else {\n          searchState = {};\n          searchState.posFrom = searchState.posTo = searchState.lastQuery = null;\n          searchState.overlay = null;\n          searchState.query = replaceFromText;\n          _global[\"default\"][_global.CODE_MIRROR].state.search = searchState;\n        }\n        _global[\"default\"][_global.CODE_MIRROR].execCommand('findNext');\n      }\n    }\n  }]);\n  return EditorArea;\n}(_react.Component);\nvar ScriptName = /*#__PURE__*/function (_Component2) {\n  _inherits(ScriptName, _Component2);\n  function ScriptName() {\n    _classCallCheck(this, ScriptName);\n    return _callSuper(this, ScriptName, arguments);\n  }\n  _createClass(ScriptName, [{\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state,\n        scriptInfos = _this$props2.scriptInfos,\n        index = _this$props2.index;\n      var showTitle = this.props.number + '.ks';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        title: showTitle,\n        className: _KDE[\"default\"]['editorArea-title-name'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.editScript)(e, pageId, _this3.props.id, _this3.props.formid));\n        }\n      }, showTitle);\n    }\n  }]);\n  return ScriptName;\n}(_react.Component);\nvar ScriptTab = /*#__PURE__*/function (_Component3) {\n  _inherits(ScriptTab, _Component3);\n  function ScriptTab(props) {\n    var _this4;\n    _classCallCheck(this, ScriptTab);\n    _this4 = _callSuper(this, ScriptTab, [props]);\n    _this4.scriptTap = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this4;\n  }\n  _createClass(ScriptTab, [{\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state,\n        scriptInfos = _this$props3.scriptInfos,\n        index = _this$props3.index;\n      var selected = this.props.actived ? 'selected' : '';\n      var isShowClass = this.props.show == undefined || this.props.show == true ? '' : 'unvisiable';\n      var showTitle = this.props.number + '.ks';\n      var spanTitle = this.props.number + '.ks';\n      if (this.props.isnew == false) {\n        spanTitle = '* ' + spanTitle;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        id: \"tapinfo\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['editorArea-title-item'], _KDE[\"default\"][selected], _KDE[\"default\"][isShowClass]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.activeScriptTab)(e, pageId, _this5.props.id));\n        },\n        ref: this.scriptTap,\n        onDoubleClick: function onDoubleClick(e) {\n          return dispatch((0, _kdeAction.fullScreen)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: showTitle,\n        className: _KDE[\"default\"]['editorArea-title-item-title'],\n        onMouseDown: function onMouseDown(e) {\n          return _this5.mousedown(e, pageId, index, _this5.props.id, dispatch);\n        }\n      }, spanTitle), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.guanbi'\n        }),\n        className: _KDE[\"default\"]['editorArea-title-item-close'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeScript)(e, pageId, _this5.props.id, _this5.props.content));\n        }\n      }));\n    }\n\n    //\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var script = ReactDOM.findDOMNode(this.scriptTap.current);\n      script.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      this.props.dispatch((0, _kdeAction.selectScriptTap)(e, this.props.pageId, this.props.id, this.props.scriptInfos, this.props.index));\n      (0, _kdeAction.hideContextMenu)();\n      var scriptTapMenu = document.getElementById('scriptTapMenu');\n      if (document.body.clientLeft - e.clientX > (0, _utils.query)(scriptTapMenu).width()) {\n        scriptTapMenu.style.left = e.clientX + 270 + 'px';\n      } else {\n        scriptTapMenu.style.left = 200 + e.clientX - (0, _utils.query)(scriptTapMenu).width() + 'px';\n      }\n      scriptTapMenu.style.top = e.clientY + 'px';\n      scriptTapMenu.style.visibility = 'visible';\n    }\n  }, {\n    key: \"mousedown\",\n    value: function mousedown(e, pageId, index, scriptId, dispatch) {\n      var n;\n      var x;\n      if (e.button == 0) {\n        x = e.clientX;\n        var ul = document.getElementById('taplist');\n        var li = ul.getElementsByTagName('li');\n        var liFirst = li[0].offsetLeft;\n        var liWidth = li[0].offsetWidth;\n        var script = li[index];\n        var isMove = false;\n        var left = script.offsetLeft,\n          top = script.offsetTop;\n\n        // 创建空白节点，插入原节点位置占位\n        var blank = document.createElement('li');\n        blank.style.width = '200px';\n        blank.style.border = '1px solid blue';\n        ul.insertBefore(blank, script.nextSibling);\n        // 原节点绑定拖拽样式（absolute等）\n        script.style.position = 'absolute';\n        script.style.left = left + 'px';\n        script.style.top = top + 'px';\n        var disX = e.clientX - left;\n        var disY = e.clientY - top;\n        document.onmousemove = function (ev) {\n          var ev = ev || event;\n          var L = ev.clientX - disX;\n          var T = ev.clientY - disY;\n          if (Math.abs((ev.clientX - x) / liWidth) > 0.1) {\n            isMove = true;\n            n = Math.round((L - liFirst) / liWidth + 1);\n            if (L > left) {\n              if ((L - left) % liWidth / liWidth > 0.5) {\n                ul.insertBefore(blank, ul.children[n + 1]);\n              } else {\n                ul.insertBefore(blank, ul.children[n]);\n              }\n            } else {\n              if ((left - L) % liWidth / liWidth > 0.5) {\n                ul.insertBefore(blank, ul.children[n - 1]);\n              } else {\n                ul.insertBefore(blank, ul.children[n]);\n              }\n            }\n            script.style.left = L + 'px';\n            script.style.top = T + 'px';\n          }\n        };\n        document.onmouseup = function (em) {\n          document.onmousemove = null;\n          // 将被拖拽的元素插入到空白节点的位置\n          ul.insertBefore(script, blank);\n          // 删除拖拽样式\n          script.removeAttribute('style');\n          // 删除空白节点\n          ul.removeChild(blank);\n          if (!isMove) {\n            dispatch((0, _kdeAction.activeScriptTab)(em, pageId, scriptId));\n          } else {\n            dispatch((0, _kdeAction.dragScriptTap)(em, pageId, n, index));\n          }\n          isMove = false;\n          document.onmouseup = null;\n        };\n      }\n    }\n  }]);\n  return ScriptTab;\n}(_react.Component); // DebugSwitch\nvar DebugSwitch = /*#__PURE__*/function (_Component4) {\n  _inherits(DebugSwitch, _Component4);\n  function DebugSwitch(props) {\n    var _this6;\n    _classCallCheck(this, DebugSwitch);\n    _this6 = _callSuper(this, DebugSwitch, [props]);\n    _this6.state = {\n      debugState: false\n    };\n    return _this6;\n  }\n  _createClass(DebugSwitch, [{\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props4 = this.props,\n        dispatch = _this$props4.dispatch,\n        pageId = _this$props4.pageId,\n        state = _this$props4.state;\n      var debugStartClass = this.state.debugState ? 'unvisiable' : 'visiable';\n      var debugStopClass = this.state.debugState ? 'visiable' : 'unvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].debugSwitch\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.qidongtiaoshi'\n        }),\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugSwitch-start'], _KDE[\"default\"][debugStartClass]),\n        onClick: function onClick(e) {\n          return _this7.startDebugState(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.tingzhitiaoshi'\n        }),\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugSwitch-stop'], _KDE[\"default\"][debugStopClass]),\n        onClick: function onClick(e) {\n          return _this7.stopDebugState(e);\n        }\n      }));\n    }\n  }, {\n    key: \"startDebugState\",\n    value: function startDebugState(e) {\n      var _this8 = this;\n      var debugMode = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'debugmode')(this.props.state);\n      if (!debugMode) {\n        (0, _kdeAction.showMessage)(this.props.pageId, this.props.dispatch, 'warn', '系统默认禁用脚本调试');\n        return;\n      }\n      this.props.dispatch({\n        type: 'OUTLINEVIEWTYPE_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          value: 'debugger'\n        }\n      });\n      this.setState({\n        debugState: true\n      });\n      this.props.dispatch((0, _kdeAction.preStartDebug)(e, this.props.pageId));\n      // 启动轮询线程\n      window.setTimeout(function () {\n        _this8.startTimerTask(e);\n      }, 500);\n      window.setTimeout(function () {\n        _this8.keepAliveTask(e);\n      }, 1000 * 60 * 5);\n      window.setTimeout(function () {\n        _this8.getScriptLogs(e);\n      }, 2000);\n    }\n  }, {\n    key: \"getScriptLogs\",\n    value: function getScriptLogs(e) {\n      var _this9 = this;\n      if (this.state.debugState) {\n        this.props.dispatch((0, _kdeAction.getScriptLogs)(e, this.props.pageId));\n        window.setTimeout(function () {\n          _this9.getScriptLogs(e);\n        }, 10000);\n      }\n    }\n  }, {\n    key: \"stopDebugState\",\n    value: function stopDebugState(e) {\n      this.setState({\n        debugState: false\n      });\n      this.props.dispatch((0, _kdeAction.stopDebug)(e, this.props.pageId));\n    }\n  }, {\n    key: \"startTimerTask\",\n    value: function startTimerTask(e) {\n      var _this10 = this;\n      var methodInfo = _storage[\"default\"].get(_storage.EVENT_LISTENER);\n      if (methodInfo) {\n        _storage[\"default\"].remove(_storage.EVENT_LISTENER);\n        var hasStartDebug = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'hasstartdebug')(this.props.state);\n        if (!hasStartDebug) {\n          this.props.dispatch((0, _kdeAction.startDebug)(e, this.props.pageId, methodInfo));\n          window.setTimeout(function () {\n            _this10.props.dispatch((0, _kdeAction.getAtCurrentBreakPoint)(e, _this10.props.pageId, methodInfo));\n          }, 2000);\n        } else if (hasStartDebug) {\n          this.props.dispatch((0, _kdeAction.getAtCurrentBreakPoint)(e, this.props.pageId, methodInfo));\n        }\n      }\n      if (this.state.debugState) {\n        window.setTimeout(function () {\n          _this10.startTimerTask();\n        }, 500);\n      }\n    }\n  }, {\n    key: \"keepAliveTask\",\n    value: function keepAliveTask(e) {\n      var _this11 = this;\n      this.props.dispatch((0, _kdeAction.keepAlive)(e, this.props.pageId));\n      if (this.state.debugState) {\n        window.setTimeout(function () {\n          _this11.keepAliveTask();\n        }, 1000 * 60 * 5);\n      }\n    }\n  }]);\n  return DebugSwitch;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/EditorArea.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/KDE.js":
/*!******************************************************!*\
  !*** ./src/devportal/component/KDEComponents/KDE.js ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _MenuBar = _interopRequireDefault(__webpack_require__(/*! ./MenuBar */ \"./src/devportal/component/KDEComponents/MenuBar.js\"));\nvar _ResourceTree = _interopRequireDefault(__webpack_require__(/*! ./ResourceTree */ \"./src/devportal/component/KDEComponents/ResourceTree.js\"));\nvar _EditorArea = _interopRequireDefault(__webpack_require__(/*! ./EditorArea */ \"./src/devportal/component/KDEComponents/EditorArea.js\"));\nvar _OutlineArea = _interopRequireDefault(__webpack_require__(/*! ./OutlineArea */ \"./src/devportal/component/KDEComponents/OutlineArea.js\"));\nvar _OutputArea = _interopRequireDefault(__webpack_require__(/*! ./OutputArea */ \"./src/devportal/component/KDEComponents/OutputArea.js\"));\nvar _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ \"../../node_modules/copy-to-clipboard/index.js\"));\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _image_about_KDE = _interopRequireDefault(__webpack_require__(/*! ../../images/kde/image_about_KDE.png */ \"./src/devportal/images/kde/image_about_KDE.png\"));\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\n__webpack_require__(/*! @/style/CodeMirror/codemirror.less */ \"./src/style/CodeMirror/codemirror.less\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar KDE = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(KDE, _Component);\n  function KDE(props) {\n    var _this;\n    _classCallCheck(this, KDE);\n    _this = _callSuper(this, KDE, [props]);\n    _this.state = {\n      isShowWelcome: false,\n      isShowAbout: false,\n      activeTab: 1\n    };\n    _this.resizeHandler = _lodash[\"default\"].throttle(_this.updateWelcomePosition, 300);\n    return _this;\n  }\n  _createClass(KDE, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        model = _this$props.model;\n      var state = model.state;\n      var pageId = model.pageId;\n      var isFirstLogin = (0, _appModelFunction.getDevportalData)(pageId, 'isfirstlogin')(state);\n      // 欢迎\n      var overLayerStyle = this.state.isShowWelcome || isFirstLogin == 'true' || this.state.isShowAbout ? _KDE[\"default\"].overlayer : (0, _classnames[\"default\"])(_KDE[\"default\"].overlayer, _KDE[\"default\"].unvisiable);\n      var welcomeStyle = this.state.isShowWelcome || isFirstLogin == 'true' ? _KDE[\"default\"].welcome : (0, _classnames[\"default\"])(_KDE[\"default\"].welcome, _KDE[\"default\"].unvisiable);\n      var fullScreen = (0, _appModelFunction.getDevportalData)(pageId, 'fullscreen')(state);\n      var fullScreenVisiable = '';\n      if (fullScreen) {\n        fullScreenVisiable = 'unvisiable';\n      }\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state);\n      var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state);\n      var appType = (0, _appModelFunction.getDevportalData)(pageId, 'apptype')(state);\n      var formExistEntity = 'unvisiable';\n      var pageExpandStyle = 'visiable';\n      var pageExpandVisiable = 'unvisiable';\n      var movePageInExpandVisiable = 'visiable';\n      var scriptExpandStyle = 'visiable';\n      var printModelStyle = 'visiable';\n      var pageCopyVisiable = 'unvisiable';\n      var ReportFormModelStyle = 'visiable';\n      var unboundRelationShipForExpandPage = 'visiable';\n      if (selectedNodeType == 'page') {\n        var modelType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedPageModelType')(state);\n        if (modelType == 'BaseFormModel' || modelType == 'BillFormModel') {\n          formExistEntity = 'visiable';\n        }\n        if (modelType == 'PrintModel') {\n          printModelStyle = 'unvisiable';\n          pageCopyVisiable = 'visiable';\n        }\n        if (modelType == 'ReportFormModel') {\n          ReportFormModelStyle = 'unvisiable';\n          formExistEntity = 'visiable';\n        }\n        if (appType == '2') {\n          pageExpandVisiable = 'visiable';\n          // 当前为扩展应用\n          var pageExpandType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedPageExpandType')(state);\n          if (pageExpandType == '1') {\n            // 当前页面为原厂页面\n            pageExpandStyle = 'unvisiable';\n          } else if (pageExpandType == '2') {\n            // 扩展页面不支持移动\n            movePageInExpandVisiable = 'unvisiable';\n          }\n        }\n      } else {\n        if (appType == '2') {\n          // 当前为扩展应用\n          var _pageExpandType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedPageExpandType')(state);\n          if (_pageExpandType == '1') {\n            // 当前页面为原厂页面\n            unboundRelationShipForExpandPage = 'unvisiable';\n          } else if (_pageExpandType == '2') {\n            // 扩展页面不支持移动\n            unboundRelationShipForExpandPage = 'visiable';\n          }\n        }\n      }\n      var unboundRelationShip = 'unvisiable';\n      if (selectedNodeType == 'script') {\n        // 如果是游离脚本，不显示解绑\n        var _detachedScript = (0, _appModelFunction.getDevportalData)(pageId, 'selectedScriptPos')(state);\n        if (_detachedScript == 'page') {\n          unboundRelationShip = 'visiable';\n        }\n        if (appType == '2') {\n          var scriptExpandType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedScriptExpandType')(state);\n          if (scriptExpandType == '1') {\n            scriptExpandStyle = 'unvisiable';\n          }\n        }\n      }\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'isowner')(state);\n      var isOwnerStyle = isOwner ? 'visiable' : 'unvisiable';\n      var isOwnerBlockStyle = isOwner ? 'blockvisiable' : 'unvisiable';\n      var scriptInfos = (0, _appModelFunction.getDevportalData)(pageId, 'scriptinfos')(state) || [];\n      var tapSize = scriptInfos.length;\n      var tapIndex = (0, _appModelFunction.getDevportalData)(pageId, 'index')(state) || '';\n      tapIndex = tapIndex == '' ? 0 : tapIndex;\n      var closeOtherStyle = tapSize > 1 ? 'visiable' : 'unvisiable';\n      var closeAllStyle = tapSize > 1 ? 'visiable' : 'unvisiable';\n      var closeLeftStyle = tapIndex == 0 ? 'unvisiable' : 'visiable';\n      var closeRightStyle = tapIndex == tapSize - 1 ? 'unvisiable' : 'visiable';\n      var bizappid = (0, _appModelFunction.getDevportalData)(pageId, 'appid')(state);\n      var bizappnumber = (0, _appModelFunction.getDevportalData)(pageId, 'appnumber')(state);\n      var codeManageType = (0, _appModelFunction.getDevportalData)(pageId, 'codemanagetype')(state) || '';\n      var svnCheckinStyle = codeManageType == 'git' ? 'unvisiable' : 'visiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].kde,\n        onKeyDown: function onKeyDown(e) {\n          return _this2.keyDown(e, bizappid, bizappnumber);\n        },\n        tabIndex: 2\n      }, /*#__PURE__*/_react[\"default\"].createElement(TipInfo, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menubarArea, _KDE[\"default\"][fullScreenVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(_MenuBar[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        setWelcomeValue: function setWelcomeValue(e) {\n          return _this2.setWelcomeValue(e, _this2);\n        },\n        setAboutValue: function setAboutValue(e) {\n          return _this2.setAboutValue(e, _this2);\n        },\n        kdeUpdate: function kdeUpdate() {\n          return _this2.forceUpdate();\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"kdeContentArea\",\n        className: _KDE[\"default\"].kdeContentArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"resourceTreeArea\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].resourceTreeArea, _KDE[\"default\"][fullScreenVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(_ResourceTree[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['kde-left-rewise'],\n        onMouseDown: function onMouseDown(e) {\n          return _this2.mouseLeftDown(e, pageId);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].editorContentArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].editorMainArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].editorArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_EditorArea[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['kde-middle-rewise'],\n        onMouseDown: function onMouseDown(e) {\n          return _this2.mouseMiddleDown(e, pageId);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"outputArea\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].outputArea, _KDE[\"default\"][fullScreenVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(_OutputArea[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['kde-right-rewise'],\n        onMouseDown: function onMouseDown(e) {\n          return _this2.mouseRightDown(e, pageId);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"outlineArea\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].outlineArea, _KDE[\"default\"][fullScreenVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(_OutlineArea[\"default\"], {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"unitMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu, _KDE[\"default\"][isOwnerBlockStyle])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][isOwnerStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjianyemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][isOwnerStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjianchajianjiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Alt+P\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][isOwnerStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewBlankScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjiankongbaijiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Alt+N\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][isOwnerStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.importPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daoruyemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][isOwnerStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.importScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daorujiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"pageMenu\",\n        className: _KDE[\"default\"].menu\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjianchajianjiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Alt+P\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewBlankScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjiankongbaijiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Alt+N\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.previewPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yulan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.deletePage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][svnCheckinStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndiff'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qianru'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.pageView)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shitu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.extendPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jicheng'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageCopyVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.copyPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.fuzhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.movePage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yidong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.exportPage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daochu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][formExistEntity], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.printTemplate)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.dayin'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][formExistEntity], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][ReportFormModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.doLayout)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.buju'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.expandPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.kuozhan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"scriptMenu\",\n        className: _KDE[\"default\"].menu\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.deleteScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.moveScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yidong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.renameScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chongmiming'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][svnCheckinStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndiff'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qianru'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.exportScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daochu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.previewScriptDetail)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiaobenxiangqing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][unboundRelationShipForExpandPage], _KDE[\"default\"][unboundRelationShip], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.detachedScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiechudangqianyemaindebangdingguanxi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"editorMenu\",\n        className: _KDE[\"default\"].menu\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.undo)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chexiao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + Z\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.redo)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chongzuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + Y\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.cut)(e, pageId, _copyToClipboard[\"default\"]));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jianqie'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + X\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.copyOp)(e, pageId, _copyToClipboard[\"default\"]));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.fuzhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + C\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].unvisiable,\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.paste)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.niantie'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + V\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectAll)(e, pageId, state));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.quanxuan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }, \"Ctrl + A\"))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"breakpointsMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu, _KDE[\"default\"].breakpointsMenu)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.removeBreakpoint)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Remove breakpoint\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.removeAllBreakpoints)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Remove all breakpoints\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.deactivateBreakpoints)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Deactivate breakpoints\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.activateBreakpoints)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Activate breakpoints\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.enableAllBreakpoints)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Enable all breakpoints\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.disableAllBreakpoints)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Disable all breakpoints\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"watchesMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu, _KDE[\"default\"].watchesMenu)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addWatchMenu)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Add watch expression\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.removeWatchMenu)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Remove watch expression\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.removeAllWatchesMenu)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, \"Remove all watch expressions\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"scriptTapMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeScript)(e, pageId, scriptInfos[tapIndex].id, scriptInfos[tapIndex].content));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][closeOtherStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeMultiScript)(e, pageId, scriptInfos, tapIndex, 'other'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbiqita'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][closeLeftStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeMultiScript)(e, pageId, scriptInfos, tapIndex, 'left'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbizuoceyeqian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][closeRightStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeMultiScript)(e, pageId, scriptInfos, tapIndex, 'right'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbiyouceyeqian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"][closeAllStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeAllScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbisuoyouyeqian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"consoleMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.clearConsole)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qingli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"searchMenu\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].menu)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.clearSearch)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tedent\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].caption\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qingli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].mapkey\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"overlayer\",\n        className: overLayerStyle\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"welcome\",\n        className: welcomeStyle\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].welcomeContent\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].close\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].close_icon,\n        onClick: function onClick(e) {\n          return _this2.setWelcomeValue(e, _this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].introduction\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].i_title\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.huanyingzhuti'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].i_content\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.huanyingneirong'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].operation\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        className: _KDE[\"default\"].experience,\n        type: \"button\",\n        value: (0, _intlApi.getLangMsg)({\n          key: 'kde.lijitiyan'\n        }),\n        onClick: function onClick(e) {\n          return _this2.setWelcomeValue(e, _this2);\n        }\n      })))), /*#__PURE__*/_react[\"default\"].createElement(About, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        isShowAbout: this.state.isShowAbout,\n        setAboutValue: function setAboutValue(e) {\n          return _this2.setAboutValue(e, _this2);\n        },\n        activeTab: this.state.activeTab,\n        setAboutActiveTabValue: function setAboutActiveTabValue(e, value) {\n          return _this2.setAboutActiveTabValue(e, value, _this2);\n        }\n      }));\n    }\n  }, {\n    key: \"keyDown\",\n    value: function keyDown(e, bizappid, bizappnumber) {\n      e.stopPropagation();\n      var altKey = e.altKey;\n      var ctrlKey = (0, _keyCodeTool.isCtrlKey)(e);\n      var shiftKey = e.shiftKey;\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      var pageId = this.props.model.pageId;\n      if (altKey && !ctrlKey && !shiftKey && keyCode == 80) {\n        // alt+p 新建脚本\n        this.props.dispatch((0, _kdeAction.addNewScript)(e, pageId, bizappid));\n      } else if (altKey && !ctrlKey && !shiftKey && keyCode == 78) {\n        // alt+n 新建空白脚本\n        this.props.dispatch((0, _kdeAction.addNewBlankScript)(e, pageId, bizappid));\n      } else if (altKey && !ctrlKey && !shiftKey && keyCode == 70) {\n        // alt+f 搜索脚本\n        e.preventDefault();\n        this.props.dispatch((0, _kdeAction.searchScript)(e, pageId, bizappid, bizappnumber, 'searchscript'));\n      } else if (!altKey && ctrlKey && !shiftKey && keyCode == 83) {\n        // ctrl-s 屏蔽掉浏览器快捷键\n        e.preventDefault();\n      } else if (altKey && !ctrlKey && !shiftKey && keyCode == 118) {\n        // alt-f7 切换应用\n        this.props.dispatch((0, _kdeAction.changeCloudAndApp)(e, pageId));\n      } else if (altKey && !ctrlKey && !shiftKey && keyCode == 116) {\n        // alt-f5 刷新\n        this.props.dispatch((0, _kdeAction.refreshTree)(e, pageId));\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.onclick = function () {\n        return (0, _kdeAction.hideContextMenu)();\n      };\n      this.updateWelcomePosition();\n      window.addEventListener('resize', this.resizeHandler);\n      // 进行资源的加载\n      this.props.dispatch((0, _kdeAction.initResource)(this.props.model.pageId));\n    }\n  }, {\n    key: \"updateWelcomePosition\",\n    value: function updateWelcomePosition() {\n      var _query$css;\n      (_query$css = (0, _utils.query)('#welcome').css('top', (document.body.clientHeight - 480) / 2)) === null || _query$css === void 0 || _query$css.css('left', (document.body.clientWidth - 780) / 2);\n      (0, _utils.query)('#kdeContentArea').css('height', document.body.clientHeight - 24);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      window.removeEventListener('resize', this.resizeHandler);\n    }\n  }, {\n    key: \"setWelcomeValue\",\n    value: function setWelcomeValue(e, self) {\n      var isFirstLogin = (0, _appModelFunction.getDevportalData)(this.props.model.pageId, 'isfirstlogin')(this.props.model.state);\n      if (isFirstLogin == 'false') {\n        self.setState({\n          isShowWelcome: !this.state.isShowWelcome\n        });\n      }\n      this.props.dispatch((0, _kdeAction.commonClick)(this.props.model.pageId, 'clickwelcome'));\n    }\n  }, {\n    key: \"setAboutValue\",\n    value: function setAboutValue(e, self) {\n      self.setState({\n        isShowAbout: !this.state.isShowAbout\n      });\n      self.setState({\n        activeTab: 1\n      });\n    }\n  }, {\n    key: \"setAboutActiveTabValue\",\n    value: function setAboutActiveTabValue(e, value, self) {\n      self.setState({\n        activeTab: value\n      });\n    }\n  }, {\n    key: \"mouseLeftDown\",\n    value: function mouseLeftDown(e, pageId) {\n      if (e.clientX < 290) {\n        return;\n      }\n      window.dispatch = this.props.dispatch;\n      document.onmousemove = function (e) {\n        if (e.clientX > 800) {\n          return;\n        }\n        (0, _utils.query)('#resourceTreeArea').width(e.clientX > 296 ? e.clientX : 296);\n        window.dispatch((0, _kdeAction.resetCodemirrorSize)(pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      };\n      document.onmouseup = function (e) {\n        document.onmousemove = null;\n        window.dispatch = undefined;\n      };\n    }\n  }, {\n    key: \"mouseRightDown\",\n    value: function mouseRightDown(e, pageId) {\n      var docWidth = document.documentElement.clientWidth || document.body.clientWidth;\n      if (docWidth - e.clientX < 290) {\n        return;\n      }\n      window.dispatch = this.props.dispatch;\n      document.onmousemove = function (e) {\n        if (docWidth - e.clientX > 800) {\n          return;\n        }\n        var width = docWidth - e.clientX > 296 ? docWidth - e.clientX : 296;\n        (0, _utils.query)('#outlineArea').width(width);\n        (0, _utils.query)('#outline-methodList').css('width', Number(width - 36));\n        window.dispatch((0, _kdeAction.resetCodemirrorSize)(pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      };\n      document.onmouseup = function (e) {\n        var width = (0, _utils.query)('#outlineArea').width();\n        (0, _utils.query)('#outline-methodList').css('width', Number(width - 36));\n        document.onmousemove = null;\n        window.dispatch = undefined;\n      };\n    }\n  }, {\n    key: \"mouseMiddleDown\",\n    value: function mouseMiddleDown(e, pageId) {\n      if (document.body.clientHeight - e.clientY < 200) {\n        return;\n      }\n      window.dispatch = this.props.dispatch;\n      document.onmousemove = function (e) {\n        var docHeight = document.body.clientHeight;\n        if (docHeight - e.clientY > 800) {\n          return;\n        }\n        var height = docHeight - e.clientY > 200 ? docHeight - e.clientY : 200;\n        (0, _utils.query)('#outputArea').height(height);\n        window.dispatch((0, _kdeAction.resetCodemirrorSize)(pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      };\n      document.onmouseup = function (e) {\n        document.onmousemove = null;\n        window.dispatch = undefined;\n      };\n    }\n  }]);\n  return KDE;\n}(_react.Component); // 提示信息\nvar TipInfo = /*#__PURE__*/function (_Component2) {\n  _inherits(TipInfo, _Component2);\n  function TipInfo(props) {\n    var _this3;\n    _classCallCheck(this, TipInfo);\n    _this3 = _callSuper(this, TipInfo, [props]);\n    _this3.tips = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this3;\n  }\n  _createClass(TipInfo, [{\n    key: \"render\",\n    value: function render() {\n      var _this4 = this;\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      var tipInfo = (0, _appModelFunction.getDevportalData)(pageId, 'tipinfo')(state);\n      var isShow = (0, _appModelFunction.getDevportalData)(pageId, 'isshow')(state);\n      var show = isShow == 'true' ? 'blockvisiable' : 'unvisiable';\n      var thread;\n      if (isShow == 'true') {\n        if (this.thread) {\n          clearTimeout(this.thread);\n        }\n        // 启动线程\n        this.thread = thread = setTimeout(function () {\n          var self = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this;\n          dispatch({\n            type: 'OPENFLOATTIPINFO_KDEMARK',\n            param: {\n              pageId: pageId,\n              data: [{\n                tipinfo: '',\n                isShow: 'false'\n              }]\n            }\n          });\n          self.thread = undefined;\n        }, 1000);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.tips,\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].tipinfoarea, _KDE[\"default\"][show])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['info-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].tip\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tishi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].info\n      }, tipInfo), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['close-icon'],\n        onClick: function onClick(e) {\n          return _this4.closeTipInfo(e, self);\n        }\n      }));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      (0, _utils.query)(this.tips.current).width(document.body.clientWidth - 24);\n    }\n  }, {\n    key: \"closeTipInfo\",\n    value: function closeTipInfo(e, self) {\n      this.props.dispatch({\n        type: 'OPENFLOATTIPINFO_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          data: [{\n            tipinfo: '',\n            isShow: 'false'\n          }]\n        }\n      });\n      clearTimeout(self.thread);\n      self.thread = undefined;\n    }\n  }]);\n  return TipInfo;\n}(_react.Component); // 关于\nvar About = /*#__PURE__*/function (_Component3) {\n  _inherits(About, _Component3);\n  function About() {\n    _classCallCheck(this, About);\n    return _callSuper(this, About, arguments);\n  }\n  _createClass(About, [{\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state;\n      var aboutIDE = this.props.isShowAbout ? _KDE[\"default\"].about : (0, _classnames[\"default\"])(_KDE[\"default\"].about, _KDE[\"default\"].unvisiable);\n      var fileConfig = (0, _appModelFunction.getFormConfig)(pageId)(state).fileserver;\n      var background_image = {\n        backgroundImage: 'url(' + _image_about_KDE[\"default\"] + ')'\n      };\n      var firstTabClass = this.props.activeTab == 1 ? 'visiable' : 'unvisiable';\n      var secondTabClass = this.props.activeTab == 2 ? 'visiable' : 'unvisiable';\n      var thirdTabClass = this.props.activeTab == 3 ? 'visiable' : 'unvisiable';\n      var fourthTabClass = this.props.activeTab == 4 ? 'visiable' : 'unvisiable';\n      var aboutUrl = (0, _appModelFunction.getDevportalData)(pageId, 'abouturl')(state) || '';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: \"about\",\n        className: aboutIDE\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-close'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutValue(e, _this5);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-tab'], _KDE[\"default\"][firstTabClass]),\n        style: background_image\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-title']\n      }, \"KDE\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-description']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanyumiaoshu'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-next'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 2, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xiayiye'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-tab'], _KDE[\"default\"]['about-tab-background'], _KDE[\"default\"][secondTabClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.changpingongneng'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-title-description']\n      }, \"what can we do\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-first']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-content-funtion-first-image'], _KDE[\"default\"]['about-content-funtion-icon'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zhinengyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-content']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zhinengyingyongmiaoshu'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-second']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-content-funtion-second-image'], _KDE[\"default\"]['about-content-funtion-icon'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.wenjianguanli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-content']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.wenjianguanlimiashu'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-funtion-third']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-content-funtion-third-image'], _KDE[\"default\"]['about-content-funtion-icon'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zaixiantiaoshi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-content-funtion-content-content']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zaixiantiaoshimiaoshu'\n      }))))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-last'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 1, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shangyiye'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-next'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 3, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xiayiye'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-tab'], _KDE[\"default\"]['about-tab-background'], _KDE[\"default\"][thirdTabClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-team-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tuanduijieshao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-team-description']\n      }, \"Who we are\"), /*#__PURE__*/_react[\"default\"].createElement(\"iframe\", {\n        className: _KDE[\"default\"]['about-content-team-peoples'],\n        src: aboutUrl,\n        scrolling: \"no\"\n      }, \" \")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-last'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 2, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shangyiye'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-next'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 4, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xiayiye'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['about-tab'], _KDE[\"default\"]['about-tab-background'], _KDE[\"default\"][fourthTabClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.banbenxinxi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-title-description']\n      }, \"what is new\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-content']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-content-title']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.banbenxinxi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-content-description']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.danqianbanbenmiaoshu'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-address']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.gongshidizhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-content-version-website']\n      }, \"www.kingdee.com\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['about-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['about-operation-last'],\n        onClick: function onClick(e) {\n          return _this5.props.setAboutActiveTabValue(e, 3, _this5);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shangyiye'\n      })))));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.updateAboutPosition();\n      window.addEventListener('resize', this.updateAboutPosition);\n    }\n  }, {\n    key: \"updateAboutPosition\",\n    value: function updateAboutPosition() {\n      var _query$css2;\n      (_query$css2 = (0, _utils.query)('#about').css('top', (document.body.clientHeight - 480) / 2)) === null || _query$css2 === void 0 || _query$css2.css('left', (document.body.clientWidth - 780) / 2);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      window.removeEventListener('resize', this.updateAboutPosition);\n    }\n  }]);\n  return About;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/KDE.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/MenuBar.js":
/*!**********************************************************!*\
  !*** ./src/devportal/component/KDEComponents/MenuBar.js ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n__webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.string.fontsize.js */ \"../../node_modules/core-js/modules/es.string.fontsize.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ \"../../node_modules/copy-to-clipboard/index.js\"));\nvar _jsBeautify = _interopRequireDefault(__webpack_require__(/*! js-beautify */ \"../../node_modules/js-beautify/js/index.js\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar MenuBar = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(MenuBar, _Component);\n  function MenuBar() {\n    _classCallCheck(this, MenuBar);\n    return _callSuper(this, MenuBar, arguments);\n  }\n  _createClass(MenuBar, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        state = _this$props.state,\n        pageId = _this$props.pageId,\n        kdeUpdate = _this$props.kdeUpdate;\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n      var appType = (0, _appModelFunction.getDevportalData)(pageId, 'apptype')(state) || '';\n      var unknowUnitStyle = '';\n      if (!selectedNodeType || selectedNodeType == 'cloud' || selectedNodeType == 'app') {\n        unknowUnitStyle = 'unvisiable';\n      }\n      var pageOperationVisiable = 'unvisiable';\n      var scriptOperationVisiable = 'unvisiable';\n      var unitOperationVisiable = 'unvisiable';\n      var formExistEntity = 'unvisiable';\n      var pageExpandStyle = 'visiable';\n      var pageExpandVisiable = 'unvisiable';\n      var movePageInExpandVisiable = 'visiable';\n      var scriptExpandStyle = 'visiable';\n      var printModelStyle = 'visiable';\n      var ReportFormModelStyle = 'visiable';\n      var pageCopyVisiable = 'unvisiable';\n      if (selectedNodeType == 'page') {\n        pageOperationVisiable = 'visiable';\n        var modelType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedPageModelType')(state) || '';\n        if (modelType == 'BaseFormModel' || modelType == 'BillFormModel') {\n          formExistEntity = 'visiable';\n        }\n        if (modelType == 'PrintModel') {\n          printModelStyle = 'unvisiable';\n          pageCopyVisiable = 'visiable';\n        }\n        if (modelType == 'ReportFormModel') {\n          ReportFormModelStyle = 'unvisiable';\n          formExistEntity = 'visiable';\n        }\n        if (appType == '2') {\n          pageExpandVisiable = 'visiable';\n          // 当前为扩展应用\n          var pageExpandType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedPageExpandType')(state) || '';\n          if (pageExpandType == '1') {\n            // 当前页面为原厂页面\n            pageExpandStyle = 'unvisiable';\n          } else if (pageExpandType == '2') {\n            // 扩展页面不支持移动\n            movePageInExpandVisiable = 'unvisiable';\n          }\n        }\n      }\n      if (selectedNodeType == 'script') {\n        scriptOperationVisiable = 'visiable';\n        if (appType == '2') {\n          var scriptExpandType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedScriptExpandType')(state) || '';\n          if (scriptExpandType == '1') {\n            scriptExpandStyle = 'unvisiable';\n          }\n        }\n      }\n      if (selectedNodeType == 'unit') {\n        unitOperationVisiable = 'visiable';\n      }\n      var bizappid = (0, _appModelFunction.getDevportalData)(pageId, 'appid')(state) || '';\n      var bizappnumber = (0, _appModelFunction.getDevportalData)(pageId, 'appnumber')(state);\n      var scripts = (0, _appModelFunction.getDevportalData)(pageId, 'scripts')(state) || [];\n      var noScritpTabStyle = '';\n      if (scripts.length == 0) {\n        noScritpTabStyle = 'unvisiable';\n      }\n      // 修改标识\n      var isOwner = (0, _appModelFunction.getDevportalData)(pageId, 'isowner')(state);\n      var isOwnerStyle = 'visiable';\n      if (!isOwner) {\n        isOwnerStyle = 'unvisiable';\n      }\n      // 字号\n      var fontSize = (0, _appModelFunction.getDevportalData)(pageId, 'fontsize')(state);\n      var small = fontSize == '14' ? 'visiable' : 'unvisiable';\n      var normal = fontSize == '16' ? 'visiable' : 'unvisiable';\n      var big = fontSize == '18' ? 'visiable' : 'unvisiable';\n      // 代码管理\n      var codeManageType = (0, _appModelFunction.getDevportalData)(pageId, 'codemanagetype')(state) || '';\n      var codeManageClass = codeManageType != 'code' ? 'unvisiable' : '';\n      var svnManageClass = codeManageType != 'svn' ? 'unvisiable' : '';\n      var gitManageClass = codeManageType != 'git' ? 'unvisiable' : '';\n      var svnCheckinStyle = codeManageType == 'git' ? 'unvisiable' : 'visiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].menuBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['menuBar-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.wenjian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][unknowUnitStyle], _KDE[\"default\"][isOwnerStyle])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.xinjian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"]['dropBar-item-arrow-right'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"]['dropBar-second']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chajianjiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+P\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.addNewBlankScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.kongbaijiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+N\")))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][noScritpTabStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.saveScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.baocun'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+S\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][noScritpTabStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.saveAllScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.quanbubaocun'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+Alt+S\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][noScritpTabStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.saveAsScript)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.lingcunwei'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][noScritpTabStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.guanbi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+C\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][noScritpTabStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.closeAllScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.quanbuguanbi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+Alt+C\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.changeCloudAndApp)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qiehuanyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+F7\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.refreshTree)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].refresh)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shuaixin'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+F5\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][unitOperationVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.importPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daoruyemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][unitOperationVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.importScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daorujiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.deletePage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.previewPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yulan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][svnCheckinStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndiff'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qianru'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.pageView)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shitu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.updatePage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.gengxin'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.extendPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jicheng'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageCopyVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.copyPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.fuzhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.movePage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yidong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageOperationVisiable], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.exportPage)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daochu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][formExistEntity], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.printTemplate)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.dayin'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][formExistEntity], _KDE[\"default\"][pageExpandStyle], _KDE[\"default\"][movePageInExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][ReportFormModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.doLayout)(e, pageId, bizappid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.buju'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][pageExpandVisiable], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][printModelStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.expandPage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.kuozhan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable], _KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.deleteScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable], _KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.moveScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.yidong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable], _KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.renameScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chongmiming'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable], _KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle], _KDE[\"default\"][svnCheckinStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndiff'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qianru'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable], _KDE[\"default\"][scriptExpandStyle], _KDE[\"default\"][isOwnerStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.exportScript)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daochu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"][scriptOperationVisiable]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.previewScriptDetail)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiaobenxiangqing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['menuBar-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.bianji'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.undo)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].undo)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chexiao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+Z\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.redo)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].redo)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chongzuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+Y\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.cut)(e, pageId, _copyToClipboard[\"default\"]));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].cut)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jianqie'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+X\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.copyOp)(e, pageId, _copyToClipboard[\"default\"]));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].copy)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.fuzhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+C\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unvisiable),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.paste)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"].paste)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.niantie'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+V\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectAll)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.quanxuan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+A\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.search)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.chazhao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+F\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.replace)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tihuan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+R\")))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['menuBar-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daima'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.insertClass)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zengjiayinyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+I\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.insertEvent)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.charufangfa'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Ctrl+M\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.insertScene)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.charuchangjing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.scriptSample)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiaobenyangli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['menuBar-item'], _KDE[\"default\"][codeManageClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daimaguanli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.codeManage)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.peizhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['menuBar-item'], _KDE[\"default\"][svnManageClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.svnguanli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unvisiable),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'checkin'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qianru'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndiff'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.bijiao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svnlog'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.rizhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svnrevert'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.gengxin'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svndelete'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svnlock'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.suoding'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svnunlock'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiesuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.svnOperation)(e, pageId, 'svnclean'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qingli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['menuBar-item'], _KDE[\"default\"][gitManageClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.gitguanli'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.gitOperation)(e, pageId, 'commit'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tijiao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.gitOperation)(e, pageId, 'push'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tuisong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.gitOperation)(e, pageId, 'revert'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.huanyuan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.gitOperation)(e, pageId, 'pull'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.laqu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['menuBar-item'], _KDE[\"default\"][''])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.sousuo'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.searchScript)(e, pageId, bizappid, bizappnumber, 'searchscript'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      }, \"Alt+F\")), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.searchScript)(e, pageId, bizappid, bizappnumber, 'searchinscript'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.wenjian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['menuBar-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['menuBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.gongju'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"].dropBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.codeCheck)(e, pageId));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daimajiancha'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.codeFormatter)(e, pageId, _jsBeautify[\"default\"]));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.daimageshihua'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.commonClick)(pageId, 'debuglog'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.tiaoshirizhi'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.commonClick)(pageId, 'scriptlayout'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiaobenshiyongxiangqing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unvisiable)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.pifu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-arrow-right']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", null)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"]['dropBar-second']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unrealized)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.moren'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unrealized)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.jindielan'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item'], _KDE[\"default\"].unrealized)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.huolicheng'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-item-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.zihao'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"]['dropBar-item-arrow-right'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"]['dropBar-second']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch({\n            type: 'CHANGEFONTSIZE_KDEMARK',\n            param: {\n              pageId: pageId,\n              data: [{\n                fontSize: '14'\n              }]\n            }\n          });\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"][small], _KDE[\"default\"].fontsize)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, \"14\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch({\n            type: 'CHANGEFONTSIZE_KDEMARK',\n            param: {\n              pageId: pageId,\n              data: [{\n                fontSize: '16'\n              }]\n            }\n          });\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"][normal], _KDE[\"default\"].fontsize)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, \"16\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['dropBar-second-item'],\n        onClick: function onClick(e) {\n          return dispatch({\n            type: 'CHANGEFONTSIZE_KDEMARK',\n            param: {\n              pageId: pageId,\n              data: [{\n                fontSize: '18'\n              }]\n            }\n          });\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['dropBar-item-icon'], _KDE[\"default\"][big], _KDE[\"default\"].fontsize)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['dropBar-second-item-name']\n      }, \"18\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"].shortcutKey\n      })))))));\n    }\n  }, {\n    key: \"openFAQ\",\n    value: function openFAQ() {\n      window.open('https://club.kdcloud.com/topics/103');\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {}\n  }]);\n  return MenuBar;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/MenuBar.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/OutlineArea.js":
/*!**************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/OutlineArea.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n__webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n__webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _storage = _interopRequireWildcard(__webpack_require__(/*! @/util/storage */ \"./src/util/storage.js\"));\nvar _kdeAction = __webpack_require__(/*! @/devportal/action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _utils = __webpack_require__(/*! @/devportal/util/utils */ \"./src/devportal/util/utils.js\");\nvar _service = __webpack_require__(/*! @/devportal/util/service */ \"./src/devportal/util/service.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! @/devportal/less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar OutlineArea = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(OutlineArea, _Component);\n  function OutlineArea(props) {\n    var _this;\n    _classCallCheck(this, OutlineArea);\n    _this = _callSuper(this, OutlineArea, [props]);\n    _this.state = {\n      isShow: true\n    };\n    _this.setIsShow = _this.setIsShow.bind(_assertThisInitialized(_this));\n    _this.outline = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(OutlineArea, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var visiable = this.state.isShow ? 'visiable' : 'unvisiable';\n      var outlineViewType = (0, _appModelFunction.getDevportalData)(pageId, 'outlineviewtype')(state) || 'outline';\n      var outlineVisiable = outlineViewType == 'outline' ? 'visiable' : 'unvisiable';\n      var debuggerVisiable = outlineViewType == 'debugger' ? 'visiable' : 'unvisiable';\n      var outlineSelected = outlineViewType == 'outline' ? 'selected' : '';\n      var debuggerSelected = outlineViewType == 'debugger' ? 'selected' : '';\n      var debugging = (0, _appModelFunction.getDevportalData)(pageId, 'dubugging')(state);\n      var debuggingClass = debugging == true ? 'debugging' : '';\n      var breakpointsState = (0, _appModelFunction.getDevportalData)(pageId, 'skipallbreakpoints')(state);\n      var breakpointsStateClass = breakpointsState == true ? 'actived' : '';\n      var activedScript = this.getActivedScript(pageId, state);\n      var methods = this.getMethodsFromThisScript(activedScript);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].outline,\n        ref: this.outline,\n        onClick: function onClick(e) {\n          return _this2.hideWatchInput(e);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['outline-mainContent'], _KDE[\"default\"][visiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['outline-operation']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.shouqi'\n        }),\n        className: _KDE[\"default\"]['outline-right'],\n        onClick: function onClick(e) {\n          return _this2.setIsShow(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav'], _KDE[\"default\"][debuggerVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: \"Resume script execution F8\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav-resume'], _KDE[\"default\"][debuggingClass]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.debugCmd)(e, pageId, 'resume'));\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['debugger-toolbar-nav-divider']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: \"Step over next function call F10\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav-stepOver'], _KDE[\"default\"][debuggingClass]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.debugCmd)(e, pageId, 'stepover'));\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['debugger-toolbar-nav-divider']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: \"Step into next function call F11\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav-stepInto'], _KDE[\"default\"][debuggingClass]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.debugCmd)(e, pageId, 'stepinto'));\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['debugger-toolbar-nav-divider']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: \"Step out of next function call F12\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav-stepOut'], _KDE[\"default\"][debuggingClass]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.debugCmd)(e, pageId, 'stepout'));\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['debugger-toolbar-nav-divider']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: \"Deactive breakpoints F9\",\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-toolbar-nav-deactive'], _KDE[\"default\"][breakpointsStateClass]),\n        onClick: function onClick(e) {\n          return _this2.setBreakpointsState(e);\n        }\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['outline-content'], _KDE[\"default\"][outlineVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['outline-tree']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['outline-root'],\n        onClick: function onClick(e) {\n          return _this2.gotoFirstLine(activedScript.number);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['outline-arrow']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['outline-rootName']\n      }, activedScript.number)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        id: \"outline-methodList\",\n        className: _KDE[\"default\"]['outline-methodList']\n      }, methods.map(function (method, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Method, _extends({}, method, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          scriptNumber: activedScript.number\n        }));\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['outline-tree'], _KDE[\"default\"][debuggerVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(Debugger, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['outline-banner']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['outline-banner-item-name'], _KDE[\"default\"][outlineSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'outline');\n        }\n      }, \"Outline\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['outline-banner-item-name'], _KDE[\"default\"][debuggerSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'debugger');\n        }\n      }, \"Debugger\")));\n    }\n  }, {\n    key: \"setViewType\",\n    value: function setViewType(e, viewType) {\n      this.props.dispatch({\n        type: 'OUTLINEVIEWTYPE_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          value: viewType\n        }\n      });\n      this.setState({\n        isShow: true,\n        viewType: viewType\n      });\n      if (!this.state.isShow) {\n        (0, _utils.query)(this.outline.current.parentNode).width('296px');\n        (0, _utils.query)('#outline-methodList').css('width', '260px');\n        this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      }\n    }\n  }, {\n    key: \"setIsShow\",\n    value: function setIsShow(e) {\n      this.setState({\n        isShow: !this.state.isShow\n      });\n      if (this.state.isShow) {\n        (0, _utils.query)(this.outline.current.parentNode).width('24px');\n      } else {\n        (0, _utils.query)(this.outline.current.parentNode).width('296px');\n      }\n      this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n    }\n  }, {\n    key: \"gotoFirstLine\",\n    value: function gotoFirstLine(scriptNumber) {\n      var codeMirror = _global[\"default\"][_global.CODE_MIRRORS][scriptNumber];\n      codeMirror.execCommand('goDocStart');\n    }\n  }, {\n    key: \"getActivedScript\",\n    value: function getActivedScript(pageId, state) {\n      var allScripts = (0, _appModelFunction.getDevportalData)(pageId, 'scripts')(state) || [];\n      var activedScript = {};\n      for (var i = 0; i < allScripts.length; i++) {\n        if (allScripts[i].actived) {\n          activedScript = allScripts[i];\n          break;\n        }\n      }\n      return activedScript;\n    }\n  }, {\n    key: \"getMethodsFromThisScript\",\n    value: function getMethodsFromThisScript(activedScript) {\n      var methods = [];\n      if (activedScript.content != undefined) {\n        var ret = activedScript.content.match(/[\\s]*[a-zA-Z0-9_]+[\\s]*[:][\\s]*[function(]+([)]|[a-zA-Z0-9_,\\s]+[)])/g);\n        if (ret) {\n          for (var j = 0; j < ret.length; j++) {\n            var method = {};\n            method.method = ret[j].replace(/[\\s]+/, '').trim();\n            methods.push(method);\n          }\n        }\n      }\n      return methods;\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {}\n  }, {\n    key: \"hideWatchInput\",\n    value: function hideWatchInput(e) {\n      this.props.dispatch({\n        type: 'SHOWWATCHINPUT_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          value: 'hide'\n        }\n      });\n    }\n  }, {\n    key: \"setBreakpointsState\",\n    value: function setBreakpointsState(e) {\n      this.props.dispatch((0, _kdeAction.skipAllBreakpoints)(e, this.props.pageId));\n    }\n  }]);\n  return OutlineArea;\n}(_react.Component); // outLine\nvar Method = /*#__PURE__*/function (_Component2) {\n  _inherits(Method, _Component2);\n  function Method() {\n    _classCallCheck(this, Method);\n    return _callSuper(this, Method, arguments);\n  }\n  _createClass(Method, [{\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['outline-methodItem'],\n        onClick: function onClick(e) {\n          return _this3.gotoThisMethod(_this3.props.method, _this3.props.scriptNumber);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: this.props.method,\n        className: _KDE[\"default\"]['outline-methodItem-name']\n      }, this.props.method));\n    }\n  }, {\n    key: \"gotoThisMethod\",\n    value: function gotoThisMethod(method, scriptNumber) {\n      var codeMirror = _global[\"default\"][_global.CODE_MIRRORS][scriptNumber];\n      var searchState = _global[\"default\"][_global.CODE_MIRROR].state.search;\n      if (searchState) {\n        _global[\"default\"][_global.CODE_MIRROR].state.search.query = method;\n      } else {\n        searchState = {};\n        searchState.posFrom = searchState.posTo = searchState.lastQuery = null;\n        searchState.overlay = null;\n        searchState.query = method;\n        _global[\"default\"][_global.CODE_MIRROR].state.search = searchState;\n      }\n      _global[\"default\"][_global.CODE_MIRROR].execCommand('findPrev');\n    }\n  }]);\n  return Method;\n}(_react.Component); // Debugger\nvar Debugger = /*#__PURE__*/function (_Component3) {\n  _inherits(Debugger, _Component3);\n  function Debugger(props) {\n    var _this4;\n    _classCallCheck(this, Debugger);\n    _this4 = _callSuper(this, Debugger, [props]);\n    _this4.state = {\n      variablesIsShow: true,\n      breakpointsIsShow: true,\n      watchesIsShow: true\n    };\n    _this4.watchinput = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this4;\n  }\n  _createClass(Debugger, [{\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state;\n      var breakpointInfos = (0, _appModelFunction.getDevportalData)(pageId, 'breakpoints')(state) || [];\n      // 变量箭头和列表\n      var variablesListClass = this.state.variablesIsShow ? _KDE[\"default\"][''] : _KDE[\"default\"].unvisiable;\n      var variablesTitleArrowClass = this.state.variablesIsShow ? _KDE[\"default\"]['debugger-info-title-arrow-down'] : _KDE[\"default\"]['debugger-info-title-arrow-left'];\n      // 断点箭头和列表\n      var breakpointsListClass = this.state.breakpointsIsShow ? _KDE[\"default\"][''] : _KDE[\"default\"].unvisiable;\n      var breakpointsTitleArrowClass = this.state.breakpointsIsShow ? _KDE[\"default\"]['debugger-info-title-arrow-down'] : _KDE[\"default\"]['debugger-info-title-arrow-left'];\n      // 观察箭头和列表\n      var watchesListClass = this.state.watchesIsShow ? _KDE[\"default\"][''] : _KDE[\"default\"].unvisiable;\n      var watchesTitleArrowClass = this.state.watchesIsShow ? _KDE[\"default\"]['debugger-info-title-arrow-down'] : _KDE[\"default\"]['debugger-info-title-arrow-left'];\n\n      // 观察输入框\n      var watchInputValue = (0, _appModelFunction.getDevportalData)(pageId, 'watchinput')(state);\n      var watchInputClass = watchInputValue == 'show' ? _KDE[\"default\"].visiable : _KDE[\"default\"].unvisiable;\n      var watches = (0, _appModelFunction.getDevportalData)(pageId, 'watches')(state) || [];\n      var variables = (0, _appModelFunction.getDevportalData)(pageId, 'variables')(state) || [];\n      var skipAllBreakpoints = (0, _appModelFunction.getDevportalData)(pageId, 'skipallbreakpoints')(state);\n      var skipAllBreakpointsClass = skipAllBreakpoints == true ? 'skipAllBreakpoints' : '';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][\"debugger\"])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['debugger-info']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].section\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['debugger-info-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: variablesTitleArrowClass,\n        onClick: function onClick(e) {\n          return _this5.changeVariableIsShowValue(e, _this5);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.bianliang'\n        }),\n        onClick: function onClick(e) {\n          return _this5.changeVariableIsShowValue(e, _this5);\n        }\n      }, \" Variables\")), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: variablesListClass\n      }, variables.map(function (variable, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Variable, _extends({}, variable, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index\n        }));\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].section\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['debugger-info-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: breakpointsTitleArrowClass,\n        onClick: function onClick(e) {\n          return _this5.changeBreakpointsIsShowValue(e, _this5);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.duandian'\n        }),\n        onClick: function onClick(e) {\n          return _this5.changeBreakpointsIsShowValue(e, _this5);\n        }\n      }, \" Breakpoints\")), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(breakpointsListClass, _KDE[\"default\"][skipAllBreakpointsClass])\n      }, breakpointInfos.map(function (breakpointInfo, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Breakpoint, _extends({}, breakpointInfo, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index\n        }));\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].section\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['debugger-info-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: watchesTitleArrowClass,\n        onClick: function onClick(e) {\n          return _this5.changeWatchesIsShowValue(e, _this5);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.guancha'\n        }),\n        onClick: function onClick(e) {\n          return _this5.changeWatchesIsShowValue(e, _this5);\n        }\n      }, \" Watches\"), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"]['debugger-info-watch-toolbar']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.tianjiaguanchadian'\n        }),\n        className: _KDE[\"default\"]['debugger-info-watch-toolbar-add'],\n        onClick: function onClick(e) {\n          return _this5.showWatchInput(e);\n        }\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: watchesListClass\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, watches.map(function (watch, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Watch, _extends({}, watch, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          watchinput: _this5.watchinput.current\n        }));\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        ref: this.watchinput,\n        placeholder: (0, _intlApi.getLangMsg)({\n          key: 'kde.qingshuruyigebiaodashi'\n        }),\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['debugger-info-watch-input'], watchInputClass),\n        onKeyDown: function onKeyDown(e) {\n          return _this5.keyDown(e);\n        },\n        onClick: function onClick(e) {\n          return _this5.clickWatchInput(e);\n        }\n      })))));\n    }\n  }, {\n    key: \"changeVariableIsShowValue\",\n    value: function changeVariableIsShowValue(e, self) {\n      e.stopPropagation();\n      self.setState({\n        variablesIsShow: !this.state.variablesIsShow\n      });\n    }\n  }, {\n    key: \"changeBreakpointsIsShowValue\",\n    value: function changeBreakpointsIsShowValue(e, self) {\n      e.stopPropagation();\n      self.setState({\n        breakpointsIsShow: !this.state.breakpointsIsShow\n      });\n    }\n  }, {\n    key: \"changeWatchesIsShowValue\",\n    value: function changeWatchesIsShowValue(e, self) {\n      e.stopPropagation();\n      self.setState({\n        watchesIsShow: !this.state.watchesIsShow\n      });\n    }\n  }, {\n    key: \"showWatchInput\",\n    value: function showWatchInput(e) {\n      e.stopPropagation();\n      this.watchinput.current.value = '';\n      this.watchinput.current.focus();\n      this.props.dispatch({\n        type: 'SHOWWATCHINPUT_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          value: 'show'\n        }\n      });\n    }\n  }, {\n    key: \"clickWatchInput\",\n    value: function clickWatchInput(e) {\n      e.stopPropagation();\n    }\n  }, {\n    key: \"keyDown\",\n    value: function keyDown(e) {\n      e.stopPropagation();\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      if (keyCode == 13) {\n        var exp = this.watchinput.current.value;\n        var scriptNumber = this.getActivedScriptNumber();\n        var watch = {\n          scriptnumber: scriptNumber,\n          exp: exp,\n          value: '(not available)'\n        };\n        this.props.dispatch((0, _kdeAction.addWatch)(e, this.props.pageId, watch));\n        this.props.dispatch({\n          type: 'SHOWWATCHINPUT_KDEMARK',\n          param: {\n            pageId: this.props.pageId,\n            value: 'hide'\n          }\n        });\n      }\n    }\n  }, {\n    key: \"getActivedScriptNumber\",\n    value: function getActivedScriptNumber() {\n      var scriptNumber = '';\n      var scriptDatas = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'scripts')(this.props.state) || [];\n      for (var i = 0; i < scriptDatas.length; i++) {\n        if (scriptDatas[i].actived) {\n          scriptNumber = scriptDatas[i].number;\n          break;\n        }\n      }\n      return scriptNumber;\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      window.onbeforeunload = function () {\n        if (_storage[\"default\"].get(_storage.KD_KDE_START_DEBUG) === 'true') {\n          _storage[\"default\"].set(_storage.KD_KDE_START_DEBUG, false);\n          var debugId = _storage[\"default\"].get(_storage.DEBUG_ID);\n          var url = '/' + location.pathname.split('/')[1] + '/serverscript/exit.do';\n          (0, _service.postJsonApi)(url, {\n            debugid: debugId\n          });\n        }\n      };\n    }\n  }]);\n  return Debugger;\n}(_react.Component); // 变量\nvar Variable = /*#__PURE__*/function (_Component4) {\n  _inherits(Variable, _Component4);\n  function Variable(props) {\n    var _this6;\n    _classCallCheck(this, Variable);\n    _this6 = _callSuper(this, Variable, [props]);\n    _this6.state = {\n      subVariablesIsShow: false\n    };\n    return _this6;\n  }\n  _createClass(Variable, [{\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props4 = this.props,\n        dispatch = _this$props4.dispatch,\n        pageId = _this$props4.pageId,\n        state = _this$props4.state;\n      var variableValue = this.props.variableValue;\n      var subVariables = [];\n      if (variableValue && _typeof(variableValue) === 'object') {\n        variableValue = variableValue.$$type;\n        for (var sub_key in this.props.variableValue) {\n          if (sub_key == '$$type') {\n            continue;\n          }\n          var subVariable = {\n            variableKey: sub_key,\n            variableValue: this.props.variableValue[sub_key] == null ? 'null' : this.props.variableValue[sub_key]\n          };\n          subVariables.push(subVariable);\n        }\n      }\n      var subVariablesIsShowClass = this.state.subVariablesIsShow ? 'showSubVisiables' : 'unvisiable';\n      var variableArrowClass = subVariables.length > 0 ? this.state.subVariablesIsShow ? 'variable-arrow-down' : 'variable-arrow-left' : '';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"].variables\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['variable-arrow-null'], _KDE[\"default\"][variableArrowClass]),\n        onClick: function onClick(e) {\n          return _this7.showHideSubVariables(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, this.props.variableKey), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \": \"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: variableValue\n      }, variableValue)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"][subVariablesIsShowClass]\n      }, subVariables.map(function (variable, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Variable, _extends({}, variable, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index\n        }));\n      })));\n    }\n  }, {\n    key: \"showHideSubVariables\",\n    value: function showHideSubVariables(e) {\n      this.setState({\n        subVariablesIsShow: !this.state.subVariablesIsShow\n      });\n    }\n  }]);\n  return Variable;\n}(_react.Component); // 断点\nvar Breakpoint = /*#__PURE__*/function (_Component5) {\n  _inherits(Breakpoint, _Component5);\n  function Breakpoint(props) {\n    var _this8;\n    _classCallCheck(this, Breakpoint);\n    _this8 = _callSuper(this, Breakpoint, [props]);\n    _this8.breakpoint = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this8;\n  }\n  _createClass(Breakpoint, [{\n    key: \"render\",\n    value: function render() {\n      var _this9 = this;\n      var _this$props5 = this.props,\n        dispatch = _this$props5.dispatch,\n        pageId = _this$props5.pageId,\n        state = _this$props5.state;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        ref: this.breakpoint,\n        className: _KDE[\"default\"].breakpoint\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['breakpoint-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        type: \"checkbox\",\n        checked: this.props.checked,\n        onChange: function onChange(e) {\n          return _this9.updateBreakpointInfo(e, _this9);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, this.props.scriptnumber, \":\", this.props.line)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['breakpoint-content']\n      }, this.props.lineContent));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var breakpoint = ReactDOM.findDOMNode(this.breakpoint.current);\n      breakpoint.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      (0, _kdeAction.hideContextMenu)();\n      var breakpointsMenu = document.getElementById('breakpointsMenu');\n      var documentWidth = document.body.clientWidth;\n      if (documentWidth < e.clientX + 200) {\n        breakpointsMenu.style.left = documentWidth - 200 + 'px';\n      } else {\n        breakpointsMenu.style.left = e.clientX + 'px';\n      }\n      breakpointsMenu.style.top = e.clientY + 'px';\n      breakpointsMenu.style.visibility = 'visible';\n      var breakpoint = {\n        scriptnumber: this.props.scriptnumber,\n        line: this.props.line\n      };\n      this.props.dispatch({\n        type: 'CURRENTBREAKPOINT_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          breakpoint: breakpoint\n        }\n      });\n    }\n  }, {\n    key: \"updateBreakpointInfo\",\n    value: function updateBreakpointInfo(e, self) {\n      var breakpointInfo = {\n        scriptnumber: self.props.scriptnumber,\n        line: self.props.line,\n        lineContent: self.props.lineContent,\n        checked: !self.props.checked\n      };\n      this.props.dispatch((0, _kdeAction.updateBreakpointInfo)(this.props.pageId, breakpointInfo, 'update'));\n      // 更改codemirror断点的样式\n      var codeMirror = _global[\"default\"][_global.CODE_MIRRORS][self.props.scriptnumber];\n      if (codeMirror == undefined) {\n        return;\n      }\n      var line = breakpointInfo.line - 1;\n      if (breakpointInfo.checked) {\n        codeMirror.setGutterMarker(line, 'breakpoints', this.fullBreakPointMarker(codeMirror, line));\n      } else {\n        codeMirror.setGutterMarker(line, 'breakpoints', this.nullBreakPointMarker(codeMirror, line));\n      }\n    }\n  }, {\n    key: \"fullBreakPointMarker\",\n    value: function fullBreakPointMarker(cm, n) {\n      var marker = document.createElement('div');\n      marker.className = 'breakpoint';\n      marker.innerHTML = '●';\n      return marker;\n    }\n  }, {\n    key: \"nullBreakPointMarker\",\n    value: function nullBreakPointMarker(cm, n) {\n      var marker = document.createElement('div');\n      marker.className = 'breakpoint';\n      marker.innerHTML = 'o';\n      return marker;\n    }\n  }]);\n  return Breakpoint;\n}(_react.Component); // Watch\nvar Watch = /*#__PURE__*/function (_Component6) {\n  _inherits(Watch, _Component6);\n  function Watch(props) {\n    var _this10;\n    _classCallCheck(this, Watch);\n    _this10 = _callSuper(this, Watch, [props]);\n    _this10.state = {\n      watchRemoveIsShow: false,\n      watchValueArrow: true\n    };\n    _this10.watch = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this10;\n  }\n  _createClass(Watch, [{\n    key: \"render\",\n    value: function render() {\n      var _this11 = this;\n      var _this$props6 = this.props,\n        dispatch = _this$props6.dispatch,\n        pageId = _this$props6.pageId,\n        state = _this$props6.state;\n      var watctRemoveClass = this.state.watchRemoveIsShow ? 'visiable' : 'unvisiable';\n      var watchValue = this.props.value;\n      var subVariables = [];\n      if (watchValue && _typeof(watchValue) === 'object') {\n        watchValue = watchValue.$$type;\n        for (var sub_key in this.props.value) {\n          if (sub_key == '$$type') {\n            continue;\n          }\n          var subVariable = {\n            variableKey: sub_key,\n            variableValue: this.props.value[sub_key] == null ? 'null' : this.props.value[sub_key]\n          };\n          subVariables.push(subVariable);\n        }\n      }\n      var watchValueArrowClass = this.props.value && _typeof(this.props.value) === 'object' ? this.state.watchValueArrow ? 'variable-arrow-left' : 'variable-arrow-down' : '';\n      var subVariablesIsShowClass = watchValueArrowClass == 'variable-arrow-down' ? '' : 'unvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        ref: this.watch,\n        className: _KDE[\"default\"].watch,\n        onMouseOver: function onMouseOver(e) {\n          return _this11.showWatchRemove(e);\n        },\n        onMouseLeave: function onMouseLeave(e) {\n          return _this11.hideWatchRemove(e);\n        },\n        onDoubleClick: function onDoubleClick(e) {\n          return _this11.editCurrnetWatch(e);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.shanchuguanchadian'\n        }),\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['watch-remove'], _KDE[\"default\"][watctRemoveClass]),\n        onClick: function onClick(e) {\n          return _this11.removeWactch(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['variable-arrow-null'], _KDE[\"default\"][watchValueArrowClass]),\n        onClick: function onClick(e) {\n          return _this11.showHideSubWatches(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['watch-exp']\n      }, this.props.exp), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['watch-separator']\n      }, \": \"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['watch-value']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: watchValue\n      }, watchValue), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"][subVariablesIsShowClass]\n      }, subVariables.map(function (variable, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Variable, _extends({}, variable, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index\n        }));\n      }))));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var breakpoint = ReactDOM.findDOMNode(this.watch.current);\n      breakpoint.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      (0, _kdeAction.hideContextMenu)();\n      var watchesMenu = document.getElementById('watchesMenu');\n      var documentWidth = document.body.clientWidth;\n      if (documentWidth < e.clientX + 240) {\n        watchesMenu.style.left = documentWidth - 240 + 'px';\n      } else {\n        watchesMenu.style.left = e.clientX + 'px';\n      }\n      watchesMenu.style.top = e.clientY + 'px';\n      watchesMenu.style.visibility = 'visible';\n      var watch = {\n        exp: this.props.exp,\n        scriptnumber: this.props.scriptnumber\n      };\n      this.props.dispatch({\n        type: 'CURRENTWATCH_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          watch: watch\n        }\n      });\n    }\n  }, {\n    key: \"showWatchRemove\",\n    value: function showWatchRemove(e) {\n      e.preventDefault();\n      this.setState({\n        watchRemoveIsShow: true\n      });\n    }\n  }, {\n    key: \"hideWatchRemove\",\n    value: function hideWatchRemove(e) {\n      e.preventDefault();\n      this.setState({\n        watchRemoveIsShow: false\n      });\n    }\n  }, {\n    key: \"removeWactch\",\n    value: function removeWactch(e) {\n      e.preventDefault();\n      this.setState({\n        watchRemoveIsShow: false\n      });\n      var watch = {\n        scriptnumber: this.props.scriptnumber,\n        exp: this.props.exp,\n        value: '(not available)'\n      };\n      this.props.dispatch((0, _kdeAction.removeWactch)(e, this.props.pageId, watch));\n    }\n  }, {\n    key: \"editCurrnetWatch\",\n    value: function editCurrnetWatch(e) {\n      e.preventDefault();\n      this.props.watchinput.value = this.props.exp;\n      var watch = {\n        scriptnumber: this.props.scriptnumber,\n        exp: this.props.exp\n      };\n      this.props.dispatch((0, _kdeAction.removeWactch)(e, this.props.pageId, watch));\n      this.props.dispatch({\n        type: 'SHOWWATCHINPUT_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          value: 'show'\n        }\n      });\n    }\n  }, {\n    key: \"showHideSubWatches\",\n    value: function showHideSubWatches(e) {\n      e.preventDefault();\n      this.setState({\n        watchValueArrow: !this.state.watchValueArrow\n      });\n    }\n  }]);\n  return Watch;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/OutlineArea.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/OutputArea.js":
/*!*************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/OutputArea.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar OutputArea = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(OutputArea, _Component);\n  function OutputArea(props) {\n    var _this;\n    _classCallCheck(this, OutputArea);\n    _this = _callSuper(this, OutputArea, [props]);\n    _this.state = {\n      isShow: true\n    };\n    _this.setIsShow = _this.setIsShow.bind(_assertThisInitialized(_this));\n    _this.setViewType = _this.setViewType.bind(_assertThisInitialized(_this));\n    _this.output = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.console = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.search = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(OutputArea, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var outputViewType = (0, _appModelFunction.getDevportalData)(pageId, 'outputViewType')(state) || '';\n      if (!outputViewType) {\n        outputViewType = 'console';\n      }\n      var visiable = this.state.isShow ? 'visiable' : 'unvisiable';\n      var consoleSelected = outputViewType == 'console' ? 'selected' : '';\n      var terminalSelected = outputViewType == 'terminal' ? 'selected' : '';\n      var searchSelected = outputViewType == 'search' ? 'selected' : '';\n      var debugSelected = outputViewType == 'debug' ? 'selected' : '';\n      var consoleVisiable = outputViewType == 'console' ? 'visiable' : 'unvisiable';\n      var terminalVisiable = outputViewType == 'terminal' ? 'visiable' : 'unvisiable';\n      var searchVisiable = outputViewType == 'search' ? 'visiable' : 'unvisiable';\n      var debugVisiable = outputViewType == 'debug' ? 'visiable' : 'unvisiable';\n      var outputArrowClass = this.state.isShow ? 'output-down-arrowdown' : 'output-down-up';\n      var outputArrowTitle = this.state.isShow ? 'kde.shouqi' : 'kde.zhankai';\n      var searchType = (0, _appModelFunction.getDevportalData)(pageId, 'searchtype')(state) || '';\n      var scriptInfos = [];\n      if (searchType == 'searchscript') {\n        scriptInfos = (0, _appModelFunction.getDevportalData)(pageId, 'outputareascriptinfos')(state) || [];\n      } else {\n        scriptInfos = (0, _appModelFunction.getDevportalData)(pageId, 'contextinscript')(state) || [];\n      }\n      var searchInfoVisiable = (0, _appModelFunction.getDevportalData)(pageId, 'searchinfovisiable')(state);\n      var searchEmpty = (0, _appModelFunction.getDevportalData)(pageId, 'searchempty')(state);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].output,\n        ref: this.output\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['output-banner']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-banner-item'], _KDE[\"default\"][consoleSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'console');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"console\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-banner-item'], _KDE[\"default\"][terminalSelected], _KDE[\"default\"].unvisiable),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'terminal');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"teminal\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-banner-item'], _KDE[\"default\"][searchSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'search');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"search\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-banner-item'], _KDE[\"default\"][debugSelected], _KDE[\"default\"].unvisiable),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'debug');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"debug\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-banner-item'], _KDE[\"default\"]['output-down-icon'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: outputArrowTitle\n        }),\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-down'], _KDE[\"default\"][outputArrowClass]),\n        onClick: function onClick(e) {\n          return _this2.setIsShow(e);\n        }\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-mainContent'], _KDE[\"default\"][visiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.console,\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-mainContent-item'], _KDE[\"default\"][consoleVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(ConsoleContent, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-mainContent-item'], _KDE[\"default\"][terminalVisiable])\n      }, \"teminal\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.search,\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-mainContent-item'], _KDE[\"default\"][searchVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][searchInfoVisiable])\n      }, \"no search\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][searchEmpty])\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.meiyousousuodaopipeidejiaoben'\n      })), scriptInfos.map(function (scriptInfo, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(SearchScriptList, _extends({}, scriptInfo, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          searchType: searchType\n        }));\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-mainContent-item'], _KDE[\"default\"][debugVisiable])\n      }, \"debug\")));\n    }\n  }, {\n    key: \"setIsShow\",\n    value: function setIsShow(e) {\n      this.setState({\n        isShow: !this.state.isShow\n      });\n      if (this.state.isShow) {\n        (0, _utils.query)(this.output.current.parentNode).height('24px');\n      } else {\n        (0, _utils.query)(this.output.current.parentNode).height('200px');\n      }\n      this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n    }\n  }, {\n    key: \"setViewType\",\n    value: function setViewType(e, viewType) {\n      this.setState({\n        isShow: true\n      });\n      if (!this.state.isShow) {\n        (0, _utils.query)(this.output.current.parentNode).height('200px');\n      }\n      this.props.dispatch({\n        type: 'CHANGEOUTPUTVIEWTYPE_KDEMARK',\n        param: {\n          pageId: this.props.pageId,\n          data: [{\n            viewType: viewType\n          }]\n        }\n      });\n      this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var console = _reactDom[\"default\"].findDOMNode(this.console.current);\n      console.oncontextmenu = this.onContextConsoleMenu.bind(this);\n      var search = _reactDom[\"default\"].findDOMNode(this.search.current);\n      search.oncontextmenu = this.onContextSearchMenu.bind(this);\n    }\n  }, {\n    key: \"onContextConsoleMenu\",\n    value: function onContextConsoleMenu(e) {\n      e.preventDefault();\n      (0, _kdeAction.hideContextMenu)();\n      var consoleMenu = document.getElementById('consoleMenu');\n      consoleMenu.style.left = e.screenX + 'px';\n      consoleMenu.style.top = e.clientY + 'px';\n      consoleMenu.style.visibility = 'visible';\n    }\n  }, {\n    key: \"onContextSearchMenu\",\n    value: function onContextSearchMenu(e) {\n      e.preventDefault();\n      (0, _kdeAction.hideContextMenu)();\n      var searchMenu = document.getElementById('searchMenu');\n      searchMenu.style.left = e.screenX + 'px';\n      searchMenu.style.top = e.clientY + 'px';\n      searchMenu.style.visibility = 'visible';\n    }\n  }]);\n  return OutputArea;\n}(_react.Component);\nvar ConsoleContent = /*#__PURE__*/function (_Component2) {\n  _inherits(ConsoleContent, _Component2);\n  function ConsoleContent() {\n    _classCallCheck(this, ConsoleContent);\n    return _callSuper(this, ConsoleContent, arguments);\n  }\n  _createClass(ConsoleContent, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      var consoleContents = (0, _appModelFunction.getDevportalData)(pageId, 'consoleContents')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['output-consoleContent']\n      }, consoleContents.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _KDE[\"default\"]['output-consoleContent-item']\n        }, item);\n      }));\n    }\n  }]);\n  return ConsoleContent;\n}(_react.Component);\nvar SearchScriptList = /*#__PURE__*/function (_Component3) {\n  _inherits(SearchScriptList, _Component3);\n  function SearchScriptList() {\n    _classCallCheck(this, SearchScriptList);\n    return _callSuper(this, SearchScriptList, arguments);\n  }\n  _createClass(SearchScriptList, [{\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state,\n        searchType = _this$props3.searchType;\n      var scriptSelectedStyle = '';\n      var selectedScriptId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedscriptid')(state);\n      var selectedPath = (0, _appModelFunction.getDevportalData)(pageId, 'selectedpath')(state);\n      var contextLine = (0, _appModelFunction.getDevportalData)(pageId, 'contextline')(state);\n      if (searchType == 'searchscript') {\n        if (selectedPath == this.props.path && selectedScriptId == this.props.id || contextLine == this.props.line) {\n          scriptSelectedStyle = 'selected';\n        }\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          className: _KDE[\"default\"].scriptInfo,\n          onClick: function onClick(e) {\n            return dispatch((0, _kdeAction.selectScript)(e, pageId, _this3.props.id, _this3.props.path, 0));\n          },\n          onDoubleClick: function onDoubleClick(e) {\n            return dispatch((0, _kdeAction.editScript)(e, pageId, _this3.props.id));\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-scriptInfo-tap'], _KDE[\"default\"][scriptSelectedStyle])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, this.props.path, \"/\", this.props.number, \".ks\")));\n      } else {\n        if (selectedPath == this.props.path && selectedScriptId == this.props.id && contextLine == this.props.line) {\n          scriptSelectedStyle = 'selected';\n        }\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          className: _KDE[\"default\"].scriptInfo,\n          onClick: function onClick(e) {\n            return dispatch((0, _kdeAction.selectScript)(e, pageId, _this3.props.id, _this3.props.path, _this3.props.line));\n          },\n          onDoubleClick: function onDoubleClick(e) {\n            return dispatch((0, _kdeAction.editScriptContext)(e, pageId, _this3.props.id, _this3.props.number, _this3.props.line));\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_KDE[\"default\"]['output-scriptInfo-tap'], _KDE[\"default\"][scriptSelectedStyle])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, this.props.path, \"/\", this.props.number, \".ks in Line:\", this.props.line)));\n      }\n    }\n  }]);\n  return SearchScriptList;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/OutputArea.js?");

/***/ }),

/***/ "./src/devportal/component/KDEComponents/ResourceTree.js":
/*!***************************************************************!*\
  !*** ./src/devportal/component/KDEComponents/ResourceTree.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.UnitList = exports.UnitForBag = exports.Unit = exports.TreeList = exports.Script = exports.Page = exports.ChildUnit = exports.BagList = void 0;\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _kdeAction = __webpack_require__(/*! ../../action/kdeAction */ \"./src/devportal/action/kdeAction.js\");\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _SvgUtil = __webpack_require__(/*! ../../util/SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar ResourceTree = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(ResourceTree, _Component);\n  function ResourceTree(props) {\n    var _this;\n    _classCallCheck(this, ResourceTree);\n    _this = _callSuper(this, ResourceTree, [props]);\n    _this.state = {\n      isShow: true,\n      viewType: 'resource'\n    };\n    _this.setIsShow = _this.setIsShow.bind(_assertThisInitialized(_this));\n    _this.setViewType = _this.setViewType.bind(_assertThisInitialized(_this));\n    _this.resourceTree = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.searchtext = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.unit = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(ResourceTree, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var visiable = this.state.isShow ? 'visiable' : 'unvisiable';\n      var resourceVisiable = this.state.viewType == 'resource' ? 'visiable' : 'unvisiable';\n      var bagVisiable = this.state.viewType == 'bag' ? 'visiable' : 'unvisiable';\n      var resourceSelected = this.state.viewType == 'resource' ? 'selected' : '';\n      var bagSelected = this.state.viewType == 'bag' ? 'selected' : '';\n      var apps = (0, _appModelFunction.getDevportalData)(pageId, 'appsincloud')(state) || [];\n      var bizappid = (0, _appModelFunction.getDevportalData)(pageId, 'appid')(state);\n      var searchText = (0, _appModelFunction.getDevportalData)(pageId, 'searchtext')(state) || '';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"].resourceTree,\n        ref: this.resourceTree\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['resourceTree-banner']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-view'], _KDE[\"default\"][resourceSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'resource');\n        }\n      }, \"Resource\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-view'], _KDE[\"default\"][bagSelected]),\n        onClick: function onClick(e) {\n          return _this2.setViewType(e, 'bag');\n        }\n      }, \"Package\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-content'], _KDE[\"default\"][visiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['resourceTree-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        ref: this.searchtext,\n        placeholder: (0, _intlApi.getLangMsg)({\n          key: 'kde.sousuojiaobenbianma'\n        }),\n        value: searchText,\n        className: _KDE[\"default\"]['resourceTree-search'],\n        onChange: function onChange(e) {\n          return _this2.onChange(e);\n        },\n        onKeyDown: function onKeyDown(e) {\n          return _this2.keyDown(e, bizappid);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['resourceTree-changeApp']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-changeApp-name']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'kde.qiehuanyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _KDE[\"default\"]['resourceTree-changeApp-appList']\n      }, apps.map(function (app, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: index,\n          className: _KDE[\"default\"]['resourceTree-changeApp-appItem'],\n          onClick: function onClick(e) {\n            return dispatch((0, _kdeAction.changeCloudAndApp)(e, pageId, app.id, app.name));\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          title: app.name + '(' + app.number + ')',\n          className: _KDE[\"default\"]['resourceTree-changeApp-item']\n        }, app.name));\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-collapse']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-link']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.shouqi'\n        }),\n        className: _KDE[\"default\"]['resourceTree-left'],\n        onClick: function onClick(e) {\n          return _this2.setIsShow(e);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['resourceTree-mainContent']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDE[\"default\"]['resourceTree-tree']\n      }, /*#__PURE__*/_react[\"default\"].createElement(TreeList, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        resourceVisiable: resourceVisiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(BagList, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        bagVisiable: bagVisiable\n      })))));\n    }\n  }, {\n    key: \"setIsShow\",\n    value: function setIsShow(e) {\n      this.setState({\n        isShow: !this.state.isShow\n      });\n      if (this.state.isShow) {\n        (0, _utils.query)(this.resourceTree.current.parentNode).width('24px');\n      } else {\n        (0, _utils.query)(this.resourceTree.current.parentNode).width('296px');\n      }\n      this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n    }\n  }, {\n    key: \"setViewType\",\n    value: function setViewType(e, viewType) {\n      this.setState({\n        isShow: true,\n        viewType: viewType\n      });\n      if (!this.state.isShow) {\n        (0, _utils.query)(this.resourceTree.current.parentNode).width('296px');\n        this.props.dispatch((0, _kdeAction.resetCodemirrorSize)(this.props.pageId, (0, _utils.query)('#resourceTreeArea').width(), (0, _utils.query)('#outlineArea').width(), (0, _utils.query)('#outputArea').height()));\n      }\n    }\n  }, {\n    key: \"keyDown\",\n    value: function keyDown(e, bizappid) {\n      e.stopPropagation();\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      if (keyCode == 13) {\n        var searchText = this.searchtext.current.value;\n        if (searchText) {\n          this.props.dispatch((0, _kdeAction.searchResourceInUnitTree)(e, this.props.pageId, searchText, bizappid));\n        }\n      }\n    }\n  }, {\n    key: \"onChange\",\n    value: function onChange(e) {\n      this.setState({\n        value: e.target.value\n      });\n      this.props.dispatch((0, _kdeAction.clearSearchText)(e, this.props.pageId));\n    }\n  }]);\n  return ResourceTree;\n}(_react.Component);\nvar TreeList = exports.TreeList = /*#__PURE__*/function (_Component2) {\n  _inherits(TreeList, _Component2);\n  function TreeList() {\n    _classCallCheck(this, TreeList);\n    return _callSuper(this, TreeList, arguments);\n  }\n  _createClass(TreeList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state,\n        resourceVisiable = _this$props2.resourceVisiable;\n      var cloudName = (0, _appModelFunction.getDevportalData)(pageId, 'cloudname')(state) || '';\n      var appName = (0, _appModelFunction.getDevportalData)(pageId, 'appname')(state) || '';\n      var cloudArrow = (0, _appModelFunction.getDevportalData)(pageId, 'cloudarrow')(state);\n      var appArrow = (0, _appModelFunction.getDevportalData)(pageId, 'apparrow')(state);\n      var cloudArrowStyle = cloudArrow == true ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var appArrowStyle = appArrow == true ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var hasScriptInBizApp = (0, _appModelFunction.getDevportalData)(pageId, 'hasscriptinbizapp')(state);\n      var cloudFolderType = hasScriptInBizApp == true ? 'resourceTree-node-folderType-full' : 'resourceTree-node-folderType-null';\n      var appFolderType = hasScriptInBizApp == true ? 'resourceTree-node-folderType-full' : 'resourceTree-node-folderType-null';\n      var appVisiable = cloudArrow == true ? 'visiable' : 'unvisiable';\n      var unitVisiable = appArrow == true ? 'visiable' : 'unvisiable';\n      var nodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var cloudSelectedStyle = '';\n      var appSelectedStyle = '';\n      if (nodeType == 'cloud') {\n        cloudSelectedStyle = 'selected';\n      } else if (nodeType == 'app') {\n        appSelectedStyle = 'selected';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-treelist'], _KDE[\"default\"][resourceVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['resourceTree-treenode']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][cloudSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'cloud'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][cloudArrowStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.setCloudArrow)(e, pageId));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][cloudFolderType], (0, _SvgUtil.cloudIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name']\n      }, cloudName)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][appVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['resourceTree-treenode']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][appSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'app'));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][appArrowStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.setAppArrow)(e, pageId));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][appFolderType], (0, _SvgUtil.appIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name']\n      }, appName)), /*#__PURE__*/_react[\"default\"].createElement(UnitList, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        unitVisiable: unitVisiable\n      })))));\n    }\n  }]);\n  return TreeList;\n}(_react.Component);\nvar BagList = exports.BagList = /*#__PURE__*/function (_Component3) {\n  _inherits(BagList, _Component3);\n  function BagList() {\n    _classCallCheck(this, BagList);\n    return _callSuper(this, BagList, arguments);\n  }\n  _createClass(BagList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        dispatch = _this$props3.dispatch,\n        pageId = _this$props3.pageId,\n        state = _this$props3.state,\n        bagVisiable = _this$props3.bagVisiable;\n      var cloudNumber = (0, _appModelFunction.getDevportalData)(pageId, 'cloudnumber')(state);\n      var appNumber = (0, _appModelFunction.getDevportalData)(pageId, 'appnumber')(state);\n      var units = (0, _appModelFunction.getDevportalData)(pageId, 'unitsinapp')(state) || [];\n      var newUnits = [];\n      for (var i = 0; i < units.length; i++) {\n        units[i].level = 'first';\n        units[i].index = i;\n        newUnits.push(units[i]);\n        if (units[i].children.length != 0) {\n          for (var j = 0; j < units[i].children.length; j++) {\n            units[i].children[j].level = 'second';\n            units[i].children[j].parentNumber = units[i].number;\n            units[i].children[j].index = j;\n            units[i].children[j].parentIndex = i;\n            newUnits.push(units[i].children[j]);\n          }\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-treelist'], _KDE[\"default\"][bagVisiable])\n      }, newUnits.map(function (unit, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(UnitForBag, _extends({}, unit, {\n          key: index,\n          index: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          cloudNumber: cloudNumber,\n          appNumber: appNumber\n        }));\n      }));\n    }\n  }]);\n  return BagList;\n}(_react.Component);\nvar UnitForBag = exports.UnitForBag = /*#__PURE__*/function (_Component4) {\n  _inherits(UnitForBag, _Component4);\n  function UnitForBag(props) {\n    var _this3;\n    _classCallCheck(this, UnitForBag);\n    _this3 = _callSuper(this, UnitForBag, [props]);\n    _this3.clickUnit = _this3.clickUnit.bind(_assertThisInitialized(_this3));\n    _this3.unit = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this3;\n  }\n  _createClass(UnitForBag, [{\n    key: \"render\",\n    value: function render() {\n      var _this4 = this;\n      var _this$props4 = this.props,\n        dispatch = _this$props4.dispatch,\n        pageId = _this$props4.pageId,\n        state = _this$props4.state,\n        cloudNumber = _this$props4.cloudNumber,\n        appNumber = _this$props4.appNumber;\n      var resources = (0, _appModelFunction.getDevportalData)(pageId, 'resourcesinunit')(state) || {};\n      var resource = resources[this.props.id] || {\n        pages: [],\n        detachedscripts: []\n      };\n      /* resource.pages = resource.pages || [];\n      resource.detachedscripts = resource.detachedscripts || [];\n      let resource = {pages:[],detachedscripts:[]};\n      for(let key in resources){\n        if(key == this.props.id){\n          resource = resources[key];\n        }\n      } */\n\n      var unitArrowStyle = this.props.unitArrow ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var funcPackageFolderType = this.props.existResource ? 'resourceTree-node-folderType-full' : 'resourceTree-node-folderType-null';\n      var resourceVisiable = this.props.unitArrow ? 'visiable' : 'unvisiable';\n      var nodeName = cloudNumber + '.' + appNumber + '.' + this.props.number;\n      if (this.props.level == 'second') {\n        nodeName = cloudNumber + '.' + appNumber + '.' + this.props.parentNumber + '.' + this.props.number;\n      }\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var unitSelectedStyle = '';\n      if (selectedNodeType == 'unit') {\n        var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n        if (selectedNodeId == this.props.id) {\n          unitSelectedStyle = 'selected';\n        }\n      }\n      var appType = this.props.appType;\n      var extendTypeVisiable = 'unvisiable';\n      var extendTypeStyle = '';\n      if (appType == '2') {\n        // 当前为扩展应用\n        extendTypeVisiable = 'visiable';\n        var unitType = this.props.unitType;\n        if (unitType == '1') {\n          extendTypeStyle = 'yuan_icon';\n        } else if (unitType == '2') {\n          extendTypeStyle = 'kuo_icon';\n        } else if (unitType == '3') {\n          extendTypeStyle = 'zi_icon';\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-treenode'], _KDE[\"default\"]['resourceTree-node-scriptnumber'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][unitSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'unit', _this4.props.id));\n        },\n        ref: this.unit\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][unitArrowStyle],\n        onClick: function onClick(e) {\n          return _this4.clickUnit(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][funcPackageFolderType], (0, _SvgUtil.funPackageIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][extendTypeVisiable], _KDE[\"default\"][extendTypeStyle])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name']\n      }, nodeName)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][resourceVisiable])\n      }, resource.pages.map(function (page, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Page, _extends({}, page, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          bizUnitId: _this4.props.id,\n          type: \"bag\"\n        }));\n      }), resource.detachedscripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Script, _extends({}, script, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state\n        }));\n      })));\n    }\n  }, {\n    key: \"clickUnit\",\n    value: function clickUnit(e) {\n      this.props.dispatch((0, _kdeAction.initResourceInUnit)(e, this.props.pageId, this.props.level, this.props.id, this.props.parentunitid));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var unit = ReactDOM.findDOMNode(this.unit.current);\n      unit.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      var layerX = e.layerX,\n        clientY = e.clientY;\n      this.props.dispatch((0, _kdeAction.selectNode)(e, this.props.pageId, 'unit', this.props.id));\n      (0, _kdeAction.hideContextMenu)();\n      var unitMenu = document.getElementById('unitMenu');\n      unitMenu.style.left = layerX + 'px';\n      if (document.body.clientHeight - clientY > (0, _utils.query)(unitMenu).height()) {\n        unitMenu.style.top = clientY + 'px';\n      } else {\n        unitMenu.style.top = clientY - (0, _utils.query)(unitMenu).height() + 'px';\n      }\n      unitMenu.style.visibility = 'visible';\n    }\n  }]);\n  return UnitForBag;\n}(_react.Component);\nvar UnitList = exports.UnitList = /*#__PURE__*/function (_Component5) {\n  _inherits(UnitList, _Component5);\n  function UnitList() {\n    _classCallCheck(this, UnitList);\n    return _callSuper(this, UnitList, arguments);\n  }\n  _createClass(UnitList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props5 = this.props,\n        dispatch = _this$props5.dispatch,\n        pageId = _this$props5.pageId,\n        state = _this$props5.state,\n        unitVisiable = _this$props5.unitVisiable;\n      var units = (0, _appModelFunction.getDevportalData)(pageId, 'unitsinapp')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][unitVisiable])\n      }, units.map(function (unit, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Unit, _extends({}, unit, {\n          key: index,\n          index: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state\n        }));\n      }));\n    }\n  }]);\n  return UnitList;\n}(_react.Component);\nvar Unit = exports.Unit = /*#__PURE__*/function (_Component6) {\n  _inherits(Unit, _Component6);\n  function Unit(props) {\n    var _this5;\n    _classCallCheck(this, Unit);\n    _this5 = _callSuper(this, Unit, [props]);\n    _this5.unit = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this5;\n  }\n  _createClass(Unit, [{\n    key: \"render\",\n    value: function render() {\n      var _this6 = this,\n        _this$props$children;\n      var _this$props6 = this.props,\n        dispatch = _this$props6.dispatch,\n        pageId = _this$props6.pageId,\n        state = _this$props6.state;\n      var resources = (0, _appModelFunction.getDevportalData)(pageId, 'resourcesinunit')(state) || {};\n      var resource = resources[this.props.id] || {\n        pages: [],\n        detachedscripts: []\n      };\n      /* resource.pages = resource.pages || [];\n      resource.detachedscripts = resource.detachedscripts || [];\n      let resource = {pages:[],detachedscripts:[]};\n      for(let key in resources){\n        if(key == this.props.id){\n          resource = resources[key];\n        }\n      } */\n\n      var unitArrowStyle = this.props.unitArrow ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var funcPackageFolderType = this.props.existResource ? 'resourceTree-node-folderType-full' : 'resourceTree-node-folderType-null';\n      var resourceVisiable = this.props.unitArrow ? 'visiable' : 'unvisiable';\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var unitSelectedStyle = '';\n      if (selectedNodeType == 'unit') {\n        var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n        if (selectedNodeId == this.props.id) {\n          unitSelectedStyle = 'selected';\n        }\n      }\n      var appType = this.props.appType;\n      var extendTypeVisiable = 'unvisiable';\n      var extendTypeStyle = '';\n      if (appType == '2') {\n        // 当前为扩展应用\n        extendTypeVisiable = 'visiable';\n        var unitType = this.props.unitType;\n        if (unitType == '1') {\n          extendTypeStyle = 'yuan_icon';\n        } else if (unitType == '2') {\n          extendTypeStyle = 'kuo_icon';\n        } else if (unitType == '3') {\n          extendTypeStyle = 'zi_icon';\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['resourceTree-treenode']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][unitSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'unit', _this6.props.id));\n        },\n        ref: this.unit\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][unitArrowStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.initResourceInUnit)(e, pageId, 'first', _this6.props.id, undefined));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][funcPackageFolderType], (0, _SvgUtil.funPackageIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][extendTypeVisiable], _KDE[\"default\"][extendTypeStyle])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name']\n      }, this.props.name)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][resourceVisiable])\n      }, resource.pages.map(function (page, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Page, _extends({}, page, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          bizUnitId: _this6.props.id\n        }));\n      }), resource.detachedscripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Script, _extends({}, script, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state\n        }));\n      }), (_this$props$children = this.props.children) === null || _this$props$children === void 0 ? void 0 : _this$props$children.map(function (unit, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(ChildUnit, _extends({}, unit, {\n          key: index,\n          index: index,\n          parentIndex: _this6.props.index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state\n        }));\n      })));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var unit = ReactDOM.findDOMNode(this.unit.current);\n      unit.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      var layerX = e.layerX,\n        clientY = e.clientY;\n      this.props.dispatch((0, _kdeAction.selectNode)(e, this.props.pageId, 'unit', this.props.id));\n      (0, _kdeAction.hideContextMenu)();\n      var unitMenu = document.getElementById('unitMenu');\n      unitMenu.style.left = layerX + 'px';\n      if (document.body.clientHeight - clientY > (0, _utils.query)(unitMenu).height()) {\n        unitMenu.style.top = clientY + 'px';\n      } else {\n        unitMenu.style.top = clientY - (0, _utils.query)(unitMenu).height() + 'px';\n      }\n      unitMenu.style.visibility = 'visible';\n    }\n  }]);\n  return Unit;\n}(_react.Component);\nvar ChildUnit = exports.ChildUnit = /*#__PURE__*/function (_Component7) {\n  _inherits(ChildUnit, _Component7);\n  function ChildUnit(props) {\n    var _this7;\n    _classCallCheck(this, ChildUnit);\n    _this7 = _callSuper(this, ChildUnit, [props]);\n    _this7.unit = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this7;\n  }\n  _createClass(ChildUnit, [{\n    key: \"render\",\n    value: function render() {\n      var _this8 = this;\n      var _this$props7 = this.props,\n        dispatch = _this$props7.dispatch,\n        pageId = _this$props7.pageId,\n        state = _this$props7.state;\n      var resources = (0, _appModelFunction.getDevportalData)(pageId, 'resourcesinunit')(state) || {};\n      var resource = resources[this.props.id] || {\n        pages: [],\n        detachedscripts: []\n      };\n      /* resource.pages = resource.pages || [];\n      resource.detachedscripts = resource.detachedscripts || [];\n      let resource = {pages:[],detachedscripts:[]};\n      for(let key in resources){\n        if(key == this.props.id){\n          resource = resources[key];\n        }\n      } */\n      var unitArrowStyle = this.props.unitArrow ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var funcPackageFolderType = this.props.existResource ? 'resourceTree-node-folderType-full' : 'resourceTree-node-folderType-null';\n      var resourceVisiable = this.props.unitArrow ? 'visiable' : 'unvisiable';\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var unitSelectedStyle = '';\n      if (selectedNodeType == 'unit') {\n        var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n        if (selectedNodeId == this.props.id) {\n          unitSelectedStyle = 'selected';\n        }\n      }\n      var appType = this.props.appType;\n      var extendTypeVisiable = 'unvisiable';\n      var extendTypeStyle = '';\n      if (appType == '2') {\n        // 当前为扩展应用\n        extendTypeVisiable = 'visiable';\n        var unitType = this.props.unitType;\n        if (unitType == '1') {\n          extendTypeStyle = 'yuan_icon';\n        } else if (unitType == '2') {\n          extendTypeStyle = 'kuo_icon';\n        } else if (unitType == '3') {\n          extendTypeStyle = 'zi_icon';\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['resourceTree-treenode']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][unitSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'unit', _this8.props.id));\n        },\n        ref: this.unit\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][unitArrowStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.initResourceInUnit)(e, pageId, 'second', _this8.props.id, _this8.props.parentunitid));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][funcPackageFolderType], (0, _SvgUtil.funPackageIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][extendTypeVisiable], _KDE[\"default\"][extendTypeStyle])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name']\n      }, this.props.name)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][resourceVisiable])\n      }, resource.pages.map(function (page, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Page, _extends({}, page, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          index: index,\n          bizUnitId: _this8.props.id\n        }));\n      }), resource.detachedscripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Script, _extends({}, script, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state\n        }));\n      })));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var unit = ReactDOM.findDOMNode(this.unit.current);\n      unit.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      var layerX = e.layerX,\n        clientY = e.clientY;\n      this.props.dispatch((0, _kdeAction.selectNode)(e, this.props.pageId, 'unit', this.props.id));\n      (0, _kdeAction.hideContextMenu)();\n      var unitMenu = document.getElementById('unitMenu');\n      unitMenu.style.left = layerX + 'px';\n      if (document.body.clientHeight - clientY > (0, _utils.query)(unitMenu).height()) {\n        unitMenu.style.top = clientY + 'px';\n      } else {\n        unitMenu.style.top = clientY - (0, _utils.query)(unitMenu).height() + 'px';\n      }\n      unitMenu.style.visibility = 'visible';\n    }\n  }]);\n  return ChildUnit;\n}(_react.Component);\nvar Page = exports.Page = /*#__PURE__*/function (_Component8) {\n  _inherits(Page, _Component8);\n  function Page(props) {\n    var _this9;\n    _classCallCheck(this, Page);\n    _this9 = _callSuper(this, Page, [props]);\n    _this9.page = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this9;\n  }\n  _createClass(Page, [{\n    key: \"render\",\n    value: function render() {\n      var _this10 = this;\n      var pageTypes = {\n        DynamicFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.dongtaibiaodan'\n        }),\n        BaseFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.jichuziliao'\n        }),\n        BillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.danju'\n        }),\n        MobileFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.yidongbiaodan'\n        }),\n        MobileBillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.yidongbuju'\n        }),\n        MobileListModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.yidongliebiaobuju'\n        }),\n        WidgetFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.xiaobujian'\n        }),\n        ParameterFormModel_public: (0, _intlApi.getLangMsg)({\n          key: 'kde.gonggongcanshu'\n        }),\n        ParameterFormModel_cloud: (0, _intlApi.getLangMsg)({\n          key: 'kde.yunchangpinchangshu'\n        }),\n        ParameterFormModel_application: (0, _intlApi.getLangMsg)({\n          key: 'kde.yingyongcanshu'\n        }),\n        ParameterFormModel_bill: (0, _intlApi.getLangMsg)({\n          key: 'kde.danjucanshu'\n        }),\n        ParameterFormModel_billtype: (0, _intlApi.getLangMsg)({\n          key: 'kde.danjucanshuleixing'\n        }),\n        ParameterFormModel_option: (0, _intlApi.getLangMsg)({\n          key: 'kde.yonghuxuanxiangcanshu'\n        }),\n        ParameterFormModel_orgoption: (0, _intlApi.getLangMsg)({\n          key: 'kde.yonghuzuzhixuanxiangcanshu'\n        }),\n        ParameterFormModel_listoption: (0, _intlApi.getLangMsg)({\n          key: 'kde.liebiaoxuanxiangcanshu'\n        }),\n        PrintModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.dayinmuban'\n        }),\n        ReportFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.baobiao'\n        }),\n        UserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.xinshouxiangdao'\n        }),\n        MobUserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.yidongxinshouxiangdao'\n        }),\n        QueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.chaxun'\n        }),\n        PCLayout: (0, _intlApi.getLangMsg)({\n          key: 'kde.pcbuju'\n        }),\n        BalanceModel: (0, _intlApi.getLangMsg)({\n          key: 'kde.yuebiao'\n        })\n      };\n      var _this$props8 = this.props,\n        dispatch = _this$props8.dispatch,\n        pageId = _this$props8.pageId,\n        state = _this$props8.state;\n      var scripts = [];\n      if (this.props.scripts && this.props.scripts.length != 0) {\n        scripts = this.props.scripts;\n      }\n      var pageArrowStyle = this.props.pageArrow ? 'resourceTree-node-arrowDown' : 'resourceTree-node-arrowRight';\n      var pageFolderType = scripts.length == 0 ? 'resourceTree-node-folderType-null' : 'resourceTree-node-folderType-full';\n      var scriptVisiable = this.props.pageArrow ? 'visiable' : 'unvisiable';\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var pageSelectedStyle = '';\n      if (selectedNodeType == 'page') {\n        var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n        if (selectedNodeId == this.props.id) {\n          pageSelectedStyle = 'selected';\n        }\n      }\n      var pageTitle = this.props.name + ',' + pageTypes[this.props.modeltype];\n      var pageLabel = this.props.type == 'bag' ? this.props.number : this.props.name;\n      var appType = this.props.apptype;\n      var pageExpandTypeVisiable = 'unvisiable';\n      var pageExpandTypeStyle = '';\n      if (appType == '2') {\n        pageExpandTypeVisiable = 'visiable';\n        var pageType = this.props.devtype;\n        if (pageType == '1') {\n          pageExpandTypeStyle = 'yuan_icon';\n        } else if (pageType == '2') {\n          pageExpandTypeStyle = 'kuo_icon';\n        } else if (pageType == '3') {\n          pageExpandTypeStyle = 'zi_icon';\n        }\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDE[\"default\"]['resourceTree-treenode']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][pageSelectedStyle]),\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'page', _this10.props.id, _this10.props.modeltype, _this10.props.expendtype, undefined));\n        },\n        ref: this.page,\n        onDoubleClick: function onDoubleClick(e) {\n          return dispatch((0, _kdeAction.openBosDesignerWindow)(e, pageId, _this10.props.id));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][pageArrowStyle],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.initScriptInPage)(e, pageId, _this10.props.id, _this10.props.bizUnitId));\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageFolderType], (0, _SvgUtil.pageIcon)())\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"][pageExpandTypeVisiable], _KDE[\"default\"][pageExpandTypeStyle])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"]['resourceTree-node-name'],\n        title: pageTitle\n      }, pageLabel)), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeContent'], _KDE[\"default\"][scriptVisiable])\n      }, scripts.map(function (script, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(Script, _extends({}, script, {\n          key: index,\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          pos: \"page\",\n          formId: _this10.props.id,\n          pageType: _this10.props.devtype\n        }));\n      })));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var page = ReactDOM.findDOMNode(this.page.current);\n      page.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      var layerX = e.layerX,\n        clientY = e.clientY;\n      this.props.dispatch((0, _kdeAction.selectNode)(e, this.props.pageId, 'page', this.props.id, this.props.modeltype, this.props.expendtype, undefined));\n      (0, _kdeAction.hideContextMenu)();\n      var pageMenu = document.getElementById('pageMenu');\n      pageMenu.style.left = layerX + 'px';\n      if (document.body.clientHeight - clientY > (0, _utils.query)(pageMenu).height()) {\n        pageMenu.style.top = clientY + 'px';\n      } else {\n        pageMenu.style.top = clientY - (0, _utils.query)(pageMenu).height() + 'px';\n      }\n      pageMenu.style.visibility = 'visible';\n    }\n  }]);\n  return Page;\n}(_react.Component);\nvar Script = exports.Script = /*#__PURE__*/function (_Component9) {\n  _inherits(Script, _Component9);\n  function Script(props) {\n    var _this11;\n    _classCallCheck(this, Script);\n    _this11 = _callSuper(this, Script, [props]);\n    _this11.script = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this11;\n  }\n  _createClass(Script, [{\n    key: \"render\",\n    value: function render() {\n      var _this12 = this;\n      var _this$props9 = this.props,\n        dispatch = _this$props9.dispatch,\n        pageId = _this$props9.pageId,\n        state = _this$props9.state,\n        pos = _this$props9.pos,\n        pageType = _this$props9.pageType;\n      var selectedNodeType = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeType')(state) || '';\n      var scriptSelectedStyle = '';\n      if (selectedNodeType == 'script') {\n        var selectedNodeId = (0, _appModelFunction.getDevportalData)(pageId, 'selectedNodeId')(state) || '';\n        if (selectedNodeId == this.props.id) {\n          scriptSelectedStyle = 'selected';\n        }\n      }\n      var scriptExpandStyle = '';\n      // 当前脚本为游离脚本\n      var appType = (0, _appModelFunction.getDevportalData)(pageId, 'apptype')(state) || '';\n      if (appType == '2') {\n        // 当前为扩展应用，则游离脚本需要显示扩展类型\n        if (this.props.type == '1') {\n          scriptExpandStyle = 'yuan_icon';\n        } else {\n          scriptExpandStyle = 'zi_icon';\n        }\n      }\n      var selectStyle = {\n        color: 'red'\n      };\n      var part1 = this.props.number;\n      var part2 = '';\n      var part3 = '';\n      var searchText = (0, _appModelFunction.getDevportalData)(pageId, 'searchtext')(state) || '';\n      if (this.props.number && this.props.number.toLowerCase().indexOf(searchText.toLowerCase()) != -1 && searchText != '') {\n        var index = this.props.number.toLowerCase().indexOf(searchText.toLowerCase());\n        part1 = this.props.number.substr(0, index);\n        var len = searchText.length;\n        part2 = this.props.number.substr(index, len);\n        part3 = this.props.number.substr(index + len, this.props.number.length);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        ref: this.script,\n        className: _KDE[\"default\"]['resourceTree-leafnode'],\n        onClick: function onClick(e) {\n          return dispatch((0, _kdeAction.selectNode)(e, pageId, 'script', _this12.props.id, undefined, _this12.props.type, _this12.props.pos, _this12.props.formId, _this12.props.pageType));\n        },\n        onDoubleClick: function onDoubleClick(e) {\n          return dispatch((0, _kdeAction.editScript)(e, pageId, _this12.props.id, _this12.props.formid));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-nodeTitle'], _KDE[\"default\"][scriptSelectedStyle])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDE[\"default\"][scriptExpandStyle]\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.scriptIcon)(), _KDE[\"default\"]['resourceTree-node-folderType-full'])\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"]['resourceTree-node-name'], _KDE[\"default\"]['resourceTree-node-scriptnumber']),\n        title: this.props.number\n      }, part1, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        style: selectStyle\n      }, part2), part3)));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var script = ReactDOM.findDOMNode(this.script.current);\n      script.oncontextmenu = this.onContextMenu.bind(this);\n    }\n  }, {\n    key: \"onContextMenu\",\n    value: function onContextMenu(e) {\n      e.preventDefault();\n      var layerX = e.layerX,\n        clientY = e.clientY;\n      this.props.dispatch((0, _kdeAction.selectNode)(e, this.props.pageId, 'script', this.props.id, undefined, this.props.type, this.props.pos, this.props.formId, this.props.pageType));\n      (0, _kdeAction.hideContextMenu)();\n      var scriptMenu = document.getElementById('scriptMenu');\n      scriptMenu.style.left = layerX + 'px';\n      if (document.body.clientHeight - clientY > (0, _utils.query)(scriptMenu).height()) {\n        scriptMenu.style.top = clientY + 'px';\n      } else {\n        scriptMenu.style.top = clientY - (0, _utils.query)(scriptMenu).height() + 'px';\n      }\n      scriptMenu.style.visibility = 'visible';\n    }\n  }]);\n  return Script;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/KDEComponents/ResourceTree.js?");

/***/ }),

/***/ "./src/devportal/component/ScriptSampleComponents/CodeEditor.js":
/*!**********************************************************************!*\
  !*** ./src/devportal/component/ScriptSampleComponents/CodeEditor.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _codemirror = _interopRequireDefault(__webpack_require__(/*! ../../node_modules/codemirror */ \"./src/devportal/node_modules/codemirror/lib/codemirror.js\"));\n__webpack_require__(/*! ../../node_modules/codemirror/mode/javascript/javascript */ \"./src/devportal/node_modules/codemirror/mode/javascript/javascript.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/selection/active-line */ \"./src/devportal/node_modules/codemirror/addon/selection/active-line.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/foldcode */ \"./src/devportal/node_modules/codemirror/addon/fold/foldcode.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/foldgutter */ \"./src/devportal/node_modules/codemirror/addon/fold/foldgutter.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/fold/brace-fold */ \"./src/devportal/node_modules/codemirror/addon/fold/brace-fold.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/search/search */ \"./src/devportal/node_modules/codemirror/addon/search/search.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/search/searchcursor */ \"./src/devportal/node_modules/codemirror/addon/search/searchcursor.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/dialog/dialog */ \"./src/devportal/node_modules/codemirror/addon/dialog/dialog.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/edit/matchbrackets */ \"./src/devportal/node_modules/codemirror/addon/edit/matchbrackets.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/edit/closebrackets */ \"./src/devportal/node_modules/codemirror/addon/edit/closebrackets.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/wrap/hardwrap */ \"./src/devportal/node_modules/codemirror/addon/wrap/hardwrap.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/javascript-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/javascript-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/sql-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/sql-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/hint/show-hint */ \"./src/devportal/node_modules/codemirror/addon/hint/show-hint.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/comment/comment */ \"./src/devportal/node_modules/codemirror/addon/comment/comment.js\");\n__webpack_require__(/*! ../../node_modules/codemirror/addon/display/fullscreen */ \"./src/devportal/node_modules/codemirror/addon/display/fullscreen.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _KDE = _interopRequireDefault(__webpack_require__(/*! ../../less/KDE.less */ \"./src/devportal/less/KDE.less\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _crypto = __webpack_require__(/*! @/api/crypto.js */ \"./src/api/crypto.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar CodeEditor = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(CodeEditor, _Component);\n  function CodeEditor(props) {\n    var _this;\n    _classCallCheck(this, CodeEditor);\n    _this = _callSuper(this, CodeEditor, [props]);\n    _this.textarea = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(CodeEditor, [{\n    key: \"getCodeMirrorInstance\",\n    value: function getCodeMirrorInstance() {\n      return this.props.codeMirrorInstance || _codemirror[\"default\"];\n    }\n  }, {\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      this.componentWillReceiveProps = _lodash[\"default\"].debounce(this.componentWillReceiveProps, 0);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var textareaNode = _reactDom[\"default\"].findDOMNode(this.textarea.current);\n      var codeMirrorInstance = this.getCodeMirrorInstance();\n      var op = {\n        lineNumbers: true,\n        mode: {\n          name: 'javascript',\n          globalVars: true\n        },\n        highlightSelectionMatches: {\n          showToken: /\\w/\n        },\n        autoCloseBrackets: true,\n        showCursorWhenSelecting: true,\n        theme: 'default',\n        foldGutter: true,\n        autoMatchParens: true,\n        styleActiveLine: true,\n        matchBrackets: true,\n        indentUnit: 4,\n        gutters: ['CodeMirror-linenumbers', 'breakpoints', 'CodeMirror-foldgutter']\n      };\n      this.codeMirror = codeMirrorInstance.fromTextArea(textareaNode, this.props.options || op);\n      this.codeMirror.on('change', this.codemirrorValueChanged.bind(this));\n      this.codeMirror.on('gutterClick', this.gutterClick.bind(this));\n      this.codeMirror.setValue(this.props.content);\n      this.codeMirror.self = this;\n      _global[\"default\"][_global.CODE_MIRROR] = this.codeMirror;\n      _global[\"default\"][_global.CODE_MIRRORS] = window.codeMirrors || {};\n      _global[\"default\"][_global.CODE_MIRRORS][this.props.number] = this.codeMirror;\n    }\n  }, {\n    key: \"codemirrorValueChanged\",\n    value: function codemirrorValueChanged(doc, change) {\n      var newContent = doc.getValue();\n      var scriptSample = (0, _appModelFunction.getDevportalData)(this.props.pageId, 'scriptsample')(this.props.state) || {};\n      scriptSample.scriptcontent = (0, _crypto.getEncodeValue)(newContent);\n      var data = [scriptSample];\n      this.props.dispatch({\n        type: 'SCRIPTSAMPLE',\n        param: {\n          pageId: this.props.pageId,\n          data: data\n        }\n      });\n    }\n  }, {\n    key: \"gutterClick\",\n    value: function gutterClick(self, n, gutters, e) {\n      if (gutters != 'CodeMirror-linenumbers' || e.target.className == 'errorMark' || e.target.className == 'icon' || e.target.className == 'digit') {\n        return;\n      }\n      var info = self.lineInfo(n);\n      self.setGutterMarker(n, 'breakpoints', info.gutterMarkers && info.gutterMarkers.breakpoints ? null : this.makeMarker());\n    }\n  }, {\n    key: \"makeMarker\",\n    value: function makeMarker() {\n      var marker = document.createElement('div');\n      marker.className = 'breakpoint';\n      marker.innerHTML = '●';\n      return marker;\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.codeMirror) {\n        this.codeMirror.toTextArea();\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (this.codeMirror && nextProps.content !== undefined && this.codeMirror.getValue() !== nextProps.content && nextProps.actived) {\n        this.codeMirror.setValue(nextProps.content);\n      }\n      if (_typeof(nextProps.options) === 'object') {\n        for (var optionName in nextProps.options) {\n          if (nextProps.options.hasOwnProperty(optionName)) {\n            this.codeMirror.setOption(optionName, nextProps.options[optionName]);\n          }\n        }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var fontSizeClass = 'fontsize-small';\n      var visiable = this.props.actived ? 'blockvisiable' : 'unvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_KDE[\"default\"].reactCodeMirror, _KDE[\"default\"][fontSizeClass], _KDE[\"default\"][visiable]),\n        style: this.props.style\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"textarea\", {\n        ref: this.textarea,\n        defaultValue: this.props.content\n      }));\n    }\n  }]);\n  return CodeEditor;\n}(_react.Component);\nCodeEditor.propTypes = {\n  codeMirrorInstance: _propTypes[\"default\"].func,\n  defaultValue: _propTypes[\"default\"].string,\n  onScroll: _propTypes[\"default\"].func,\n  options: _propTypes[\"default\"].object,\n  path: _propTypes[\"default\"].string,\n  content: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object\n};\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/ScriptSampleComponents/CodeEditor.js?");

/***/ }),

/***/ "./src/devportal/component/ScriptSampleComponents/ScriptSample.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/ScriptSampleComponents/ScriptSample.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _scriptSampleAction = __webpack_require__(/*! ../../action/scriptSampleAction */ \"./src/devportal/action/scriptSampleAction.js\");\nvar _ScriptSample = _interopRequireDefault(__webpack_require__(/*! ../../less/ScriptSample.less */ \"./src/devportal/less/ScriptSample.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _CodeEditor = _interopRequireDefault(__webpack_require__(/*! ./CodeEditor */ \"./src/devportal/component/ScriptSampleComponents/CodeEditor.js\"));\nvar _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ \"../../node_modules/copy-to-clipboard/index.js\"));\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../../util/utils */ \"./src/devportal/util/utils.js\");\nvar _sessionStorage = _interopRequireWildcard(__webpack_require__(/*! @/util/sessionStorage */ \"./src/util/sessionStorage.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar ScriptSample = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(ScriptSample, _Component);\n  function ScriptSample(props) {\n    var _this;\n    _classCallCheck(this, ScriptSample);\n    _this = _callSuper(this, ScriptSample, [props]);\n    _this.state = {\n      isShow: false\n    };\n    _this.editor = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(ScriptSample, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        model = _this$props.model,\n        codeMirrorInstance = _this$props.codeMirrorInstance;\n      var state = model.state;\n      var pageId = model.pageId;\n      var scriptSample = (0, _appModelFunction.getDevportalData)(pageId, 'scriptsample')(state) || {};\n      var scriptContent = scriptSample.scriptcontent ? scriptSample.scriptcontent : '';\n      var actived = true;\n      var sampleDom = (0, _componentutil.parseSubForms)(pageId, 'scriptsample', state, undefined);\n      var clientHeight = document.body.clientHeight;\n      var editorHeight = {\n        height: clientHeight - 165 + 'px'\n      };\n      var showHeight = {\n        height: clientHeight - 110 + 'px'\n      };\n      var visiable = this.state.isShow ? 'visiable' : 'unvisiable';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].scriptSample\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].sampleCodeArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].operationBarArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].runBar,\n        onClick: function onClick(e) {\n          return _this2.runSampleClick(e, _this2);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'ScriptSample.yunxin'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].debugBar,\n        onClick: function onClick(e) {\n          return _this2.debugSampleClick(e, _this2);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'ScriptSample.yunxin'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.editor,\n        style: editorHeight,\n        className: _ScriptSample[\"default\"].editorArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_CodeEditor[\"default\"], {\n        content: scriptContent,\n        actived: actived,\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state,\n        codeMirrorInstance: codeMirrorInstance\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].console\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"]['console-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].title\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"console\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].image\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ScriptSample[\"default\"]['console-down'],\n        onClick: function onClick(e) {\n          return _this2.setIsShow(e);\n        }\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ScriptSample[\"default\"]['console-content'], _ScriptSample[\"default\"][visiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(ConsoleLog, {\n        dispatch: dispatch,\n        pageId: pageId,\n        state: state\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: showHeight,\n        className: _ScriptSample[\"default\"].sampleShowArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ScriptSample[\"default\"].sampleShow\n      }, sampleDom)));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // 进行资源的加载\n      this.props.dispatch((0, _scriptSampleAction.initScriptsample)(this.props.model.pageId));\n    }\n  }, {\n    key: \"setIsShow\",\n    value: function setIsShow(e) {\n      this.setState({\n        isShow: !this.state.isShow\n      });\n      var clientHeight = document.body.clientHeight;\n      if (this.state.isShow) {\n        (0, _utils.query)(this.editor.current).height(clientHeight - 165 + 'px');\n      } else {\n        (0, _utils.query)(this.editor.current).height(clientHeight - 285 + 'px');\n      }\n    }\n  }, {\n    key: \"runSampleClick\",\n    value: function runSampleClick(e, self) {\n      var scriptSample = (0, _appModelFunction.getDevportalData)(self.props.model.pageId, 'scriptsample')(self.props.model.state) || {};\n      self.props.dispatch((0, _scriptSampleAction.runScriptSample)(e, self.props.model.pageId, scriptSample));\n    }\n  }, {\n    key: \"debugSampleClick\",\n    value: function debugSampleClick(e, self) {\n      // 改变url参数\n      var url = window.location.href;\n      var newUrl = url;\n      if (url.indexOf('debug=true') == -1) {\n        newUrl = url + '&debug=true';\n      }\n      history.pushState({}, '', newUrl);\n      // 启动调试、重新打开表单\n      var debugIds = {};\n      var oldDebugId = _sessionStorage[\"default\"].get(_sessionStorage.KD_DEBUG_ID);\n      if (oldDebugId && oldDebugId != '') {\n        debugIds.olddebugid = oldDebugId;\n      }\n      var newDebugId = new Date().valueOf();\n      _sessionStorage[\"default\"].set(_sessionStorage.KD_DEBUG_ID, newDebugId);\n      _sessionStorage[\"default\"].set(_sessionStorage.KD_SCRIPT_SAMPLE, 'true');\n      debugIds.newdebugid = newDebugId;\n      self.props.dispatch((0, _scriptSampleAction.startDebug)(e, self.props.model.pageId, debugIds));\n      var scriptSample = (0, _appModelFunction.getDevportalData)(self.props.model.pageId, 'scriptsample')(self.props.model.state) || {};\n      self.props.dispatch((0, _scriptSampleAction.debugScriptSample)(e, self.props.model.pageId, scriptSample));\n    }\n  }]);\n  return ScriptSample;\n}(_react.Component);\nvar ConsoleLog = /*#__PURE__*/function (_Component2) {\n  _inherits(ConsoleLog, _Component2);\n  function ConsoleLog() {\n    _classCallCheck(this, ConsoleLog);\n    return _callSuper(this, ConsoleLog, arguments);\n  }\n  _createClass(ConsoleLog, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        state = _this$props2.state;\n      var scriptDebugLogs = (0, _appModelFunction.getDevportalData)(pageId, 'scriptdebuglog')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, scriptDebugLogs.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _ScriptSample[\"default\"]['console-content-item']\n        }, item);\n      }));\n    }\n  }]);\n  return ConsoleLog;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/ScriptSampleComponents/ScriptSample.js?");

/***/ }),

/***/ "./src/devportal/component/SearchListComponents/SearchAppList.js":
/*!***********************************************************************!*\
  !*** ./src/devportal/component/SearchListComponents/SearchAppList.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.SearchAppItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchList = _interopRequireDefault(__webpack_require__(/*! ../../less/SearchList.less */ \"./src/devportal/less/SearchList.less\"));\nvar _searchListAction = __webpack_require__(/*! ../../action/searchListAction */ \"./src/devportal/action/searchListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SearchAppList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SearchAppList, _Component);\n  function SearchAppList(props) {\n    _classCallCheck(this, SearchAppList);\n    return _callSuper(this, SearchAppList, [props]);\n  }\n  _createClass(SearchAppList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        state = _this$props.state;\n      var appVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'searchAppItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myApp_list, _SearchList[\"default\"][appVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(SearchAppItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          contentClick: function contentClick(e, appId, bizcloudid) {\n            return dispatch((0, _searchListAction.gotoBizApp)(pageId, e, appId, bizcloudid));\n          }\n        }));\n      }));\n    }\n  }]);\n  return SearchAppList;\n}(_react.Component);\nvar SearchAppItem = exports.SearchAppItem = /*#__PURE__*/function (_Component2) {\n  _inherits(SearchAppItem, _Component2);\n  function SearchAppItem() {\n    _classCallCheck(this, SearchAppItem);\n    return _callSuper(this, SearchAppItem, arguments);\n  }\n  _createClass(SearchAppItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var imageUrl = (0, _componentutil.getImgFullPath)(this.props.fileConfig, this.props.image);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['applist-item'] + ' devportal_card',\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.id, _this.props.bizcloudid);\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyingyong'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: imageUrl,\n        className: _SearchList[\"default\"]['theme-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].appName,\n        title: this.props.name\n      }, this.props.name));\n    }\n  }]);\n  return SearchAppItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/SearchListComponents/SearchAppList.js?");

/***/ }),

/***/ "./src/devportal/component/SearchListComponents/SearchCardList.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/SearchListComponents/SearchCardList.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.SearchCardItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchList = _interopRequireDefault(__webpack_require__(/*! ../../less/SearchList.less */ \"./src/devportal/less/SearchList.less\"));\nvar _searchListAction = __webpack_require__(/*! ../../action/searchListAction */ \"./src/devportal/action/searchListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SearchCardList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SearchCardList, _Component);\n  function SearchCardList(props) {\n    _classCallCheck(this, SearchCardList);\n    return _callSuper(this, SearchCardList, [props]);\n  }\n  _createClass(SearchCardList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        state = _this$props.state;\n      var cardVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'searchCardItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myCard_list, _SearchList[\"default\"][cardVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(SearchCardItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          contentClick: function contentClick(e, bizappid, bizunitid, bizpageid) {\n            return dispatch((0, _searchListAction.gotoCardPos)(e, pageId, bizappid, bizunitid, bizpageid));\n          },\n          appClick: function appClick(e, bizappid) {\n            return dispatch((0, _searchListAction.gotoBizApp)(pageId, e, bizappid, undefined));\n          },\n          unitClick: function unitClick(e, bizappid, bizunitid, bizpageid) {\n            return dispatch((0, _searchListAction.unitClick)(e, pageId, bizappid, bizunitid, bizpageid));\n          }\n        }));\n      }));\n    }\n  }]);\n  return SearchCardList;\n}(_react.Component);\nvar SearchCardItem = exports.SearchCardItem = /*#__PURE__*/function (_Component2) {\n  _inherits(SearchCardItem, _Component2);\n  function SearchCardItem() {\n    _classCallCheck(this, SearchCardItem);\n    return _callSuper(this, SearchCardItem, arguments);\n  }\n  _createClass(SearchCardItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var cardTypes = {\n        LinkCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.lianjiekapian'\n        }),\n        YunZhiJiaCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.yunzhijiakapian'\n        }),\n        BillDigestCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjuzhaiyaokapian'\n        }),\n        ListStatisticsCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.tongjiliebiaokapian'\n        }),\n        StatementCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.baobiaokapian'\n        }),\n        CustomCard: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.zidingyikapian'\n        })\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['cardlist-item'] + ' devportal_card',\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaokapian'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizappid, _this.props.bizunitid, _this.props.id);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['carditem-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].cardName,\n        title: this.props.name\n      }, this.props.name)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.kapianbianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].number,\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizappid, _this.props.bizunitid, _this.props.id);\n        }\n      }, this.props.number)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.kapianleixing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].type\n      }, cardTypes[this.props.type])), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.suoshuyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].app,\n        onClick: function onClick(e) {\n          return _this.props.appClick(e, _this.props.bizappid);\n        }\n      }, this.props.bizappname)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.gongnengfenzu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].unit,\n        onClick: function onClick(e) {\n          return _this.props.unitClick(e, _this.props.bizappid, _this.props.bizunitid, _this.props.id);\n        }\n      }, this.props.bizunitname))));\n    }\n  }]);\n  return SearchCardItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/SearchListComponents/SearchCardList.js?");

/***/ }),

/***/ "./src/devportal/component/SearchListComponents/SearchList.js":
/*!********************************************************************!*\
  !*** ./src/devportal/component/SearchListComponents/SearchList.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchList = _interopRequireDefault(__webpack_require__(/*! ../../less/SearchList.less */ \"./src/devportal/less/SearchList.less\"));\nvar _SearchPageList = _interopRequireDefault(__webpack_require__(/*! ./SearchPageList */ \"./src/devportal/component/SearchListComponents/SearchPageList.js\"));\nvar _SearchAppList = _interopRequireDefault(__webpack_require__(/*! ./SearchAppList */ \"./src/devportal/component/SearchListComponents/SearchAppList.js\"));\nvar _SearchScriptList = _interopRequireDefault(__webpack_require__(/*! ./SearchScriptList */ \"./src/devportal/component/SearchListComponents/SearchScriptList.js\"));\nvar _SearchCardList = _interopRequireDefault(__webpack_require__(/*! ./SearchCardList */ \"./src/devportal/component/SearchListComponents/SearchCardList.js\"));\nvar _searchListAction = __webpack_require__(/*! ../../action/searchListAction */ \"./src/devportal/action/searchListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SearchList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SearchList, _Component);\n  function SearchList(props) {\n    var _this;\n    _classCallCheck(this, SearchList);\n    _this = _callSuper(this, SearchList, [props]);\n    _this.state = {\n      showApp: true,\n      showPage: true,\n      showScript: true,\n      showCard: true\n    };\n    return _this;\n  }\n  _createClass(SearchList, [{\n    key: \"setShowApp\",\n    value: function setShowApp(self) {\n      self.setState({\n        showApp: !self.state.showApp\n      });\n    }\n  }, {\n    key: \"setShowPage\",\n    value: function setShowPage(self) {\n      self.setState({\n        showPage: !self.state.showPage\n      });\n    }\n  }, {\n    key: \"setShowScript\",\n    value: function setShowScript(self) {\n      self.setState({\n        showScript: !self.state.showScript\n      });\n    }\n  }, {\n    key: \"setShowCard\",\n    value: function setShowCard(self) {\n      self.setState({\n        showCard: !self.state.showCard\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch;\n      var state = model.state;\n      var icon_expand_app = this.state.showApp ? 'icon_expand' : 'icon_collapse';\n      var icon_expand_page = this.state.showPage ? 'icon_expand' : 'icon_collapse';\n      var icon_expand_script = this.state.showScript ? 'icon_expand' : 'icon_collapse';\n      var icon_expand_card = this.state.showCard ? 'icon_expand' : 'icon_collapse';\n      var fileConfig = (0, _appModelFunction.getFormConfig)(model.pageId)(state).fileserver;\n      var value = (0, _appModelFunction.getDevportalData)(model.pageId, 'searchValue')(state) || '';\n      var condition = value + ' ' + (0, _intlApi.getLangMsg)({\n        key: 'SearchList.shousuojieguo'\n      });\n      var appNum = (0, _appModelFunction.getDevportalData)(model.pageId, 'searchAppItemsNum')(state) || 0;\n      var pageNum = (0, _appModelFunction.getDevportalData)(model.pageId, 'searchPageItemsNum')(state) || 0;\n      var scriptNum = (0, _appModelFunction.getDevportalData)(model.pageId, 'searchScriptItemsNum')(state) || 0;\n      var cardNum = (0, _appModelFunction.getDevportalData)(model.pageId, 'searchCardItemsNum')(state) || 0;\n      var myAppVisiable = 'unvisiable';\n      var myPageVisiable = 'unvisiable';\n      var myScriptVisiable = 'unvisiable';\n      var myCardVisiable = 'unvisiable';\n      if (appNum == 0) {\n        myAppVisiable = 'visiable';\n      }\n      if (pageNum == 0) {\n        myPageVisiable = 'visiable';\n      }\n      if (scriptNum == 0) {\n        myScriptVisiable = 'visiable';\n      }\n      if (cardNum == 0) {\n        myCardVisiable = 'visiable';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].mainpage\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].banner\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].condition\n      }, condition), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].result\n      }, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.gongshoudaoyingyong'\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].num\n      }, appNum), (0, _intlApi.getLangMsg)({\n        key: 'SearchList.key0001'\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].num\n      }, pageNum), (0, _intlApi.getLangMsg)({\n        key: 'SearchList.key0002'\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].num\n      }, scriptNum), (0, _intlApi.getLangMsg)({\n        key: 'SearchList.key0003'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myApp, _SearchList[\"default\"][myAppVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].myAppTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"][icon_expand_app],\n        onClick: function onClick(e) {\n          return _this2.setShowApp(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].myAppArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_SearchAppList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        state: state,\n        isExpand: this.state.showApp\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myPage, _SearchList[\"default\"][myPageVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].myPageTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"][icon_expand_page],\n        onClick: function onClick(e) {\n          return _this2.setShowPage(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].myPageArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_SearchPageList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        state: state,\n        isExpand: this.state.showPage\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myScript, _SearchList[\"default\"][myScriptVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].myScriptTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.jiaoben'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"][icon_expand_script],\n        onClick: function onClick(e) {\n          return _this2.setShowScript(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].myScriptArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_SearchScriptList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        state: state,\n        isExpand: this.state.showScript\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myCard, _SearchList[\"default\"][myCardVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].myCardTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.kapian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"][icon_expand_card],\n        onClick: function onClick(e) {\n          return _this2.setShowCard(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].myCardArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_SearchCardList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        state: state,\n        isExpand: this.state.showCard\n      })));\n    }\n  }]);\n  return SearchList;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/SearchListComponents/SearchList.js?");

/***/ }),

/***/ "./src/devportal/component/SearchListComponents/SearchPageList.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/SearchListComponents/SearchPageList.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.SearchPageItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchList = _interopRequireDefault(__webpack_require__(/*! ../../less/SearchList.less */ \"./src/devportal/less/SearchList.less\"));\nvar _searchListAction = __webpack_require__(/*! ../../action/searchListAction */ \"./src/devportal/action/searchListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SearchPageList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SearchPageList, _Component);\n  function SearchPageList(props) {\n    _classCallCheck(this, SearchPageList);\n    return _callSuper(this, SearchPageList, [props]);\n  }\n  _createClass(SearchPageList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        state = _this$props.state;\n      var pageVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'searchPageItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myPage_list, _SearchList[\"default\"][pageVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(SearchPageItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          appClick: function appClick(e, appId, bizcloudid) {\n            return dispatch((0, _searchListAction.gotoBizApp)(pageId, e, appId, bizcloudid));\n          },\n          contentClick: function contentClick(e, cloudId, appId, unitId, pId, unitName) {\n            return dispatch((0, _searchListAction.gotoBizPage)(e, cloudId, appId, unitId, pId, pageId, unitName));\n          },\n          numberClick: function numberClick(e, id, number) {\n            return dispatch((0, _searchListAction.gotoPageDesigner)(e, id, number, pageId));\n          }\n        }));\n      }));\n    }\n  }]);\n  return SearchPageList;\n}(_react.Component);\nvar SearchPageItem = exports.SearchPageItem = /*#__PURE__*/function (_Component2) {\n  _inherits(SearchPageItem, _Component2);\n  function SearchPageItem() {\n    _classCallCheck(this, SearchPageItem);\n    return _callSuper(this, SearchPageItem, arguments);\n  }\n  _createClass(SearchPageItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var pageTypes = {\n        DynamicFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dongtaibiaodan'\n        }),\n        BaseFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jichuziliao'\n        }),\n        BillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danju'\n        }),\n        MobileFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongbiaodan'\n        }),\n        MobileBillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongdanju'\n        }),\n        MobileListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongliebiaobuju'\n        }),\n        WidgetFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiaobujian'\n        }),\n        ParameterFormModel_public: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.gonggongcanshu'\n        }),\n        ParameterFormModel_cloud: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yunchangpinchangshu'\n        }),\n        ParameterFormModel_application: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yingyongcanshu'\n        }),\n        ParameterFormModel_bill: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjucanshu'\n        }),\n        ParameterFormModel_billtype: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjuleixingcanshu'\n        }),\n        ParameterFormModel_option: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuxuanxiangcanshu'\n        }),\n        ParameterFormModel_orgoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuzuzhixuanxiangcanshu'\n        }),\n        ParameterFormModel_listoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liebiaoxuanxiangcanshu'\n        }),\n        PrintModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dayinmuban'\n        }),\n        ReportFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.baobiao'\n        }),\n        UserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xinshouxiangdao'\n        }),\n        MobUserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongxinshouxiangdao'\n        }),\n        PCLayout: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.pcbuju'\n        }),\n        QueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.chaxun'\n        }),\n        BalanceModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yuebiao'\n        }),\n        ReportQueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shujuyuanbaobiao'\n        }),\n        LogBillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.logbillform'\n        })\n      };\n      var devType = this.props.devtype;\n      var icon;\n      if (devType === '2') {\n        icon = 'icon-kuo';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['pagelist-item'] + ' devportal_card',\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizcloudid, _this.props.bizappid, _this.props.bizunitid, _this.props.bizpageid, _this.props.bizunitname);\n        },\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.key0004'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['pageitem-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].pageName,\n        title: this.props.name\n      }, this.props.name), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"][icon]\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yemianbianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].number,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoshejiqi'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.numberClick(e, _this.props.bizpageid, _this.props.number);\n        }\n      }, this.props.number)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yemianleixing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].type\n      }, pageTypes[this.props.modeltype])), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.suoshuyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].app,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyingyong'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.appClick(e, _this.props.bizappid, _this.props.bizcloudid);\n        }\n      }, this.props.bizappname)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.gongnengfenzu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].unit,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyemian'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizcloudid, _this.props.bizappid, _this.props.bizunitid, _this.props.bizpageid, _this.props.bizunitname);\n        }\n      }, this.props.bizunitname))));\n    }\n  }]);\n  return SearchPageItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/SearchListComponents/SearchPageList.js?");

/***/ }),

/***/ "./src/devportal/component/SearchListComponents/SearchScriptList.js":
/*!**************************************************************************!*\
  !*** ./src/devportal/component/SearchListComponents/SearchScriptList.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.SearchScriptItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchList = _interopRequireDefault(__webpack_require__(/*! ../../less/SearchList.less */ \"./src/devportal/less/SearchList.less\"));\nvar _searchListAction = __webpack_require__(/*! ../../action/searchListAction */ \"./src/devportal/action/searchListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SearchScriptList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SearchScriptList, _Component);\n  function SearchScriptList(props) {\n    _classCallCheck(this, SearchScriptList);\n    return _callSuper(this, SearchScriptList, [props]);\n  }\n  _createClass(SearchScriptList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        state = _this$props.state;\n      var scriptVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'searchScriptItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_SearchList[\"default\"].myScript_list, _SearchList[\"default\"][scriptVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(SearchScriptItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          contentClick: function contentClick(e, bizappid, bizunitid, bizpageid, id) {\n            return dispatch((0, _searchListAction.gotoScriptPos)(e, pageId, bizappid, bizunitid, bizpageid, id));\n          },\n          numberClick: function numberClick(e, id, bizappid, bizunitid) {\n            return dispatch((0, _searchListAction.gotoKDE)(e, pageId, id, bizappid, bizunitid));\n          },\n          appClick: function appClick(e, bizappid) {\n            return dispatch((0, _searchListAction.gotoBizApp)(pageId, e, bizappid, undefined));\n          }\n        }));\n      }));\n    }\n  }]);\n  return SearchScriptList;\n}(_react.Component);\nvar SearchScriptItem = exports.SearchScriptItem = /*#__PURE__*/function (_Component2) {\n  _inherits(SearchScriptItem, _Component2);\n  function SearchScriptItem() {\n    _classCallCheck(this, SearchScriptItem);\n    return _callSuper(this, SearchScriptItem, arguments);\n  }\n  _createClass(SearchScriptItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var scriptType = {\n        1: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.biaodanchajian'\n        }),\n        2: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjuchajian'\n        }),\n        3: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liebiaochajian'\n        }),\n        4: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.caozuochajian'\n        }),\n        5: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danyuceshichajian'\n        }),\n        6: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.kongbaichajian'\n        }),\n        7: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liuchengchajian'\n        }),\n        8: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.webdanjuapichajian'\n        }),\n        9: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongduandanjuchajian'\n        }),\n        10: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjuzhuanghuanchajian'\n        }),\n        11: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjufanxiechajian'\n        })\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['scriptlist-item'] + ' devportal_card',\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaojiaoben'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.numberClick(e, _this.props.id, _this.props.bizappid, _this.props.bizunitid);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['scriptitem-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].scriptName,\n        title: this.props.name\n      }, this.props.name)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['search-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.jiaobenbianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].number,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaojiaoben'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.numberClick(e, _this.props.id, _this.props.bizappid, _this.props.bizunitid);\n        }\n      }, this.props.number)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['search-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.jiaobenleixing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].item\n      }, scriptType[this.props.type])), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['search-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.suoshuyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].item\n      }, this.props.bizappname)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchList[\"default\"]['search-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.gongnengfenzu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _SearchList[\"default\"].item\n      }, this.props.bizunitname))));\n    }\n  }]);\n  return SearchScriptItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/SearchListComponents/SearchScriptList.js?");

/***/ }),

/***/ "./src/devportal/component/ShortCutListComponents/MyAppList.js":
/*!*********************************************************************!*\
  !*** ./src/devportal/component/ShortCutListComponents/MyAppList.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.MyAppItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ShortCutList = _interopRequireDefault(__webpack_require__(/*! ../../less/ShortCutList.less */ \"./src/devportal/less/ShortCutList.less\"));\nvar _shortCutListAction = __webpack_require__(/*! ../../action/shortCutListAction */ \"./src/devportal/action/shortCutListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _image_about_KDE = _interopRequireDefault(__webpack_require__(/*! ../../images/kde/image_about_KDE.png */ \"./src/devportal/images/kde/image_about_KDE.png\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar MyAppList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(MyAppList, _Component);\n  function MyAppList(props) {\n    _classCallCheck(this, MyAppList);\n    return _callSuper(this, MyAppList, [props]);\n  }\n  _createClass(MyAppList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        editable = _this$props.editable,\n        state = _this$props.state;\n      var myAppVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var deleteVisiable = editable ? 'visiable_flex' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'myAppItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].myApp_list, _ShortCutList[\"default\"][myAppVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(MyAppItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          deleteVisiable: deleteVisiable,\n          deleteClick: function deleteClick(e, id, bizCloudId) {\n            return dispatch((0, _shortCutListAction.deleteMyAppItem)(e, id, pageId, bizCloudId));\n          },\n          contentClick: function contentClick(e, appId, bizcloudid) {\n            return dispatch((0, _shortCutListAction.gotoBizApp)(pageId, e, appId, bizcloudid));\n          }\n        }));\n      }));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.props.dispatch((0, _shortCutListAction.asyncMyAppList)(this.props.pageId));\n    }\n  }]);\n  return MyAppList;\n}(_react.Component);\nvar MyAppItem = exports.MyAppItem = /*#__PURE__*/function (_Component2) {\n  _inherits(MyAppItem, _Component2);\n  function MyAppItem() {\n    _classCallCheck(this, MyAppItem);\n    return _callSuper(this, MyAppItem, arguments);\n  }\n  _createClass(MyAppItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var imageUrl = (0, _componentutil.getImgFullPath)(this.props.fileConfig, this.props.image);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"]['applist-item'] + ' devportal_card',\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyingyong'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].newDeleteApp, _ShortCutList[\"default\"][this.props.deleteVisiable]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.dianjishanchu'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.deleteClick(e, _this.props.id, _this.props.bizcloudid);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])('kdfont kdfont-shanchukapian')\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].appcontent,\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizappid, _this.props.bizcloudid);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: imageUrl,\n        className: _ShortCutList[\"default\"]['theme-icon']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].appName,\n        title: this.props.name\n      }, this.props.name)));\n    }\n  }]);\n  return MyAppItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/ShortCutListComponents/MyAppList.js?");

/***/ }),

/***/ "./src/devportal/component/ShortCutListComponents/MyPageList.js":
/*!**********************************************************************!*\
  !*** ./src/devportal/component/ShortCutListComponents/MyPageList.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.MyPageItem = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ShortCutList = _interopRequireDefault(__webpack_require__(/*! ../../less/ShortCutList.less */ \"./src/devportal/less/ShortCutList.less\"));\nvar _shortCutListAction = __webpack_require__(/*! ../../action/shortCutListAction */ \"./src/devportal/action/shortCutListAction.js\");\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar MyPageList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(MyPageList, _Component);\n  function MyPageList(props) {\n    _classCallCheck(this, MyPageList);\n    return _callSuper(this, MyPageList, [props]);\n  }\n  _createClass(MyPageList, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        fileConfig = _this$props.fileConfig,\n        isExpand = _this$props.isExpand,\n        editable = _this$props.editable,\n        state = _this$props.state;\n      var myPageVisiable = isExpand ? 'unvisiable' : 'visiable';\n      var deleteVisiable = editable ? 'visiable_flex' : 'visiable';\n      var items = (0, _appModelFunction.getDevportalData)(pageId, 'myPageItems')(state) || [];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].myPage_list, _ShortCutList[\"default\"][myPageVisiable])\n      }, items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(MyPageItem, _extends({}, item, {\n          key: index,\n          fileConfig: fileConfig,\n          deleteVisiable: deleteVisiable,\n          deleteClick: function deleteClick(e, id, bizUnitId, appId) {\n            return dispatch((0, _shortCutListAction.deleteMyPageItem)(e, id, pageId, bizUnitId, appId));\n          },\n          appClick: function appClick(e, appId, bizcloudid) {\n            return dispatch((0, _shortCutListAction.gotoBizApp)(pageId, e, appId, bizcloudid));\n          },\n          contentClick: function contentClick(e, cloudId, appId, unitId, pId, unitName) {\n            return dispatch((0, _shortCutListAction.gotoBizPage)(e, cloudId, appId, unitId, pId, pageId, unitName));\n          },\n          numberClick: function numberClick(e, id, number) {\n            return dispatch((0, _shortCutListAction.gotoPageDesigner)(e, id, number, pageId));\n          }\n        }));\n      }));\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.props.dispatch((0, _shortCutListAction.asyncMyPageList)(this.props.pageId));\n    }\n  }]);\n  return MyPageList;\n}(_react.Component);\nvar MyPageItem = exports.MyPageItem = /*#__PURE__*/function (_Component2) {\n  _inherits(MyPageItem, _Component2);\n  function MyPageItem() {\n    _classCallCheck(this, MyPageItem);\n    return _callSuper(this, MyPageItem, arguments);\n  }\n  _createClass(MyPageItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var pageTypes = {\n        DynamicFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dongtaibiaodan'\n        }),\n        BaseFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.jichuziliao'\n        }),\n        BillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danju'\n        }),\n        MobileFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongbiaodan'\n        }),\n        MobileBillFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongdanju'\n        }),\n        MobileListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongliebiaobuju'\n        }),\n        WidgetFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xiaobujian'\n        }),\n        ParameterFormModel_public: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.gonggongcanshu'\n        }),\n        ParameterFormModel_cloud: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yunchangpinchangshu'\n        }),\n        ParameterFormModel_application: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yingyongcanshu'\n        }),\n        ParameterFormModel_bill: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjucanshu'\n        }),\n        ParameterFormModel_billtype: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.danjuleixingcanshu'\n        }),\n        ParameterFormModel_option: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuxuanxiangcanshu'\n        }),\n        ParameterFormModel_orgoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yonghuzuzhixuanxiangcanshu'\n        }),\n        ParameterFormModel_listoption: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.liebiaoxuanxiangcanshu'\n        }),\n        PrintModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.dayinmuban'\n        }),\n        ReportFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.baobiao'\n        }),\n        UserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.xinshouxiangdao'\n        }),\n        MobUserGuideFormModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yidongxinshouxiangdao'\n        }),\n        PCLayout: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.pcbuju'\n        }),\n        QueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.chaxun'\n        }),\n        BalanceModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.yuebiao'\n        }),\n        ReportQueryListModel: (0, _intlApi.getLangMsg)({\n          key: 'pagelist.shujuyuanbaobiao'\n        })\n      };\n      var devType = this.props.devtype;\n      var icon;\n      if (devType === '2') {\n        icon = 'icon-kuo';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"]['pagelist-item'] + ' devportal_card',\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyemian'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].newDeleteApp, _ShortCutList[\"default\"][this.props.deleteVisiable]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'ShortCut.dianjishanchu'\n        }),\n        onClick: function onClick(e) {\n          return _this.props.deleteClick(e, _this.props.bizpageid, _this.props.bizunitid, _this.props.bizappid);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])('kdfont kdfont-shanchukapian')\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizcloudid, _this.props.bizappid, _this.props.bizunitid, _this.props.bizpageid, _this.props.bizunitname);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"]['pageitem-title']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].pageName,\n        title: this.props.name\n      }, this.props.name), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"][icon]\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].content\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].prop,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoshejiqi'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yemianbianma'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].number,\n        onClick: function onClick(e) {\n          return _this.props.numberClick(e, _this.props.bizpageid, _this.props.number);\n        }\n      }, this.props.number)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].prop\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.yemianleixing'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].type\n      }, pageTypes[this.props.modeltype])), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].prop,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyingyong'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.suoshuyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].app,\n        onClick: function onClick(e) {\n          return _this.props.appClick(e, _this.props.bizappid, _this.props.bizcloudid);\n        }\n      }, this.props.bizappname)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].prop,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'SearchList.danjitiaozhuandaoyemian'\n        })\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'SearchList.gongnengfenzu'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].unit,\n        onClick: function onClick(e) {\n          return _this.props.contentClick(e, _this.props.bizcloudid, _this.props.bizappid, _this.props.bizunitid, _this.props.bizpageid, _this.props.bizunitname);\n        }\n      }, this.props.bizunitname)))));\n    }\n  }]);\n  return MyPageItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/ShortCutListComponents/MyPageList.js?");

/***/ }),

/***/ "./src/devportal/component/ShortCutListComponents/ShortCutList.js":
/*!************************************************************************!*\
  !*** ./src/devportal/component/ShortCutListComponents/ShortCutList.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ShortCutList = _interopRequireDefault(__webpack_require__(/*! ../../less/ShortCutList.less */ \"./src/devportal/less/ShortCutList.less\"));\nvar _MyAppList = _interopRequireDefault(__webpack_require__(/*! ./MyAppList */ \"./src/devportal/component/ShortCutListComponents/MyAppList.js\"));\nvar _MyPageList = _interopRequireDefault(__webpack_require__(/*! ./MyPageList */ \"./src/devportal/component/ShortCutListComponents/MyPageList.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar ShortCutList = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(ShortCutList, _Component);\n  function ShortCutList(props) {\n    var _this;\n    _classCallCheck(this, ShortCutList);\n    _this = _callSuper(this, ShortCutList, [props]);\n    _this.state = {\n      showApp: true,\n      showPage: true,\n      editable: false\n    };\n    return _this;\n  }\n  _createClass(ShortCutList, [{\n    key: \"setShowApp\",\n    value: function setShowApp(self) {\n      self.setState({\n        showApp: !self.state.showApp\n      });\n    }\n  }, {\n    key: \"setShowPage\",\n    value: function setShowPage(self) {\n      self.setState({\n        showPage: !self.state.showPage\n      });\n    }\n  }, {\n    key: \"setEditable\",\n    value: function setEditable(self) {\n      self.setState({\n        editable: !self.state.editable\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch;\n      var state = model.state;\n      var icon_expand_app = this.state.showApp ? 'icon_expand' : 'icon_collapse';\n      var icon_expand_page = this.state.showPage ? 'icon_expand' : 'icon_collapse';\n      var manageName = this.state.editable ? (0, _intlApi.getLangMsg)({\n        key: 'ShortCut.tuichuguanli'\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'ShortCut.guanli'\n      });\n      var fileConfig = (0, _appModelFunction.getFormConfig)(model.pageId)(state).fileserver;\n      var appItems = (0, _appModelFunction.getDevportalData)(model.pageId, 'myAppItems')(state) || [];\n      var pageItems = (0, _appModelFunction.getDevportalData)(model.pageId, 'myPageItems')(state) || [];\n      var myAppVisiable = 'unvisiable';\n      var myPageVisiable = 'unvisiable';\n      if (appItems.length == 0) {\n        myAppVisiable = 'visiable';\n      }\n      if (pageItems.length == 0) {\n        myPageVisiable = 'visiable';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].mainpage\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].banner\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].title\n      }, (0, _intlApi.getLangMsg)({\n        key: 'ShortCut.wodeshoucang'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].manage,\n        onClick: function onClick(e) {\n          return _this2.setEditable(_this2);\n        }\n      }, manageName)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].myApp, _ShortCutList[\"default\"][myAppVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].myAppTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'ShortCut.woshoucangdeyingyong'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"][icon_expand_app],\n        onClick: function onClick(e) {\n          return _this2.setShowApp(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].myAppArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_MyAppList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        isExpand: this.state.showApp,\n        editable: this.state.editable,\n        state: state\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_ShortCutList[\"default\"].myPage, _ShortCutList[\"default\"][myPageVisiable])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"].myPageTitle\n      }, (0, _intlApi.getLangMsg)({\n        key: 'ShortCut.woshoucangdeyemian'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _ShortCutList[\"default\"][icon_expand_page],\n        onClick: function onClick(e) {\n          return _this2.setShowPage(_this2);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ShortCutList[\"default\"].myPageArea\n      }, /*#__PURE__*/_react[\"default\"].createElement(_MyPageList[\"default\"], {\n        fileConfig: fileConfig,\n        pageId: model.pageId,\n        dispatch: dispatch,\n        state: state,\n        isExpand: this.state.showPage,\n        editable: this.state.editable\n      })));\n    }\n  }]);\n  return ShortCutList;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/component/ShortCutListComponents/ShortCutList.js?");

/***/ }),

/***/ "./src/devportal/constant/BizAppListConst.js":
/*!***************************************************!*\
  !*** ./src/devportal/constant/BizAppListConst.js ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.APP_FILTER_ITEM_KEY = exports.APP_FILTER_ITEMS = void 0;\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n// appFilter\nvar APP_FILTER_ITEM_KEY = exports.APP_FILTER_ITEM_KEY = {\n  ALL: 'all',\n  // 全部\n  KINGDEE: 'kingdee',\n  // 金蝶\n  OWNER: 'owner',\n  // 自建\n  THIRD: 'third' // 第三方\n};\nvar APP_FILTER_ITEMS = exports.APP_FILTER_ITEMS = [{\n  key: APP_FILTER_ITEM_KEY.ALL,\n  text: (0, _intlApi.getLangMsg)({\n    key: 'applist.quanbu'\n  })\n}, {\n  key: APP_FILTER_ITEM_KEY.KINGDEE,\n  text: (0, _intlApi.getLangMsg)({\n    key: 'applist.kingdee'\n  })\n}, {\n  key: APP_FILTER_ITEM_KEY.OWNER,\n  text: (0, _intlApi.getLangMsg)({\n    key: 'applist.zijian'\n  })\n}, {\n  key: APP_FILTER_ITEM_KEY.THIRD,\n  text: (0, _intlApi.getLangMsg)({\n    key: 'applist.disanfang'\n  })\n}];\n\n//# sourceURL=webpack://bos-platform/./src/devportal/constant/BizAppListConst.js?");

/***/ }),

/***/ "./src/devportal/constant/serverproperties.js":
/*!****************************************************!*\
  !*** ./src/devportal/constant/serverproperties.js ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.APP_FILTER_LIST = void 0;\nvar APP_FILTER_LIST = exports.APP_FILTER_LIST = 'appFilterList'; // app过滤页签配置项\n\n//# sourceURL=webpack://bos-platform/./src/devportal/constant/serverproperties.js?");

/***/ }),

/***/ "./src/devportal/util/CodeManage.js":
/*!******************************************!*\
  !*** ./src/devportal/util/CodeManage.js ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _bizPageListAction = __webpack_require__(/*! ../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SvgUtil = __webpack_require__(/*! ./SvgUtil.js */ \"./src/devportal/util/SvgUtil.js\");\nvar _SVNOperation = _interopRequireDefault(__webpack_require__(/*! ./SVNOperation */ \"./src/devportal/util/SVNOperation.js\"));\nvar _GITOperation = _interopRequireDefault(__webpack_require__(/*! ./GITOperation */ \"./src/devportal/util/GITOperation.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar CodeManage = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(CodeManage, _Component);\n  function CodeManage() {\n    var _this;\n    _classCallCheck(this, CodeManage);\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    _this = _callSuper(this, CodeManage, [].concat(args));\n    _this.renderLockingIcon = function () {\n      var _this$props = _this.props,\n        dispatch = _this$props.dispatch,\n        bizappid = _this$props.bizappid,\n        bizid = _this$props.bizid,\n        biznumber = _this$props.biznumber,\n        bizunitid = _this$props.bizunitid,\n        pageId = _this$props.pageId,\n        locking = _this$props.locking;\n      var lockingStatus = !(locking === 1);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgLock)(lockingStatus), _KDBizPageList[\"default\"].lock),\n        title: (0, _intlApi.getLangMsg)(lockingStatus ? 'pagelist.suoding' : 'pagelist.weisuoding'),\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.lockPage)(bizid, bizappid, bizunitid, biznumber, pageId));\n        }\n      });\n    };\n    return _this;\n  }\n  _createClass(CodeManage, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        rightHeight = _this$props2.rightHeight,\n        state = _this$props2.state,\n        accountType = _this$props2.accountType,\n        biznumber = _this$props2.biznumber;\n      if (this.props.codeManageType === 'code') {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])((0, _SvgUtil.svgCodemanager)(), _KDBizPageList[\"default\"].codeManage, _KDBizPageList[\"default\"][this.props.modifyclassname]),\n          title: (0, _intlApi.getLangMsg)({\n            key: 'kde.key0003'\n          }),\n          onClick: function onClick(e) {\n            return dispatch((0, _bizPageListAction.codeManage)(e, pageId));\n          }\n        });\n      } else if (this.props.codeManageType === 'svn') {\n        return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_SVNOperation[\"default\"], {\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          id: this.props.id,\n          type: this.props.type,\n          rightHeight: rightHeight,\n          modifyclassname: this.props.modifyclassname\n        }), accountType && this.renderLockingIcon());\n      } else if (this.props.codeManageType === 'git') {\n        return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_GITOperation[\"default\"], {\n          dispatch: dispatch,\n          pageId: pageId,\n          state: state,\n          id: this.props.id,\n          type: this.props.type,\n          rightHeight: rightHeight,\n          modifyclassname: this.props.modifyclassname,\n          isPage: true\n        }), accountType && this.renderLockingIcon());\n      } else {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null);\n      }\n    }\n  }]);\n  return CodeManage;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/util/CodeManage.js?");

/***/ }),

/***/ "./src/devportal/util/GITOperation.js":
/*!********************************************!*\
  !*** ./src/devportal/util/GITOperation.js ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _bizPageListAction = __webpack_require__(/*! ../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ./SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _findScrollParentElement = _interopRequireDefault(__webpack_require__(/*! ../../component/common/findScrollParentElement */ \"./src/component/common/findScrollParentElement.js\"));\nvar _utils = __webpack_require__(/*! ../util/utils */ \"./src/devportal/util/utils.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _bizAppListAction = __webpack_require__(/*! @/devportal/action/bizAppListAction.js */ \"./src/devportal/action/bizAppListAction.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar GITOperation = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(GITOperation, _Component);\n  function GITOperation(props) {\n    var _this;\n    _classCallCheck(this, GITOperation);\n    _this = _callSuper(this, GITOperation, [props]);\n    _this.onClickOutSide = function (e) {\n      if (!_this.state.isShowMoreOperation) return;\n      var target = e.target;\n      while (target && target !== document) {\n        if (target === _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this))) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      if (!target) return;\n      _this.hideMoreOpearation();\n    };\n    _this.hideMoreOpearation = function () {\n      _this.setState({\n        isShowMoreOperation: false\n      });\n    };\n    _this.gitOperate = function (e, operateType) {\n      var _this$props = _this.props,\n        pageId = _this$props.pageId,\n        id = _this$props.id,\n        type = _this$props.type,\n        _this$props$isPage = _this$props.isPage,\n        isPage = _this$props$isPage === void 0 ? true : _this$props$isPage,\n        dispatch = _this$props.dispatch,\n        number = _this$props.number,\n        _this$props$gitOperat = _this$props.gitOperationActions,\n        gitOperationActions = _this$props$gitOperat === void 0 ? {} : _this$props$gitOperat;\n      gitOperationActions[operateType] ? gitOperationActions[operateType](e) : dispatch((0, _bizPageListAction.gitOperate)(pageId, id, type, operateType, e, isPage, number));\n    };\n    _this.state = {\n      visiable: true,\n      isDowndrop: 'downdrop',\n      isShowMoreOperation: false\n    };\n    _this.ref = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.gitmanager = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.onClickOutSide = _this.onClickOutSide.bind(_assertThisInitialized(_this));\n    _this.scrollHandler = _lodash[\"default\"].debounce(_this.onClickOutSide, 300, {\n      leading: true,\n      trailing: true\n    });\n    return _this;\n  }\n  _createClass(GITOperation, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('click', this.onClickOutSide);\n      document.addEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('click', this.onClickOutSide);\n      document.removeEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"showHideMoreOperation\",\n    value: function showHideMoreOperation(e, self, value) {\n      self.setState({\n        isShowMoreOperation: value\n      });\n      if (value === true) {\n        var toTop = e.target.offsetTop;\n        var height = (0, _utils.query)(this.gitmanager.current).css('height');\n        var divHeight = parseInt(height.slice(0, height.length - 2));\n        // var scrollHeight = self.props.rightHeight;\n        // 先这样\n        var scrollHeight = (0, _findScrollParentElement[\"default\"])(this.ref.current).scrollHeight - 62;\n        if (toTop + divHeight < scrollHeight) {\n          self.setState({\n            isDowndrop: 'downdrop'\n          });\n        } else {\n          self.setState({\n            isDowndrop: 'updrop'\n          });\n        }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        state = _this$props2.state,\n        style = _this$props2.style,\n        topProp = _this$props2.topProp,\n        isPage = _this$props2.isPage,\n        _this$props2$showOper = _this$props2.showOperations,\n        showOperations = _this$props2$showOper === void 0 ? {} : _this$props2$showOper,\n        dispatch = _this$props2.dispatch,\n        pageId = _this$props2.pageId,\n        number = _this$props2.number,\n        id = _this$props2.id;\n      var isShowMoreOperationClass = this.state.isShowMoreOperation === true ? 'unvisiable' : 'visiable';\n      var top;\n      if (this.state.isDowndrop == 'downdrop') {\n        top = {\n          top: topProp || '8px'\n        };\n      } else {\n        var height = (0, _utils.query)(this.gitmanager.current).css('height');\n        var divHeight = parseInt(height.slice(0, height.length - 2));\n        top = {\n          top: -divHeight + 'px'\n        };\n      }\n      var _showOperations$confi = showOperations.config,\n        config = _showOperations$confi === void 0 ? true : _showOperations$confi,\n        _showOperations$infor = showOperations.information,\n        information = _showOperations$infor === void 0 ? true : _showOperations$infor,\n        _showOperations$commi = showOperations.commit,\n        commit = _showOperations$commi === void 0 ? true : _showOperations$commi,\n        _showOperations$push = showOperations.push,\n        push = _showOperations$push === void 0 ? true : _showOperations$push,\n        _showOperations$rever = showOperations.revert,\n        revert = _showOperations$rever === void 0 ? true : _showOperations$rever,\n        _showOperations$pull = showOperations.pull,\n        pull = _showOperations$pull === void 0 ? true : _showOperations$pull,\n        _showOperations$impor = showOperations[\"import\"],\n        importGit = _showOperations$impor === void 0 ? true : _showOperations$impor,\n        _showOperations$expor = showOperations[\"export\"],\n        exportGit = _showOperations$expor === void 0 ? true : _showOperations$expor;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgGitmanager)(), _KDBizPageList[\"default\"][this.props.modifyclassname], _KDBizPageList[\"default\"].gitManage),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.key0002'\n        }),\n        onClick: function onClick(e) {\n          return _this2.showHideMoreOperation(e, _this2, true);\n        },\n        style: style,\n        ref: this.ref\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: top,\n        ref: this.gitmanager,\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].downdrop, _KDBizPageList[\"default\"][isShowMoreOperationClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, config && this.props.codemanage && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizAppListAction.codeManage)(e, pageId, number, id));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.config'\n      }))), commit && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'commit');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.tijiao'\n      }))), push && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'push');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.tuisong'\n      }))), revert && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'revert');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.huanyuan'\n      }))), pull && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'pull');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.laqu'\n      }))), information && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'log');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.information'\n      }))), !isPage && importGit && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'import');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.import'\n      }))), !isPage && exportGit && /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return _this2.gitOperate(e, 'export');\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _KDBizPageList[\"default\"].visiable\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.export'\n      }))))));\n    }\n  }]);\n  return GITOperation;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/util/GITOperation.js?");

/***/ }),

/***/ "./src/devportal/util/SVNOperation.js":
/*!********************************************!*\
  !*** ./src/devportal/util/SVNOperation.js ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _bizPageListAction = __webpack_require__(/*! ../action/bizPageListAction */ \"./src/devportal/action/bizPageListAction.js\");\nvar _KDBizPageList = _interopRequireDefault(__webpack_require__(/*! ../less/KDBizPageList.less */ \"./src/devportal/less/KDBizPageList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _appModelFunction = __webpack_require__(/*! ../../model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _SvgUtil = __webpack_require__(/*! ./SvgUtil */ \"./src/devportal/util/SvgUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ../util/utils */ \"./src/devportal/util/utils.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar SVNOperation = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(SVNOperation, _Component);\n  function SVNOperation(props) {\n    var _this;\n    _classCallCheck(this, SVNOperation);\n    _this = _callSuper(this, SVNOperation, [props]);\n    _this.onClickOutSide = function (e) {\n      if (!_this.state.isShowMoreOperation) return;\n      var target = e.target;\n      while (target && target !== document) {\n        if (target === _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this))) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      if (!target) return;\n      _this.hideMoreOpearation();\n    };\n    _this.hideMoreOpearation = function () {\n      _this.setState({\n        isShowMoreOperation: false\n      });\n    };\n    _this.state = {\n      visiable: true,\n      isDowndrop: 'downdrop',\n      isShowMoreOperation: false\n    };\n    _this.svnmanager = /*#__PURE__*/(0, _react.createRef)();\n    _this.onClickOutSide = _this.onClickOutSide.bind(_assertThisInitialized(_this));\n    _this.scrollHandler = _lodash[\"default\"].debounce(_this.onClickOutSide, 300, {\n      leading: true,\n      trailing: true\n    });\n    return _this;\n  }\n  _createClass(SVNOperation, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('click', this.onClickOutSide);\n      document.addEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('click', this.onClickOutSide);\n      document.removeEventListener('scroll', this.scrollHandler, true);\n    }\n  }, {\n    key: \"showHideMoreOperation\",\n    value: function showHideMoreOperation(e, self, value) {\n      self.setState({\n        isShowMoreOperation: value\n      });\n      if (value == true) {\n        var toTop = e.target.offsetTop;\n        var height = (0, _utils.query)(this.svnmanager.current).css('height');\n        var divHeight = parseInt(height.slice(0, height.length - 2));\n        var scrollHeight = self.props.rightHeight;\n        if (toTop + divHeight < scrollHeight) {\n          self.setState({\n            isDowndrop: 'downdrop'\n          });\n        } else {\n          self.setState({\n            isDowndrop: 'updrop'\n          });\n        }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        dispatch = _this$props.dispatch,\n        pageId = _this$props.pageId,\n        state = _this$props.state;\n      var isShowMoreOperationClass = this.state.isShowMoreOperation == true ? 'unvisiable' : 'visiable';\n      var top;\n      if (this.state.isDowndrop == 'downdrop') {\n        top = {\n          top: '8px'\n        };\n      } else {\n        var height = (0, _utils.query)(this.svnmanager.current).css('height');\n        var divHeight = parseInt(height.slice(0, height.length - 2));\n        top = {\n          top: -divHeight + 'px'\n        };\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])((0, _SvgUtil.svgPageSVN)(), _KDBizPageList[\"default\"][this.props.modifyclassname]),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'kde.key0001'\n        }),\n        onClick: function onClick(e) {\n          return _this2.showHideMoreOperation(e, _this2, true);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: top,\n        ref: this.svnmanager,\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].downdrop, _KDBizPageList[\"default\"][isShowMoreOperationClass])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svndiff', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_diff)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.bijiao'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svnlog', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_log)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.rizhi'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svnrevert', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_revert)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.gengxin'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svndelete', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_delete)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.shanchu'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _KDBizPageList[\"default\"].visiable,\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svn_move', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_move)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.yidong'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svnlock', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_lock)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.suoding'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svnunlock', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_lock)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.jiesuo'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick(e) {\n          return dispatch((0, _bizPageListAction.svnOperate)(pageId, _this2.props.id, _this2.props.type, 'svnclean', e));\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_KDBizPageList[\"default\"].svn_icon, _KDBizPageList[\"default\"].svn_clean)\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n        key: 'kde.qingli'\n      }))))));\n    }\n  }]);\n  return SVNOperation;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/devportal/util/SVNOperation.js?");

/***/ }),

/***/ "./src/devportal/util/SvgUtil.js":
/*!***************************************!*\
  !*** ./src/devportal/util/SvgUtil.js ***!
  \***************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.appIcon = appIcon;\nexports.cloudIcon = cloudIcon;\nexports.codeRepoAddress = codeRepoAddress;\nexports.funPackageIcon = funPackageIcon;\nexports.gotoCheckingIcon = gotoCheckingIcon;\nexports.pageIcon = pageIcon;\nexports.resetView = resetView;\nexports.saveschemaView = saveschemaView;\nexports.scriptIcon = scriptIcon;\nexports.svgAddUnit = svgAddUnit;\nexports.svgAppDetails = svgAppDetails;\nexports.svgArrowDown = svgArrowDown;\nexports.svgArrowUp = svgArrowUp;\nexports.svgCardView = svgCardView;\nexports.svgCardViewSelected = svgCardViewSelected;\nexports.svgChakan = svgChakan;\nexports.svgCheckin = svgCheckin;\nexports.svgCloudDelete = svgCloudDelete;\nexports.svgCloudEdit = svgCloudEdit;\nexports.svgCloudView = svgCloudView;\nexports.svgCodemanager = svgCodemanager;\nexports.svgCollect = svgCollect;\nexports.svgCollected = svgCollected;\nexports.svgCopyPage = svgCopyPage;\nexports.svgDelete = svgDelete;\nexports.svgDiSanFang = svgDiSanFang;\nexports.svgEdit = svgEdit;\nexports.svgExport = svgExport;\nexports.svgExtend = svgExtend;\nexports.svgExtendPage = svgExtendPage;\nexports.svgFastInherit = svgFastInherit;\nexports.svgGitmanager = svgGitmanager;\nexports.svgImport = svgImport;\nexports.svgInheritPage = svgInheritPage;\nexports.svgIsvCloudView = svgIsvCloudView;\nexports.svgKuoZhan = svgKuoZhan;\nexports.svgListView = svgListView;\nexports.svgListViewSelected = svgListViewSelected;\nexports.svgLock = svgLock;\nexports.svgMenu = svgMenu;\nexports.svgMore = svgMore;\nexports.svgNotownerChakan = svgNotownerChakan;\nexports.svgPageCheckin = svgPageCheckin;\nexports.svgPageCollect = svgPageCollect;\nexports.svgPageCollected = svgPageCollected;\nexports.svgPageDelete = svgPageDelete;\nexports.svgPageEdit = svgPageEdit;\nexports.svgPageEnable = svgPageEnable;\nexports.svgPageForbidden = svgPageForbidden;\nexports.svgPageImport = svgPageImport;\nexports.svgPageSVN = svgPageSVN;\nexports.svgPageView = svgPageView;\nexports.svgPreviewApp = svgPreviewApp;\nexports.svgPreviewPage = svgPreviewPage;\nexports.svgSVNmanager = svgSVNmanager;\nexports.svgScriptExport = svgScriptExport;\nexports.svgScriptMove = svgScriptMove;\nexports.svgUnUpload = svgUnUpload;\nexports.svgUnitDelete = svgUnitDelete;\nexports.svgUnitEdit = svgUnitEdit;\nexports.svgUnitGitMng = svgUnitGitMng;\nexports.svgUnitTestManager = svgUnitTestManager;\nexports.svgUnitTestOn = svgUnitTestOn;\nexports.svgUpdateMetaData = svgUpdateMetaData;\nexports.svgUpload = svgUpload;\nexports.svgView = svgView;\nexports.svgYuan = svgYuan;\nexports.svgYuanChang = svgYuanChang;\nexports.svgZiJian = svgZiJian;\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _classnames68 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Svg = _interopRequireDefault(__webpack_require__(/*! ../less/Svg.less */ \"./src/devportal/less/Svg.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * svg矢量图定义集合\n * by bj_xin_hao\n */\n// 业务云操作：编辑、删除、查看\nfunction svgCloudEdit() {\n  // 适配皮肤\n  var imgCloudEdit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-cloud-edit-svg'], true), 'kdfont kdfont-bianji kd-hover-color', true));\n  return imgCloudEdit;\n}\nfunction svgCloudDelete() {\n  // 适配皮肤\n  var imgCloudDelete = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-cloud-delete-svg'], true), 'kdfont kdfont-shanchu kd-hover-color', true));\n  return imgCloudDelete;\n}\nfunction svgCloudView() {\n  // 适配皮肤\n  var imgCloudView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-cloud-view-svg'], true), 'kdfont kdfont-chakanxiangqing kd-hover-color', true));\n  return imgCloudView;\n}\nfunction svgIsvCloudView() {\n  // 适配皮肤\n  var imgCloudView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-cloud-view-isvkingdee-svg'], true), 'kdfont kdfont-chakanxiangqing kd-hover-color', true));\n  return imgCloudView;\n}\n// 资源类型：原、自、扩、第三方、源\nfunction svgYuanChang() {\n  // 适配皮肤\n  var imgYuanChang = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-apptype-svg'], true), 'kdfont kdfont-yuan57 theme-fc', true));\n  return imgYuanChang;\n}\nfunction svgKuoZhan() {\n  // 适配皮肤\n  var imgKuoZhan = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-apptype-svg'], true), 'kdfont kdfont-kuo11 theme-fc', true));\n  return imgKuoZhan;\n}\nfunction svgZiJian() {\n  // 适配皮肤\n  var imgZiJian = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-apptype-svg'], true), 'kdfont kdfont-zijian theme-fc', true));\n  return imgZiJian;\n}\nfunction svgDiSanFang() {\n  // 适配皮肤\n  var imgDiSanFang = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-apptype-svg'], true), 'kdfont kdfont-disanfangyingyong theme-fc', true));\n  return imgDiSanFang;\n}\nfunction svgYuan() {\n  // 适配皮肤\n  var imgYuan = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-apptype-svg'], true), 'kdfont kdfont-yuan theme-fc', true));\n  return imgYuan;\n}\n\n// 操作：编辑、删除、查看\nfunction svgEdit() {\n  // 适配皮肤\n  var imgEdit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-edit-svg'], true), 'kdfont kdfont-bianji kd-hover-color', true));\n  return imgEdit;\n}\nfunction svgChakan() {\n  // 适配皮肤\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-view-svg'], true), 'kdfont kdfont-chakanxiangqing kd-hover-color', true));\n  return imgView;\n}\nfunction svgNotownerChakan() {\n  // 适配皮肤\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-notowner-view-svg'], true), 'kdfont kdfont-chakanxiangqing kd-hover-color', true));\n  return imgView;\n}\nfunction svgDelete() {\n  // 适配皮肤\n  var imgDelete = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-delete-svg'], true), 'kdfont kdfont-shanchu kd-hover-color', true));\n  return imgDelete;\n}\nfunction svgCollect() {\n  // 适配皮肤\n  var imgCollect = (0, _classnames68[\"default\"])({\n    'kdfont kdfont-xingxing_xianxing kd-hover-color': true\n  });\n  return imgCollect;\n}\nfunction svgCollected() {\n  // 适配皮肤\n  var imgCollected = (0, _classnames68[\"default\"])({\n    'kdfont kdfont-xingxing_shixin theme-fc': true\n  });\n  return imgCollected;\n}\n// 功能：应用详情、导入、菜单管理、资源同步、签入、SVN管理、应用预览、扩展应用、导出应用、视图\nfunction svgAppDetails() {\n  // 适配皮肤\n  var imgAppDetails = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-detail-svg'], true), 'kdfont kdfont-xiangqing kd-hover-color', true));\n  return imgAppDetails;\n}\nfunction svgImport() {\n  // 适配皮肤\n  var imgImport = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-import-svg'], true), 'kdfont kdfont-daoru kd-hover-color', true));\n  return imgImport;\n}\nfunction svgMenu() {\n  // 适配皮肤\n  var imgMenu = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-menu-svg'], true), 'kdfont kdfont-xiangmu kd-hover-color', true));\n  return imgMenu;\n}\nfunction svgLock(locking) {\n  // 适配皮肤\n  var lockSvgData = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-lock-svg'], true), 'kdfont kd-hover-color', true), 'kdfont-suoding_xian', locking), 'kdfont-jiesuo_xian', !locking));\n  return lockSvgData;\n}\nfunction svgUpdateMetaData() {\n  // 适配皮肤\n  var imgUpdateMetaData = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['update_app-svg'], true), 'kdfont kdfont-congSVNgengxinyuanshuju kd-hover-color', true));\n  return imgUpdateMetaData;\n}\nfunction svgCheckin() {\n  // 适配皮肤\n  var imgCheckin = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-checkin-svg'], true), 'kdfont kdfont-qianru kd-hover-color', true));\n  return imgCheckin;\n}\nfunction svgSVNmanager() {\n  // 适配皮肤\n  var imgSVNmanager = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['svnmanager-svg'], true), 'kdfont kdfont-SVNguanlihuise kd-hover-color', true));\n  return imgSVNmanager;\n}\nfunction svgGitmanager() {\n  // 适配皮肤\n  // 修改为新的东西\n  var imgGitmanager = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['gitmanager-svg'], true), 'kdfont kdfont-GIT kd-hover-color', true));\n  return imgGitmanager;\n}\nfunction svgCodemanager() {\n  // 适配皮肤\n  var imgCodemanager = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['codemanager-svg'], true), 'kdfont kdfont-daima kd-hover-color', true));\n  return imgCodemanager;\n  /*\n  // 适配皮肤\n    const imgSVNmanager = classnames({\n      [styles['svnmanager-svg']]: true,\n      'kdfont kdfont-daimaguanli kd-hover-color': true\n    })\n    return imgSVNmanager;\n  */\n}\nfunction svgPreviewApp() {\n  // 适配皮肤\n  var imgPreviewApp = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['preview_app-svg'], true), 'kdfont kdfont-yulan kd-hover-color', true));\n  return imgPreviewApp;\n}\nfunction svgUpload() {\n  // 适配皮肤\n  var imgUpload = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-upload-svg'], true), 'kdfont kdfont-fabu kd-hover-color', true));\n  return imgUpload;\n}\nfunction svgUnUpload() {\n  // 适配皮肤\n  var imgUnUpload = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-unUpload-svg'], true), 'kdfont kdfont-quxiaofabu kd-hover-color', true));\n  return imgUnUpload;\n}\n// 禁用\nfunction svgPageEnable() {\n  // 适配皮肤\n  var imgUpload = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-enable-svg'], true), 'kdfont kdfont-quxiaofabu kd-hover-color', true));\n  return imgUpload;\n}\n// 新增地址维护\nfunction codeRepoAddress() {\n  var codeRepo = (0, _classnames68[\"default\"])(_defineProperty({\n    'kdfont kdfont-dizhiweihu kd-hover-color': true\n  }, _Svg[\"default\"]['gitmanager-svg'], true));\n  return codeRepo;\n}\n// 启用\nfunction svgPageForbidden() {\n  // 适配皮肤\n  var imgUnUpload = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-forbidden-svg'], true), 'kdfont kdfont-fabu kd-hover-color', true));\n  return imgUnUpload;\n}\nfunction svgExtend() {\n  // 适配皮肤\n  var imgExtend = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['extend_icon-svg'], true), 'kdfont kdfont-kuozhan9 kd-hover-color', true));\n  return imgExtend;\n}\n\n// 页面继承\nfunction svgInheritPage() {\n  var imgInherit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-inherit-svg'], true), 'kdfont kdfont-jicheng12 kd-hover-color', true));\n  return imgInherit;\n}\nfunction svgExport() {\n  // 适配皮肤\n  var imgExport = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-export-svg'], true), 'kdfont kdfont-daochu kd-hover-color', true));\n  return imgExport;\n}\nfunction svgView() {\n  // 适配皮肤(图标未提供)\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['view-svg'], true), 'kdfont kdfont-jicheng kd-hover-color', true));\n  return imgView;\n}\nfunction resetView() {\n  // 适配皮肤(图标未提供)\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['reset-svg'], true), 'kdfont kdfont-huifuchuchangshezhi', true));\n  return imgView;\n}\nfunction saveschemaView() {\n  // 适配皮肤(图标未提供)\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['reset-svg'], true), 'kdfont kdfont-huifuchuchangshezhi', true));\n  return imgView;\n}\n\n// 卡片视图、列表视图\nfunction svgCardView() {\n  // 适配皮肤\n  var imgCardView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['card-svg'], true), 'kdfont kdfont-shitu_qiapian kd-hover-color', true));\n  return imgCardView;\n}\nfunction svgCardViewSelected() {\n  // 适配皮肤\n  var imgCardView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['card-svg'], true), 'kdfont kdfont-shitu_qiapian theme-fc', true));\n  return imgCardView;\n}\nfunction svgListView() {\n  // 适配皮肤\n  var imgListView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['list-svg'], true), 'kdfont kdfont-shitu_liebiao kd-hover-color', true));\n  return imgListView;\n}\nfunction svgListViewSelected() {\n  // 适配皮肤\n  var imgListView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['list-svg'], true), 'kdfont kdfont-shitu_liebiao theme-fc', true));\n  return imgListView;\n}\n// 功能分组：新增、修改、删除、二级收起/展开\nfunction svgAddUnit() {\n  // 适配皮肤\n  var imgAddUnit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['addBizUnit-svg'], true), 'kdfont kdfont-tianjia kd-hover-color', true));\n  return imgAddUnit;\n}\nfunction svgUnitEdit() {\n  // 适配皮肤\n  var imgUnitEdit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-unit-edit-svg'], true), 'kdfont kdfont-bianji kd-hover-color', true));\n  return imgUnitEdit;\n}\nfunction svgUnitGitMng() {\n  var codeRepo = (0, _classnames68[\"default\"])(_defineProperty({\n    'kdfont kdfont-dizhiweihu kd-hover-color': true\n  }, _Svg[\"default\"]['icon-unit-gitmng-svg'], true));\n  return codeRepo;\n}\nfunction svgUnitDelete() {\n  // 适配皮肤\n  var imgUnitDelete = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-unit-delete-svg'], true), 'kdfont kdfont-shanchu kd-hover-color', true));\n  return imgUnitDelete;\n}\nfunction svgArrowUp() {\n  // 适配皮肤\n  var imgArrowUp = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['arrow_up-svg'], true), 'kdfont kdfont-shangla kd-hover-color', true));\n  return imgArrowUp;\n}\nfunction svgArrowDown() {\n  // 适配皮肤\n  var imgArrowDown = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['arrow_down-svg'], true), 'kdfont kdfont-xiala kd-hover-color', true));\n  return imgArrowDown;\n}\n// 页面操作：导入、收藏、编辑、删除、预览、签入、视图、SVN管理、单元测试管理、更多\nfunction svgPageImport() {\n  // 适配皮肤\n  var imgPageImport = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-import-svg'], true), 'kdfont kdfont-daoru kd-hover-color', true));\n  return imgPageImport;\n}\nfunction svgPageCollect() {\n  // 适配皮肤\n  var imgCollect = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-star-svg'], true), 'kdfont kdfont-xingxing_xianxing kd-hover-color', true));\n  return imgCollect;\n}\nfunction svgPageCollected() {\n  // 适配皮肤\n  var imgCollected = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-star-svg'], true), 'kdfont kdfont-xingxing_shixin theme-fc', true));\n  return imgCollected;\n}\nfunction svgPageEdit() {\n  // 适配皮肤\n  var imgPageEdit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-edit-svg'], true), 'kdfont kdfont-bianji kd-hover-color', true));\n  return imgPageEdit;\n}\nfunction svgPageDelete() {\n  // 适配皮肤\n  var imgPageDelete = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-delete-svg'], true), 'kdfont kdfont-shanchu kd-hover-color', true));\n  return imgPageDelete;\n}\nfunction svgPreviewPage() {\n  // 适配皮肤\n  var imgPreviewPage = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-preview-svg'], true), 'kdfont kdfont-yulan kd-hover-color', true));\n  return imgPreviewPage;\n}\nfunction svgPageCheckin() {\n  // 适配皮肤\n  var imgPageCheckin = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-checkin-svg'], true), 'kdfont kdfont-qianru kd-hover-color', true));\n  return imgPageCheckin;\n}\nfunction svgPageView() {\n  // 适配皮肤(图标未提供)\n  var imgView = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-view-svg'], true), 'kdfont kdfont-jicheng kd-hover-color', true));\n  return imgView;\n}\nfunction svgPageSVN() {\n  // 适配皮肤(图标未提供)\n  var imgPageSVN = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['svn_more-svg'], true), 'kdfont kdfont-SVNguanlihuise kd-hover-color', true));\n  return imgPageSVN;\n}\nfunction svgUnitTestManager() {\n  // 适配皮肤\n  var imgUnitTestManager = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['unittestmanager-svg'], true), 'kdfont kdfont-chakanceshijieguohuise kd-hover-color', true));\n  return imgUnitTestManager;\n}\nfunction svgMore() {\n  // 适配皮肤\n  var imgMore = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['more-svg'], true), 'kdfont kdfont-gengduo kd-hover-color', true));\n  return imgMore;\n}\nfunction svgScriptExport() {\n  // 适配皮肤\n  var imgExport = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-script-export-svg'], true), 'kdfont kdfont-daochu kd-hover-color', true));\n  return imgExport;\n}\nfunction svgScriptMove() {\n  // 适配皮肤(图标未提供)\n  var imgScriptMove = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-script-move-svg'], true), 'kdfont kdfont-tiaozhengbuju kd-hover-color', true));\n  return imgScriptMove;\n}\nfunction svgUnitTestOn() {\n  // 适配皮肤\n  var imgUnitTestOn = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['unittest_on-svg'], true), 'kdfont kdfont-yonglizhihanghuise kd-hover-color', true));\n  return imgUnitTestOn;\n}\nfunction svgExtendPage() {\n  // 适配皮肤\n  var imgExtend = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-extend-svg'], true), 'kdfont kdfont-kuozhan9 kd-hover-color', true));\n  return imgExtend;\n}\n\n// 元数据校验入口图标\nfunction gotoCheckingIcon() {\n  // 开发体检\n  var imgChecking = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-checking-svg'], true), 'kdfont kdfont-anquanjiance kd-hover-color', true));\n  return imgChecking;\n}\n// 页面复制图标\nfunction svgCopyPage() {\n  // 适配皮肤\n  var imgMore = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-page-copy-svg'], true), 'kdfont kdfont-fuzhi kd-hover-color', true));\n  return imgMore;\n}\n\n// KDE 资源树-业务云\nfunction cloudIcon() {\n  var cloudIcon = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-kde-jiaoben'], true), 'kdfont kdfont-jiaoben_yewuyun', true));\n  return cloudIcon;\n}\n// KDE 资源树-应用\nfunction appIcon() {\n  var appIcon = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-kde-jiaoben'], true), 'kdfont kdfont-jiaoben_yingyong', true));\n  return appIcon;\n}\n// KDE 资源树-功能分组\nfunction funPackageIcon() {\n  var funPackageIcon = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-kde-jiaoben'], true), 'kdfont kdfont-jiaoben_gongnengfenzu', true));\n  return funPackageIcon;\n}\n// KDE 资源树-页面\nfunction pageIcon() {\n  var pageIcon = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-kde-jiaoben'], true), 'kdfont kdfont-jiaoben_yemian', true));\n  return pageIcon;\n}\n// KDE 资源树-脚本\nfunction scriptIcon() {\n  var scriptIcon = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-kde-jiaoben'], true), 'kdfont kdfont-jiaoben_kswenjian', true));\n  return scriptIcon;\n}\n// 快捷继承页面入口图标\nfunction svgFastInherit() {\n  var imgInherit = (0, _classnames68[\"default\"])(_defineProperty(_defineProperty({}, _Svg[\"default\"]['icon-inherit-svg'], true), 'kdfont kdfont-jichengcaozuo kd-hover-color', true));\n  return imgInherit;\n}\n\n//# sourceURL=webpack://bos-platform/./src/devportal/util/SvgUtil.js?");

/***/ }),

/***/ "./src/devportal/less/KDBizAppList.less":
/*!**********************************************!*\
  !*** ./src/devportal/less/KDBizAppList.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"header\":\"KDBizAppList_header_3LMZ\",\"bizCloudTitle\":\"KDBizAppList_bizCloudTitle_25YZ\",\"bizCloudName\":\"KDBizAppList_bizCloudName_1EMS\",\"input-group-addon\":\"KDBizAppList_input-group-addon_17HJ\",\"gap-bottom\":\"KDBizAppList_gap-bottom_1bex\",\"prop\":\"KDBizAppList_prop_25Ua\",\"number\":\"KDBizAppList_number_2uBp\",\"line\":\"KDBizAppList_line_7V7W\",\"right\":\"KDBizAppList_right_2ijr\",\"left\":\"KDBizAppList_left_1sT9\",\"iconfloat\":\"KDBizAppList_iconfloat_3nWV\",\"addNewApp\":\"KDBizAppList_addNewApp_2cjT\",\"appName\":\"KDBizAppList_appName_jerk\",\"appNameNoIcon\":\"KDBizAppList_appNameNoIcon_1A5m\",\"list-area\":\"KDBizAppList_list-area_198Y\",\"list-item\":\"KDBizAppList_list-item_1mel\",\"addNew-item\":\"KDBizAppList_addNew-item_2kJP\",\"bizApp-item\":\"KDBizAppList_bizApp-item_3beP\",\"title\":\"KDBizAppList_title_2BUw\",\"content\":\"KDBizAppList_content_3gFn\",\"operation\":\"KDBizAppList_operation_2_uh\",\"selected\":\"KDBizAppList_selected_3Uqp\",\"icon-lock\":\"KDBizAppList_icon-lock_1sno\",\"icon-import\":\"KDBizAppList_icon-import_1PjI\",\"icon-export\":\"KDBizAppList_icon-export_GVk5\",\"icon-star\":\"KDBizAppList_icon-star_2_8H\",\"icon-star_hl\":\"KDBizAppList_icon-star_hl_2kdB\",\"icon-notowner-star\":\"KDBizAppList_icon-notowner-star_2ryt\",\"icon-notowner-star_hl\":\"KDBizAppList_icon-notowner-star_hl_2QnP\",\"icon-more\":\"KDBizAppList_icon-more_8i4O\",\"icon-upload\":\"KDBizAppList_icon-upload_34Zs\",\"icon-unUpload\":\"KDBizAppList_icon-unUpload_2Wsn\",\"icon-fold\":\"KDBizAppList_icon-fold_37uw\",\"icon-expand\":\"KDBizAppList_icon-expand_33D9\",\"icon-preview\":\"KDBizAppList_icon-preview_1TNK\",\"icon-edit\":\"KDBizAppList_icon-edit_2fVQ\",\"icon-checkin\":\"KDBizAppList_icon-checkin_19V5\",\"icon-script\":\"KDBizAppList_icon-script_1GyM\",\"pageItemIconLeft\":\"KDBizAppList_pageItemIconLeft_1NXx\",\"pageItemIconRight\":\"KDBizAppList_pageItemIconRight_Dnnu\",\"icon-menu\":\"KDBizAppList_icon-menu_26XG\",\"bar\":\"KDBizAppList_bar_26Yv\",\"icon-unchecked\":\"KDBizAppList_icon-unchecked_OVIZ\",\"icon-delete\":\"KDBizAppList_icon-delete_20Vv\",\"icon-add\":\"KDBizAppList_icon-add_ruwg\",\"icon-original\":\"KDBizAppList_icon-original_2u44\",\"icon_thirdapp\":\"KDBizAppList_icon_thirdapp_2cI-\",\"icon-extend\":\"KDBizAppList_icon-extend_uMzK\",\"icon-self\":\"KDBizAppList_icon-self_2Dlz\",\"icon-detail\":\"KDBizAppList_icon-detail_3L1I\",\"extend_icon\":\"KDBizAppList_extend_icon_1m3C\",\"preview_app\":\"KDBizAppList_preview_app_2NsR\",\"update_app\":\"KDBizAppList_update_app_HyQN\",\"view\":\"KDBizAppList_view_2nXa\",\"svnmanager\":\"KDBizAppList_svnmanager_2Ub9\",\"downdrop\":\"KDBizAppList_downdrop_8y5k\",\"participant\":\"KDBizAppList_participant_3sEr\",\"leaveteam\":\"KDBizAppList_leaveteam_2_yz\",\"changemanager\":\"KDBizAppList_changemanager_3MTg\",\"accountedit\":\"KDBizAppList_accountedit_101f\",\"status\":\"KDBizAppList_status_IJRC\",\"bizCloudChange\":\"KDBizAppList_bizCloudChange_1Zp6\",\"over-layer\":\"KDBizAppList_over-layer_3pBH\",\"bizCloud_panel\":\"KDBizAppList_bizCloud_panel_3jMh\",\"container\":\"KDBizAppList_container_3yE7\",\"row\":\"KDBizAppList_row_QIo_\",\"col-xs-2\":\"KDBizAppList_col-xs-2_39u3\",\"add\":\"KDBizAppList_add_1E1d\",\"plus\":\"KDBizAppList_plus_2QCa\",\"addCloud\":\"KDBizAppList_addCloud_3tHS\",\"cloud\":\"KDBizAppList_cloud_1JdF\",\"mainContent\":\"KDBizAppList_mainContent_4ovj\",\"name\":\"KDBizAppList_name_2UQ5\",\"edit\":\"KDBizAppList_edit_3vr2\",\"long\":\"KDBizAppList_long_Y7w2\",\"delete\":\"KDBizAppList_delete_2CYE\",\"detailMessage\":\"KDBizAppList_detailMessage_39Wn\",\"button-container\":\"KDBizAppList_button-container_17IQ\",\"cancel\":\"KDBizAppList_cancel_4rcI\",\"confirm\":\"KDBizAppList_confirm_3Oit\",\"bizCloud_Pop\":\"KDBizAppList_bizCloud_Pop_k2Zi\",\"visiable\":\"KDBizAppList_visiable_1Oaq\",\"unvisiable\":\"KDBizAppList_unvisiable_13Z9\",\"themePicArea\":\"KDBizAppList_themePicArea_1zT2\",\"themePic\":\"KDBizAppList_themePic_2UvJ\",\"app-theme-area\":\"KDBizAppList_app-theme-area_3dOW\",\"app-theme\":\"KDBizAppList_app-theme_2i2n\",\"bodyPage\":\"KDBizAppList_bodyPage_1XE2\",\"bizTitle\":\"KDBizAppList_bizTitle_1EKN\",\"tabTitle\":\"KDBizAppList_tabTitle_3IMq\",\"app-list\":\"KDBizAppList_app-list_1Vt0\",\"icon-notowner-star-svg\":\"KDBizAppList_icon-notowner-star-svg_6G3B\",\"icon-notowner-star-third-svg\":\"KDBizAppList_icon-notowner-star-third-svg_2sq3\",\"icon-star-svg\":\"KDBizAppList_icon-star-svg_2WTv\",\"check\":\"KDBizAppList_check_368d\",\"checkForIE\":\"KDBizAppList_checkForIE_1mEM\",\"checkForOther\":\"KDBizAppList_checkForOther_1yWx\",\"appIndustryStyle\":\"KDBizAppList_appIndustryStyle_2te1\",\"cloudIndustryStyle\":\"KDBizAppList_cloudIndustryStyle_1HIo\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/KDBizAppList.less?");

/***/ }),

/***/ "./src/devportal/less/KDBizPageList.less":
/*!***********************************************!*\
  !*** ./src/devportal/less/KDBizPageList.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"loadingContainer\":\"KDBizPageList_loadingContainer_fneG\",\"mainContent\":\"KDBizPageList_mainContent_2kI2\",\"mainToolbar\":\"KDBizPageList_mainToolbar_2RO4\",\"bread\":\"KDBizPageList_bread_344J\",\"cloud\":\"KDBizPageList_cloud_2jia\",\"oriapp\":\"KDBizPageList_oriapp_3Jl3\",\"icon-add\":\"KDBizPageList_icon-add_3_EB\",\"icon-import-big\":\"KDBizPageList_icon-import-big_4fV6\",\"icon-import\":\"KDBizPageList_icon-import_3Ob1\",\"sign\":\"KDBizPageList_sign_1iHU\",\"app\":\"KDBizPageList_app_2rT9\",\"unit\":\"KDBizPageList_unit_fa01\",\"appChange\":\"KDBizPageList_appChange_kQIl\",\"changeApp\":\"KDBizPageList_changeApp_2WAI\",\"dropdown\":\"KDBizPageList_dropdown_2XQL\",\"selected\":\"KDBizPageList_selected_234l\",\"content\":\"KDBizPageList_content_2FeO\",\"left\":\"KDBizPageList_left_3P_l\",\"bizUnits\":\"KDBizPageList_bizUnits_3v3t\",\"title\":\"KDBizPageList_title_3FQZ\",\"addBizUnit\":\"KDBizPageList_addBizUnit_tQZ_\",\"bizUnit\":\"KDBizPageList_bizUnit_1UbC\",\"bizUnitChild\":\"KDBizPageList_bizUnitChild_cntt\",\"edit\":\"KDBizPageList_edit_3oyW\",\"delete\":\"KDBizPageList_delete_1D-F\",\"arrow_left\":\"KDBizPageList_arrow_left_30oi\",\"arrow_down\":\"KDBizPageList_arrow_down_2ela\",\"name\":\"KDBizPageList_name_26X6\",\"eaname\":\"KDBizPageList_eaname_OHdS\",\"eaicon-original\":\"KDBizPageList_eaicon-original_2GI9\",\"eaicon-extend\":\"KDBizPageList_eaicon-extend_3a5d\",\"eaicon-child-extend\":\"KDBizPageList_eaicon-child-extend_3T6S\",\"eaicon-self\":\"KDBizPageList_eaicon-self_sQwo\",\"easeicon-extend\":\"KDBizPageList_easeicon-extend_2LJ1\",\"easeicon-original\":\"KDBizPageList_easeicon-original_3hcR\",\"easeicon-self\":\"KDBizPageList_easeicon-self_Bg9f\",\"updatesvn\":\"KDBizPageList_updatesvn_2oYv\",\"unittestmanage\":\"KDBizPageList_unittestmanage_KeNI\",\"unittest_on\":\"KDBizPageList_unittest_on_2rtR\",\"right\":\"KDBizPageList_right_Y-_L\",\"bizTitle\":\"KDBizPageList_bizTitle_3Nrk\",\"myTab\":\"KDBizPageList_myTab_2ROX\",\"nav-tabs\":\"KDBizPageList_nav-tabs_3A2q\",\"import\":\"KDBizPageList_import_LRdr\",\"importpage\":\"KDBizPageList_importpage_3C1A\",\"glyphicon-arrow-up\":\"KDBizPageList_glyphicon-arrow-up_3GP_\",\"bizAdd-item\":\"KDBizPageList_bizAdd-item_1_yF\",\"pages\":\"KDBizPageList_pages_1SMT\",\"bizPage-item\":\"KDBizPageList_bizPage-item_37D6\",\"addNewPage\":\"KDBizPageList_addNewPage_1J87\",\"addNewTest\":\"KDBizPageList_addNewTest_2V9r\",\"objtitle\":\"KDBizPageList_objtitle_1AtP\",\"unittest_view\":\"KDBizPageList_unittest_view_18L1\",\"unittestsearch\":\"KDBizPageList_unittestsearch_3Lup\",\"unittesttabTitle\":\"KDBizPageList_unittesttabTitle_sOEk\",\"checkin_unittest\":\"KDBizPageList_checkin_unittest_3b-p\",\"export_unittest\":\"KDBizPageList_export_unittest_3tEY\",\"pageTitle\":\"KDBizPageList_pageTitle_2Soh\",\"pageName\":\"KDBizPageList_pageName_254_\",\"pageEAName\":\"KDBizPageList_pageEAName_Oxcc\",\"pageContent\":\"KDBizPageList_pageContent_ACUF\",\"prop\":\"KDBizPageList_prop_22r_\",\"number\":\"KDBizPageList_number_2a15\",\"operation\":\"KDBizPageList_operation_10El\",\"delete-page\":\"KDBizPageList_delete-page_1Y2A\",\"edit-page\":\"KDBizPageList_edit-page_2lv8\",\"icon-star\":\"KDBizPageList_icon-star_Zf4P\",\"icon-star_hl\":\"KDBizPageList_icon-star_hl_1Xeu\",\"open\":\"KDBizPageList_open_3um2\",\"upload\":\"KDBizPageList_upload_1v6o\",\"more\":\"KDBizPageList_more_3hSZ\",\"downdrop\":\"KDBizPageList_downdrop_1USy\",\"svn_more\":\"KDBizPageList_svn_more_oKeD\",\"svn_icon\":\"KDBizPageList_svn_icon_1VIS\",\"svn_diff\":\"KDBizPageList_svn_diff_2bm5\",\"svn_log\":\"KDBizPageList_svn_log_1KiQ\",\"svn_revert\":\"KDBizPageList_svn_revert_12T1\",\"svn_delete\":\"KDBizPageList_svn_delete_2q8L\",\"svn_move\":\"KDBizPageList_svn_move_2SiD\",\"svn_lock\":\"KDBizPageList_svn_lock_288Z\",\"svn_clean\":\"KDBizPageList_svn_clean_3F9j\",\"extend_icon\":\"KDBizPageList_extend_icon_fZX-\",\"extend_page_icon\":\"KDBizPageList_extend_page_icon_24z8\",\"copy_page_icon\":\"KDBizPageList_copy_page_icon_asv0\",\"import_icon\":\"KDBizPageList_import_icon_2LNf\",\"preview\":\"KDBizPageList_preview_19xx\",\"checkin\":\"KDBizPageList_checkin_17R-\",\"view\":\"KDBizPageList_view_1Eif\",\"icon-unUpload\":\"KDBizPageList_icon-unUpload_AV26\",\"deviceType\":\"KDBizPageList_deviceType_QMDC\",\"floatRight\":\"KDBizPageList_floatRight_1BAj\",\"icon-original\":\"KDBizPageList_icon-original_22Hl\",\"icon-extend\":\"KDBizPageList_icon-extend_1_wb\",\"icon-self\":\"KDBizPageList_icon-self_WfgK\",\"icon-phone\":\"KDBizPageList_icon-phone_2TUg\",\"icon-pc\":\"KDBizPageList_icon-pc_1RZ4\",\"active\":\"KDBizPageList_active_2BkF\",\"devportal_selectedUnit\":\"KDBizPageList_devportal_selectedUnit_3dmx\",\"manageName\":\"KDBizPageList_manageName_byon\",\"manageTempName\":\"KDBizPageList_manageTempName_M2wg\",\"tabTitle\":\"KDBizPageList_tabTitle_3x3T\",\"tabDev\":\"KDBizPageList_tabDev_2BZU\",\"tabPageGroup\":\"KDBizPageList_tabPageGroup_1594\",\"visible\":\"KDBizPageList_visible_2AyD\",\"invisible\":\"KDBizPageList_invisible_2Itw\",\"tabContent\":\"KDBizPageList_tabContent_3y-2\",\"phone\":\"KDBizPageList_phone_z7we\",\"web\":\"KDBizPageList_web_1rOZ\",\"baseForm\":\"KDBizPageList_baseForm_3Yao\",\"arrows_down\":\"KDBizPageList_arrows_down_3iSK\",\"arrows_left\":\"KDBizPageList_arrows_left_3X4b\",\"uninlinevisiable\":\"KDBizPageList_uninlinevisiable_1tsh\",\"visiable\":\"KDBizPageList_visiable_2DGD\",\"unvisiable\":\"KDBizPageList_unvisiable_2qrC\",\"visibility\":\"KDBizPageList_visibility_1jeQ\",\"unvisibility\":\"KDBizPageList_unvisibility_3hUy\",\"layoutlist\":\"KDBizPageList_layoutlist_1is2\",\"card\":\"KDBizPageList_card_2MrE\",\"list\":\"KDBizPageList_list_1xlt\",\"cardLayout\":\"KDBizPageList_cardLayout_2b4t\",\"listLayout\":\"KDBizPageList_listLayout_1psF\",\"scriptItem\":\"KDBizPageList_scriptItem_2rmb\",\"scriptTitle\":\"KDBizPageList_scriptTitle_tFFM\",\"scriptName\":\"KDBizPageList_scriptName_pmWO\",\"scriptContent\":\"KDBizPageList_scriptContent_3mON\",\"checkin_script\":\"KDBizPageList_checkin_script_3vzM\",\"import_script\":\"KDBizPageList_import_script_3QIf\",\"export_script\":\"KDBizPageList_export_script_irHG\",\"move_script\":\"KDBizPageList_move_script_2_3b\",\"cardArea\":\"KDBizPageList_cardArea_1ue8\",\"LinkCard\":\"KDBizPageList_LinkCard_3eZK\",\"YunZhiJiaCard\":\"KDBizPageList_YunZhiJiaCard_1y6d\",\"BillDigestCard\":\"KDBizPageList_BillDigestCard_gl_0\",\"ListStatisticsCard\":\"KDBizPageList_ListStatisticsCard_2lf1\",\"StatementCard\":\"KDBizPageList_StatementCard_1DxF\",\"CustomCard\":\"KDBizPageList_CustomCard_DgqE\",\"NewsCard\":\"KDBizPageList_NewsCard_2Qu4\",\"manageSelectType\":\"KDBizPageList_manageSelectType_2Yvl\",\"manageType\":\"KDBizPageList_manageType_1rYK\",\"icon-detail\":\"KDBizPageList_icon-detail_24Zw\",\"adnnnewpageinline\":\"KDBizPageList_adnnnewpageinline_3EQW\",\"adnnnewpageblock\":\"KDBizPageList_adnnnewpageblock_2UMz\",\"visiable_flex\":\"KDBizPageList_visiable_flex_1xqI\",\"endvisible\":\"KDBizPageList_endvisible_3JtO\",\"invisiable\":\"KDBizPageList_invisiable_rskP\",\"addnewstyle\":\"KDBizPageList_addnewstyle_1c-R\",\"codeManage\":\"KDBizPageList_codeManage_1RWL\",\"gitManage\":\"KDBizPageList_gitManage_2__a\",\"lock\":\"KDBizPageList_lock_2aq4\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/KDBizPageList.less?");

/***/ }),

/***/ "./src/devportal/less/KDE.less":
/*!*************************************!*\
  !*** ./src/devportal/less/KDE.less ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"kde\":\"KDE_kde_eXwz\",\"kde-left-rewise\":\"KDE_kde-left-rewise_1dAE\",\"kde-right-rewise\":\"KDE_kde-right-rewise_m3uE\",\"kde-middle-rewise\":\"KDE_kde-middle-rewise_1YQc\",\"menubarArea\":\"KDE_menubarArea_1kkY\",\"kdeContentArea\":\"KDE_kdeContentArea_2de9\",\"resourceTreeArea\":\"KDE_resourceTreeArea_3tbU\",\"editorContentArea\":\"KDE_editorContentArea_2lE2\",\"editorMainArea\":\"KDE_editorMainArea_zCJN\",\"outputMainArea\":\"KDE_outputMainArea_2oNs\",\"outputArea\":\"KDE_outputArea_2SEx\",\"editorArea\":\"KDE_editorArea_2-8W\",\"outlineArea\":\"KDE_outlineArea_3GqK\",\"menuBar\":\"KDE_menuBar_FE4v\",\"menuBar-item\":\"KDE_menuBar-item_zjmu\",\"menuBar-item-name\":\"KDE_menuBar-item-name_159B\",\"dropBar-item\":\"KDE_dropBar-item_1BnX\",\"dropBar-second-item\":\"KDE_dropBar-second-item_FiM3\",\"dropBar\":\"KDE_dropBar_3MBF\",\"dropBar-item-name\":\"KDE_dropBar-item-name_11mq\",\"dropBar-item-icon\":\"KDE_dropBar-item-icon_228e\",\"undo\":\"KDE_undo_1Oxj\",\"redo\":\"KDE_redo_ymvl\",\"cut\":\"KDE_cut_3dqh\",\"copy\":\"KDE_copy_3iLM\",\"paste\":\"KDE_paste_2aWe\",\"refresh\":\"KDE_refresh_3LDC\",\"fontsize\":\"KDE_fontsize_2t1J\",\"dropBar-second\":\"KDE_dropBar-second_1Dll\",\"unrealized\":\"KDE_unrealized_2_9J\",\"dropBar-item-arrow-right\":\"KDE_dropBar-item-arrow-right_aM8j\",\"shortcutKey\":\"KDE_shortcutKey_131X\",\"resourceTree\":\"KDE_resourceTree_264-\",\"resourceTree-banner\":\"KDE_resourceTree-banner_2WT2\",\"resourceTree-view\":\"KDE_resourceTree-view_2N1B\",\"selected\":\"KDE_selected_ORbP\",\"resourceTree-content\":\"KDE_resourceTree-content_3LDq\",\"resourceTree-title\":\"KDE_resourceTree-title_2wxB\",\"resourceTree-mainContent\":\"KDE_resourceTree-mainContent_1-KA\",\"resourceTree-search\":\"KDE_resourceTree-search_jWU3\",\"resourceTree-changeApp\":\"KDE_resourceTree-changeApp_wJd9\",\"resourceTree-tree\":\"KDE_resourceTree-tree_tYA7\",\"resourceTree-treelist\":\"KDE_resourceTree-treelist_2onP\",\"resourceTree-treenode\":\"KDE_resourceTree-treenode_CL8q\",\"resourceTree-leafnode\":\"KDE_resourceTree-leafnode_2AT0\",\"resourceTree-node-name\":\"KDE_resourceTree-node-name_17a3\",\"resourceTree-nodeTitle\":\"KDE_resourceTree-nodeTitle_3xIH\",\"resourceTree-nodeContent\":\"KDE_resourceTree-nodeContent_30oN\",\"resourceTree-left\":\"KDE_resourceTree-left_2HXG\",\"resourceTree-node-arrowRight\":\"KDE_resourceTree-node-arrowRight_1rvu\",\"resourceTree-node-arrowDown\":\"KDE_resourceTree-node-arrowDown_Npbc\",\"resourceTree-node-folderType\":\"KDE_resourceTree-node-folderType_3Qxw\",\"resourceTree-node-folderType-full\":\"KDE_resourceTree-node-folderType-full_1HoV\",\"resourceTree-node-folderType-null\":\"KDE_resourceTree-node-folderType-null_1560\",\"resourceTree-changeApp-appList\":\"KDE_resourceTree-changeApp-appList_1GMM\",\"resourceTree-changeApp-item\":\"KDE_resourceTree-changeApp-item_uhdR\",\"resourceTree-changeApp-appItem\":\"KDE_resourceTree-changeApp-appItem_2pHU\",\"yuan_icon\":\"KDE_yuan_icon_nAfd\",\"kuo_icon\":\"KDE_kuo_icon_2yLl\",\"zi_icon\":\"KDE_zi_icon_1zVN\",\"editorArea-mainContent\":\"KDE_editorArea-mainContent_1n7d\",\"editorArea-title\":\"KDE_editorArea-title_Xbv0\",\"editorArea-title-tabs\":\"KDE_editorArea-title-tabs_10-e\",\"editorArea-title-fullScreen\":\"KDE_editorArea-title-fullScreen_3q6H\",\"editorArea-title-fullScreen-full\":\"KDE_editorArea-title-fullScreen-full_1IN-\",\"editorArea-title-fullScreen-exit\":\"KDE_editorArea-title-fullScreen-exit_1ZTY\",\"editorArea-arrowdown\":\"KDE_editorArea-arrowdown_rT8C\",\"editorArea-title-names\":\"KDE_editorArea-title-names_460z\",\"editorArea-title-name\":\"KDE_editorArea-title-name_2GYN\",\"editorArea-title-item\":\"KDE_editorArea-title-item_34FW\",\"hover\":\"KDE_hover_1c1b\",\"editorArea-title-item-title\":\"KDE_editorArea-title-item-title_3WZE\",\"editorArea-title-item-close\":\"KDE_editorArea-title-item-close_3UuC\",\"editorArea-content\":\"KDE_editorArea-content_JfL0\",\"reactCodeMirror\":\"KDE_reactCodeMirror_WNaC\",\"cm-s-default\":\"KDE_cm-s-default_3kBQ\",\"CodeMirror-gutter\":\"KDE_CodeMirror-gutter_33Kd\",\"editorArea-searchArea\":\"KDE_editorArea-searchArea_Y2Wx\",\"editorArea-search\":\"KDE_editorArea-search_2R1_\",\"editorArea-searchTypeName\":\"KDE_editorArea-searchTypeName_2ABM\",\"editorArea-searchText\":\"KDE_editorArea-searchText_1uC7\",\"editorArea-search-operation\":\"KDE_editorArea-search-operation_2_d-\",\"editorArea-findNext\":\"KDE_editorArea-findNext_1ZP-\",\"editorArea-findPrev\":\"KDE_editorArea-findPrev_3aGd\",\"editorArea-closeicon\":\"KDE_editorArea-closeicon_2G0j\",\"editorArea-replace\":\"KDE_editorArea-replace_1FiD\",\"editorArea-replaceArea\":\"KDE_editorArea-replaceArea_37CS\",\"editorArea-replaceFrom\":\"KDE_editorArea-replaceFrom_1D0r\",\"editorArea-replaceTo\":\"KDE_editorArea-replaceTo_OP6y\",\"editorArea-replaceFromName\":\"KDE_editorArea-replaceFromName_1F2R\",\"editorArea-replaceToName\":\"KDE_editorArea-replaceToName_1WEA\",\"editorArea-replaceFromInput\":\"KDE_editorArea-replaceFromInput_uJ_i\",\"editorArea-replaceToInput\":\"KDE_editorArea-replaceToInput_3ObQ\",\"editorArea-replace-operation\":\"KDE_editorArea-replace-operation_wo0Z\",\"editorArea-replaceAll\":\"KDE_editorArea-replaceAll_Ex1z\",\"editorArea-replaceOne\":\"KDE_editorArea-replaceOne_2f6Y\",\"editorArea-nextOne\":\"KDE_editorArea-nextOne_3MEH\",\"outline\":\"KDE_outline_3efF\",\"outline-mainContent\":\"KDE_outline-mainContent_3JsQ\",\"outline-banner\":\"KDE_outline-banner_2HXw\",\"outline-banner-item-name\":\"KDE_outline-banner-item-name_1RqH\",\"outline-operation\":\"KDE_outline-operation_2A4q\",\"outline-content\":\"KDE_outline-content_3lx7\",\"outline-tree\":\"KDE_outline-tree_1Six\",\"outline-root\":\"KDE_outline-root_2afA\",\"outline-rootName\":\"KDE_outline-rootName_3bhA\",\"outline-methodItem\":\"KDE_outline-methodItem_1qvK\",\"outline-methodList\":\"KDE_outline-methodList_26p9\",\"outline-right\":\"KDE_outline-right_1RZ0\",\"debugger-toolbar-nav\":\"KDE_debugger-toolbar-nav_2yiR\",\"debugger-toolbar-nav-resume\":\"KDE_debugger-toolbar-nav-resume_neNQ\",\"debugging\":\"KDE_debugging_a7so\",\"debugger-toolbar-nav-stepOver\":\"KDE_debugger-toolbar-nav-stepOver_3DSz\",\"debugger-toolbar-nav-stepInto\":\"KDE_debugger-toolbar-nav-stepInto_3DRM\",\"debugger-toolbar-nav-stepOut\":\"KDE_debugger-toolbar-nav-stepOut_tw26\",\"debugger-toolbar-nav-divider\":\"KDE_debugger-toolbar-nav-divider_33NO\",\"debugger-toolbar-nav-deactive\":\"KDE_debugger-toolbar-nav-deactive_30DP\",\"actived\":\"KDE_actived_3hJf\",\"section\":\"KDE_section_1goA\",\"debugger-info-title\":\"KDE_debugger-info-title_3wxC\",\"debugger-info-title-arrow-down\":\"KDE_debugger-info-title-arrow-down_2zMN\",\"debugger-info-title-arrow-left\":\"KDE_debugger-info-title-arrow-left_3hDb\",\"variables\":\"KDE_variables_Qw3n\",\"variable-arrow-left\":\"KDE_variable-arrow-left_2LOJ\",\"variable-arrow-down\":\"KDE_variable-arrow-down_2EQA\",\"variable-arrow-null\":\"KDE_variable-arrow-null_2fvq\",\"showSubVisiables\":\"KDE_showSubVisiables_1xxQ\",\"skipAllBreakpoints\":\"KDE_skipAllBreakpoints_PNxM\",\"breakpoint\":\"KDE_breakpoint_2BSK\",\"breakpoint-title\":\"KDE_breakpoint-title_2YAC\",\"breakpoint-content\":\"KDE_breakpoint-content_1Mbr\",\"debugger-info-watch-toolbar\":\"KDE_debugger-info-watch-toolbar_1F7p\",\"debugger-info-watch-toolbar-add\":\"KDE_debugger-info-watch-toolbar-add_txq6\",\"watch\":\"KDE_watch_3dDF\",\"watch-remove\":\"KDE_watch-remove_3tUY\",\"debugger-info-watch-input\":\"KDE_debugger-info-watch-input_1nk6\",\"debugSwitch\":\"KDE_debugSwitch_1rKS\",\"debugSwitch-start\":\"KDE_debugSwitch-start_3ZOX\",\"debugSwitch-stop\":\"KDE_debugSwitch-stop_aoo9\",\"output\":\"KDE_output_2X1U\",\"output-operation\":\"KDE_output-operation_2RlX\",\"output-mainContent\":\"KDE_output-mainContent_3jus\",\"output-mainContent-item\":\"KDE_output-mainContent-item_3CYo\",\"output-banner\":\"KDE_output-banner_1tfz\",\"output-banner-item\":\"KDE_output-banner-item_1IND\",\"output-down-icon\":\"KDE_output-down-icon_2sDR\",\"output-down\":\"KDE_output-down_TKHS\",\"output-down-arrowdown\":\"KDE_output-down-arrowdown_URt8\",\"output-down-up\":\"KDE_output-down-up_jfug\",\"output-viewType\":\"KDE_output-viewType_2dEG\",\"output-consoleContent-item\":\"KDE_output-consoleContent-item_1fBB\",\"output-searchInfos-item\":\"KDE_output-searchInfos-item_2BEd\",\"scriptInfo\":\"KDE_scriptInfo_3bQr\",\"output-scriptInfo-tap\":\"KDE_output-scriptInfo-tap_34lt\",\"fontsize-small\":\"KDE_fontsize-small_29sj\",\"fontsize-default\":\"KDE_fontsize-default_2EU7\",\"fontsize-big\":\"KDE_fontsize-big_SJMB\",\"overlayer\":\"KDE_overlayer_Azf_\",\"welcome\":\"KDE_welcome_2EaS\",\"welcomeContent\":\"KDE_welcomeContent_oBb_\",\"close\":\"KDE_close_3vld\",\"close_icon\":\"KDE_close_icon_YvO2\",\"introduction\":\"KDE_introduction_1V0p\",\"i_title\":\"KDE_i_title_3bv8\",\"i_content\":\"KDE_i_content_2lfw\",\"operation\":\"KDE_operation_16AS\",\"experience\":\"KDE_experience_2YCb\",\"about\":\"KDE_about_1qLP\",\"about-close\":\"KDE_about-close_3mil\",\"about-tab\":\"KDE_about-tab_19qe\",\"about-tab-background\":\"KDE_about-tab-background_2Xn3\",\"about-content\":\"KDE_about-content_2TER\",\"about-content-title\":\"KDE_about-content-title_1FzI\",\"about-content-description\":\"KDE_about-content-description_3bjF\",\"about-content-funtion-title\":\"KDE_about-content-funtion-title_xgWH\",\"about-content-funtion-title-description\":\"KDE_about-content-funtion-title-description_Zf4U\",\"about-content-funtion-content\":\"KDE_about-content-funtion-content_NYe_\",\"about-content-funtion-first\":\"KDE_about-content-funtion-first_3atr\",\"about-content-funtion-icon\":\"KDE_about-content-funtion-icon_r2uh\",\"about-content-funtion-first-image\":\"KDE_about-content-funtion-first-image_3S0Q\",\"about-content-funtion-second-image\":\"KDE_about-content-funtion-second-image_guzm\",\"about-content-funtion-third-image\":\"KDE_about-content-funtion-third-image_2PNW\",\"about-content-funtion-content-title\":\"KDE_about-content-funtion-content-title_2Zsp\",\"about-content-funtion-content-content\":\"KDE_about-content-funtion-content-content_23bp\",\"about-content-funtion-second\":\"KDE_about-content-funtion-second_3dhv\",\"about-content-team-title\":\"KDE_about-content-team-title_2dZ5\",\"about-content-team-description\":\"KDE_about-content-team-description_MBIk\",\"about-content-team-peoples\":\"KDE_about-content-team-peoples_jDGt\",\"about-content-version-title\":\"KDE_about-content-version-title_ZN3X\",\"about-content-version-title-description\":\"KDE_about-content-version-title-description_Re0m\",\"about-content-version-content\":\"KDE_about-content-version-content_1qTc\",\"about-content-version-content-title\":\"KDE_about-content-version-content-title_2gJo\",\"about-content-version-content-description\":\"KDE_about-content-version-content-description_2ROP\",\"about-content-version-address\":\"KDE_about-content-version-address_VzT3\",\"about-content-version-website\":\"KDE_about-content-version-website_zagp\",\"about-operation\":\"KDE_about-operation_T84D\",\"about-operation-last\":\"KDE_about-operation-last_1VWG\",\"about-operation-next\":\"KDE_about-operation-next_W2nS\",\"tipinfoarea\":\"KDE_tipinfoarea_Slca\",\"info-icon\":\"KDE_info-icon_1uh5\",\"tip\":\"KDE_tip_2tAE\",\"info\":\"KDE_info_1q25\",\"close-icon\":\"KDE_close-icon_2M8Z\",\"menu\":\"KDE_menu_SXsc\",\"breakpointsMenu\":\"KDE_breakpointsMenu_3uvQ\",\"watchesMenu\":\"KDE_watchesMenu_6-jx\",\"tedent\":\"KDE_tedent_8-Yv\",\"caption\":\"KDE_caption_35cc\",\"mapkey\":\"KDE_mapkey_1TpD\",\"group\":\"KDE_group_3dVC\",\"visiable\":\"KDE_visiable_1cEz\",\"unvisiable\":\"KDE_unvisiable_2bUG\",\"blockvisiable\":\"KDE_blockvisiable_3fKq\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/KDE.less?");

/***/ }),

/***/ "./src/devportal/less/ScriptSample.less":
/*!**********************************************!*\
  !*** ./src/devportal/less/ScriptSample.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"scriptSample\":\"ScriptSample_scriptSample_xgsT\",\"sampleCodeArea\":\"ScriptSample_sampleCodeArea_zJwk\",\"operationBarArea\":\"ScriptSample_operationBarArea_39H3\",\"runBar\":\"ScriptSample_runBar_2Hqc\",\"debugBar\":\"ScriptSample_debugBar_3EEl\",\"tedent\":\"ScriptSample_tedent_2aSZ\",\"mapkey\":\"ScriptSample_mapkey_3YRa\",\"editorArea\":\"ScriptSample_editorArea_3crw\",\"console\":\"ScriptSample_console_1P06\",\"console-title\":\"ScriptSample_console-title_3BrL\",\"console-down\":\"ScriptSample_console-down_3t8O\",\"console-content\":\"ScriptSample_console-content_2zon\",\"console-content-item\":\"ScriptSample_console-content-item_1VYV\",\"sampleShowArea\":\"ScriptSample_sampleShowArea_2LDv\",\"sampleShow\":\"ScriptSample_sampleShow_1rhq\",\"unvisiable\":\"ScriptSample_unvisiable_BCxR\",\"visiable\":\"ScriptSample_visiable_1lKp\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/ScriptSample.less?");

/***/ }),

/***/ "./src/devportal/less/SearchList.less":
/*!********************************************!*\
  !*** ./src/devportal/less/SearchList.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"mainpage\":\"SearchList_mainpage_3pHf\",\"banner\":\"SearchList_banner_2OQy\",\"condition\":\"SearchList_condition_2enb\",\"result\":\"SearchList_result_338K\",\"search\":\"SearchList_search_1rrF\",\"gap\":\"SearchList_gap_3eyb\",\"myApp\":\"SearchList_myApp_1nS2\",\"myPage\":\"SearchList_myPage_z8RV\",\"myScript\":\"SearchList_myScript_3MVT\",\"myCard\":\"SearchList_myCard_1ZDE\",\"myAppTitle\":\"SearchList_myAppTitle_23IF\",\"myPageTitle\":\"SearchList_myPageTitle_2Eho\",\"myScriptTitle\":\"SearchList_myScriptTitle_3RnO\",\"myCardTitle\":\"SearchList_myCardTitle_1aXA\",\"icon_expand\":\"SearchList_icon_expand_nQmB\",\"icon_collapse\":\"SearchList_icon_collapse_1GdO\",\"myAppArea\":\"SearchList_myAppArea_lzkQ\",\"myPageArea\":\"SearchList_myPageArea_1d8Z\",\"myScriptArea\":\"SearchList_myScriptArea_2IvA\",\"myCardArea\":\"SearchList_myCardArea_3e2i\",\"theme-icon\":\"SearchList_theme-icon_uevb\",\"applist-item\":\"SearchList_applist-item_2xC4\",\"pagelist-item\":\"SearchList_pagelist-item_18ug\",\"scriptlist-item\":\"SearchList_scriptlist-item_2UfV\",\"cardlist-item\":\"SearchList_cardlist-item_2J5p\",\"appName\":\"SearchList_appName_15Cw\",\"pageName\":\"SearchList_pageName_24Br\",\"scriptName\":\"SearchList_scriptName_J5xq\",\"cardName\":\"SearchList_cardName_rrip\",\"pageitem-title\":\"SearchList_pageitem-title_qPdl\",\"scriptitem-title\":\"SearchList_scriptitem-title_m6aR\",\"carditem-title\":\"SearchList_carditem-title_2bZr\",\"icon-yuan\":\"SearchList_icon-yuan_3S2J\",\"icon-kuo\":\"SearchList_icon-kuo_1nfs\",\"icon-self\":\"SearchList_icon-self_112l\",\"icon_third\":\"SearchList_icon_third_1H5-\",\"icon-phone\":\"SearchList_icon-phone_2Ugr\",\"icon-pc\":\"SearchList_icon-pc_1fci\",\"icon_search\":\"SearchList_icon_search_1ByN\",\"content\":\"SearchList_content_3i6S\",\"number\":\"SearchList_number_N_17\",\"app\":\"SearchList_app_2iKG\",\"unit\":\"SearchList_unit_3pQA\",\"visiable\":\"SearchList_visiable_33JP\",\"unvisiable\":\"SearchList_unvisiable_1S2h\",\"num\":\"SearchList_num_3qVS\",\"search-item\":\"SearchList_search-item_w-PA\",\"item\":\"SearchList_item_3BgL\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/SearchList.less?");

/***/ }),

/***/ "./src/devportal/less/ShortCutList.less":
/*!**********************************************!*\
  !*** ./src/devportal/less/ShortCutList.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"mainpage\":\"ShortCutList_mainpage_3lNx\",\"banner\":\"ShortCutList_banner_1BNj\",\"title\":\"ShortCutList_title_aaw_\",\"manage\":\"ShortCutList_manage_1l6q\",\"gap\":\"ShortCutList_gap_3_Z7\",\"myApp\":\"ShortCutList_myApp_x-OO\",\"myPage\":\"ShortCutList_myPage_3S-f\",\"myAppTitle\":\"ShortCutList_myAppTitle_79Bq\",\"myPageTitle\":\"ShortCutList_myPageTitle_3wTF\",\"icon_expand\":\"ShortCutList_icon_expand_2pK6\",\"icon_collapse\":\"ShortCutList_icon_collapse_1hhP\",\"myAppArea\":\"ShortCutList_myAppArea_XK8l\",\"myPageArea\":\"ShortCutList_myPageArea_c_0d\",\"theme-icon\":\"ShortCutList_theme-icon_1oYW\",\"applist-item\":\"ShortCutList_applist-item_1hQ0\",\"pagelist-item\":\"ShortCutList_pagelist-item_3fM5\",\"appName\":\"ShortCutList_appName_29pA\",\"icon_delete\":\"ShortCutList_icon_delete_3WRB\",\"icon_deletePage\":\"ShortCutList_icon_deletePage_3fpc\",\"pageName\":\"ShortCutList_pageName_Pl9H\",\"pageitem-title\":\"ShortCutList_pageitem-title_W3W7\",\"icon-yuan\":\"ShortCutList_icon-yuan_uSO8\",\"icon-kuo\":\"ShortCutList_icon-kuo_3At5\",\"icon-self\":\"ShortCutList_icon-self_1Wig\",\"icon_third\":\"ShortCutList_icon_third_P06b\",\"icon-phone\":\"ShortCutList_icon-phone_2Gnt\",\"icon-pc\":\"ShortCutList_icon-pc_GjQ4\",\"content\":\"ShortCutList_content_2lct\",\"number\":\"ShortCutList_number_1cf0\",\"app\":\"ShortCutList_app_fh6w\",\"unit\":\"ShortCutList_unit_3CUv\",\"visiable\":\"ShortCutList_visiable_1qQV\",\"unvisiable\":\"ShortCutList_unvisiable_xI5g\",\"appcontent\":\"ShortCutList_appcontent_1cGd\",\"newDeleteApp\":\"ShortCutList_newDeleteApp_3SH8\",\"visiable_flex\":\"ShortCutList_visiable_flex_21oj\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/ShortCutList.less?");

/***/ }),

/***/ "./src/devportal/less/Svg.less":
/*!*************************************!*\
  !*** ./src/devportal/less/Svg.less ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"icon-import-svg\":\"Svg_icon-import-svg_jmsv\",\"icon-star-svg\":\"Svg_icon-star-svg_1JLp\",\"icon-edit-svg\":\"Svg_icon-edit-svg_26_e\",\"icon-view-svg\":\"Svg_icon-view-svg_wKDx\",\"icon-notowner-view-svg\":\"Svg_icon-notowner-view-svg_1qNc\",\"icon-cloud-edit-svg\":\"Svg_icon-cloud-edit-svg_1YmF\",\"icon-cloud-view-svg\":\"Svg_icon-cloud-view-svg_z1_q\",\"icon-cloud-view-isvkingdee-svg\":\"Svg_icon-cloud-view-isvkingdee-svg_1TFE\",\"icon-delete-svg\":\"Svg_icon-delete-svg_3myF\",\"icon-cloud-delete-svg\":\"Svg_icon-cloud-delete-svg_ct6M\",\"icon-apptype-svg\":\"Svg_icon-apptype-svg_2rZt\",\"icon-detail-svg\":\"Svg_icon-detail-svg_2YLr\",\"icon-menu-svg\":\"Svg_icon-menu-svg_4h_7\",\"update_app-svg\":\"Svg_update_app-svg_3zZ_\",\"icon-checkin-svg\":\"Svg_icon-checkin-svg_9s51\",\"svnmanager-svg\":\"Svg_svnmanager-svg_AGrf\",\"gitmanager-svg\":\"Svg_gitmanager-svg_hXPq\",\"codemanager-svg\":\"Svg_codemanager-svg_2ZtF\",\"preview_app-svg\":\"Svg_preview_app-svg_7mhd\",\"icon-upload-svg\":\"Svg_icon-upload-svg_7hV2\",\"icon-unUpload-svg\":\"Svg_icon-unUpload-svg_2uKe\",\"extend_icon-svg\":\"Svg_extend_icon-svg_fi1h\",\"icon-export-svg\":\"Svg_icon-export-svg_JAi1\",\"view-svg\":\"Svg_view-svg_3Gua\",\"card-svg\":\"Svg_card-svg_32lI\",\"list-svg\":\"Svg_list-svg_3H8v\",\"addBizUnit-svg\":\"Svg_addBizUnit-svg_2K9b\",\"icon-unit-edit-svg\":\"Svg_icon-unit-edit-svg_2phv\",\"icon-unit-delete-svg\":\"Svg_icon-unit-delete-svg_1qmp\",\"icon-unit-gitmng-svg\":\"Svg_icon-unit-gitmng-svg_12iI\",\"arrow_up-svg\":\"Svg_arrow_up-svg_1-Wd\",\"arrow_down-svg\":\"Svg_arrow_down-svg_BVR-\",\"icon-page-import-svg\":\"Svg_icon-page-import-svg_2iQ4\",\"icon-page-star-svg\":\"Svg_icon-page-star-svg_2h7v\",\"icon-page-edit-svg\":\"Svg_icon-page-edit-svg_2ODd\",\"icon-page-delete-svg\":\"Svg_icon-page-delete-svg_29h4\",\"icon-page-preview-svg\":\"Svg_icon-page-preview-svg_2wD_\",\"icon-page-checkin-svg\":\"Svg_icon-page-checkin-svg_2Suv\",\"icon-page-view-svg\":\"Svg_icon-page-view-svg_28Un\",\"unittestmanager-svg\":\"Svg_unittestmanager-svg_3sB7\",\"icon-script-export-svg\":\"Svg_icon-script-export-svg_3dNq\",\"icon-script-move-svg\":\"Svg_icon-script-move-svg_12xt\",\"unittest_on-svg\":\"Svg_unittest_on-svg_3Ojd\",\"icon-page-extend-svg\":\"Svg_icon-page-extend-svg_2cvH\",\"icon-page-inherit-svg\":\"Svg_icon-page-inherit-svg_2exb\",\"icon-page-copy-svg\":\"Svg_icon-page-copy-svg_16Xz\",\"icon-page-enable-svg\":\"Svg_icon-page-enable-svg_1ycV\",\"icon-page-forbidden-svg\":\"Svg_icon-page-forbidden-svg_k1NF\",\"reset-svg\":\"Svg_reset-svg_29Xy\",\"more-svg\":\"Svg_more-svg_3Wgk\",\"svn_more-svg\":\"Svg_svn_more-svg_1B6M\",\"icon-kde-jiaoben\":\"Svg_icon-kde-jiaoben_2Mfr\",\"icon-checking-svg\":\"Svg_icon-checking-svg_8-Fy\",\"icon-inherit-svg\":\"Svg_icon-inherit-svg_OXS3\"});\n\n//# sourceURL=webpack://bos-platform/./src/devportal/less/Svg.less?");

/***/ }),

/***/ "./src/devportal/images/kde/image_about_KDE.png":
/*!******************************************************!*\
  !*** ./src/devportal/images/kde/image_about_KDE.png ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/4237dd78.image_about_KDE.png\";\n\n//# sourceURL=webpack://bos-platform/./src/devportal/images/kde/image_about_KDE.png?");

/***/ })

}]);